Oracle±í¿Õ¼ä¹ÜÀí
extent--×îС¿Õ¼ä·ÖÅ䵥λ --tablespace management
block --×îСi/oµ¥Î» --segment management
create tablespace james
datafile '/export/home/oracle/oradata/james.dbf'
size 100M ¡¡¡¡¡¡¡¡¡¡¡¡--³õʼµÄÎļþ´óС¡¡
autoextend On¡¡¡¡¡¡¡¡ --×Ô¶¯Ôö³¤
next 10M¡¡¡¡¡¡¡¡¡¡ --ÿ´Î×Ô¶¯Ôö³¤´óС¡¡
maxsize 2048M¡¡¡¡ ¡¡ --×î´óÎļþ´óС
extent management local --±í¿Õ¼ä²ÉÓñ¾µØ±í¿Õ¼ä¹ÜÀí
uniform size 128k¡¡¡¡¡¡ --uniformÉèÖÃextentÿ´Î·ÖÅäµÄ´óСͳһΪ128k(Èç¹ûÊÇdb_block_size=8k
,Ôòÿ´Î·ÖÅä16¸ö¿é)¡¡
¡¡¡¡¡¡¡¡ --Èç¹û²»Ö¸¶¨´óС£¬ÔòΪ1M£¬¼´Îª1024/8¸öblock
¡¡¡¡¡¡¡¡--autoallocateÉèÖÃextent´óСÓÉϵͳ×Ô¶¯·ÖÅä
¡¡¡¡¡¡¡¡ --²»¹Üϵͳ´óС·ÖÅäΪ¶àÉÙ£¬µ«Í³Ò»³ß´çÊÇ64k£¨ÔÚbitmapÖбê¼ÇλµÄ´óС£©¡£
¡¡¡¡¡¡¡¡ --autoallocateÔÚdba_extentsÖеÄallocation_typeÖÐÏÔʾΪ SYSRTEM
segment space management auto;
--segmentÖеÄblock¹ÜÀíÓÐÁ½ÖÖ£ºMSSM(Manual Segment Space Management)£¬
ASSM(Auto Systemt Space Management)
--Auto ģʽʱֻÓÐpctfree²ÎÊýÆð×÷ÓÃ
--Manual ģʽʱfreelist,pctfree,pctused²ÎÊýÆð×÷Óá£
Tablespace ¹ÜÀí·½Ê½ÓÐÁ½ÖÖ£º£¨¹ÜÀíextent)
1 Êý¾Ý×Öµä¿Õ¼ä¹ÜÀí dictionary managed tablespace
ͨ¹ý¹ÜÀíÁ½¸öÖ÷ÒªµÄÊý¾Ý×Öµä±í£¬UET$(Used EXtends) ºÍFET$(Free EXtends
Ïà¹ØÎĵµ£º
ËäȻѧϰJavaºÜ¾ÃÁË£¬×Ô¼ºÒ²Á¬½Ó¹ýһЩÊý¾Ý¿â£¬±ÈÈçmysqlÖ®ÀàµÄ£¬Èç½ñÄØ£¬Ò²Ñ§Ï°ÁËÒ»¶Îʱ¼äµÄOracle£¬È»¶øÄØ£¬½ñÌìÊÇÎÒµÚÒ»´ÎÁ¬½ÓOracle£¬ºÙºÙ£¬Ó¦¸Ã»¹²»ËãÌ«³Ù°É¡£
½ñÌìÄØ£¬Óе㱿׾£¬´ó¼ÒĪЦ£¡
ÎÒÕâÊÇÒ»¸ö²éѯÀý×Ó
Ê×ÏÈ£¬Ô ......
ORACLEÊý¾Ý¿âµÄÈÕÖ¾Îļþ$ORACLE_BASE/admin/orasid/bdump/alert_orasid.log¼Ç¼ÁËÖØ×÷ÈÕÖ¾µÄת»»£¬
Êý¾Ý¿âÆô¶¯ºÍ¹Ø±Õ£¬Êý¾Ý¿â½á¹¹µÄ¸Ä±ä£¬»ØÍ˶εÄÐ޸ģ¬ËÀËø£¬ÄÚ²¿´íÎóµÈÐÅÏ¢.
Êý¾Ý¿â¹ÜÀíÔ±ÐèÒª¼ì²éÕâ¸öÎļþÓÐÎÞORA-´íÎ󲢶¨ÆڵضÔÕâ¸öÈÕÖ¾Îļþ½øÐд浵ÕûÀí ......
ÔÚOracleÖв鿴ËùÓеıí:
select * from tab/dba_tables/dba_objects/cat;
¿´Óû§½¨Á¢µÄ±í :
select table_name from user_tables; //µ±Ç°Óû§µÄ±í
select table_name from all_tables; //ËùÓÐÓû§µÄ±í   ......
1¡¢Ð´BATÎļþ
------------------------------------------------------------------------------------------------------
if "%time:~0,1%"==" " (set backup_file=%date:~0,4%%date:~5,2%%date:~8,2%-0%time:~1,1%%time:~3,2%%time:~6,2%) else (set backup_file=%date:~0,4%%date:~5,2%%date:~8,2%-%time:~0,2%%time: ......
Oracle¼à¿Ø¹¤¾ß¸ÅÀÀ
Kaya ·¢±íÓÚ os2ora.com
дÁËLinuxÉϵļà¿ØÓë·ÖÎö¹¤¾ß
Ö®ºó£¬Ð´Ð´OracleÉÏÏàÓ¦µÄ¼à¿ØÓë·ÖÎö¹¤¾ß»¹ÊÇͦÓÐÒâ˼µÄ£¬Ò»·½Ãæ¿ÉÒÔ¸ü¼ÓÍêÕû£¬Ò»·½Ãæ¿ÉÒÔ½øÐкáÏò¶Ô±È¡£
LinuxÉϵÄÐÔÄÜÊý¾ÝÒ»°ã¶¼À´×ÔÓÚ/procÎļþϵͳ£¬¶øOracleÔòÊÇÀ´×ÔÓÚV$ÊÓͼ¡£Òò´Ë£¬ËùÓеÄOracle¼à¿Ø¹¤¾ßµÄʵÏÖ¶¼Íò±ä²»Àë
V$
ÊÓͼ¡ ......