1

I am trying to export data in oracle 11g

exp user/password file=dump.dmp tables = (table1)

via sqlplus.

And i get the following error:

About to export specified tables via Conventional Path ...
EXP-00011: USER.TABLE1 does not exist
Export terminated successfully with warnings.

But when i check who is the owner of this table:

SELECT owner, table_name from dba_tables where table_name = 'TABLE1';

I get that the owner of TABLE1 is USER

What should i do to export this table?

UPDATE

Actually, i found a solution. I hope it will help someone else. Since version 11g Oracle has introduced new feature that is called deferred segment creation. Thus oracle doesn't create table segment if there are now rows in it. So i recreated my table with option 'segment creation immediate'

4

4 に答える 4

2

Actually, i found a solution. I hope it will help someone else. Since version 11g Oracle has introduced new feature that is called deferred segment creation. Thus oracle doesn't create table segment if there are no rows in it. And my table didn't contain any data. So i recreated my table with option 'segment creation immediate'

The solution was found here. There are more options how to fix the problem and an explanation why this thing happens to be in oracle 11g. :)

于 2012-05-24T20:49:37.107 に答える
1

In addition to the posted answer from Olivia i would like to add some code:

SELECT 'alter table ' ||  table_name || ' allocate extent;'
from dba_tables where SEGMENT_CREATED = 'NO';

Execute the output and exp again. Your schema will be exported including empty tables.

EDIT: similar question here, maybe you'll find your solution there.

于 2014-08-13T14:04:34.373 に答える
0

Change this:

exp user/password file=dump.dmp tables = (table1);

to this:

exp user/password tables = (table1) file=dump.dmp;
于 2017-06-05T18:40:17.697 に答える
0

You Can Use below query to take table level export from specific user.

exp user/password file=dump.dmp tables = user.table1
于 2019-04-26T14:27:01.923 に答える