1.ให้ Run SQL Command
SQL>sqlplus sys/admin as sysdba
SQL>alter system set deferred_segment_creation = FALSE scope=both;
2.สำหรับกรณี ได้สร้าง Table ไปก่อนหน้าจะ Run คำสั่งข้างต้นให้ ทำตามขั้นตอนคือ
1. run คำสั่งเพื่อสร้าง Query Update สำหรับ Table ที่ยังไม่มีข้อมูลให้สามารถ Export ได้
select 'alter table '|| table_name || ' allocate extent;' from dba_tables where owner='IFSCT';
2.นำผล Query จากข้อ 1 มา Run เช่น
alter table ACCACCOUNTYEAR allocate extent;
alter table ACCBUDGET allocate extent;
3.หลังจากนั้นจะสามารถ Export ได้ สำหรับ Table ที่ยังไม่มีข้อมูล
reference:
http://www.dba-oracle.com/t_oracle_deferred_segment_creation.htm
http://oracle.jookku.com/2011/04/11gr2-export-file-%E0%B8%88%E0%B8%B0%E0%B9%84%E0%B8%A1%E0%B9%88%E0%B9%80%E0%B8%AD%E0%B8%B2-table-%E0%B8%97%E0%B8%B5%E0%B9%88%E0%B9%84%E0%B8%A1%E0%B9%88%E0%B8%A1%E0%B8%B5-data-%E0%B8%A1%E0%B8%B2/
ไม่มีความคิดเห็น:
แสดงความคิดเห็น