How to restore limited tablespace for table (drop table import)

Hi All,
Application user has drop one master table in database i want to restore it but now i don't hv logical backup
i hv only rman backup,Is it possible to restore only limited tablespace and open the database n import that required table from tablespace.
If its possible by auxiliary instance pls send me the required steps to create auxiliary instance for limited tablespace
Waiting for immediate responce.
Thanks & Regards,
.......

user9161658 wrote:
Hi All,
Application user has drop one master table in database i want to restore it but now i don't hv logical backup
i hv only rman backup,Is it possible to restore only limited tablespace and open the database n import that required table from tablespace.
If its possible by auxiliary instance pls send me the required steps to create auxiliary instance for limited tablespace
Waiting for immediate responce.PLease note asking for an immediate response is not a good thing on a public and free forum. For immediate assistance, OSS is the place to go for.
What you want to do is certainly possible and its possible to recover only the dropped object form the tablespace with the help of TSPITR . Please see the following link to understand and know about it. Since you haven't mentioned your version, I am giving 11.2's link.
http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmtspit.htm#BRADV89787
http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmtspit.htm#BRADV009
HTH
Aman....

Similar Messages

  • How to restore views and procedures after drop user command?

    How to restore views and procedures after drop user command?
    We have 817 EE on NT and one developer created a lot of procedures, functions and vews. DB was not backuped and archived and export has not been done - our fault and we understand it. Sorry for this.
    Ok, now the story: another developer dropped this db user and we lost everything: procedures, functions and vews. The new user with trhe same name was created and new schema was imported in this user, but all old objects are lost. We don't have export and backup and archive log files.
    Question: may we can restore this lost stuff from some other sources. We are looking for lost codes, not data. May be we can use redo logs or shared pool or any other things. Any idea will be appreciated.
    Thanks.
    Victor
    [email protected]

    The switch has occurred after user was dropped, the data has been overwritten and there is be no way to use redo log files.
    I would like to explore another opportunity. Is possible to use Shared Pool or any Data Dictionary internal information to restore texts of the lost SQL and PL/SQL scripts executed in this DB before user was dropped? Not too many scripts are executed in this DB and the lost ones may still be in stack. I remember that Shared Pool (cash) should keep last executed scripts in order to improve performance. They probably are kept in some special format. Can we restore these scripts? Of course they also might be pushed out by Import that had been done after user was dropped.
    Thanks for your help,
    Victor

  • Import dumpfile with seperate tablespaces for table and index

    Hi,
    We have a schema for which the its tables are stored in seperate tablespace and indexes are stored in different tablespace. Now we have take full schema export. Now we want to import it on another schema. Now I want to know if the we have difference in the tablespace name we use REMAP_TABLESPACE clause of the impdp command but what about the seperate tablespace for table and indexes. How would Oracle handle this.
    Regards,
    Abbasi

    Hi,
    I hope you created the same tablespace structure on the target side if not so remap_tablespace option you have to use for specifying different tablespaces.Oracle will take care of putting data and index.Any how if a index is moved from one tablespace to other you have to rebuild them,once you rebuild them than only stattistics are gathered otherwise you
    might face some performance issue.
    Better option is to keep same tablespace structures in source and target environment.
    Best regards,
    Rafi.
    http://rafioracledba.blogspot.com
    Edited by: Rafi (Oracle DBA) on May 9, 2011 7:07 AM

  • How to create a record for table PLAF with order type 'NB'.

    How to create a record for table PLAF with order type 'NB'(standard purchase order).
    who can tell me the T-code or some usefull information?
    Thanks.

    Hi
    This will be updated automatically when generate planned orders thru MRP. (MD02)
    regards
    Srinivas

  • How to do hibernate mapping for table or view without a primary key

    Hi,
    Anyone knows how to do hibernate mapping for table or view without a primary key?
    thanks.
    cc

    or you can make all column primary key .Anybody seriously considering that as a good idea should understand the implications:
    1. this requires that each row be unique - that's a minor issue normally, but can be a significant problem in some cases
    2. in practically all databases, a primary key constraint creates a unique index - this has many implications:
    a) in most databases, the index stores a copy of the column data that is indexed - this suggestion therefore more than doubles the data storage required for the data
    b) whenever an indexed column is changed, the index has to be maintained - this suggestion then more than doubles the work that each UPDATE statement has to do, since both the table and the index have to be maintained for any UPDATE at all
    This might work OK for toy projects, but it doesn't scale well at all...

  • ORA-20015: Invalid tablespace for table

    I have a table partioned by range and have done interval partitioning on a date column.
    when i apply the lifecycle definition on this table i get the following error ORA-20015: Invalid tablespace for table .
    Also in the list of candidate tables,it shows Table Partioning Not Available.
    Any help on this

    any resolution so far?

  • Restoring a tablespace that was dropped

    Hello all, I've got a question. I'm trying to make a script to restore a tablespace that was deleted with the command DROP TABLESPACE, but I can't do it without restoring the whole database.
    This is the script I used to make the backup:
    allocate channel full1 type disk;
    backup
    incremental level 0 cumulative
    skip inaccessible
    format '/home/oracle/backups/FULL_DB_%d_%t_%s_%p'
    database;
    copy current controlfile to '/home/oracle/backups/FULL_CF_%d_%t_%s_%p.ctl';
    backup format '/home/oracle/backups/FULL_AL_%d_%t_%s_%p'
    archivelog all
    delete input;
    release channel full1;
    I'm using Oracle 9i, running on Debian. Any one knows how to make the script that restores just a tablespace?
    Thank you.

    If you have to recover a tablespace which was read-write , you will have to restore complete database and recover to a point in time just before your drop, its not possible to recover database and tablespaces to different SCN's.
    Had it been a diskcrash/fileless, then it was able to offline tablespace, restore only that file and recover to current SCN

  • How to update key fields for table

    Hi,
    how to update key fields for a table.The update statement is not working for the same.
    Regards,

    Hi,
    See the below example.
    TABLES SPFLI.
    DATA WA TYPE SPFLI.
    MOVE 'AA' TO WA-CARRID.
    MOVE '0064' TO WA-CONNID.
    MOVE 'WASHINGTON' TO WA-CITYFROM.
    UPDATE SPFLI FROM WA.
    MOVE 'LH' TO SPFLI-CARRID.
    MOVE '0017' TO SPFLI-CONNID.
    MOVE 'BERLIN' TO SPFLI-CITYFROM.
    UPDATE SPFLI.
    CARRID and CONNID are the primary key fields of table SPFLI. All fields of those lines where the primary key fields are "AA" and "0064", or "LH" and "0017", are replaced by the values in the corresponding fields of the work area WA or the table work area SPFLI.
    Regards,
    raj.

  • How to use simple types for table column names ?

    Hi,
    can any one tell how to to use simple types for table column names?
    It is required in internationalizing of webdynpro applications.
    Regards,
    Rajesh

    Hi,
    1: define required column names in <SimpleType>
    2:use the following code to get those values
    3:bind 'text' property of Column headers to context attributes
    4:take a context attribute 'Value' as type of <SimpleType>
    5:set these values to context attributes
    IWDAttributeInfo objAttrInfo=wdContext.getNodeInfo().getAttribute(IPrivate<ViewName>View.IContextElement.VALUE);
    ISimpleTypeModifiable simple=objAttrInfo.getModifiableSimpleType();
    Map m=simple.getEnumerationTexts();
    Collection c=m.values();
    Iterator it=c.iterator();
    if(it.hasNext())
    wdContext.currentContextElement.set<att1>(it.next().toString);
    if(it.hasNext())
    wdContext.currentContextElement.set<att2>(it.next().toString);
    if(it.hasNext())
    wdContext.currentContextElement.set<att3>(it.next().toString);
    Regards
    LakshmiNarayana

  • How to create a transaction for table maintanence?

    Hi Experts,
      How can i create a transaction for insert/modify/delete entries for a table?

    Hi,
    First u nee dto create Table maintenace genaertor for that table.
    go to se11.--> table name --> change
    Mebu options: > Utilities> table maintenace gen (or Tcode SE55)
    Fill the following
    Authorisation group : &NC&( or group specified by Functiopnal owner)
    Function group:
    Maintrenace type: 1 step
    Maint screen: 6
    SAVE.
    Now after craeting Table maintenace genarator, u haveto attach tcode.
    Go to SE93
    Give ur tcode  for table.
    Check : Transaction with parameters.
    continue...
    Transaction :   SM30
    check SKIP INITIAL SCREEN
    Check all the check boxes of GUI support.
    under Name of screen field :
    TABLE VIEW             : table name
    UPDATE                    : X
    Rvert back if nay issues.
    Reward with oints if helpful.
    Regards,
    Naveen.

  • How to set default value for a drop down in Mobile Application Studio

    Hi,
    We have a requirement in which for a drop down - Transaction type (Activities), the value should be defaulted to 'Visit' and the Activity Category should be 'Sales Visit'. I tried debugging the code and got the piece of code where this value is referred, but i'm unable to find out the location where this value is picked from. Also while opening up the properties corresponding to this, there is a default value tab in the properties pane. I tried by giving this default value, but didn't work. When I'm trying to revert the changes i've made in the property, it is showing up an error.
    Any pointers on this would be of great help.
    Thanks in advance,
    Rasmi.

    Hi Rasmi,
    You can default the process type field of BOACTIVITY by different ways-
    1.In BOL, business object BOACTIVITY loaded event, check the parameter bIsNew and then default the value of process type if you want it only for new activities.
    Other attributes currently get defaulted in the attributechanged event of BOACTIVITY where field is processtype.So if processtype is defaulted it will try to default other attributes based on that.It will pick values from the customizing maintained in SPRO->CRM->Transactions->Basic Settings->Define Transaction Type->Customizing Header.
    2.You can also do defaulting in the UI.If you want to default one field based on a value selected for drop down, then write the code in the onselected2 event of the drop down.
    In your specific case, best way is to use option 1.
    Regards
    Vivek

  • How do I unlock folders for drag/drop messages?

    Team:
    I have 2 folders in Thunderbird that will not allow me to drag/drop messages into it. I was able to do this up to about a week ago and now I can't drag/drop.
    I have restarted in safe mode but it didn't release the folders for drag/drop. I've checked the properties and it doesn't give me any options to 'unlock the folders' for drag/drop or 'copy into' or 'move into' functionality.

    Repair only rebuilds the index of the folder. That Thunderbird can not build an index is something of a worry. Normally I would point the finger at corruption. But this time I don't think so.
    Best to go back to basics here I think.
    Have you rebooted your computer?
    Tried windows safe mode with networking?
    My guess is something is locking the physical file that contains the folder mail. A reboot my release whatever it is if your not in the practice of regular cold starts.
    Either way failing that Windows safe mode with networking should see the file freed up if you start Thunderbird while in safe mode.

  • How to set the font for table view contol

    Dear All,
    My requirement is to set Font type = Arial and size=1 for
    Table View control. The same font should be for  header, Rows and footer.
    One way we are achieving it through the Renderer class. Where in we are we are supplying data, colums with html font tags.
    Is there any simple way to fix font fot the entire TableView.
    Thanks
    Markandeya

    An approach I've used is to override the CSS styles by adding code like the following to the top of the JSP page.  It's a bit of a hack, but it did the job.  You will need to find ALL the styles used in a table view, and override the font size.
    <%-- OVERRIDE SOME CSS STYLES SO WE HAVE THE DESIRED TABLE CELL PADDING --%>
    <style>
    <!--
    .sapTbvCellStd {
         PADDING-RIGHT: 2px; PADDING-LEFT: 2px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
    .sapTbvCellAlt {
         PADDING-RIGHT: 2px; PADDING-LEFT: 2px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
    //-->
    </style>

  • Using exp dump file, how to know schema/tablespace/database/table....

    Hi
    I have export dump file. I don't have any information other then that about the dumpfile.
    1. How do I know what version of exp was used(or database version)?
    2. what does the exp contain, whether it is table/schema/tablespace/database level export?
    3. Is it possible that I can used impdp command to export a file which was exported using "exp" command?

    1. Sorry for my ignorance but in first case how do I know if i have to use "imp or impdp".
    As discussed in the above mentioned thread strings might reveal something but not sure. Otherwise you can always confirm by trying to run it.
    And assuming that if I imported the dump(using trial and error rule), how do I know what level of export was the dump file created... ie
    how do I know the present object(object imported in target) was belonging to which tablespace and schema in source database(question 2 of "Sidhu")?
    When you will import it back in a new database, everything will be same as the original database. All objects will belong to their respective tablespaces,schemas blah blah...(where they were in the original database).
    Sidhu

  • How to restore Mail inbox for one mail account?

    I am away from home, and the inbox of one of my mail accounts on my MBP (10.7.3) has lost all its information.  When I get home I want to restore (most of) the lost data from my Time Machine backup.
    However, I do not want to restore all the accounts and all the mailboxes, just the one that was lost.
    How to I find the Inbox for that account, in order to use the older file in Time Machine to restore it with?
    DN

    You just go to the mailbox in Mail that the messages are missing from and then, from there, choose Enter Time Machine from the Time Machine menu bar icon.  You'll see the Time Machine interface, showing the current version of that mailbox, and you can go back in time to when the messages were still there.  Then select the messages you want to restore (all of them, I'd guess) and restore them.  They'll show up in a new mailbox (Recovered Messages or something?  I forget exactly what it's called), and you can move them back to where you want from there.

Maybe you are looking for

  • SELECT query performance issue

    Hello experts!!! I am facing the performance issue in the below SELECT query. Its taking long time to execute this query. Please suggest how can i improve the performance of this query. SELECT MBLNR MATNR LIFNR MENGE WERKS BUKRS LGORT BWART INTO CORR

  • Extract OPTION from JSP

    Hello, I have this JSP code: <%@page contentType="text/html" pageEncoding="UTF-8"%> <% try {      SQL_client.RozvrhServiceService service = new SQL_client.RozvrhServiceService();      SQL_client.RozvrhService port = service.getRozvrhServicePort();   

  • Color space conversions to/from XYZ broken?

    I have just started writing a plug-in in which I need to convert data from an RGB space to XYZ and back again. For this I am using the sPSColorSpace->Convert16 function. Unfortunately, it seems that the conversions to and from XYZ are not performed c

  • Strange error in calculator

    Hi community, there is a strange error in calculator or in my system. If I use the -/+ in the calculator it changes the number. Try this. Put in 51,99 and hit the -/+ sign. In my system it changes the number to -51,98999999999999. I also tried it for

  • Return variable from Function

    I have a function that if I write-host the variable $RDPUser from within the function it returns true, however I can't seem to get the variable to be seen outside the function, even if I make it global Function global:RDP (){ $WorkstationName = Get-C