الانتقال إلى المحتوى
View in the app

A better way to browse. Learn more.

مجموعة مستخدمي أوراكل العربية

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Transportable Tablespaces

Featured Replies

بتاريخ:

السلام عليكم

عندما نريد استخدم Transportable Tablespaces

بالنسبة لل exp & emp اى الاوامر اصح عندما استخدمexp & emp فى Transportable Tablespaces

expdp oe/oe DIRECTORY=dpump_dir1 DUMPFILE=sales.dmp
TRANSPORT_TABLESPACES=sales01,sales02 INCLUDE=triggers,constraint,grant

impdp system/sammyy1 dumpfile=sales.dmp TRANSPORT_DATAFILES='sales01_01.dbf',
'sales02_01.dbf' directory=dpump_dir1
ام هذه الاوامـــر اصح
exp
userid=\"sys/change_on_install@dwdb as sysdba\"
transport_tablespace=y
tablespaces=fact1, fact2, fact_idx
triggers=y
constraints=y
grants=y
file=fact_dw.dmp

imp
userid=\"sys/change_on_install@reportdb as sysdba
transport_tablespace=y
datafiles='/u10/app/oradata/REPORTDB/fact1_01.dbf', '/u10/app/oradata/REPORTDB/fact2_01.dbf', '/u09/app/oradata/REPORTDB/fact_idx01.dbf'
file=fact_dw.dmp

نرجوا الافاده والتوضيح.

وهل خاصية Transportable Tablespaces
مفيده ولها مزاياه افضل منم اكسبورت وامبورت العادى وهل الاخوة الافاضل ينصحون بها ام ماذا؟

وجزاكم الله خير.

بتاريخ:
  • كاتب الموضوع

ارجوا الـرد يا شباب

بتاريخ:

نعم أخي الكريم نضيف tablespace=tablespace_name لتصدير ال TABLESPACE

بتاريخ:
  • كاتب الموضوع

انا اسال ما الفرق بين الطريقتيين

لان بهما اختلاف ايهما الاصح والافضل

ارجوا توضيح المقارنه بين الاثنين.

بتاريخ:

الطرق كلها صحيحة ولا فرق بينهم لنقل ال tablespace ولا فرق في النتائج

لزياة الايضاح فان الفرق بين exp and expdp

هنا
http://www.oracle-base.com/articles/10g/OracleDataPump10g.php
ولبعض الفروقات بينهما
http://forums.oracle.com/forums/thread.jspa?threadID=513634

أما عن سؤالك الاخير

Transportable Tablespaces
Transportable tablespaces were introduced in Oracle8i to allow whole tablespaces to be copied between databases in the time it takes to copy the datafiles. In Oracle8i one of the restrictions was that the block size of both databases must be the same. In Oracle9i the introduction of multiple block sizes has removed this restriction. In this article I will run through a simple example of transporting the OEM_REPOSITORY tablespace from the W2K1 instance to the W2K2 instance.

For a tablespace to be transportable it must be totally self contained. This can be checked using the DBMS_TTS.TRANSPORT_SET_CHECK procedure. The TS_LIST parameter accepts a comma separated list of tablespace names and the INCL_CONSTRAINTS parameter indicates if constraints should be included in the check:

sys@w2k1> EXEC DBMS_TTS.TRANSPORT_SET_CHECK(ts_list => 'OEM_REPOSITORY', incl_constraints => TRUE);

PL/SQL procedure successfully completed.

sys@w2k1>The TRANSPORT_SET_VIOLATIONS view can be used to check for any violations:

sys@w2k1> SELECT * FROM transport_set_violations;

no rows selected

sys@w2k1> Assuming no violations are produced we are ready to proceed by switching the tablespace to read only mode:

sys@w2k1> ALTER TABLESPACE oem_repository READ ONLY;

Tablespace altered.

sys@w2k1>Next we export the tablespace metadata from W2K1 using the export utility:

C:> exp USERID='system/password@w2k1 AS SYSDBA'
TRANSPORT_TABLESPACE=y
TABLESPACES=oem_repository
FILE=oem_repository.dmpWith the export complete the datafile can be copied to the appropriate location on the W2K2 server and the source tablespace can be switched back to read write mode:

sys@w2k1> ALTER TABLESPACE oem_repository READ WRITE;

Tablespace altered.

sys@w2k1>Next we must create any users in W2K2 that owned objects within this tablespace, assuming they do not already exist:

sys@w2k2> create user oem_marge identified by oem;

User created.

sys@w2k2>Now we import the metadata into the W2K2 instance:

C:> imp USERID='system/password@w2k2 AS SYSDBA'
TRANSPORT_TABLESPACE=y
DATAFILES='C:\Oracle\oradata\W2K2\OEM_REPOSITORY.DBF'
TABLESPACES=oem_repository
FILE=oem_repository.dmpFinally we switch the new tablespace into read write mode:

sys@w2k2> ALTER TABLESPACE oem_repository READ WRITE;

Tablespace altered.

sys@w2k2>The tablespace is now available in the W2K2 instance:

sys@w2k2> select tablespace_name, plugged_in, status
2 from dba_tablespaces
3 where tablespace_name = 'OEM_REPOSITORY';

TABLESPACE_NAME PLU STATUS
------------------------------ --- ---------
OEM_REPOSITORY YES ONLINE

sys@w2k2>

بتاريخ:
  • كاتب الموضوع

الاخ mageed

جزاكم الله خير اشتغلت تمام

كان لى عند حاضرتك سؤال بالنسبة لشهادة Oracle DBA 10G

هل لازالت اوركل تشترط ان اخذ oracle database 10g:administration ii
لكى احصل على الشهادة

وهل عند حاضرتك خلفية ان الامتحانت تغيرت ام لا.

وهذا يعتبر فقط استفسار ليس اعلان عن امتحانات.

جزاكم الله خير.

بتاريخ:

أخي الكريم

نحمد الله اليك وبخصوص سؤالك الثاني أرجوا وضعه في موضوع مستقل حفاظا علي وحدة وتفرد الموضوعات بمحتواها لتسهيل البحث والاطلاع لاحقا


فضلا قم بوضع استفسارك في موضوع جديد وبعد ذلك سيتم حذف هذا المتعلق الاخير


شاكر لك تفهمك

أحمد

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية

Account

Navigation

البحث

إعداد إشعارات المتصفح الفورية

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.