Ç϶ô Tablespace´Â Oracle µ¥ÀÌŸº£À̽º¸¦ ¶§ ¿ì¿¬ÇÏ°Ô °¨¼Ò ÀÚ·á ÆÄÀÏ ¾î¶»°Ô Àç±âÇÑ´Ù

»ç°í´Â ºñ·Ï °ªÀ̺ñ½Ñ °ÍÀÌ´õ¶óµµ, ÀϾ´Ù ÀÏÁö¸ð¸¥´Ù. À̰ÍÀº ÇÏµå µð½ºÅ©¿¡ ÀÚ·á ÆÄÀÏ¿¡¼­ µ¥ÀÌŸº£À̽º ¸ñÇ¥¸¦ À°Ã¼ÀûÀ¸·Î ÀúÀåÇÏ´Â Oracle µ¥ÀÌŸº£À̽ºÀÇ °æ¿ì¿¡´ÂƯÈ÷. ºü¸¥ ¼Õ ÇàÁ¤°üÀº ¿ì¿¬ÇÏ°Ô ¾î¶²À»ÀÇ ÀÚ·á ÆÄÀÏ »èÁ¦ÇÒÁöµµ ¸ð¸¥´Ù, ¶Ç´Â ÀÚ·á ÆÄÀÏÀº ÇÏµå µð½ºÅ© ½ÇÆÐ¿¡ Ÿ¶ô½ÃŰ°Å³ª ÀÐÀ» °¡Ä¡°¡ ¾ø µÉÁöµµ ¸ð¸¥´Ù. ´ç½ÅÀº µ¥ÀÌŸº£À̽º ȸº¹ °úÁ¤ ÈÄ¿¡ ¸î¸î ¾ø´Â ÀÚ·á ÆÄÀÏÀ» ¶ÇÇÑ ¾òÀ»Áöµµ ¸ð¸¥´Ù. ¾î·µç, Oracle µ¥ÀÌŸº£À̽º°¡ ³õÄ¡´Â a¿¡ ÀÇÇÏ¿© ¶Ç´Â ¾à°£ ÀÚ·á ÆÄÀÏÀº Àüü DB¸¦ Á¢±ÙÇϱ⠾î·Á¿ï °ÍÀÌ ¸¸µå´Â °³½Ã¿¡ ½ÇÆÐÇÏ´Â ¿øÀÎÀÌ µÉ °ÍÀÌ´Ù.

¾ø´Â ÀÚ·á ÆÄÀÏ¿¡ ÇØ°áÃ¥Àº ºÒ¿ÏÀüÇÑ ÀÚ·á ÆÄÀÏÀÌ ÀÖ´Â ¿µÇâ ¹ÞÀº tablespace¸¦ ¶³¾îÁö°í, ±× ÈÄ¿¡ tablespace¸¦ ÈÞ¾çÇÏ°í ¹é¾÷¿¡¼­ tablespace·Î ÀڷḦ ¼öÀÔÇϱâ À§ÇÑ °ÍÀÌ´Ù. ±×·¯³ª, ´Ü°è´Â ÀÌ·¸°Ô ¶È¹Ù¸¥ ¾ÕÀ¸·Î ¾Æ´Ï´Ù.

  1. ¶Ù±â SQL*Plus.
  2. ÀÌ Áú¹®°ú SYSDBA·Î µ¥ÀÌŸº£À̽º¿¡ ¿¬°áÇϽʽÿÀ:

    SYSDBA·Î/¿¬°áÇϽʽÿÀ

  3. ±×°Í À§·Î ½ÃÀÛ ´ë½Å¿¡ µ¥ÀÌŸº£À̽º¸¦ °ÅÄ¡ÇϽʽÿÀ:

    °³½Ã »ê;

  4. ¾ø´Â ÀÚ·á ÆÄÀÏÀ» ¿ÀÇÁ¶óÀÎÀ¸·Î °¡Á®¿À´Â µÚ¿¡ ¿À´Â ¸í·ÉÀ» ¹ßÇàÇØ Oracle°¡ ±×·¡¾ß ÀÚ·á ÆÄÀÏÀ» ´õ ÀÌ»ó ¿¬°áÇϰí Á¢±ÙÇÏ´Â °ÍÀ» ½ÃµµÇÏÁö ¾Ê´Â:

    ¿ÏÀüÇÑ °æ·Î' µû·Î ÀÕ±â< Ç϶ôÀ» °¡Áø µ¥ÀÌŸº£À̽º ÀÚ·á ÆÄÀÏ `>ÀÚ·á ÆÄÀÏ À̸§À» ¹Ù²Ù½Ê½Ã¿À;

    °¢À» À§ÇÑ ¸í·ÉÀ» ¿øÀÎ ºÒ¸í ÀÚ·á ÆÄÀÏ ¹Ýº¹ÇϽʽÿÀ.

  5. Áö±Ý Àû´çÇÑ µ¥ÀÌŸº£À̽º¸¦ ½ÃÀÛÇϽʽÿÀ:

    ¿­·ÁÀÖ´Â µ¥ÀÌŸº£À̽º¸¦ ¹Ù²Ù½Ê½Ã¿À;

  6. tablespace°¡ ¼Õ»óÇϱ⠶§¹®¿¡, ½Å¼±ÇÑ ¹é¾÷¿¡¼­ ÈÞ¾çÇϱâ À§ÇÏ¿© ±×°ÍÀ» ¶³¾îÁö½Ê½Ã¿À.

    Ç϶ô TABLESPACE <tablespace À̸§> ¸ñÂ÷¸¦ Æ÷ÇÔÇÏ¿©;

  7. ±×·¸Áö ¾ÊÀ¸¸é, ¿î¿µ ü°è¿¡¼­ ±×µéÀ» ¼öµ¿À¸·Î Á¦°ÅÇϽʽÿÀ tablespace¸¦ À§ÇÑ ´Ù¸¥ ÀÚ·á ÆÄÀÏÀÌ »èÁ¦µÇ¾ú´Ù´Â °ÍÀ» ÁöŰ½Ê½Ã¿À.

    ³¡: tablespace¿¡ ¼ÓÇÏ´Â ÀÚ·á ÆÄÀÏÀ» °Ë»çÇÏ´Â ¹æ¹ý.

  8. º¹±¸ ÀÛ¾÷¿¡¼­ °è¼ÓÇÏ.

Áß¿äÇÑ: À̰ÍÀº º¸Àå ¾øÀÌ "ÀÖ´Â ±×´ë·Î" Á¦°øµÇ´Â ±â°è ¹ø¿ª ÆäÀÌÁöÀÌ´Ù. ±â°è¹ø¿ªÀº ÀÌÇØÇϱ⠰ï¶õÇÒÁöµµ ¸ð¸¥´Ù. Âü°íÇϽʽÿÀ ¿ø·¡ ¿µ±¹ ±â»ç °¡´ÉÇÑ ¾ðÁ¦µçÁö.

°øÀ¯ÇÏ°í °øÇåÇϰųª ±â¼úÁö¿øÀ» ¾ò°í¿¡ µµ¿ì½Ê½Ã¿À ³ªÀÇ µðÁöÅÐ »ýȰ °ø°³Åä·Ð.



4 Responses to ¡°How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile¡±

  1. How to Remove and Drop Datafiles from Tablespace in Oracle Database » My Digital Life
    August 4th, 2007 02:57
    1

    [...] If one or more datafiles is missing after a recovery process or accidental deletion, you can use ALTER DATABASE DATAFILE <datafile name> OFFLINE DROP command to make the datafile offline so that database can starts up after which the troubled tablespace can be dropped. (See instruction to recover from missing datafiles.) [...]

  2. LP
    April 2nd, 2008 18:27
    2

    These are only to drop the TS

    but not to recover¡¦

    hence the worst¡¦.

  3. ravisha
    July 8th, 2008 19:31
    3

    This info helped us to a very great extent and hence we are able to proceed further smoothly.

  4. Cesar
    September 2nd, 2008 00:31
    4

    Thank you very much, this was really helpful.
    I had problems dropping the tablespace, i had to drop the user also.

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting


Custom Search

New Articles

Incoming Search Terms for the Article

drop tablespace - drop tablespace in oracle - oracle drop tablespace - recover tablespace - drop tablespace offline - drop tablespace ORACLE - alter database drop tablespace - oracle recover datafile - recover oracle datafile - offline drop - oracle recover database - DROP TABLESPACE MOUNT - oracle recover tablespace - recover datafile oracle - drop oracle tablespace - oracle drop table space - recover database Oracle - oracle drop tablespace offline - oracle drop database - Recover Oracle database - alter datafile offline drop - offline drop tablespace - oracle offline drop - oracle delete datafile - drop datafile offline - all - drop datafile - recover oracle database missing data file - tablespace offline drop - drop tablespace command in oracle - restore oracle database - recover database in oracle - alter tablespace offline - oracle drop tablespace mount - oracle recover - alter database oracle - drop a tablespace - recover drop tablespace - accidental+deletion+file+oracle - oracle data file missing - damaged missing datafiles oracle - drop oracle database - oracle drop tablespace with missing datafile - drop data file - recover dropped tablespace - oracle offline drop tablespace - drop tablespace missing datafile - how to offline the tablespace without opening the database - Oracle tablespace offline drop - recover datafile -