Import (which tablespace to go to ?)

Another question about imports. On another (non-Oracle) database I used, I could specify with exports if the tablespaces must be specified (that the tables are loaded into).
I could choose if they must go back into the same tablespaces, or if the tablespace should not be specified, and then they would go into the default tablespace for the user the tables belonged to.
How do I do this in Oracle ?
My problem is that I am importing onto a database, with different tablespace names, and the import crashes, because it tries to import some tables into the original tablespace names, and not into the default space for the user.

The work was a little too urgent, so I decided to rather use the same tablespace names on the target server.
We have a consultant that comes in once a week, if needed, and he assisted me with running the import.
First mistake, I was running it as user SYS, and not SYSTEM.
He also showed me how to write the code from the .dmp file, to a log file, using the SHOW=Y parameter.
We used this to create the users on the target, and then imported the .dmp file, using the same tablespace names.

Similar Messages

  • Can I import a tablespace into Oracle 10g Express Edition

    I am very new to Oracle 10g Express Edition. We have a server running Oracle Enterprise Edition and we have been creating a transportable tablespace to be imported into a few servers. This works fine for us. I would like to find out if I can import the tablespace into Oracle 10g Express Edition. Someone told me that I should be able to do that but I have no clue to how to do it. If this is possible, can someone tell where to find the information how to do this.
    Thanks,
    RJ

    I finally tried it and I got the following errors:
    IMP-00017: following statement failed with ORACLE error 721:
    "BEGIN sys.dbms_plugts.checkCompType('COMPATSG','10.2.0.2.0'); END;"
    IMP-00003: ORACLE error 721 encountered
    ORA-00721: changes by release 10.2.0.2.0 cannot be used by release 10.2.0.1.0
    ORA-06512: at "SYS.DBMS_PLUGTS", line 2004
    ORA-06512: at line 1
    IMP-00000: Import terminated unsuccessfully
    Am I right that the server that I exported the tablespace is using Oracle 10.2.0.2.0 while Oracle Express is 10.2.0.1.0? I looked around and I did not see Oracle Express version 10.2.0.2.0 that I can download. Is there a patch or something to upgrade it?
    Thanks,
    RJ

  • User objests stored in which tablespace

    Hi,
    if we assign two tablespaces to a user with particular quota, in which tablespace user objects are going to store.

    Hello,
    if we assign two tablespaces to a user with particular quota, in which tablespace user objects are going to store. It depends on how you create the User and the Objects.
    When you create a User you should always assign a Default Tablespace.
    By that way, if you omit to specify the Tablespace when you create a Table / Index to this User, the Table or Index will be created into this Default Tablespace.
    Else, if no Default Tablespace is assigned to the User, the Table or Index may be stored into the SYSTEM Tablespace which is not recommended.
    So the best practice is to define a Default Tablespace for the User and to specify the Tablespace in the CREATE statement of the Table / Index.
    For Objects others than Table or Index (Views, Procedure, Packages,...) their definitions are stored into the SYSTEM Tablespace.
    Hope this help.
    Best regards,
    Jean-Valentin

  • Import one tablespace  out of exp file

    Hello,
    I 'd would like to know how to import only one tablespace out of an export file. The import went wrong for one TS and I'd like to only retry that particular TS.
    Tyia,
    Cheers,
    A.R

    Tablespace clause is applicable only if you are working with transportable tablespaces and not otherwise.
    The following keywords only apply to transportable tablespaces
    TRANSPORT_TABLESPACE import transportable tablespace metadata (N)
    TABLESPACES tablespaces to be transported into database
    DATAFILES datafiles to be transported into database
    TTS_OWNERS users that own data in the transportable tablespace set
    Import terminated successfully without warnings.

  • My table exists in which tablespace?

    hi
    i have created two tablespaces t1 and t2 respectively as
    create tablespace ts1 datafile 'f:\oracle\oradata\data1\ts1.dbf'size 5m autoextend on;and
    create tablespace ts2 datafile 'f:\oracle\oradata\data1\ts2.dbf'size 5m autoextend on;i have created two tables namely college and school as follows.
    create table college (name varchar(20), location varchar(20)) tablespace ts1;
    create table school (name varchar(20), location varchar(20)) tablespace ts2;in the both tables, i have made insertions(5 in each)
    i want to know in which tablespace my tables are existing.
    previously, i have tried the following command
    select tablespace_name from dba_tables where table_name='college';the result of my query is
    no rows selected
    also i have tried this query too
    select owner,table_name, tablespace_name from dba_tables where table_name='college';
    here too the same results comes
    how can i find it?

    You are not finding, because object names are stored in Upper Case unless you do'nt use " ' " with them :
    select tablespace_name from dba_tables where table_name='college';
    replace college with "COLLEGE"
    select tablespace_name from dba_tables where table_name='COLLEGE';

  • Where the foreign key constraint is being physical store? Which tablespace?

    Hi,
    anyone got any idea where the foreign key constraint is being physical store? Which tablespace?
    Thank You...

    A foreign key constraint itself is purely logical -- there is no storage associated with it other than it's definition being stored in the data dictionary tables. If there is an index on the referencing column(s) then you can see where it is stored from the user_indexes view, although strictly speaking it's not part of the FK itself.

  • Determining in which tablespace the indexes are imported to

    Hello all,
    Often, the tables are in one tablespace and the indexes of these tables are on another tablespace.
    If we have a DMP file done on a schema-level. Is there a way to import this DMP by specifying in the IMP that the tables of the exported schema are to be placed in one Tablespace and the indexes of these table are to be put on another tablespace?
    Thnx for the replies.
    Good day,
    Sam

    Basically, when you do import, oracle try to look for the same tablespace as source to import tables. If not found, then it quits with errors.
    If the ignore=y parameter is specified with import command and when there is no tablespace as source tbs in the target, oracle will try to import in the default tablespace of the user/schema.
    However, there is no command that gives the flexibility to import table in one tablespace and index in another tablespace.
    Why dont you create the same tablesspaces in Target database as in source database?
    You can always move index to another tablespae after import.
    Jaffar

  • Import Glitch - tablespace privileges

    Trying to do an Oracle export file import into a newly setup 10G Express database.
    Created a new tablespace.
    Import says privilege not set. How do that?
    Also, import seems to use SYSTEM tablespace as default tablespace when export file did not specify one. How to change that and force to the new tablespace?
    Thanks
    Ed

    user12264668 wrote:
    Trying to do an Oracle export file import into a newly setup 10G Express database.
    Created a new tablespace.
    Import says privilege not set. How do that?
    Also, import seems to use SYSTEM tablespace as default tablespace when export file did not specify one. How to change that and force to the new tablespace?
    Thanks
    EdHi Ed,
    It would be real useful to know the operating system you are using and to 'see' the actual error message. I suspect that the user does not have space granted (ALTER USER ... QUOTA ... command as described http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_4003.htm#i2058207)
    Default tablespace can be done at the user or the system level (ALTER DATABASE DEFAULT TABLESPACE USERS;) which, since Express Edition is part of the 10gR2 family, is described in the 10gR2 SQL Reference manual at http://tahiti.oracle.com

  • Import differnet tablespace

    How to import dumpfile different tablespace using older import utility (Not impdp utility)?
    Thanks

    Nikolay Ivankin  wrote:
    Øyvind Isene wrote:
    Create the new tablespace in target database, then create the user with default tablespace set to this and a with quota on it. When doing import, use fromuser=... and touser=... if the schema names differ. E.g.Remapping schema is not that OP've asked. He needs to remap tablespace, which is used under DataPump, but not in traditional imp.
    1st way - use another DB and reexport with the help of datapump.
    2nd way - create tbs(use existing) and assign unlimited quota to user you want to use for import. Revoke quota for others TBS.
    Then all new data will be in the TBS you want. But if under this user will be activity - this activity will be saved also in the TBS.It was not clear to me that this was for the same user in the same database. If the user just wants to move tables and indexes from one tablespace to another for the same user/database he can just alter table ... move and alter index ... rebuild. With re-import to the same user, the objects must be dropped first, seems a bit more risky.
    Anyway, we forgot to ask the most important question: why ?

  • Finding which tablespace the index is using

    Hello,
    How do I find the tablespace in which the indexes of a particular schema are present. like getting the tablename , table , columname and tablespace present .
    I found this in the OEM but did not know how to generate the SQL for that.
    Thanks for any help.
    Message was edited by:
    user558362

    I would use dba_indexes instead of dba_segments if you are not interested in physical storage information. The dba_indexes view provided the index_name and owner as well as the table_name and table_owner. The table and index owner might be different and this view will allow you to find all indexes for a table where you do not know the index names. You can join dba_indexes to dba_ind_columns for the index column list.
    HTH -- Mark D Powell --

  • INTRASTAT import: which selection criteria are used by MEIS?

    All,
    I have a question to the SAP R3 Standard for INTRASTAT import reporting: selection of documents by transaction MEIS.
    I would be interested to know, how the MEIS transaction is selecting the documents for the report (selection log) given a
    -     Purchasing organization
    -     Company Code
    -     Reporting Month and Year
    -     Country of Declaration
    As to my knowledge, SAP R3 Standard is looking for all the purchase order items of a purchasing organization (including company code), where an invoice has been posted (posting date) for the specified reporting year and month.
    Which are the other criteria taken into consideration, e. g. tax codes or business transaction types (inclusion or exclusion)?
    Thank you very much for your support in advance!
    Max

    i am looking for the same issue...can someone help ?

  • Import from tablespace export

    Dear Experts,
    Oracle 10g, Windows 2003.
    I have exported users tablespace by using following command : exp system/password file='D:\userstablespace.dmp' tablespace=users.
    Now I want to export all objects in users tablespace to a user or object of a particular user to some other user ? is it possible ?
    Thanks&Regards
    Sunil Kumar

    Hi,
    Now I want to export all objects in users tablespace to a user or object of a particular user to some other user ? is it possible ?Not very clear with the question, but if you want user A's object in user B , export using owner=A and import using fromuser=A touser=B
    exp file= log= owner=A feedback=10000 buffer=3000000
    imp file= log= fromuser=A touser=B feedback=10000 buffer=3000000 commit=n
    Anand

  • How does repeated snapshot import impact tablespace free space?

    Hello,
    Our client is doing DEC-2014 reconciliation in FCM. Every time he changes profile mappings he has to do snapshot import again. So far he did at least ten times snapshot import for DEC-2014 period. In our FCM database Tablespace FCM_TX_TS_DATA free space is reduced 7 GB for this period already by querrying dba_free_space table.
    By my understanding during the repeated snapshot import for the same period, the previous load data is deleted and the current load data is inserted. After data delete the table space will not be set free, and high water mark will not be reset.
    During snapshot import will the deleted blocks from the previous load be reclaimed when new load data is inserted in the table? If not, what is the best way to reclaim the free space in FCM_TX_TS_DATA tablespace?
    Thanks,
    Hongfei Liu (AT&T)

    Przemek P wrote:
    Hallo. I need to replace all schemas from one server to another. I want to know how much free space will be left on /data after this kind of refresh. Both servers are Oracle 9 so I will use exp/imp. Here is how I do it. Could you check if I think good? On target server there is 72 GB free space on /data.
    Filesystem Size Used Avail Capacity Mounted
    /dev/vgsmxdata/lvsmxcopy 194.74G 122.56G 72.18G 63% /data
    Overall size of schemas to be exported from SOURCE_DB is 150 GB. The same schemas on TARGET_DB takes 90GB. So difference is 60GB. Free space in datafiles in TARGET_DB is 30GB. Does it mean that in first place the free space in datafiles will be filled and after that datafiles would be extended? That would mean that a database would extend to 150GB and free space on /data would be 40 GB after refresh. Am I right?
    yes

  • I have several cd imports which have so much noise on them that I'm unable to listen to them. Any ideas? I've spoken with Apple care who stated optical drive was at fault; this has been replaced and I've re imported them but same outcome. Michael

    Hi, I have several of my cd imports to itunes, unable to listen to for lots of background noise. Applecare  told me the optical drive was at fault; a new one replaced old one (less than  a year old) still same problem after re-imprting relevant cds. Also ticked error box in itunes preferences.
    Would the cds in question have some sort of 'block' on import. All the releevnt cds play on my various cd gadgets.
    Any assistance would be much appreciated.
    Michael

    Does the noise occur with all imports or just some.
    Do the CDs play noise free in the optical drive or just as imported.
    Have you tried unchecking error correction. I virtually never use that setting.
    AAC 128 - Unless disk space is at an absolute minimum, I would import at 256 AAC and a sample rate of 44.100 kHz

  • Date Field Import - Which format

    Hello,
    I have a date field on a table in application express. An example of the data that is exported for the date field is: '2008-09-26T10:00:00'. I want to import this data and I do not know what format this is. Any suggestions are greatly appreciated. Thanks!
    Sharon

    Hello Scott,
    >> I learned something new today
    Good for you. I’m trying to learn something new every day, and this forum helps me a lot with that. That’s one of the perks in our line of work.
    Regards,
    Arie.
    Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.

Maybe you are looking for

  • Enlarge icons in finder

    I can't for the life of me find the setting that I used to have in Mavericks whereby when I viewed a folder in the finder as icon view i.e. a load of photos, there used to be a slider in the button right corner of that window so I could increase and

  • Failed to load module "record"

    I'm trying to install Arch Linux on my Dell GX270 with an Intel chipset I'm nusing the i686 version rather than the xf86_64 version. It has a 2.26 Ghz processor and 512mb RAM I've tried installing xorg and configured it with hwd -xa and such but when

  • Cannot find iMac after updating to 10.4.5

    Have a home network with 1 iMac (10.4.5) and 2 Windows XP machines. I had all of them communicating just fine. After updating to 10.4.5 on the iMac, the iMac can still see and access files on both of the PC machines. The PC's can both see and communi

  • Any Software/Program to keep track of growth of Datafiles and Tablespaces

    Hi, I am looking for a program that can keep an eye on the growth of the datafiles and tablespaces as well as it can raise an alert when the growth is critical regarding the space. Can anybody suggest me such program/tool/utility/script? Thanks in ad

  • My phone was suddenly closed and will not open(ıphone 6) what should I do?? I'am crying help mee

    30 munites ago when ı touch the phone, my phone was not turned on. I searched the internet but ı don't know WHAT SHOULD I DO. I'am crying CAN YOU HELP ME!!!!