ORACLE´æ´¢×Ó¾äµÄÓÅÏȼ¶
½ñÌìÔÚÊéÉÏ¿´µ½ÓÐÒ»¸öС½Ú½²´æ´¢×Ó¾äÓÅÏȼ¶µÄ£¬ËµÊµ»°£¬Æ½Ê±ÔÚ´´½¨¶ÔÏóµÄʱºò¼¸ºõ²»Ôõôָ¶¨´æ´¢×Ó¾äµÄ£¬Ò»°ã²ÉÓÃĬÈÏ¡£ºÇºÇ£¬¿ÉÄÜÊÇÒòΪ±È½ÏÀÁ°É£¬½ñÌì¼ÈÈ»¿´µ½ÁË£¬¾Í¼ÇÏÂÀ´£¬ÏàÐÅÒÔºó»áÓõõ½µÄ¡£
ORACLEÊý¾Ý¿âĬÈϵĴ洢²ÎÊý < ±í¿Õ¼äËù¶¨ÒåµÄ´æ´¢²ÎÊý < ¶ÎËù¶¨ÒåµÄ´æ´¢²ÎÊý
´æ´¢×Ó¾ä¿ÉÒÔÔÚ¶ÎÒ»¼¶ËµÃ÷ÒÔ¿ØÖÆÇø¶Î(EXTENT)ÔÚ¶ÎÖÐÊÇÈçºÎ·ÖÅäµÄ¡£Æä·ÖÅäÔÔòÈçÏ£º
ÈκÎÔÚ¶ÎÒ»¼¶ËµÃ÷µÄ´æ´¢²ÎÊý½«¸²¸ÇÔÚ±í¿Õ¼äÒ»¼¶Ëù¶ÔÓ¦µÄÑ¡ÏîÉèÖ㬵«ÊDZí¿Õ¼äÒ»¼¶µÄ²ÎÊýMINIMUM EXTENT»òUNIFORM SIZE³ýÍâ¡£
µ±´æ´¢²ÎÊýÔÚ¶ÎÒ»¼¶Ã»ÓÐÏÔʾµÄ¶¨Òåʱ£¬ËüÃÇĬÈÏΪ±í¿Õ¼äÒ»¼¶Ëù¶¨ÒåµÄ²ÎÊýÖµ¡£
µ±´æ´¢²ÎÊýÔÚ±í¿Õ¼äÒ»¼¶Ã»ÓÐÏÔʾµÄ¶¨Òåʱ£¬ORACLEÊý¾Ý¿âϵͳµÄĬÈϲÎÊýÖµ½«±»Ê¹Óá£
Èç¹ûÔÚ±í¿Õ¼äÒ»¼¶ÒѾ¶¨ÒåÁËMINIMUM EXTENTµÄ´óС£¬Ëü½«Ó¦ÓÃÓڸñí¿Õ¼äÖн«À´ËùÓжεÄÇø¶Î(EXTENT)µÄ·ÖÅä¡£
ijЩ´æ´¢²ÎÊý²»ÄÜÔÚ±í¿Õ¼äÒ»¼¶¶¨Ò壬ÕâЩ´æ´¢²ÎÊýÖ»ÄÜÔÚ¶ÎÒ»¼¶ËµÃ÷¡£
Èç¹û¶Ô´æ´¢²ÎÊý½øÐÐÁËÐ޸ģ¬ÐµĴ洢²ÎÊýÖ»ÊÊÓÃÓÚ»¹Ã»ÓзÖÅäµÄÇø¶Î(EXTENT)¡£
Ïà¹ØÎĵµ£º
Oracle Stream ÅäÖÃ
»·¾³£º
OS:Redhat Linux
Oracle 10.2.0.4
source:TEST
destnation:STANDBY
==×¼±¸==
1.¹éµµÈÕÖ¾ÅäÖãº
SQL> archive log list;
Database log mode Archive Mode
Automatic archival &nbs ......
À´Ô´£ºhttp://www.bokee.net/bloggermodule/blog_viewblog.do?id=465310
OracleµÄµ¼ÈëʵÓóÌÐò(Import utility)ÔÊÐí´ÓÊý¾Ý¿âÌáÈ¡Êý¾Ý£¬²¢ÇÒ½«Êý¾ÝдÈë²Ù×÷ϵͳÎļþ¡£impʹÓõĻù±¾¸ñʽ£ºimp[username[/password[@service]]]£¬ÒÔÏÂÀý¾Ùimp³£ÓÃÓ÷¨¡£
1. »ñÈ¡°ïÖú
imp help=y
2. µ¼ÈëÒ»¸öÍêÕûÊý¾Ý¿â
imp system/mana ......
1.ÒÔsysÓû§µÇ¼oracle
2.²éÕÒÄãÒª¸ü¸ÄµÄ±í£¬ÎÒÃÇ“TEST”ÖеēAAA”±íΪÁУ¬×¢Ò⣬ÔÚoracleÖУ¬±íºÍ¿Õ¼ä¶¼ÊÇÒÔ´óд×ÖĸÏÔʾµÄ£¬ËùÒÔÕâÀﶼҪÓôó×Ö×Öĸ
Ö´ÐÐ
select object_id from all_objects where owner='TEST' and object_name='AAA';
»áµÃµ½Ò»¸öobject_id,Õâ¾ÍÊÇÎÒÃÇÐèÒª¸ü¸Ä±íµÄid£¬ÎÒÃÇÒ ......
ÒÔÇ°·¢¹ýһƪÒƶ¯Êý¾ÝÎļþµÄ·½·¨µÄÎÄÕ£¬²Î¼û
http://blog.csdn.net/wh62592855/archive/2009/11/20/4843764.aspx
²»¹ýµ±Ê±Ö»¸ø³öÁËÒ»¸öʾÀý¶øÒÑ£¬½ñÌìÔÚÊéÖп´µ½ÁËÁíÒ»ÖÖ·½·¨£¬×ܽáһϣ¬¼ÇÔÚÕâÀï¡£
OracleÌṩÁËÁ½ÌõÒƶ¯Êý¾ÝÎļþµÄÓï¾ä
1
ALTER TABLESPACE ±í¿Õ¼äÃû
RENAME DATAFILE 'ÎļþÃû' [,'ÎļþÃû']...
TO ' ......