I don’t know much about database administration. My problem is i have a oracle database in which we have a user “user1” with some tables, In those tables some of them have data, and some don’t. Now I want to create a new user “user2” and this should be exact replicate of “user1“. So I exported the user1 like the following:
exp user1/***** file=exp.dmp log=exp.log
Now I am importing this file into my new user2 like this
imp user2/**** file=exp.dmp ..
But it is creating tables which has data only, in user2. I want to replicate the all objects from user1 to user2. Please help me on this.
FYI I am using oracle 11g on window 7 applied patch2
Are using deferred segment creation?
Export will not work with tables that don’t have a segment. You’ll probably want to use Export DataPump instead.
Or you may be able to get it to work by manually creating a segment: