ORACLE JOBºÍ´æ´¢¹ý³ÌµÄÏà¹Ø²éѯ
²é¿´Ïà¹ØjobÐÅÏ¢
¡¡¡¡1¡¢Ïà¹ØÊÓͼ
¡¡¡¡dba_jobs
¡¡¡¡all_jobs
¡¡¡¡user_jobs
¡¡¡¡dba_jobs_running °üº¬ÕýÔÚÔËÐÐjobÏà¹ØÐÅÏ¢ ¡¡
²é¿´´æ´¢¹ý³Ì packageµÈÏà¹Ø¹ý³Ì
select * from user_source where text like '%Òª²éµÄÄÚÈÝ%'
Ïà¹ØÎĵµ£º
extent--×îС¿Õ¼ä·ÖÅ䵥λ --tablespace management
block --×îСi/oµ¥Î» --segment management
create tablespace james
datafile '/export/home/oracle/oradata/james.dbf'
size 100M ¡¡¡¡¡¡¡¡¡¡¡¡--³õʼµÄÎļþ´óС¡¡
autoextend On¡¡¡¡¡¡¡¡ --×Ô¶¯Ôö³¤
next 10M¡ ......
oracle×ö²éѯÓï¾äµÄʱºò£¬ÀàËÆselect id in (xxxx,xxxx.....)ÕâÑùµÄÓï¾ä×î´óÖ»Ö§³Ö2000¸öÖµ£¬Èç¹û¶ÔÓ¦µÃÖµÉÏÍòÐУ¬Èç¸ÃÈçºÎ´¦ÀíÁË¡£
ÕâʱºòÓ¦¸Ã²ÉÓÃÁÙʱ±í¡£½¨Ò»¸öÁÙʱ±í£¬°ÑÊý¾Ýµ¼Èë½øÈ¥¡£²éѯʱºòÁª±í²éѯ¼È¿É¡££¨ÒÔÉÏÊÇÎÒ¹¤×÷ÖÐÓöµ½µÄÒ»¸öÐèÇó) ......
Basic Steps for Manual Online Reorganization Commands and procedures used:
1.DBMS_REDEFINITION.CAN_REDEF_TABLE
2.CREATE TABLE …
3.DBMS_REDEFINITION.START_REDEF_TABLE
4.DBMS_REDEFINITION.COPY_TABLE_DEPENDENTS and DBMS_REDEFINITION.CONS_ORIG_PAGRAMS
SELECT object_name,base_table_name, ......
oracle³£ÓþµäSQL²éѯ
³£ÓÃSQL²éѯ£º
1¡¢²é¿´±í¿Õ¼äµÄÃû³Æ¼°´óС
select t.tablespace_name, round(sum(bytes/(1024*1024)),0) ts_size
from dba_tablespaces t, dba_data_files d
where t.tablespace_name = d.tablespace_name
group by t.tablespace_name;
2¡¢²é¿´±í¿Õ¼äÎïÀíÎļþµÄÃû³Æ ......
ÓÉÓÚϵͳÖÐÊý¾Ý²»¶ÏÔö¶à£¬Ê¹µÃÔÓõÄlikeÓï·¨À´½øÐвéѯ·¨ÂÉÈ«ÎıäµÃÊ®·Ö»ºÂý£¬Òò´ËÔÚÔÓÐϵͳÖÐÔö¼ÓÁËÈ«ÎļìË÷µÄ¹¦ÄÜ¡£
¡¡¡¡È«ÎļìË÷¹¦ÄÜÒÀÀµÓÚOracle Text¡£Ê×Ïȱ£Ö¤Oracle Text×é¼þÔÚÊý¾Ý¿âÖÐÒÑ°²×°¡£È»ºó½¨Á¢Ë÷Òý
¡¡¡¡Sql´úÂë
¡¡¡¡--·¨ÂÉÈ«ÎÄÄÚÈÝ×Ö¶ÎÔö¼ÓË÷Òý
¡¡¡¡create index idx_flqw_nr on flqw(nr) indextype ......