How to Rename or Move Oracle Tablespace Datafile to Another Location कैसे या नाम बदलें के लिए एक और स्थान के लिए Oracle तालिकास्थान Datafile हटो
Oracle database does not provide an easy user interface to rename a datafile of tablespace, nor database administrator can easily move or relocate the datafile to another location or directory that different from original location on creation of database. Oracle डाटाबेस एक आसान उपयोगकर्ता इंटरफेस प्रदान करने के लिए नहीं तालिकास्थान का datafile नाम परिवर्तित करता है, और न ही डेटाबेस व्यवस्थापक से आसानी से जा सकते हैं या किसी अन्य स्थान या निर्देशिका है कि डाटाबेस के सृजन को मूल स्थान से अलग करने datafile खिसकाना. The rename or move place task has to be performed via Oracle SQLPlus command line interface. नाम बदलने या जगह काम ले जाने के लिए Oracle SQLPlus कमांड लाइन अंतरफलक से होकर करना होगा. However, if the operation is performed when the tablespace which owns the datefile is online, error will occur. हालांकि, अगर आपरेशन किया जाता है जब तालिकास्थान जो datefile मालिक ऑनलाइन है, त्रुटि हो जाएगा.
The error message may include the following: त्रुटि संदेश निम्नलिखित शामिल हो सकते हैं:
ORA-01511: error in renaming log/data files लॉग renaming में त्रुटि ORA-01511: / डेटा फ़ाइलें
ORA-01121: cannot rename database file <string> – file is in use or recovery ORA-01121: डेटाबेस फ़ाइल - <string> फ़ाइल नाम परिवर्तित नहीं कर सकता का उपयोग करें या वसूली में है
ORA-01110: data file <string>: 'datafile.dbf' ORA-01110: डेटा फ़ाइल <string> ':' datafile.dbf
To properly move the datafile around or rename the datafile, follow this guide: ठीक से चारों ओर datafile या datafile नाम बदलने, इस गाइड का पालन करें कदम:
- Login to SQLPlus. लॉगिन SQLPlus है.
- Connect as SYS DBA with CONNECT / AS SYSDBA command. कनेक्ट करने के साथ SYS DBA के रूप में कनेक्ट / SYSDBA कमांड के रूप में.
- Shutdown the database instance with SHUTDOWN command. Shutdown कमांड के साथ डाटाबेस उदाहरण के Shutdown.
- Rename or/and move the datafiles at operating system level. नाम बदलें या / और ऑपरेटिंग सिस्टम स्तर पर datafiles चाल.
- Start Oracle database in mount state with STARTUP MOUNT command. शुरू में Oracle डाटाबेस स्टार्टअप माउंट कमांड के साथ राज्य माउंट.
- Modify the name or location of datafiles in Oracle data dictionary using following command syntax: नाम या Oracle डेटा में datafiles के स्थान शब्दकोश का प्रयोग निम्न कमांड वाक्यविन्यास संशोधित करें:
ALTER DATABASE RENAME FILE '<fully qualified path to original data file name>' TO '<new or original fully qualified path to new or original data file name>'; बदल डाटाबेस का नाम बदलें फ़ाइल 'मूल डेटा को <fully योग्य फ़ाइल पथ' name> 'को <new या मूल पूरी तरह से नया या मूल डेटा फ़ाइल के लिए पथ योग्य name>';
- Open Oracle database instance completely with ALTER DATABASE OPEN command. खुला बदल Oracle डाटाबेस के साथ खुली कमान पूरी तरह से डाटाबेस उदाहरण.
If the datafiles that need to be changed or moved do not belong to SYSTEM tablespaces, and do not contain active rollback segments or temporary segments, there is another workaround that does not require database instance to be shutdown. अगर जरूरत को बदल या प्रणाली tablespaces से संबंधित नहीं चला datafiles, और सक्रिय वापस लिया क्षेत्रों या अस्थायी खंड शामिल नहीं है, वहाँ एक workaround है कि डाटाबेस उदाहरण की जरूरत नहीं बंद हो जाता है. Instead, only the particular tablespace that contains the date files is taken offline. इसके बजाय, केवल विशेष तालिकास्थान कि तिथि फ़ाइलें हैं ऑफ़लाइन ले लिया है.
- Login to SQLPlus. लॉगिन SQLPlus है.
- Connect as SYS DBA with CONNECT / AS SYSDBA command. कनेक्ट करने के साथ SYS DBA के रूप में कनेक्ट / SYSDBA कमांड के रूप में.
- Make offline the affected tablespace with ALTER TABLESPACE <tablespace name> OFFLINE; command. बनाएँ बदल तालिकास्थान <tablespace से प्रभावित तालिकास्थान name> ऑफ़लाइन ऑफ़लाइन; कमान.
- Modify the name or location of datafiles in Oracle data dictionary using following command syntax: नाम या Oracle डेटा में datafiles के स्थान शब्दकोश का प्रयोग निम्न कमांड वाक्यविन्यास संशोधित करें:
ALTER TABLESPACE <tablespace name> RENAME DATAFILE '<fully qualified path to original data file name>' TO '<new or original fully qualified path to new or original data file name>'; तालिकास्थान <tablespace बदल name> मूल डेटा का नाम बदलें 'DATAFILE <fully योग्य फ़ाइल पथ' name> 'को <new या मूल पूरी तरह से नया या मूल डेटा फ़ाइल के लिए पथ योग्य name>';
- Bring the tablespace online again with ALTER TABLESPACE alter tablespace <tablespace name> ONLINE; command. तालिकास्थान ऑनलाइन बदल तालिकास्थान तालिकास्थान <tablespace name> ऑनलाइन; कमान में परिवर्तन के साथ फिर से लाओ.
IMPORTANT : The page is machine translated and provided "as is" without warranty. महत्वपूर्ण: पृष्ठ की मशीन है और अनुवाद प्रदान "के रूप में वारंटी के बिना है." Machine translation may be difficult to understand. मशीन अनुवाद मुश्किल से समझ सकते हो. Please refer to कृपया उल्लेख करने original English article मूल अंग्रेजी लेख whenever possible. जब भी संभव है.
Related Articles संबंधित लेख
- How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile कैसे गिरा तालिकास्थान और पुनर्प्राप्त Oracle डाटाबेस जब गलती से नष्ट Datafile
- How to Remove and Drop Datafiles from Tablespace in Oracle Database तालिकास्थान से Oracle डाटाबेस में निकालें और गिरा Datafiles कैसे
- Oracle ORA-01658 Unable to Create INITIAL Extent for Segment in Tablespace Error Oracle ORA-01658 से अनुभाग के लिए तालिकास्थान त्रुटि के रूप में शुरू में विस्तार करने में असमर्थ बनाएँ
- ORA-25153 Temporary Tablespace is Empty Error in Oracle ORA-25,153 अस्थायी तालिकास्थान Oracle में खाली त्रुटि है
- How to Move WordPress Blog to New Domain or Location कैसे नई डोमेन या स्थान के लिए WordPress ब्लॉग के लिए जाओ
- Fix Vista Unable to Rename or Move Files and Folders Issues After Applying KB938979 Patch तय Vista के नाम बदलें या KB938979 पैचफ्रन्टएण्ड लगाने के बाद फ़ाइलें और फ़ोल्डर मुद्दे स्थानांतरित करने में असमर्थ
- Change Oracle Database User Password बदलें Oracle डाटाबेस प्रयोक्ता पासवर्ड
- Oracle Database Link Oracle डाटाबेस के लिंक
- Download Bulk Rename Utility To Rename Files Easily डाउनलोड थोक नाम बदलें उपयोगिता को नाम बदलें फ़ाइलें आसानी से
- Oracle Database Import Error 3113/3114 Oracle डाटाबेस के आयात त्रुटि 3113/3114









































