How to imp database for a recover

Hi Experts,
We have a database as oracle10G R4 in 32 bit window.
I makk a full database exp as a backup.
At the present, i find some data file is missing in user dev tablespace.
My question, we do not have a schema or tablespace exp dump file.
For exiting DB, Do we need to drop all tablesapce (include sys tbs) and recreate tablespaces for imp full database recover?
Thanks for help!
JIM

Hi,
If you have a full database export, you can perform a full, table, schema, or tablespace import from this. If you want to just recover a tablespace, then you would want
1. drop that tablespace from the database
2. create the tablespace as you want it
3. run import with a tablespace filter:
impdp user/password directory=your_dir dumpfile=your_dumpfiles tablespace=your_tablespace ...
Dean

Similar Messages

  • IMP database for oracle 10G in window

    Hi Experts,
    I try to imp database from exp dump file.
    I am new person.
    When i create a blank database by Oracle 10G ( create general purpose database during install oracle).
    Now I want to imp a database about 250G size.
    DO I need to create a each tablespace in source DB before imp?
    I have a full exp database dump file?
    Can I directly imp a full exp dump files to copy source database?
    Thanks
    Jim

    Thanks for your help.
    If I do not create source DB tablespace. what kind of tablespace will be imp inot new database? default from source database?i
    I have a full exp dump file.
    also if you want to keep the same tablesapce as source then just create all of tablespace. how about data file? we can change data file size. is it true?
    Thanks
    JIM
    Edited by: user589812 on Feb 26, 2009 12:43 PM

  • How to shrink database for the Oracle

    Hi,
    As you know, in the Sql server database there is a "shrink database" for the shrink the database space, but how to do that for the Oracle9i?
    Any comments would be appreciated.
    Thanks a lot

    You will have to resize ur datafiles to shrink ur db. Here are the steps
    1) select file_name,file_id,bytes from dba_data_files;
    This will give u the current size of datafiles.
    2) select file_id,sum(bytes) from dba_free_space group by file_id;
    This will give u the free space in the datafiles. If the file_id is not listed in this query that means the file is fully occupied/used.
    (used space = bytes col from query 1 - sum(bytes) col from query 2)
    3) alter database datafile file_id resize ### ;
    Enter the value you wanna resize based upon ur req. You cannot shrink the datafiles below the used space.
    Regards,
    http://askyogesh.com

  • How to recreate database for UCM

    I was able to change the DB connection from one to another by change the settings through "System properties". however, there were some database objects(tables) created during the UCM installation. is there anyway I can switch to new database and get UCM database objects recreated without re-installing the UCM? there seems some sql scripts in the database directory, but I'm not sure how to run them, the order and parameter are not clear to me.
    Thanks

    Hi
    One thing that you can do to recreate the default tables and columns is to run the all.sql script on the DB which is specific for your db .If you want to just recreate an image replica then extract the ddl statements from your current db and put it in a sql script and execute that directly on the other db instance . In this case make sure to change the instance specifc details in the ddl script extracted and replace them with the newer instance details like the table space name , user name executing it and like wise.
    Another way would be to use Archiver to create export batch file for the Tables and then importing them to the target instance. The way out for this is to go to Archiver Applet - Create New Archive - Export - Tables and here and include all the tables that are there in the content server.
    Hope this helps
    Thanks
    Srinath

  • Library recovery: how can I recover a library after I get this message: There was an error opening the database for the library "/Users/Jim/Pictures/Libraries/K2 Library.aplibrary"???

    Library recovery: how can I recover a library after I get this message: "There was an error opening the database for the library “/Users/Jim/Pictures/Libraries/K2 Library.aplibrary”???

    Thanks a lot, Frank. The lsregister did the trick! I am testing this on 10.8.2.
    http://support.apple.com/kb/TA24770 : I deleted the "com.apple.LaunchServices.plist", and restarted the Finder, even logged off and on again; did not change anything. The file has not been recreated, so it may not be used anymore.
    http://itpixie.com/2011/05/fix-duplicate-old-items-open-with-list/#.ULZqa6XAoqY
    The direct "copy and paste" from the post did not work: I had to retype it :
    /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchSe rvices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
    but then it worked like a charm!
    Cheers
    Léonie
    And btw: I turned on the "-v" option for the lsregister to see, what was going on, and saw plenty of error messages (error -10811); so I repeated the command with "sudo". After that I still saw five iPhotos. Repeating as regular user finally got rid of the redundant iPhoto entries. It looks like registering as super user may be causing this trouble.

  • How to add multiple databases for a single frontend

    We have a project based on distributed databases and we have to workout on .Net framework.I want to know some information of connecting multiple databases for a single frontend and how can we access them.
    If so we have connected 2 databases for a single frontend in future if I want add one more database to it how it will be possible to do it without disturbing the current connectivity.
    Please help me in resolving this problem.
    Thanks......

    hi,
    what do you mean by connecting 2 databases? can you explain further?
    using entityframework you can connect to different databases
    public class CustomerContext : DbContext
    public ReportContext()
    : base("DefaultConnection")
    public DbSet<Customers> Customers { get; set; }
    and your connectionstring (config file)
    <connectionStrings>
    <add name="DefaultConnection" connectionString="Data Source=(LocalDB)\v11.0;AttachDbFilename=D:\\Database\Project.mdf;Integrated Security=True" providerName="System.Data.SqlClient" />
    </connectionStrings>
    you can add more connection strings on it.
    https://msdn.microsoft.com/en-us/library/vstudio/cc716756(v=vs.100).aspx
    https://msdn.microsoft.com/en-us/library/ms254978(v=vs.110).aspx
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • How do I search for all "missing" tracks within the iTunes database?

    I found the dreaded ! of death, and sadly I verified the tacks indeed are not on my hard drive.
    Is there a way to sort on this tag so that I can see what else might be missing on my hard drive but remains in the database (sort of similar to how you can search for all tracks that have missing artwork)? 

    Thanks.  It works perfectly.
    URL for anyone else in need:  http://dougscripts.com/123

  • How can i use a database for practice in DOS

    i have some problems in the sqlplus.
    My OS is windows2000 server,when i intalled the Oracle 8i
    i type a command 'cmd' go to DOS.and type "sqlplus username/password@database"
    but always the system say that my database name can't be deal with.
    and i want to get a sample database for training SQL statements.How can i get it.
    is Oracle 8i have the sample database.

    It sounds like your database hasn't been started yet so do this:
    Try typing svrmgrl at the c:> -- if it doesn't work you might either have to go to the proper directory or type sqlplus to get an sql:> prompt (I don't remember it's been a while) but the rest I am pretty sure about---
    When you get the svrmgr prompt:
    use (i think) "connect internal"
    and "oracle or Oracle" as password
    once you do this
    it should say connected
    then use: svrmgr:>shutdown -- shutsdown DB
    then use: svrmgr:>startup -- starts DB
    hopefully then you can access your database through SQL Plus

  • I downloaded Aperture and now I'm getting a "There was an error opening the database for Library " and I can't do anything else.  How can I fix it so I am once again able to run Aperture?

    I Downloaded Aperture from the Apple Website then proceeded to download all my picture's frp, IPhoto.  The very next time I opened Aperture an error poped up stating, There was an error opening the database for Library "blank".  I can't do anything with the program but hit the cancel buttom which closes the program.  How do I fix it?

    Is "blank" the name of your Aperture Library? If not, then Aperture is pointing to the wrong Library. Hold down the option (⌥) key while you launch Aperture by clicking it in the Applications Folder. Then select the correct library and press the "choose" button.
    If that does not help, try to repair your library:
    Locate Aperture library in Finder. Holding down the keys option (⌥) +command (⌘) and double click on Aperture Library to show the First Aid dialogue:
    Then try to start Aperture again.  If that also should fail, try the other steps in Aperture 3: Troubleshooting Basics: http://support.apple.com/kb/HT3805
    Good Luck
    Léonie

  • How to determine database growth for new B1 instalation

    Hello B1 people,
    I'm working on the capacity planning of my new business one project and must know how to determine database growth. Does anyone did something like that before?
    Wich tables should I consider?
    Thanks in advance.

    Hello Gabriel,
    I think it is difficult to make any predictions about database growth because this depends on the volume of your business transactions, the number of users, the continuity of your master data...
    For example a small number of users can create a lot of transactions (accounting, logistics) with big documents like sales orders with more than 100 items, or a lot of users who primarily look up things but only create small transaction won't create too much data and thus influence database growth in totally different ways.
    You should collect information about the volume of daily business to make any forecasts.
    If you start with an empty database, the first big growth will be when you upload your master data, but if only few business transactions follow, you shouldn't use that first increase for your calculation.
    Is this your very first B1 installation, or do you already have B1 systems running? If you use the EWA service on a running B1 installation on a regular basis, then you will get a good impression of database growth and transaction volume but you should only use this as a basis for your calculation if the business of the new installation is similar to already running company's.
    Hope that helps,
    Sandra

  • How to use the mirrored and log shipped secondary database for update or insert operations

    Hi,
    I am doing a DR Test where I need to test the mirrored and log shipped secondary database but without stopping the mirroring or log shipping procedures. Is there a way to get the data out of mirrored and log shipped database to another database for update
    or insert operations?
    Database snapshot can be used only for mirrored database but updates cannot be done. Also the secondary database of log shipping cannot used for database snapshot. Any ideas of how this can be implemented?
    Thanks,
    Preetha

    Hmm in this case I think you need Merge Replication otherwise it breaks down the purpose of DR...again in that case.. 
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • How to connect to database for all the reports FR

    Hi,
    I have developed 100 reports in production client, for testing purpose I have moved to
    test client. How can I connect to database for all the reports at a time?
    Regards
    Taruni

    Hi Taruni,
    You can connect to the database connection for all the reports through workspace in HFM.
    Connect to HFM Workspace-->click on Explore option-->and click on Tools-->click on Data Base Connection Manager and change the respective connections from Production Instance to Test Instance with required information, and than you will be able to connect to Test database for all the reports at a time.
    Regards,
    Srikanth

  • Aperture (3.4.1) no longer opens and the following message appears: There was an error opening the database for the library "/ Users / Andrea / Pictures / Aperture 3 Library.aplibrary." How can I solve this problem? Thanks

    I was using Aperture (3.4.1), when he appeared a notice that asked me to stop the Mac with the power button. When I restart Aperture no longer opens and the following message appears: There was an error opening the database for the library "/ Users / Andrea / Pictures / Aperture 3 Library.aplibrary."
    How can I solve this problem?
    Thanks

    After a system crash your Aperture Library may be corrupted, because Aperture may not have been able to finish the ongoing database transactions.
    Have you tried the Aperture Library First Aid Tools?
    Aperture 3 User Manual: Repairing and Rebuilding Your Aperture Library
    Try "Repair Database", and if this does not help: "Rebuild Database"
    Regards
    Léonie

  • How to configure ActiveSync for a database table in IdM 7.0

    Hi All,
    Please suggest me the steps to configure ActiveSync in IdM 7.0.
    when i try it by resource-->activeSync wizard it gives
    "The ActiveSync Wizard has been deprecated in Identity Manager 7.0 in favor of using MetaView and the resource action "Edit Synchronization Policy". "
    how to configure ActiveSync for a database table.
    Thanx
    Shant

    Hi,
    You need to a script and run it on os level. Here is an example:-
    emcli relocate_targets -src_agent=agentmachine1.domain:3872
    -dest_agent=agentmachine2.domain:3872 -target_name=RACDB
    -target_type=oracle_database -copy_from_src -force=yes
    -changed_param=MachineName:agentmachine2.domain
    Regards
    Jomon
    Edited by: JohnJomon on Nov 17, 2011 2:27 PM

  • How to create database item for fast formula?

    Hi,
    Is there any document for how to create database item for fast formula? I could not find in Metalink or this forum. Thanks.
    Andy

    Oracle ship many pre-delivered Database Items plus they're created automatically when you create Input Values (etc).
    There's often something already there for you. If there's not, you usually create Fast Formula functions to retrieve other data. You don't create your own custom DBIs; Oracle don't deliver APIs for that.

Maybe you are looking for

  • Contacts - Order by last name

    I cannot get my contacts to be ordered by last name. EWven when I selesct that option, and "save", it defaults back to first name. Any suggestions?

  • ACR w/ D800E Curiosity

    Just playing with a new D800E and the files open just fine with ACR 6.7.0.339 via Bridge w/CS5.5 as well as with ACR 7.1.0.354 via Bridge w/CS6 (PC/Vista64). One curious thing I just noticed when setting ACR Workflow Options/Size is that in both ACR

  • Support for suing sql directly.

    Hi All, I'm new to Kodo, does it support using native sql in JDOQL? that is, directly coding my queries in sql and passing them to JDOQL to parse and execute? If not available, is there any plans to integrate this feature or similar ones ? thanks.

  • Link between control record and infotype 0003.

    Hi all, Can anybody explain me, what is the link between control record and infotype 0003? Thanks & Regards, Lucky.

  • Duplicate Roles

    I have a role showing up twice within the portal when searching for it through user manangement role function. The first one that appears is just the role name, the second show the location in the PCD of the role and it's name. The role is only defin