Having problems to import tables to a new user with new tablespace

Hi all

Here is my scenario:

I have a user, the latter having data stored in storage - say q, w, e.
I would like to export all the tabledata and import it to a new user USER_B. All data imported to B must be kept in the USER_B_PERM tablespace.

I tried a lot of things yet, but imp always try importing the tables for the original tablespaces.

What have I done now:


create new databases:

create tablespace USER_B_PERM
DATAFILE ' / oradata_big, path, USER_B, USER_B_PERM. DBF' SIZE 126 M
SIZE UNIFORM LOCAL 125M MANAGEMENT MEASURE;

ALTER DATABASE DATAFILE ' / oradata_big, path, USER_B, USER_B_PERM. DBF'
AUTOEXTEND ON;


create temporary tablespace USER_B_TEMP
TEMPFILE ' / oradata_big, path, USER_B, USER_B_TEMP. DBF' SIZE 126 M
SIZE UNIFORM LOCAL 125M MANAGEMENT MEASURE;

ALTER DATABASE TEMPFILE ' / oradata_big, path, USER_B, USER_B_TEMP. DBF'
AUTOEXTEND ON MAXSIZE 3000M;


CREATE user B:


-SQL USER
CREATE USER USER_B IDENTIFIED BY USER_B
DEFAULT TABLESPACE "USER_B_PERM".
TEMPORARY TABLESPACE "USER_B_TEMP";

-ROLES
GRANT "RESOURCE" TO USER_B;
'CONNECT' GRANT TO USER_B.
ALTER USER USER_B ROLE BY DEFAULT "RESOURCE", "CONNECT";

-SYSTEM PRIVILEGES
GRANT CREATE ANY VIEW TO USER_B;
REVOKE A USER_B UNLIMITED TABLESPACE;
change the quota USER_B unlimited user on USER_B_PERM.

export of old data
owner file = exp_user_a.exp exp = USER_A compatible exp.log = LINES Y = Y = log


new user import
IMP file = exp_user_a.exp fromuser = USER_A, USER_B log = imp.log ROWS = touser = Y



Because I revoked the UNLIMITED TABLESPACE privilege imp creates tables in the original storage spaces (q, w, e) but the data import failed:
ORA-01536: space-Programmvielfalt fur Tablespace 'q' passed.

Any ideas? I don't see what is different to the docs:
http://docs.Oracle.com/CD/B19306_01/server.102/b14215/exp_imp.htm#i1023312


We are using oracle 11.2.0.1 and we have still a few columns long raw if it matters.

Thanks in advance,
Andreas

I tried a lot of things yet, but imp always try importing the tables for the original tablespaces.

If the table was created with the specific tablespace clause, then it will go in particular tablespace.

I would like to export all the tabledata and import it to a new user USER_B. All data imported to B must be kept in the USER_B_PERM tablespace.

easy to solve this problem in impdp datapump, use clause REMAP_TABLESPACE.

http://docs.Oracle.com/CD/B19306_01/server.102/b14215/dp_import.htm

Tags: Database

Similar Questions

  • My lightroom is having problems to import images, I tried a different card with the same results readers

    My lightroom/mac is having problems to import images, I tried a different card with the same results readers

    This means that ccouldn can't ccopy Lightroom photos in the destination directory. You must determine which directory is specified in the Lightroom Import dialog box, it is on the right in the Destination. Then, you will need to enter your operating system and change the permissions on this specific issue to the WRITE permission.

  • Having problems installing AUSST. He keeps coming out with Code 3 (couldn't create a folder).

    I'm trying to implement AUSST on a Windows Server, but it keeps failed with exit code 3. I tried setting up IIS7 and Apache2.4 and gave all users full control over the files. If I create the update folder before running the command then it recognizes the file is there and asks if it is OK to remove. The folder, then disappears, but the command cannot create the new folder. I tried to run the normal administrator and with my admin account command prompt but I get the same message.

    Log file:

    11/04/16 11:36:35:840. [INFO] |  | JEAN | Public services | AUSST.  |  | 1100 | RootPath = / apache24/htdocs/adobe

    11/04/16 11:36:37:997. [INFO] |  | JEAN | Public services | AUSST.  |  | 1100 | The record exists at the given root path! All the contents of the folder will be deleted.

    11/04/16 11:36:40:202. [FATAL] |  | JEAN | Public services | AUSST.  |  | 1100 | Could not create the folder/apache24/htdocs/adobe.

    11/04/16 11:36:40:217. [ERROR] |  | JEAN | Public services | AUSST.  |  | 1100 | Could not access the specified path.

    11/04/16 11:36:40:217. [ERROR] |  | JEAN | Public services | AUSST.  |  | 1100 | Can't add tasks to update for the installation of new.

    11/04/16 11:36:40:232. [INFO] |  | JEAN | Public services | AUSST.  |  | 1100 | AdobeUpdateServerSetupTool returned with code: 3.

    I followed this guide while setting up. The only thing it says about my question is to make sure that the folder has write permissions. I have everyone given write permissions and received the same error message.

    I ended up setting up on an old Apple XServe and it worked immediately. I can't that assume he didn't like is done on Windows 10.

  • Penetrating the table $ FGA_LOG a new tablespace in 10.2.0.1

    Hi all
    I want to penetrating a tablespace of the table again to $ FGA_LOG
    Unfortunately, we are in version 10.2.0.1

    I know that there is a patch to the 10.2.0.3

    I don't want to just move it manually, should I?
    or I can always install the patch 6989148 of 10.2.0.3
    on my 10.2.0.1

    Thank you

    See this Metralink Note:-72460.1

    Oracle stores audit trail records in a single table, "SYS. AUD$ ', being a dictionary database table, it is not supported to change.» However, it is supported to change the settings for storage by default (except INITIAL) in 'SYS. AUD$.

    By changing the 'SYS. AUD$ "storage settings, the table can grow as big as you want, but only within the space of SYSTEM tables. The Oracle8i / Oracle9i Administrator's Guide covers ways to manage this growth in the SYSTEM tablespace, but without the added flexibility provided by moving 'SYS. AUD$ "to a different tablespace.

    The following script allows to move the 'SYS. AUD$ "table out of the storage SYSTEM and the SYS to the user of the SYSTEM (although it could be any other user).

    1. start the database with:

    AUDIT_TRAIL = none

    2. run the following in Sqlplus:
    connect sys /.

    create the table system.aud$
    tablespace
    As select * from aud$;
    create index system.i_aud1 on system.aud$ (sessionid, its$ tid);

    AUD$ and rename aud$ _temp;
    create view aud$ in select * from system.aud$;

    Connect the system.

    grant all on aud$ sys with the option grant.
    Grant delete on aud$ to delete_catalog_role;

    3. restart the database with:

    AUDIT_TRAIL = DB

    4 re-create the views of data for checking dictionary:

    connect sys /.
    @%ORACLE_HOME%/rdbms/admin/cataudit.sql

  • I'm having problems, the reactivation of Photoshop elements 11?

    I had to install a new hard drive (Windows 7) and, of course, I couldn't turn off my program of 11 PSElements.  I'm having problems of activation PES on my new hard drive?

    What problems was having Adobe with SN new keys being revoked?  My old key SN will be revoked?

    I'm afraid to reinstall... It's in my account as one of my purchases and active.

    GuesScape wrote:

    I had to install a new hard drive (Windows 7) and, of course, I couldn't turn off my program of 11 PSElements. I'm having problems of activation PES on my new hard drive?

    You are allowed to both facilities. If you want to disable one, use the chat here:

    Contact the customer service

    What problems was having Adobe with SN new keys being revoked? My old key SN will be revoked?

    I'm afraid to reinstall... It's in my account as one of my purchases and active.

    It is only with the new Adobe product and treat who is working on a fix.

  • Using Firefox 7.0.1; having problems with hotmail. Cannot click on controls at the top of MSG, which is New, reply, delete, etc.. Can click on the same commands @ the bottom of the problem w/no MSG. Also cannot click on Inbox folder once I have access to

    Using Firefox 7.0.1; having problems with hotmail. Cannot click on controls at the top of MSG, which is New, reply, delete, etc.. Can click on the same commands @ the bottom of the problem w/no MSG. Also cannot click on Inbox folder once I have access to another folder. All known solutions?

    This problem may be caused by the Yahoo! toolbar as scopes as well down and covers the top of the browser window, allowing links in this part of the screen not clickable.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • Siri free eyes - 2016 Jeep - anyone having problems?

    I just took delivery of a 2016 Jeep Grand Cherokee. One of the important reasons that I ordered it was the new command button "Siri eyes-free. As many of us know, iPhone users have not voice full of e-mail/text in some systems of the car. Until CarPlay becomes available, a button of Siri on the wheel is almost essential as far as I'm concerned. When he's not working, it works well. Unfortunately, it works some of the time to "send a message" when he decided to not to cooperate, it goes like this: Siri lights thanks to the system of reliable car with the familiar beep, but slow to type commands and hangs for command/response sequence. He doesn't seem to know when I stopped to talk. I. I called Chrysler support. They noted my report, and the rep mumbled something on the iPhone 6 and 9.2.x. anyone having problems with Uconnect and the Siri eyes new free?

    Yes, in my Jeep Cherokee I get where Siri crashes after that you dictate a message. Touch the screen to send it! Do not know if it is intermittent since we just got the car the other day. If we say the message in one sentence, it works. So frustrating.

  • 30.0 Firefox is so slow since updated. IE & Chrome not having problems loading pages, showing the blank pages, need two or more tests to open Web pages.

    30.0 Firefox is so slow since updated. IE & Chrome not having problems loading pages, showing the blank pages, need two or more tests to open Web pages. It seems to have something to do with the Visual data on the pages. My MSN homepage gets old and dies every time I open the page after the re-opening and closing of firefox. It takes forever! What is a memory drain? Each open page in a new session of firefox suffer the same fate.

    Start Firefox in Safe Mode {web link}
    While you are in safe mode;
    Press < Alt > or < F10 > to display the toolbar.
    Followed;

    Windows; Tools > Options
    Linux; Edit > Preferences
    Mac; name of the application > Preferences

    Then Advanced > General.
    Find and stop using hardware acceleration.

    Dig safe web sites and see if there is still a problem. Then restart.

  • My Iphone 6 having problems...

    My phone gray active wifi and doesn't appear when I restart the phone sometimes lights up, and when it connects to an available wifi it hangs until I have perform a hard reset and it turns grey new... don't know why the fact that all the advice I saw on google for iphone 4S and not 6... as mine comes on sometimes when I reset the phone and hangs until I have reset... it never did that before I bought a new screen and there was no answer keys so I opened it to position it correctly then he started it... also do not really know it your iphone case 6a drilled holes as a result of the fall of a brainstorming does have anything to do with the screen until what you press tight to the top of the phone does not... having problems with my phone presses keys on that sometimes have that I have to open it and touch the cable attached to the screen, then he returned it itself... don't really know why it comes to the fourth screen changes same result... don't know if change (back box) case resolves it... any help pls

    Your device's problems with Touch controller IC or see so best method is the upgrade to a new device making screen replacement is too expensive & Apple will not support you on this device because it has been repaired by an unauthorized person

  • seems I'm not the only one having problems with safari after update 9.3 cannot follow the links. Safari blocks. hope it gets fixed quickly. jaa shooting allows to follow the link, but the Web page is not out of good old days. any oher ideas?

    seems I'm not the only one having problems with safari after update 9.3 cannot follow the links. Safari blocks. hope it gets fixed quickly. jaa shooting allows to follow the link, but the Web page is not out of good old days. any oher ideas?

    The 'list' of relevant articles that I know, they are now

    -You can read about the problems in the present statutes and possibly find workaround solutions, particularly in the last

    If you are unable to activate your iPhone, iPad or iPod touch after installing an update - Apple Support

    Apple iOS suspension 9.3 updates for older devices, work on activation fix | IVous

    Apple launches new version of iOS for iPad users 9.3 2 affected by bricking bug | 9to5Mac

    GSM of unfixed addresses Apple iPad 2 Bug with revised Activation iOS 9.3, but the larger question remains - Mac rumors

    If you are unable to activate your iPad 2 (GSM model) update to iOS 9.3 - Apple Support

    9.3 iOS update issues

    Leave a post by: ChitlinsCC

  • Laptop started having problems connecting to internet connections Wi - Fi

    in recent weeks my laptop new (6 months) started having problems connecting to wireless devices after spending hours ranging from hollow forums, check the settings in device etc, computer managers them laptop turns off, restarts said there was a problem that caused the laptop to the stop and then when it restarts it connects to the wireless device fine. If I stop back on the laptop, the problem when I turn it on.

    Not only it will pick up my wireless network, it says no wireless networks found despite her grateful normally about 15 other wireless connections, that my neighbors.

    Does anyone have a solution in the long term to this problem. I am a student and spent more than 3 hours trying to fix today and I don't have the time to deal with this all day.

    Thanks in advance

    > in the last few weeks my laptop new (6 months) started having problems connecting to wireless devices
    Have you changed some settings or perhaps updated driver WLAN? I mean, I can't imagine that problems start without reason.
    It is not easy to say what may be the problem. Perhaps, you must reinstall the recovery image and test the feature with the factory settings.

  • having problem to answer, transfer or compose messages on hotmail.

    on my hotmail I can not on any suggestions or transmit or compose new emails

    Hi elenaantoniadou,

    1. When did you start to question?

    2. you receive messages or error codes?

    You can consult the following Windows Live e-mail support link and check if it helps:

    http://windowslivehelp.com/thread.aspx?ThreadId=5819993d-1ae7-44ef-8692-08dcbf2bd98d

    If you're still having problems, you can post your query in Windows Live help to improve assistance.

    Check out the link:

    http://windowslivehelp.com/product.aspx?ProductID=1

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer

  • Downloaded and paid of Minecraft and having problems with Java, Anti Virus Scan and Windows Update - error code 800F081F

    Downloaded and paid of Minecraft and having problems with Java, Anti Virus Scan and Windows Update - error code 800F081F

    Would you advice, thank you.

    Hi Hugo,.

    1. what anti-virus software you have installed in the computer?

    2. What is the full error message/code?

    3. the issue occurred after you install Minecraft?

    4. are you able to play Minecraft without any problem?

    5. what happens with Antivirus and Java?

    Windows Update can occur if one or more of the following conditions are met:

    1. the Windows Update database is damaged.

    2. antivirus software is configured to scan the %Windir%\SoftwareDistribution folder.

    3. the service (BITS) Background Intelligent Transfer Service does not receive a content link header.

    4. a required system file is incorrectly registered.

    5. Windows Installer has encountered an error.

    6. the manifesto of component maintenance (EC) is damaged.

    7. the Windows Update service has stopped during the installation.

    8. a version of the file conflict exists with Windows Update agent files.

    Please follow the steps described in the methods to solve the problem:

    Method 1: We will try the steps from the following link and check the result:

    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article:http://windows.microsoft.com/en-US/windows7/Back-up-the-registry

    How to reset the Windows Update components?

    http://support.Microsoft.com/kb/971058?WA=wsignin1.0

    Method 2:

    To correct the errors that occur when you use Windows Update, install, and run the system update readiness tool. The tool analyzes inconsistencies on your computer and fixes as its current installation.

    You can view the following link to download the system update readiness tool and check:

    System tool update that corrects problems of Windows Update is available for Windows 8, Windows 7, Windows Vista, Windows Server 2008 R2 and Windows Server 2008

    http://support.Microsoft.com/kb/947821

    Details of the event log to find what caused the Antivirus and Java to fail:

    What are the information contained in the logs of the event (Event Viewer)?

    http://Windows.Microsoft.com/en-us/Windows7/what-information-appears-in-event-logs-Event-Viewer

    Hope that the information provided is useful.

    For any help related to this problem or any question of Windows, you can still display in the Microsoft Community Forum!

  • Having problem installing Windows Vista Sp2, I keep getting error 0x800B0100

    original title: HELP! Having problem installing Windows Vista Sp2, I keep getting error 0x800B0100

    My checksur.log said

    =================================
    Preparation of control system was updated.
    Binary version 6.0.6002.22441
    Version 9.0 package
    2011-06-29 15:32
    Checking Windows Service Packages
    Checking of manifests package and catalogs
    (f) CBS MUM corrupt 0x800F0900 servicing\Packages\Package_4_for_KB948610~31bf3856ad364e35~x86~~6.0.6001.2123.mum line 1110: nam
    Checking package Watchlist
    Watchlist checking
    Checking packages
    Control components store

    Hello

    These should help to resolve the problem:

    How to fix Windows Vista error 800b0100 update
    http://www.SimpleHelp.NET/2008/07/06/how-to-resolve-Windows-Vista-update-error-800b0100/

    Error Code 800b0100 in Windows Update
    http://www.instantvista.com/800B0100.html

    Error message when you try to use Microsoft Update or Windows Update Web sites to install
    updates: "0x800B0100.
    http://support.Microsoft.com/kb/956702
    How to reset the Windows Update components? -a Mr Fixit
    http://support.Microsoft.com/kb/971058

    Description of the system for Windows Vista, Windows Server 2008, update tool and
    for Windows 7
    http://support.Microsoft.com/kb/947821

    ==========================================================================

    How to troubleshoot Windows Vista and Windows Server 2008 service pack installation issues
    http://support.Microsoft.com/kb/947366

    You select Download - SAVE? After download go where you put it and right click
    on and RUN as administrator.

    Download Service Pack 2 x 86 32 bit
    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=891ab806-2431-4D00-afa3-99ff6f22448d & displaylang = in

    Download Service Pack 2 x 64 64-bit
    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=8ad69826-03d4-488C-8f26-074800c55bc3 & displaylang = in

    Create a new ADMIN account with your password - same then REBOOT (do not logoff) and
    log on to the new account and try the download.

    How to obtain the latest Windows Vista service pack
    http://support.Microsoft.com/kb/935791/

    Service Pack Center
    http://Windows.Microsoft.com/en-us/Windows/downloads/service-packs

    ================================================================

    If necessary, you can get free reports of incidents however generally above allows to solve this problem.

    Windows updates - free Incident report

    Go here and click on-> Windows Update fails while searching, downloading or installation of updates
    http://support.Microsoft.com/GP/wusupport#tab3

    The security updates, you can get free support Incident report
    http://www.Microsoft.com/protect/resources/support.aspx

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • Having problems with maintaining device drivers loaded on Windows 7 audit mode

    Trouble in paradise. I'm working on new images of Windows 7 and we're having problems that new pilots appear after the computer has been deployed. I extend to the computer in audit mode and either use an answer file to add drivers or add them manually using pnputil. I add drivers for 5 different Dell Optiplex computers. When you use the answer file the computer back mode audit on this computer, and drivers have been installed. After checking the Device Manager, everything is in place. I also checked the Driverstore folder to make sure they have been installed, they. But when I finished the process sysprep, the image on your computer and place it on another computer, it does not see the new drivers. I still have to add them manually. I did it on five computers with the same result so I know that the pilots were initially loaded correctly. For some reason any after sysprep, it seems to lose track of the path to the drivers when the computer starts in windows setup mode. Once installation is complete, the same missing drivers in Device Manager are still missing. Even if they were there to audit mode. If I send the device missing in Device Manager the driverstore in research, he finds the driver without problem. Here's what I use for sysprep:

    C:\Windows\System32\Sysprep\sysprep /audit /reboot /unattend:C:\Windows\System32\Sysprep\imagetest.xml

    And then run the oobe and generalize the windows sysprep interface options to stop out of audit mode

    I hope that I do just something wrong, it's simple.

    GOOSE

    For any question on Windows 7:

    http://social.answers.Microsoft.com/forums/en-us/category/Windows7

    Link above is Windows 7 Forum for questions on Windows 7.

    Windows 7 questions should be directed to the it.

    You are in the Vista Forums.

    See you soon.

    Mick Murphy - Microsoft partner

Maybe you are looking for