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

ORACLEÒƶ¯Êý¾ÝÎļþµÄ·½·¨

ÒÔÇ°·¢¹ýһƪÒƶ¯Êý¾ÝÎļþµÄ·½·¨µÄÎÄÕ£¬²Î¼û
http://blog.csdn.net/wh62592855/archive/2009/11/20/4843764.aspx
²»¹ýµ±Ê±Ö»¸ø³öÁËÒ»¸öʾÀý¶øÒÑ£¬½ñÌìÔÚÊéÖп´µ½ÁËÁíÒ»ÖÖ·½·¨£¬×ܽáһϣ¬¼ÇÔÚÕâÀï¡£
OracleÌṩÁËÁ½ÌõÒƶ¯Êý¾ÝÎļþµÄÓï¾ä
1
ALTER TABLESPACE ±í¿Õ¼äÃû
RENAME DATAFILE 'ÎļþÃû' [,'ÎļþÃû']...
TO 'ÎļþÃû' [,'ÎļþÃû']...
¸ÃÓï¾äÖ»ÊÊÓÃÓÚÉÏÃæûÓлµÄ»¹Ô­Êý¾Ý»òÁÙʱ¶ÎµÄ·Çϵͳ±í¿Õ¼äÖеÄÊý¾ÝÎļþ¡£ÒªÇóÔÚʹÓøÃÓï¾äʱ£¬±í¿Õ¼ä±ØÐëΪÍÑ»ú״̬ÇÒÄ¿±êÊý¾ÝÎļþ±ØÐë´æÔÚ£¬ÒòΪ¸ÃÓï¾äÖ»Ð޸ĿØÖÆÎļþÖÐÖ¸ÏòÊý¾ÝÎļþµÄÖ¸Õ루µØÖ·£©¡£
Òƶ¯Êý¾ÝÎļþ»òÖØÐÂÃüÃûÊý¾ÝÎļþµÄ²½ÖèÈçÏ£º
ʹÓÃÊý¾Ý×Öµä»ñÈ¡ËùÐèµÄ±í¿Õ¼äºÍÊý¾ÝÎļþµÄÏà¹ØÐÅÏ¢
½«±í¿Õ¼äÖÃΪÍÑ»ú
ʹÓòÙ×÷ϵͳÃüÁîÒƶ¯»ò¸´ÖÆÒªÒƶ¯µÄÊý¾ÝÎļþ
Ö´ÐÐALTER TABLESPACE RENMAE DATAFILEÃüÁî
½«±í¿Õ¼äÖÃΪÁª»ú
ʹÓÃÊý¾Ý×Öµä»ñÈ¡ËùÐèµÄ±í¿Õ¼äºÍÊý¾ÝÎļþµÄÏà¹ØÐÅÏ¢
Èç¹ûÐèÒª£¬Ê¹ÓòÙ×÷ϵͳÃüÁîɾ³ýÎÞÓõÄÊý¾ÝÎļþ
2
ALTER DATABASE [Êý¾Ý¿âÃû]
RENAME FILE 'ÎļþÃû' [,'ÎļþÃû']...
TO 'ÎļþÃû' [,'ÎļþÃû']...
¸ÃÓï¾äÊÊÓÃÓÚϵͳ±í¿Õ¼äºÍ²»ÄÜÖÃΪÍÑ»úµÄ±í¿Õ¼äÖеÄÊý¾ÝÎļþ¡£ÒªÇóÔÚʹÓøÃÓï¾äʱ£¬Êý¾Ý¿â±ØÐëÔËÐÐÔÚMOUNT״̬ÇÒÄ¿±êÊý¾ÝÎļþ±ØÐë´æÔÚ£¬ÒòΪ¸ÃÓï¾äÖ»Ð޸ĿØÖÆÎļþÖÐÖ¸ÏòÊý¾ÝÎļþµÄÖ¸Õ루µØÖ·£©¡£
Òƶ¯Êý¾ÝÎļþ»òÖØÐÂÃüÃûÊý¾ÝÎļþµÄ²½ÖèÈçÏ£º
ʹÓÃÊý¾Ý×Öµä»ñÈ¡ËùÐèµÄ±í¿Õ¼äºÍÊý¾ÝÎļþµÄÏà¹ØÐÅÏ¢
¹Ø±ÕÊý¾Ý¿âϵͳ
ʹÓòÙ×÷ϵͳÃüÁîÒƶ¯»ò¸´ÖÆÒªÒƶ¯µÄÊý¾ÝÎļþ
ʹÊý¾Ý¿âÖÃΪMOUNT״̬
Ö´ÐÐALTER DATABASE RENMAE FILEÃüÁî
´ò¿ªÊý¾Ý¿âϵͳ
ʹÓÃÊý¾Ý×Öµä»ñÈ¡ËùÐèµÄ±í¿Õ¼äºÍÊý¾ÝÎļþµÄÏà¹ØÐÅÏ¢
Èç¹ûÐèÒª£¬Ê¹ÓòÙ×÷ϵͳÃüÁîɾ³ýÎÞÓõÄÊý¾ÝÎļþ


Ïà¹ØÎĵµ£º

oracleÖÐÒ»¸öÊý¾ÝÎļþµÄ×î´óÖµ(·Çlob)

ORACLEµÄÒ»¸öÊý¾ÝÎļþµÄ×î´óÖµÊǶàÉÙÄØ£¿
ÎÒÃÇÖªµÀORACLEµÄ×îСµÄÎïÀíµ¥Î»ÊÇBLOCK£¬Êý¾ÝÎļþµÄ×é³ÉµÄ×îÖÕÐÎʽҲÊÇblock£¬ÄÇôÊý¾ÝÎļþµÄ´óСÏÞÖƾÍÓ¦¸ÃÊÇblockÊýÁ¿µÄÏÞÖÆ£¬ÄÇô¾¿¾¹blockµÄÊýÁ¿ÓкÎÏÞÖÆ£¬ÕâÀï¾ÍÒªÌáµ½Ò»¸öORACLEÄÚ²¿ÊõÓïDBA(´Ëdba·ÇÊý¾Ý¿â¹ÜÀíÔ±£¬¶øÊÇdata block address)
   Extent 0 &n ......

ORACLE Schema µÄÀí½â

¿´À´ÓеÄÈË»¹ÊǶÔschemaµÄÕæÕýº¬Ò岻̫Àí½â£¬ÏÖÔÚÎÒÔÙ´ÎÕûÀíÁËһϣ¬Ï£Íû¶Ô´ó¼ÒÓÐËù°ïÖú¡£
ÎÒÃÇÏÈÀ´¿´Ò»ÏÂËûÃǵĶ¨Ò壺
A schema is a collection of database objects (used by a user.).
Schema objects are the logical structures that directly refer to the database’s data.
A user is a name defined in ......

Oracle »ñÈ¡µ±Ç°ÈÕÆÚ¼°ÈÕÆÚ¸ñʽ

Oracle »ñÈ¡µ±Ç°ÈÕÆÚ¼°ÈÕÆÚ¸ñʽ
   »ñȡϵͳÈÕÆÚ£º  SYSDATE()
   ¸ñʽ»¯ÈÕÆÚ£º     TO_CHAR(SYSDATE(),'YY/MM/DD HH24:MI:SS)
                      » ......

ÈçºÎ¿ª·¢ORACLE´æ´¢¹ý³Ì

¡¡¡¡Ò». ¸ÅÊö
¡¡¡¡Oracle´æ´¢¹ý³Ì¿ª·¢µÄÒªµãÊÇ£º
¡¡¡¡• ʹÓÃNotepadÎı¾±à¼­Æ÷£¬ÓÃOracle PL/SQL±à³ÌÓïÑÔдһ¸ö´æ´¢¹ý³Ì;
¡¡¡¡• ÔÚOracleÊý¾Ý¿âÖд´½¨Ò»¸ö´æ´¢¹ý³Ì;
¡¡¡¡• ÔÚOracleÊý¾Ý¿âÖÐʹÓÃSQL*Plus¹¤¾ßÔËÐд洢¹ý³Ì;
¡¡¡¡• ÔÚOracleÊý¾Ý¿âÖÐÐ޸Ĵ洢¹ý³Ì;
¡¡¡¡• ͨ¹ý±àÒë´íÎóµ÷ÊÔ´æ´¢¹ ......

ORACLEÖÐÁÙʱÎļþºÍÊý¾ÝÎļþµÄÇø±ð

Õâ¸öÎÊÌâÒÔÇ°À§ÈŹýÎÒ£¬Á½Õߺó׺Ãû¶¼ÊÇ.DBF¡£¼ÇµÃµ±Ê±ºÃÏñÈ¥ÂÛ̳ÉÏ·¢Á˸öÌû×ÓÎÊ£¬²»¹ýºÃ¼¸ÌìûÈ˽â´ð£¬ÎÞÄÎÖ®ÏÂÎҾͰÑÌû×Ó¸ø½áÁË¡£
½ñÌìÕýºÃÔÚÒ»±¾ÊéÖп´µ½Óн²Á½ÕßÇø±ðµÄ£¬ÓÖÈ¥ÍøÉÏËÑÁËËÑ£¬Ð¡×ܽáһϣ¬¼ÇÏÂÀ´¡£
±¾µØ¹ÜÀíµÄÁÙʱ±í¿Õ¼äÊÇ»ùÓÚÁÙʱÎļþµÄ£¬ÕâЩÎļþÓëÆÕͨµÄÊý¾ÝÎļþ·Ç³£ÏàËÆ£¬µ«ËüÃÇ»¹¾ßÓÐÈçÏÂÌØÐÔ£º
ÁÙʱ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ