DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: jmodic help please

  1. #1
    Join Date
    Jan 2001
    Posts
    318
    I usually do not write any posts with specific names.
    But I need your help today. It is kind of urgent.

    Please read my import failed post !!!

    thanks
    Sonali

  2. #2
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    Yes, I hate this too, realy. Anyway, reed my guesses in your original thread.
    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

  3. #3
    Join Date
    Mar 2001
    Posts
    314
    Hi all,

    I don't know whether to post a reply here or on the original post! But decided to write here.

    Sonali, this is not a case of "peculiar" failure. What is happening is:

    When you export, the table creation script is also incuded in the export file. Now the sql statement for creating the table (and any other objects as necessary) always has the "TABLESPACE" clause of the "CREATE TABLE" sql statement attached to it. In your case it will be "TABLESPACE PRODUCTIION".

    Verify this by running a command similar to the following:

    $ strings expdat.dmp | grep "CREATE TABLE"

    When you are trying to import, because you already have the PRODUCTION tablespace the objects are being created there. Had the PRODUCTION tablespace not been there you would have got the error at the first object itself. Otherwise also, if TEST user did not have DBA privileges, you would have got the error at the first object. But being a DBA, TEST user is able to create tables in any tablespace and so the objects are being created and when no space is available you are getting the error.

    What you can do is to create a sql script containing all the create table statements and replace the tablespace name with TEST in place of PRODUCTION, or eliminate the TABLESPACE clause altogether.

    -amar


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width