How to Rename or Move Oracle Tablespace Datafile to Another Location كيفية إعادة تسمية أو نقل أوراكل Tablespace 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. قاعدة بيانات أوراكل لا توفر واجهة مستخدم سهلة لإعادة تسمية أحد datafile من tablespace ، مدير قاعدة البيانات ولا يمكن التحرك بسهولة أو datafile نقل إلى موقع آخر أو دليل على أن مختلف من الموقع الأصلي على إنشاء قاعدة بيانات. The rename or move place task has to be performed via Oracle SQLPlus command line interface. فإن إعادة تسمية أو نقل مكان المهمة التي يتعين أداؤها عن طريق أوراكل SQLPlus واجهة سطر الأوامر. However, if the operation is performed when the tablespace which owns the datefile is online, error will occur. ولكن ، اذا أجريت العملية عندما tablespace التي تملك datefile هو الانترنت ، وسوف يحدث خطأ.

The error message may include the following: رسالة الخطأ قد تشمل ما يلي :

ORA-01511: error in renaming log/data files 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 ، اتبع هذا الدليل :

  1. Login to SQLPlus. الدخول لتتمكن من SQLPlus.
  2. Connect as SYS DBA with CONNECT / AS SYSDBA command. كما ربط SYS التسوية المتصلة بعبء الديون مع ربط وكما SYSDBA القيادة.
  3. Shutdown the database instance with SHUTDOWN command. إغلاق قاعدة البيانات على سبيل المثال مع إغلاق القيادة.
  4. Rename or/and move the datafiles at operating system level. إعادة تسمية أو / ونقل ملفات البيانات على مستوى نظام التشغيل.
  5. Start Oracle database in mount state with STARTUP MOUNT command. بدء قاعدة البيانات أوراكل في جبل الدولة مع بدء التشغيل جبل القيادة.
  6. Modify the name or location of datafiles in Oracle data dictionary using following command syntax: تعديل اسم أو موقع من ملفات البيانات أوراكل في قاموس البيانات باستخدام بناء الجملة التالي :

    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المؤهلين الطريق إلى البيانات الأصلية اسم الملف' إلى '<newالأصلي أو مؤهلة تماما لمسار جديد أو اسم ملف البيانات الأصلية' ؛

  7. Open Oracle database instance completely with ALTER DATABASE OPEN command. فتح قاعدة البيانات أوراكل على سبيل المثال تماما مع تغيير قيادة فتح قاعدة البيانات.

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 ، ولا تتضمن نشاطا تراجع قطاعات أو شرائح مؤقتة ، وهناك آخر workaround أن لا يتطلب قاعدة بيانات على سبيل المثال إلى أن يكون الإغلاق. Instead, only the particular tablespace that contains the date files is taken offline. وبدلا من ذلك ، فقط tablespace خاصة التي تحتوي على الملفات هي التي اتخذت حتى الآن غير متصل.

  1. Login to SQLPlus. الدخول لتتمكن من SQLPlus.
  2. Connect as SYS DBA with CONNECT / AS SYSDBA command. كما ربط SYS التسوية المتصلة بعبء الديون مع ربط وكما SYSDBA القيادة.
  3. Make offline the affected tablespace with ALTER TABLESPACE <tablespace name> OFFLINE; command. جعل غير متصل المتضررة tablespace مع تغيير اسم TABLESPACE <tablespaceغير متصل ؛ القيادة.
  4. Modify the name or location of datafiles in Oracle data dictionary using following command syntax: تعديل اسم أو موقع من ملفات البيانات أوراكل في قاموس البيانات باستخدام بناء الجملة التالي :

    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 <tablespaceإعادة تسمية DATAFILE '<fullyالمؤهلين الطريق إلى البيانات الأصلية اسم الملف' إلى '<newالأصلي أو مؤهلة تماما لمسار جديد أو اسم ملف البيانات الأصلية' ؛

  5. Bring the tablespace online again with ALTER TABLESPACE alter tablespace <tablespace name> ONLINE; command. جعل tablespace على الانترنت مرة أخرى مع تغيير TABLESPACE تغيير اسم tablespace <tablespaceعلى شبكة الإنترنت ؛ القيادة.

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. هام : هذه هي آلة الصفحة المترجمة التي تقدم "كما هي" دون ضمان. Machine translation may be difficult to understand. الترجمة الآلية قد يكون من الصعب فهم. Please refer to يرجى الرجوع إلى original English article المادة الانكليزية الأصلية whenever possible. كلما كان ذلك ممكنا.

Share and contribute or get technical support and help at وحصة المساهمة أو الحصول على الدعم التقني والمساعدة في My Digital Life Forums بلادي الرقمي الحياة المنتديات .



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> يمكنك استخدام هذه العلامات : <ahref="" title=""> <abbrtitle=""> <acronymtitle=""> <b><blockquotecite=""> <cite><code><ديل datetime = ""> <em><i><qcite=""> <strike><strong>

Subscribe without commenting اكتتاب دون التعليق


Custom Search

New Articles المواد الجديدة

Incoming Search Terms for the Article ابحث الواردة للشروط المنصوص عليها في المادة

rename datafile إعادة تسمية datafile - -- oracle move datafile أوراكل التحرك datafile - -- oracle move tablespace أوراكل التحرك tablespace - -- move tablespace الانتقال tablespace - -- oracle rename datafile أوراكل إعادة تسمية datafile - -- oracle move datafiles نقل ملفات البيانات أوراكل - -- rename datafile oracle إعادة تسمية datafile أوراكل - -- move datafile الانتقال datafile - -- change datafile location تغيير موقع datafile - -- oracle datafile rename أوراكل datafile إعادة تسمية - -- rename oracle datafile إعادة تسمية أوراكل datafile - -- oracle show tablespaces أوراكل تبين tablespaces - -- move oracle datafile الانتقال أوراكل datafile - -- oracle tablespace location أوراكل tablespace موقع - -- oracle tablespace path أوراكل tablespace الطريق - -- all الكل - -- move datafile oracle الانتقال datafile أوراكل - -- oracle show datafiles وتظهر ملفات البيانات أوراكل - -- move datafiles oracle نقل ملفات البيانات أوراكل - -- rename data file إعادة تسمية ملف بيانات - -- oracle rename إعادة تسمية أوراكل - -- oracle show tablespace وتظهر tablespace أوراكل - -- move tablespace oracle الانتقال tablespace أوراكل - -- Move Oracle Tablespace الانتقال أوراكل Tablespace - -- sqlplus show tablespaces sqlplus تظهر tablespaces - -- Oracle change datafile location أوراكل تغيير موقع datafile - -- oracle tablespace أوراكل tablespace - -- mover datafile المحرك datafile - -- move oracle datafiles نقل ملفات البيانات أوراكل - -- oracle datafile name اسم أوراكل datafile - -- sqlplus show tablespace sqlplus تظهر tablespace - -- change oracle datafile path تغيير مسار أوراكل datafile - -- change tablespace name تغيير اسم tablespace - -- oracle move temp file أوراكل تحرك ملف مؤقت - -- move datafiles نقل ملفات البيانات - -- How to Rename or Move Oracle Tablespace Datafile to Another Location كيفية إعادة تسمية أو نقل أوراكل Tablespace Datafile إلى مكان آخر - -- ORA-01511: error in renaming log/data files ORA - 01511 : خطأ في إعادة تسمية سجل / ملفات البيانات - -- rename oracle tablespace إعادة تسمية tablespace أوراكل - -- datafile rename إعادة تسمية datafile - -- mover datafile oracle المحرك datafile أوراكل - -- move data file نقل ملف بيانات - -- alter datafile rename تغيير تسمية datafile - -- rename datafile in oracle إعادة تسمية datafile في أوراكل - -- move tablespace datafile الانتقال tablespace datafile - -- move datafile in oracle الانتقال datafile في أوراكل - -- alter datafile move تغيير datafile التحرك - -- change datafile name تغيير اسم datafile - -- Oracle tablespace filename أوراكل tablespace اسم الملف - -- Oracle move tablespace file أوراكل التحرك tablespace ملف - -- how to rename a datafile كيفية إعادة تسمية أ datafile - -- rename datafiles إعادة تسمية ملفات البيانات - -- move datafiles in oracle نقل ملفات البيانات في أوراكل - -- oracle tablespace rename أوراكل إعادة تسمية tablespace - -- ORACLE MOVE DATAFILE TO ANOTHER TABLESPACE أوراكل DATAFILE الانتقال إلى آخر TABLESPACE - -- how to move oracle datafile كيفية التحرك أوراكل datafile - -- oracle move system datafile الخطوة نظام أوراكل datafile - -- oracle tablespace name اسم أوراكل tablespace - -- mover datafiles المحرك ملفات البيانات - -- oracle alter move أوراكل تغيير التحرك - -- oracle tablespace files أوراكل tablespace ملفات - -- move datafile online الانتقال datafile على الانترنت - -- oracle move temp datafile أوراكل التحرك الحرارة datafile - -- MOVE ORACLE DATA FILE نقل ملف بيانات أوراكل - -- renaming datafiles إعادة تسمية ملفات البيانات - -- oracle tablespace move أوراكل tablespace التحرك - -- MOVE DATAFILE TO ANOTHER TABLESPACE الانتقال DATAFILE إلى آخر TABLESPACE - -- RENAME ORACLE إعادة تسمية أوراكل - -- Oracle data file path بيانات أوراكل من مسار الملف - -- oracle change datafile path أوراكل تغيير مسار datafile - -- renaming an oracle database إعادة تسمية قاعدة البيانات أوراكل - -- oracle وحي - -- move oracle database نقل قاعدة بيانات أوراكل - -- oracle move tablespace data file نقل البيانات أوراكل tablespace ملف - -- Moving Oracle Datafiles نقل ملفات البيانات أوراكل - -- rename a datafile in oracle إعادة تسمية أ datafile في أوراكل - --