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

oracleϵͳ±í²éѯ

Êý¾Ý×Öµädict×ÜÊÇÊôÓÚOracleÓû§sysµÄ¡£
¡¡¡¡1¡¢Óû§£º
¡¡¡¡¡¡select username from dba_users;
¡¡¡¡¸Ä¿ÚÁî
¡¡¡¡¡¡alter user spgroup identified by spgtest;
¡¡¡¡2¡¢±í¿Õ¼ä£º
¡¡¡¡¡¡select * from dba_data_files;
¡¡¡¡¡¡select * from dba_tablespaces;//±í¿Õ¼ä
¡¡¡¡¡¡select tablespace_name,sum(bytes), sum(blocks)
¡¡¡¡¡¡¡¡from dba_free_space group by tablespace_name;//¿ÕÏбí¿Õ¼ä
¡¡¡¡¡¡select * from dba_data_files
¡¡¡¡¡¡¡¡where tablespace_name='RBS';//±í¿Õ¼ä¶ÔÓ¦µÄÊý¾ÝÎļþ
¡¡¡¡¡¡select * from dba_segments
¡¡¡¡¡¡¡¡where tablespace_name='INDEXS';
¡¡¡¡3¡¢Êý¾Ý¿â¶ÔÏó£º
¡¡¡¡¡¡select * from dba_objects;
¡¡¡¡¡¡CLUSTER¡¢DATABASE LINK¡¢FUNCTION¡¢INDEX¡¢LIBRARY¡¢PACKAGE¡¢PACKAGE BODY¡¢
¡¡¡¡¡¡PROCEDURE¡¢SEQUENCE¡¢SYNONYM¡¢TABLE¡¢TRIGGER¡¢TYPE¡¢UNDEFINED¡¢VIEW¡£
¡¡¡¡4¡¢±í£º
¡¡¡¡¡¡select * from dba_tables;
¡¡¡¡¡¡analyze my_table compute statistics;->dba_tablesºó6ÁÐ
¡¡¡¡¡¡select extent_id,bytes from dba_extents
¡¡¡¡¡¡where segment_name='CUSTOMERS' and segment_type='TABLE'
¡¡¡¡¡¡order by extent_id;//±íʹÓõÄextentµÄÐÅÏ¢¡£segment_type='ROLLBACK'²é¿´»Ø¹ö¶ÎµÄ¿Õ¼ä·ÖÅäÐÅÏ¢
¡¡¡¡¡¡ÁÐÐÅÏ¢£º
¡¡¡¡¡¡¡¡select distinct table_name
¡¡¡¡¡¡¡¡from user_tab_columns
¡¡¡¡¡¡¡¡where column_name='SO_TYPE_ID';
¡¡¡¡5¡¢Ë÷Òý£º¡¡
¡¡¡¡¡¡select * from dba_indexes;//Ë÷Òý£¬°üÀ¨Ö÷¼üË÷Òý
¡¡¡¡¡¡select * from dba_ind_columns;//Ë÷ÒýÁÐ
¡¡¡¡¡¡select i.index_name,i.uniqueness,c.column_name
¡¡¡¡¡¡¡¡from user_indexes i,user_ind_columns c
¡¡¡¡¡¡¡¡¡¡where i.index_name=c.index_name
¡¡¡¡¡¡¡¡¡¡and i.table_name ='ACC_NBR';//Áª½ÓʹÓÃ
¡¡¡¡6¡¢ÐòÁУº
¡¡¡¡¡¡select * from dba_sequences;
¡¡¡¡7¡¢ÊÓͼ£º
¡¡¡¡¡¡select * from dba_views;
¡¡¡¡¡¡select * from all_views;
¡¡¡¡text ¿ÉÓÃÓÚ²éѯÊÓͼÉú³ÉµÄ½Å±¾
¡¡¡¡8¡¢¾Û´Ø£º
¡¡¡¡¡¡select * from dba_clusters;
¡¡¡¡9¡¢¿ìÕÕ£º
¡¡¡¡¡¡select * from dba_snapshots;
¡¡¡¡¿ìÕÕ¡¢·ÖÇøÓ¦´æÔÚÏàÓ¦µÄ±í¿Õ¼ä¡£
¡¡¡¡10¡¢Í¬Òå´Ê£º
¡¡¡¡¡¡select * from dba_synonyms
¡¡¡¡¡¡¡¡where table_owner='SPGROUP';
¡¡¡¡¡¡¡¡//if owner is PUBLIC,then the synonyms is a public synonym.
¡¡¡¡¡¡¡¡¡¡if owner is one


Ïà¹ØÎĵµ£º

¡¾×ª¡¿OracleÐÔÄܵ÷ÓÅÔ­Ôò

¡¡¡¾IT168 ¼¼ÊõÎĵµ¡¿ÈκÎÊÂÇé¶¼ÓÐËüµÄÔ´Í·£¬Òª½â¾öÎÊÌ⣬ҲµÃ´ÓÔ´Í·¿ªÊ¼£¬Ó°ÏìORACLEÐÔÄܵÄÔ´Í··Ç³£¶à£¬Ö÷Òª°üÀ¨ÈçÏ·½Ã棺Êý¾Ý¿âµÄÓ²¼þÅäÖÃ:CPU¡¢ÄÚ´æ¡¢ÍøÂçÌõ¼þ¡£
¡¡¡¡1. CPU:ÔÚÈκλúÆ÷ÖÐCPUµÄÊý¾Ý´¦ÀíÄÜÁ¦ÍùÍùÊǺâÁ¿¼ÆËã»úÐÔÄܵÄÒ»¸ö±êÖ¾£¬²¢ÇÒORACLEÊÇÒ»¸öÌṩ²¢ÐÐÄÜÁ¦µÄÊý¾Ý¿âϵͳ£¬ÔÚCPU·½ÃæµÄÒªÇó¾Í¸ü¸ßÁË£¬Èç¹ûÔ ......

oracleÈ«ÎÄË÷ÒýÖ®FILTER


½éÉÜÍêOracleÈ«ÎÄË÷ÒýµÄDATASTOREÊôÐÔ£¬¼ÌÐø½éÉÜOracleµÄFILTERÊôÐÔ¡£
OracleÈ«ÎÄË÷ÒýµÄFILTERÊôÐÔÖ÷ÒªÊÇÕë¶Ô¾ßÓÐÒ»¶¨¸ñʽµÄÎĵµ£¬Oracle¸ù¾ÝFILTERµÄÉ趨À´¹ýÂËÄÇЩ²»ÊôÓÚÎÄÕÂÄÚÈݵIJ¿·Ö¡£
FILTERÊôÐÔ°üº¬µÄÊôÐÔÓУºCHARSET_FILTER¡¢INSO_FILTER¡¢NULL_FILTER¡¢USER_FILTER¡¢PROCEDURE_FILTER¼¸ÖÖ¡£
ÕâÀïÈÔÈ»´ÓFILTER ......

oracleÈ«ÎÄË÷ÒýÖ®WORDLIST PREFERENCE

OracleÈ«ÎÄË÷ÒýµÄWORDLISTÊôÐÔÓÃÀ´ÉèÖÃÄ£ºý²éѯºÍͬ´Ê¸ù²éѯ£¬ÁíÍâWORDLISTÊôÐÔ»¹Ö§³ÖͨÅä·û²éѯ¡£
OracleµÄWORDLISTÊôÐÔÖ»ÓÐBASIC_WORDLISTÒ»ÖÖ£¬ÏÂÃæ¿´Ò»¸öBASIC_WORDLISTµÄÀý×Ó£º
1.Stemmer attributeÊÇÓÃÀ´²éѯÓôʸùµÄÊý¾Ý
SQL> create table stemmer_tbl(id number primary key,docs clob);
Table created.
S ......

oracleÈ«ÎÄË÷ÒýÖ®About_INDEX_THEMES²Ù×÷

OracleµÄÈ«ÎÄË÷Òý³ýÁËÖ§³ÖÎÄ×ÖÆ¥Åä²éѯ£¬»¹Ö§³Ö¶ÔÎÄÕº­ÒåµÄ²éѯ¡£ÕâÊÇͨ¹ýABOUT²Ù×÷ʵÏֵġ£
OracleĬÈÏÇé¿öÏÂÖ§³ÖÓ¢Îĺͷ¨ÎĵÄÎÄÕº­ÒåÖ§³Ö¡£ÆäËûÓïÑÔ¿ÉÒÔÌí¼Óͨ¹ýÓû§×Ô¶¨ÒåµÄÓïÑÔ¿âÀ´ÊµÏÖÏàÓ¦µÄ¹¦ÄÜ¡£
ÔÚ
Õâ֮ǰÐèÒªÏȰ²×°Companion CD µÄOracle Database 10g Products Installation
Type,ÆäÖаüÀ¨ÁËOracle Text Su ......

JavaÁ¬½ÓOracleÎÊÌâ

JavaÖ´ÐÐstm.executeQuery(sql); ʱ×ÜÊÇÌáʾ£ºjava.sql.SQLException: ORA-00911: ÎÞЧ×Ö·û£¬ÅªÁ˰ëÌ컹Êdzö´í£¬ÎÞÄΣ¬ÄóöɱÊÖïµ£¬Googleһϣ¬Ôε¹£¬·¢ÏÖÎÒµÄString  sql = “select detail from test.result where person_id = 4; "£¬Ã²ËÆÃ»´íÎó°É£¬½á¹ûÎÒÎÒ±ØÐëÈ¥µô×îºó·ÖºÅ£¬±¾À´ÊÇÏë¸ãµÃרҵµã£¬¾Í¼Û¼Ó¸ö·Ö ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ