The following error occurs: IMP-00003: The ORACLE error 1659ORA-01659: The MINEXTENTS exceeding 6 cannot be allocated (in tablespace DATA) IMP-00017: Because
The following error occurs: IMP-00003: The ORACLE error 1659ORA-01659: The MINEXTENTS exceeding 6 cannot be allocated (in tablespace DATA) IMP-00017: Because
This error occurs.
IMP-00003: encountered Oracle error 1659
ORA-01659: cannot allocate MINEXTENTS more than 6 (in tablespace DATA)
IMP-00017: The following statement failed due to ORACLE error 1659:
After checking the information, it turns out that when creating a tablespace, The tablespace is not set to automatically expand, and the tablespace is not enough. You can choose to expand the tablespace or set it to automatic expansion.
1. Create tablespace test: Create a tablespace named test. The size of test is 8 M, the automatic growth step is 5 M, and the maximum space is 10 M.
Create tablespace test datafile '/home/app/oracle/oradata/oracle8i/test01.dbf' size 8 M autoextend on next 5 M maxsize 10 M;
2. Create tablespace sales: Create a tablespace named sales. The sales size is 800 M, and the automatic growth step is 50 M. There is no maximum space limit.
Create tablespace sales datafile '/home/app/oracle/oradata/oracle8i/sales01.dbf' size 800 M autoextend on next 50 M maxsize unlimited maxsize UNLIMITED; -- the size is unlimited.
3. Create tablespace sales: Create a tablespace named sales. The sales size is 800 M, the automatic growth step is 50 M, and the maximum space is 1000 M,
The local management mode is used. unform indicates that the partition size is the same. The default value is 1000 MB.
Create tablespace sales datafile '/home/app/oracle/oradata/oracle8i/sales01.dbf' size 800 M autoextend on next 50 M maxsize 1000 M extent management local uniform; -- unform indicates the same partition size. The default value is 1000 M.
4. Create tablespace sales: Create a tablesapce named sales. The sales size is 800 M, the automatic growth step is 50 M, and the maximum space is 1000 M,
The local management mode is used. The uniform indicates that the partition size is 500 mb.
Create tablespace sales datafile '/home/app/oracle/oradata/oracle8i/sales01.dbf' size 800 M autoextend on next 50 M maxsize 1000 M extent management local uniform size 500 K; -- unform size 500 K; indicates the same partition size, which is 500 K
5. Create tablespace sales: Create a tablespace named sales. The sales size is 800 M, the automatic growth step is 50 M, and the maximum space is 1000 M,
Local management is adopted. automaticate indicates that the partition size automatically changes with the table size. Large tables use large partitions and small tables use small partitions.
Create tablespace sales datafile '/home/app/oracle/oradata/oracle8i/sales01.dbf' size 800 M autoextend on next 50 M maxsize 1000 M extent management local autoallocate; -- autoallocate indicates that the partition size changes automatically and dynamically with the table size. Large tables use small tables in large regions and small tables use cells.
6. Create tablespace sales: Create a tablespace named sales. The sales size is 800 M, the automatic growth step is 50 M, and the maximum space is 1000 M,
Temporary indicates creating a temporary tablespace for dictionary management.
Create tablespace sales datafile '/home/app/oracle/oradata/oracle8i/sales01.dbf' size 800 M autoextend on next 50 M maxsize 1000 M temporary; -- temporary create a dictionary to manage temporary tablespace
7. create temporary tablespace sales: create a temporary tablespace named sales, and the datafile becomes tempfile.
Create temporary tablespace sales tempfile '/home/app/oracle/oradata/oracle8i/sales01.dbf' size 800 M autoextend on next 50 M maxsize 1000 M -- create a local temporary tablespace for management, if it is a temporary tablespace, The datafile in all statements is replaced by the tempfile 8i system default create a dictionary to manage the temporary tablespace. To create a local temporary tablespace, add the temporary tablespace keyword.
8. Do not use the atuoallocate parameter when creating a local temporary tablespace for management. By default, the system creates an uniform management mode to add data files to the tablespace:
Alter tablespace sales add datafile '/home/app/oracle/oradata/oracle8i/sales02.dbf' size 800 M autoextend on next 50 M maxsize 1000 M;
9. add data files to the tablespace
Alter tablespace sales add datafile '/home/app/oracle/oradata/oracle8i/sales02.dbf' size 800 M autoextend on next 50 M maxsize 1000 M;
10. Change auto scaling attributes
Alter database datafile '/home/app/oracle/oradata/oracle8i/sales01.dbf ', '/home/app/oracle/oradata/oracle8i/sales02.dbf'/home/app/oracle/oradata/oracle8i/sales01.dbf autoextend off;
11. Delete tablespaces
Drop tablespace test including contents and datafiles cascade constraints;