oracle Ë÷ÒýµÄÀàÐÍÏà¹Ø
Ò»¡¢Ë÷ÒýÀàÐͼ°½á¹¹£º
oracleµÄË÷Òý·ÖΪ5ÖÖ:ΨһË÷Òý£¬×éºÏË÷Òý£¬·´Ïò¼üË÷Òý£¬Î»Í¼Ë÷Òý£¬»ùÓÚº¯ÊýµÄË÷Òý
Âß¼ÉÏ£º
Single column µ¥ÁÐË÷Òý
Concatenated ¶àÁÐË÷Òý
Unique ΨһË÷Òý
NonUnique ·ÇΨһË÷Òý
Function-basedº¯ÊýË÷Òý
Domain ÓòË÷Òý
ÎïÀíÉÏ£º
Partitioned ·ÖÇøË÷Òý
NonPartitioned ·Ç·ÖÇøË÷Òý
B-tree£º
Normal Õý³£ÐÍBÊ÷
Rever Key ·´×ªÐÍBÊ÷
Bitmap λͼË÷Òý
Ë÷Òý½á¹¹£º
B-tree£º
ÊʺÏÓÚ´óÁ¿µÄÔö¡¢É¾¡¢¸Ä£¨OLTP£©£»
²»ÄÜÓðüº¬OR²Ù×÷·ûµÄ²éѯ£»
Êʺϸ߻ùÊýµÄÁУ¨Î¨Ò»Öµ¶à£©
µäÐ͵ÄÊ÷×´½á¹¹£»
ÿ¸ö½áµã¶¼ÊÇÊý¾Ý¿é£»
´ó¶à¶¼ÊÇÎïÀíÉÏÒ»²ã¡¢Á½²ã»òÈý²ã²»¶¨£¬Âß¼ÉÏÈý²ã£»
Ò¶×Ó¿éÊý¾ÝÊÇÅÅÐòµÄ£¬´Ó×óÏòÓÒµÝÔö£»
ÔÚ·ÖÖ§¿éºÍ¸ù¿éÖзŵÄÊÇË÷ÒýµÄ·¶Î§£»
Bitmap£º
ÊʺÏÓÚ¾ö²ßÖ§³Öϵͳ£»
×öUPDATE´ú¼Û·Ç³£¸ß£»
·Ç³£ÊʺÏOR²Ù×÷·ûµÄ²éѯ£»
»ùÊý±È½ÏÉÙµÄʱºò²ÅÄܽ¨Î»Í¼Ë÷Òý£»
Ê÷Ðͽṹ£º
Ë÷ÒýÍ·
¿ªÊ¼ROWID£¬½áÊøROWID£¨ÏÈÁгöË÷ÒýµÄ×î´ó·¶Î§£©
BITMAP ÿһ¸öBIT¶ÔÓ¦×ÅÒ»¸öROWID£¬ËüµÄÖµÊÇ1»¹ÊÇ0£¬Èç¹ûÊÇ1£¬±íʾ×ÅBIT¶ÔÓ¦µÄROWIDÓÐÖµ£»
¶þ¡¢´´½¨Ë÷Òý£º
´´½¨Ë÷ÒýµÄ±ê×¼Óï·¨:
CREATE INDEX Ë÷ÒýÃû ON ±íÃû (ÁÐÃû)
TABLESPACE ±í¿Õ¼äÃû;
´´½¨Î¨Ò»Ë÷Òý:
CREATE unique INDEX Ë÷ÒýÃû ON ±íÃû (ÁÐÃû)
TABLESPACE ±í¿Õ¼äÃû;
´´½¨×éºÏË÷Òý:
CREATE INDEX Ë÷ÒýÃû ON ±íÃû (ÁÐÃû1,ÁÐÃû2)
TABLESPACE ±í¿Õ¼äÃû;
´´½¨·´Ïò¼üË÷Òý:
CREATE INDEX Ë÷ÒýÃû ON ±íÃû (ÁÐÃû) reverse
TABLESPACE ±í¿Õ¼äÃû;
Èý¡¢ÈçºÎºÏÀíʹÓÃË÷Òý£º
Ë÷Òý¾ÍºÃÏóÒ»±¾×ÖµäµÄĿ¼¡£Æ¾½è×ÖµäµÄĿ¼£¬ÎÒÃÇ¿ÉÒԷdz£Ñ¸ËÙµÄÕÒµ½ÎÒÃÇËùÐèÒªµÄÌõÄ¿¡£Êý¾Ý¿âÒ²ÊÇÈç´Ë¡£Æ¾½èOracleÊý¾Ý¿âµÄË÷Òý£¬Ïà¹ØÓï¾ä¿ÉÒÔѸËٵĶ¨Î»¼Ç¼µÄλÖ㬶ø²»±ØÈ¥¶¨Î»Õû¸ö±í¡£
¡¡¡¡ËäȻ˵£¬ÔÚ±íÖÐÊÇ·ñ´´½¨Ë÷Òý£¬²»»áÓ°Ïìµ½OracleÊý¾Ý¿âµÄʹÓã¬Ò²²»»áÓ°ÏìÊý¾Ý¿âÓï¾äµÄʹÓá£Õâ¾ÍºÃÏñ¼´Ê¹×ÖµäûÓÐĿ¼µÄ»°£¬Óû§ÈÔÈ»¿ÉÒÔʹÓÃËüÒ»Ñù¡£¿ÉÊÇ£¬Èô×ÖµäûÓÐĿ¼£¬ÄÇô¿ÉÏë¶øÖª£¬Óû§Òª²éij¸öÌõÄ¿µÄ»°£¬Æä²»µÃ²»·±éÕû±¾×ֵ䡣Êý¾Ý¿âÒ²ÊÇÈç´Ë¡£ÈôûÓн¨Á¢Ïà¹ØË÷ÒýµÄ»°£¬ÔòÊý¾Ý¿âÔÚ²éѯ¼Ç¼µÄʱºò£¬²»µÃ²»È¥²éѯÕû¸ö±í¡£µ±±íÖеļǼ±È½Ï¶àµÄʱºò£¬Æä²éѯЧÂʾͻáºÜµÍ¡£ËùÒÔ£¬ºÏÊʵÄË÷Òý£¬ÊÇÌá¸ßÊý¾Ý¿âÔËÐÐЧÂʵÄÒ
Ïà¹ØÎĵµ£º
µ±Ö´ÐвåÈëµÈ²Ù×÷ʱ³öÏÖ´íÎóÌáʾ“unable to extand table ……” £¬Ôò˵Ã÷¸Ã±íËùÔÚ±í¿Õ¼ä¿Õ¼ä²»×ãÁË¡£
Èç¹ûÊÇÔÚwinserverÏÂÔòΪ±í¿Õ¼äÔö¼ÓÎļþ¼´¿É£¨±¾ÎIJ»×ö½éÉÜ£©¡£
±¾ÎÄÖ÷Òª½éÉÜÊý¾Ý¿â·þÎñÆ÷»·¾³ÎªAIXʱ£¬ÈçºÎΪ±í¿Õ¼äÔö¼ÓÂãÉ豸¡£
͉˕
°üº¬AIXϵͳ´æ´¢¹ÜÀíµÄ»ù±¾½éÉÜ£»
AIXͨ¹ýÈý¸ö²ã´Î¶Ô ......
Oracle½âËøÓë¼ÓËø£¨hrÓû§ÎªÀý£©
SQL*Plus: Release 9.2.0.4.0 - Production on Tue Jul 14 18:12:38 2009
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> conn sys/sys as sysdba
Connected.
SQL> show user
USER is "SYS"
SQL> desc dba_users
Name &nbs ......
OracleÊý¾Ýµ¼Èëµ¼³öimp/exp¾ÍÏ൱ÓÚoracleÊý¾Ý»¹ÔÓ뱸·Ý¡£expÃüÁî¿ÉÒÔ°ÑÊý¾Ý´ÓÔ¶³ÌÊý¾Ý¿â·þÎñÆ÷µ¼³öµ½±¾µØµÄdmpÎļþ£¬impÃüÁî¿ÉÒÔ°ÑdmpÎļþ´Ó±¾µØµ¼Èëµ½Ô¶´¦µÄÊý¾Ý¿â·þÎñÆ÷ÖС£ ÀûÓÃÕâ¸ö¹¦ÄÜ¿ÉÒÔ¹¹½¨Á½¸öÏàͬµÄÊý¾Ý¿â£¬Ò»¸öÓÃÀ´²âÊÔ£¬Ò»¸öÓÃÀ´ÕýʽʹÓá£
Ö´Ðл·¾³£º¿ÉÒÔÔÚSQLPLUS.EXE»òÕßDOS£¨ÃüÁîÐУ ......
ÔÚArcGISÖÐͨ¹ýSDE´æ´¢¿Õ¼äÊý¾Ýµ½OracleÖÐÓжàÖÖ´æ´¢·½Ê½£¬·Ö±ðÓУº¶þ½øÖÆLong Raw ¡¢ESRIµÄST_GeometryÒÔ¼°»ùÓÚOracle SpatialµÄSDO_GeometryµÈµÈ¡£
¹ØÓÚÕ⼸ÖÖ·½Ê½µÄ¸÷×ÔµÄÓÅȱµã²»ÊÇÖ÷ÒªµÄ̽Ìֵķ½Ïò£¬ÕâЩÎÒÃÇ¿ÉÒÔͨ¹ýArcGISÖеÄArcGIS Server HelpµÃµ½Ïà¹ØµÄ°ïÖú¡£ÕâÀïÖ÷Ò ......