尊龙凯时人生就是搏

Oracle11gºÍOracle12cµÄ¹¦Ð§±ÈÕÕ

OracleÊý¾Ý¿âÊÇÌìÏÂÉÏ×îÊܽӴýµÄ¹ØϵÐÍÊý¾Ý¿âÖÎÀíϵͳ֮һ¡£½üÄêÀ´£¬Oracle¹«Ë¾Ïà¼ÌÍƳöÁËOracle11gºÍOracle12cÁ½¸ö°æ±¾£¬ËüÃÇÔÚ¹¦Ð§ÉÏÓÐÐí¶àÅäºÏÖ®´¦£¬Í¬Ê±Ò²ÓÐһЩÏÔÖøµÄÇø±ð¡£±¾ÎĽ«¶ÔÕâÁ½¸ö°æ±¾µÄ¹¦Ð§¾ÙÐбÈÕÕÆÊÎö£¬²¢ÌṩһЩÏêϸµÄ´úÂëʾÀýÒÔ×ÊÖú¶ÁÕ߸üºÃµØÏàʶËüÃÇÖ®¼äµÄ²î±ð¡£

Ò»¡¢Oracle11gµÄ¹¦Ð§Ìص㣺

·ÖÇø±íºÍ·ÖÇøË÷Òý£ºOracle11gÒýÈëÁË·ÖÇø±íºÍ·ÖÇøË÷ÒýµÄ¿´·¨£¬¿ÉÒÔƾָ֤¶¨µÄÁн«±í·Ö³É¶à¸ö²¿·Ö£¬ÒÔÌá¸ßÅÌÎÊÐÔÄܺÍÖÎÀíÊý¾ÝµÄЧÂÊ¡£

-- ½¨Éè·ÖÇø±í
CREATE TABLE employees
(
    employee_id    NUMBER,
    last_name      VARCHAR2(50),
    hire_date      DATE
)
PARTITION BY RANGE (hire_date)
(
    PARTITION p1 VALUES LESS THAN (TO_DATE('01-01-2010', 'DD-MM-YYYY')),
    PARTITION p2 VALUES LESS THAN (TO_DATE('01-01-2020', 'DD-MM-YYYY')),
    PARTITION p3 VALUES LESS THAN (MAXVALUE)
);

µÇ¼ºó¸´ÖÆ

×Ô¶¯Õï¶ÏºÍÐÔÄÜÓÅ»¯£ºOracle11gÒýÈëÁËAutomatic Diagnostic Repository£¨ADR£©ºÍAutomatic Workload Repository£¨AWR£©µÈ¹¦Ð§£¬¿ÉÒÔ×Ô¶¯Õï¶ÏÊý¾Ý¿âÐÔÄÜÎÊÌâ²¢ÌṩÓÅ»¯½¨Òé¡£

-- Éó²éÊý¾Ý¿âÐÔÄܱ¨¸æ
SELECT *
FROM v$active_session_history
WHERE sample_time BETWEEN SYSDATE - 1 AND SYSDATE;

µÇ¼ºó¸´ÖÆ

Êý¾Ý¿âÇå¾²ÐÔÔöÇ¿£ºOracle11gÖ§³Ö͸Ã÷Êý¾Ý¼ÓÃÜ£¨TDE£©¡¢Êý¾ÝÑÚÂ루Data Masking£©ºÍȨÏÞÆÊÎö£¨Privilege Analysis£©µÈ¹¦Ð§£¬¿ÉÒÔ×ÊÖúÓû§¸üºÃµØ± £»¤Êý¾Ý¿âÖеÄÃô¸ÐÊý¾Ý¡£

-- ¿ªÆô͸Ã÷Êý¾Ý¼ÓÃÜ
ALTER TABLE employees
    MODIFY sensitive_column
    ENCRYPT BY USING 'AES256' ALGORITHM;

µÇ¼ºó¸´ÖÆ

¶þ¡¢Oracle12cµÄ¹¦Ð§Ìص㣺

¶à×⻧¼Ü¹¹£ºOracle12cÒýÈëÁËȫеĶà×⻧¼Ü¹¹£¬¿ÉÒÔÔÚÒ»¸öÊý¾Ý¿âÖн¨Éè¶à¸ö×ÔÁ¦µÄÈÝÆ÷Êý¾Ý¿â£¨CDB£©ºÍ²å¼þÊý¾Ý¿â£¨PDB£©£¬ÊµÏÖ²î±ð×⻧֮¼äÊý¾ÝµÄ¸ôÀëÐԺ͹²ÏíÐÔ¡£

-- ½¨ÉèÒ»¸ö²å¼þÊý¾Ý¿â
CREATE PLUGGABLE DATABASE pdb1
ADMIN USER pdbadmin IDENTIFIED BY password
ROLES = (CONNECT);

µÇ¼ºó¸´ÖÆ

Áм¶Çå¾²ÐÔ¿ØÖÆ£ºOracle12cÌṩÁËеÄÐм¶Çå¾²ÐÔ¿ØÖƹ¦Ð§£¬¿ÉÒÔ»ùÓÚÓû§µÄ½ÇÉ«ºÍȨÏÞÀ´ÏÞÖÆÓû§¶Ô±íÖÐÌض¨ÁеĻá¼û¡£

-- ½¨ÉèÐм¶Çå¾²ÐÔÕ½ÂÔ
CREATE POLICY p1
    ENABLE
    ON employees
    FOR SELECT
    USING (department_id = SYS_CONTEXT('USERENV', 'CURRENT_DEPARTMENT_ID'));

µÇ¼ºó¸´ÖÆ

JSONÖ§³Ö£ºOracle12cÒýÈëÁ˶ÔJSON£¨JavaScript Object Notation£©Êý¾ÝÃûÌõÄÔ­ÉúÖ§³Ö£¬¿ÉÒÔ´æ´¢ºÍÅÌÎÊ°üÀ¨JSONÊý¾ÝµÄÁС£

-- ½¨Éè°üÀ¨JSONÊý¾ÝµÄÁÐ
CREATE TABLE json_data
(
    id     NUMBER,
    data   CLOB CHECK (data IS JSON)
);

µÇ¼ºó¸´ÖÆ

½áÂÛ£º

ÒÔÉÏÊǶÔOracle11gºÍOracle12cµÄ¹¦Ð§Ìصã¾ÙÐмòÒªÏÈÈÝ£¬²¢ÌṩÁËһЩÏêϸµÄ´úÂëʾÀý¡£×ܵÄÀ´Ëµ£¬Oracle12cÏà½ÏÓÚOracle11gÔÚ¶à×⻧¡¢Çå¾²ÐÔ¿ØÖƺÍJSONÖ§³ÖµÈ·½ÃæÓнϴóµÄˢкÍÁ¢Òì¡£¶ÁÕß¿ÉÒÔƾ֤×ÔÉíµÄÓªÒµÐèÇóºÍÊý¾Ý¿âÖÎÀíÒªÇóÑ¡ÔñÊʺϵİ汾£¬ÒÔ×îºéÁ÷ƽµØÊ©Õ¹OracleÊý¾Ý¿âµÄDZÁ¦ºÍÓÅÊÆ¡£

ÒÔÉϾÍÊÇOracle11gºÍOracle12cµÄ¹¦Ð§±ÈÕÕµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí£¬°æȨÕùÒéÓë±¾Õ¾Î޹أ¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í尊龙凯时人生就是搏ÂËÓÍ»úÍø¹Ù·½Ì¬¶È£¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ£¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢£¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢£¬ÇëÄúÁ¬Ã¦ÁªÏµ尊龙凯时人生就是搏ʵʱÐÞÕý»òɾ³ý¡£

Ïà¹ØÐÂÎÅ

ÁªÏµ尊龙凯时人生就是搏

18523999891

¿É΢ÐÅÔÚÏß×Éѯ

ÊÂÇéʱ¼ä£ºÖÜÒ»ÖÁÖÜÎ壬9:30-18:30£¬½ÚãåÈÕÐÝÏ¢

QR code
sitemap¡¢ÍøÕ¾µØͼ