Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Oracle ¾Û¼¯

¾Û¼¯(cluster)ÊÇ´æ´¢±íÊý¾ÝµÄ¿ÉÑ¡ÔñµÄ·½·¨¡£Ò»¸ö¾Û¼¯ÊÇÒ»×é±í£¬½«¾ßÓÐͬһ¹«¹²ÁÐÖµµÄÐд洢ÔÚÒ»Æð£¬²¢ÇÒËüÃǾ­³£Ò»ÆðʹÓá£ÕâЩ¹«¹²Áй¹³É¾Û¼¯Âë¡£
¾­³£±»Í¬Ê±·ÃÎʵıíÔÚÎïÀíλÖÃÉÏ¿ÉÒÔ´æ´¢ÔÚÒ»Æð¡£ÎªÁ˽«ËüÃÇ´æ´¢ÔÚÒ»Æð£¬¾ÍÒª´´½¨Ò»¸ö´Ø( c l u s t e r )À´¹ÜÀíÕâЩ±í¡£±íÖеÄÊý¾ÝÒ»Æð´æ´¢ÔÚ´ØÖУ¬´Ó¶ø×îС»¯±ØÐëÖ´ÐеÄI / O´ÎÊý£¬¸ÄÉÆÏµÍ³ÐÔÄÜ¡£
±íÖÐÏà¹ØµÄÁгÆÎª´Ø¼ü(cluster key)¡£´Ø¼üÓÃÒ»¸ö´ØË÷Òý(cluster index)À´½øÐÐË÷Òý£»¶ÔÓÚ´ØÖеĶà¸ö±í£¬´Ø¼üÖµÖ»´æ´¢Ò»´Î¡£ÔÚ°ÑÈκÎÐвåÈë´ØµÄ±íÖÐ֮ǰ£¬¶¼±ØÐëÏÈ´´½¨Ò»¸ö´ØË÷Òý¡£¶ÔÓÚ¾­³£Æµ·±Ò»Æð²éѯµÄ±í˵£¬Ê¹ÓôرȽϷ½±ã¡£ÔÚ´ØÖУ¬À´×Ô²»Í¬±íµÄÐд洢ÔÚͬһ¸ö¿éÖУ»Òò´Ëͬ½«±í·Ö¿ª´æ´¢Ïà±È£¬Á¬½ÓÕâЩ±íµÄ²éѯ¾Í¿ÉÄÜÖ´ÐиüÉÙµÄI / O¡£²»¹ý£¬Óë¶Ô·Ç¡£´Ø±íµÄÏàͬ²Ù×÷±È½Ï£¬´Ø±íµÄ²åÈë¡¢¸üкÍɾ³ýÐÔÄÜÒª²îºÜ¶à¡£Ôھ۴رí֮ǰ£¬ÒªÅжϹ²Í¬²éѯÕâЩ±íµÄƵÂÊ¡£Èç¹ûÕâЩ±í×ÜÊÇÒ»Æð²éѯ£¬¾ÍÒª¿¼ÂǰÑËüÃǺϲ¢³ÉÒ»¸ö±í¶ø²»ÊǾ۴ØÁ½¸ö±í¡£
Examples
1¡¢Creating a Cluster: Example
The following statement creates a cluster named personnel with the cluster key column department, a cluster size of 512 bytes, and storage parameter values:
CREATE CLUSTER personnel
   (department NUMBER(4))
;
2¡¢Cluster Keys: Example
The following statement creates the cluster index on the cluster key of personnel:
CREATE INDEX idx_personnel ON CLUSTER personnel;
After creating the cluster index, you can add tables to the index and perform DML operations on those tables.
3¡¢Adding Tables to a Cluster: Example
The following statements create some departmental tables from the sample hr.employees table and add them to the personnel cluster created in the earlier example:
CREATE TABLE dept_10
   CLUSTER personnel (department_id)
   AS SELECT * from employees WHERE department_id = 10;
CREATE TABLE dept_20
   CLUSTER personnel (department_id)
   AS SELECT * from employees WHERE department_id = 20;
 
 
 
ÊÔÑ飺´´½¨±ítesta¡¢testb¡¢²¢ÉèÖÃa01¡¢b01¹²Óþۼ¯testclu
     testa--a01
        


Ïà¹ØÎĵµ£º

ÈçºÎ½â³ýOracle ÕʺÅËø¶¨(the account is locked)

½â¾ö°ì·¨£º
1.ʹÓÃOracleÓû§µÇ¼ϵͳ£¬ÔÚCMDÖÐÆôÓÃSQLPLUS
2.sqlplus /nolog
3.SQL> connect /as sysdba
¡¡¡¡¡¡   Connected.
4.SQL> alter user system account unlock;
¡¡¡¡¡¡    User altered.
Ëø¶¨Õ˺ŷ½·¨£º
1.SQL> alter user system account lock;
¡¡¡¡¡¡  & ......

Oracle×îÐÂÈÏÖ¤Ìâ¿â×ÊÁÏÏÂÔØ

Oracle×îÐÂÈÏÖ¤Ìâ¿â×ÊÁÏÏÂÔØ
Actualtests Oracle 1Z0-200 V11.07.08
Actualtests Oracle 1Z0-211 V11.10.08
Actualtests Oracle 1Z0-212 V11.07.08
Actualtests Oracle 1Z0-213 V11.07.08
Actualtests Oracle 1Z0-101 V11.07.08
Actualtests Oracle 1Z0-132 V11.07.08
Actualtests Oracle 1Z0-140 V11.21.08
Actual ......

[·ÖÏí]OracleÊý¾Ýµ¼Èëµ¼³öimp/expÃüÁî

OracleÊý¾Ýµ¼Èëµ¼³öimp/expÃüÁî
    Oracle Êý¾Ýµ¼Èëµ¼³öimp/exp¾ÍÏ൱ÓÚoracleÊý¾Ý»¹Ô­Ó뱸·Ý¡£expÃüÁî¿ÉÒÔ°ÑÊý¾Ý´ÓÔ¶³ÌÊý¾Ý¿â·þÎñÆ÷µ¼³öµ½±¾µØµÄdmpÎļþ£¬impÃüÁî¿ÉÒÔ°Ñ dmpÎļþ´Ó±¾µØµ¼Èëµ½Ô¶´¦µÄÊý¾Ý¿â·þÎñÆ÷ÖС£ ÀûÓÃÕâ¸ö¹¦ÄÜ¿ÉÒÔ¹¹½¨Á½¸öÏàͬµÄÊý¾Ý¿â£¬Ò»¸öÓÃÀ´²âÊÔ£¬Ò»¸öÓÃÀ´ÕýʽʹÓá£
Ö´Ðл ......

Oracle ÀÛ¼ÓºÍʵÏÖ

============================Question================================
SQL> select * from emp;
     EMPID EMPNAME                  SALARY     DEPTID
---------- ----------- ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ