Inadvertently dropped package WB_RT_MAPAUDIT_UTIL - how to recover ?
OWB seems to create a number of objects in the schema being used as the target schema for the datawarehouse.
Package WB_RT_MAPAUDIT_UTIL being one of them. Others include tables WB_RT_EXCEPTIONS, WB_RT_PLATFORM_CONFIG and WB_RT_POSTLOAD_EXCEPTIONS.
Does anybody know how and when OWB creates these? It must be part of some deployment process, but I can't find it anywhere.
None of the Mappings for this target shema work now because the all refer constants, variable or procs in the package.
Also - they were created in our application's target schema but were created in the Tablespace created for OWB, so:
1) Why are these objects required in the application's schema if they apparently hold things like platform configurations (WB_RT_PLATFORM_CONFIG) that surely the belong in the OWB Runtime Schema? (we actually have a few application schemas in which these objects are created and each instance seems to be identical and the tables are mostly empty!)
2) Can we configure OWB to create these objects in a Tablespace other than the one intended for OWB?
Hi,
Further to the details above, the OWB version I am using is as follows for both client/repository:
Oracle10g Warehour Builder 10.1.0.4.0
Thanks & Regards,
lenin
Message was edited by:
[email protected]
Similar Messages
-
How to recover the data from a dropped table in production/archive mode
How to recover the data/change on a table that was dropped by accident.
The database is on archive mode.Oracle Version. ? If 10g.
Try this Way
SQL> create table taj as select * from all_objects where rownum <= 100;
Table created.
SQL> drop table taj ;
Table dropped.
SQL> show recyclebin
ORIGINAL NAME RECYCLEBIN NAME OBJECT TYPE DROP TIME
TAJ BIN$b3MmS7kYS9ClMvKm0bu8Vw==$0 TABLE 2006-09-10:16:02:58
SQL> flashback table taj to before drop;
Flashback complete.
SQL> show recyclebin;
SQL> desc taj;
Name Null? Type
OWNER VARCHAR2(30)
OBJECT_NAME VARCHAR2(30)
SUBOBJECT_NAME VARCHAR2(30)
OBJECT_ID NUMBER
DATA_OBJECT_ID NUMBER
OBJECT_TYPE VARCHAR2(19)
CREATED DATE
LAST_DDL_TIME DATE
TIMESTAMP VARCHAR2(19)
STATUS VARCHAR2(7)
TEMPORARY VARCHAR2(1)
GENERATED VARCHAR2(1)
SECONDARY VARCHAR2(1)
SQL>M.S.Taj -
How can recover the dropped table on oracle 9i and 10g ?
This is the scnario...
user dropped one table on his schema...
oracle 10g DB
flashback not enabled so no flashback drop possible
but any way to recover it from recyclebin on 10g ? becuase this is not sysdba table ...if yes how about on 9i...if yes then will there be any limit on recycle bin like space pressure ??
Scnario 2:
we have two online redo log group with 2 member each..
my currnet online redolog group currupted (including members)...we need the data's of that currnet group so we should'nt use the clear log command
how to recover it ?
Do we need to go for any block level revcovery ?
thanks
Moorthy
Edited by: user13014926 on Jan 18, 2011 6:55 AMIf you have no backup your only option is to perform incomplete recovery (point-in-time recovery) to the time just before the drop, export the table and then restore the database (for example, from a cold backup taken just before the incomplete recovery,) and import the table. This obviously requires a full backup
taken before the drop which you don't seem to have, so the answer is "regrettably no."
If you have a backup;
Take backup of ur current db, apply previous day backup, do point in time recovery to get table back,export table, shutdown and apply latest backup, import table back
Regards, -
Table is been dropped and i want o recover it.
Database is running in archive log mode and i had valid full database rman backup too.
flashback is disabled.
database version -10g
Please let me know the steps i can follow to recover the dropped table.Hello,
If your RECYCLEBIN is activated you may Flashback Drop your Table.
So you may check your RECYCLEBIN by using the following query:
select object_name, original_name from user_recyclebin;If you can see your Table (original_name) so you may execute the statement below:
flashback table <table_name> to before drop;Else, you'll need a Backup or a dump to restore your Table.
For instance, by duplicating your database elsewhere and get back the Table by DataPump (expdp/impdp).
Hope this help.
Best regards,
Jean-Valentin
Edited by: Lubiez Jean-Valentin on Feb 3, 2010 10:13 PM -
How to recover datafile.when control file auto backup is off
hi friend
i took hot backup of my database using following command
rman>backup database;
in my case controlfile auto backup is off.
and i have lost my all controlfiles as well as datafiles except spfile.
i have recovered control file using dbms_backup_restore package.
know i am able to mount database using following command
rman> startup mount;
when i wrote following command
rman> restore database;
i got following error
RMAN-06023: no backup or copy of datafile name found to restore
enven i have backup of datbase.
can anybody tell me how to recover datafiles in this case.
thanking you
sohailhi,
I think you might have a problem here as the error from RMAN is described in the following metalink note
Doc ID: Note:100565.1
You should change you backup script to be something like
rman {
backup database include current controlfile;
do you have any earlier backups of your database?
regards
Alan -
How to Recover RPD in 10g Urgent
Hi Gurus,
I was using my OBIEE 10g RPD and i created some columns and i click on Check Global consistence it work does not have any errors. Then when i click on Save button the RPD is not responding. I dont have any backup of the Code and today is the release. I am not sure how to recover it. Please help me its urgent.
Thanks a Lot
Regards
@liHi,
First of all you must Open a ticket with oracle Support and explore the options
You can use this note to fix it:
RECOVERING FROM A LOST DATAFILE IN A UNDO TABLESPACE [ID 1013221.6]
If you is Unable to Drop Undo tablespace Since Undo Segment is in Needs Recovery
You can Upload the following trace file while opening the ticket
SQL>Alter session set tracefile_identifier='corrupt';
SQL>Alter system dump undo header "<new of undo segment in recover status>";
Go to udump
ls -lrt *corrupt*
Upload this trace file
Also upload the alert log fileRegards,
Levi Pereira
Edited by: Levi Pereira on Nov 29, 2011 1:58 PM -
My Garageband project crashed, the file lost/damaged! How to recover it?
Guys,
I've been working my garageband project when suddenly the window was closed and the notification asked me to reopen, report or ignore it.
This is my second time my project crashed. The first time, I chose 'reopen', and my file reopen. All the midi datas still there, but the sample sounds were empty. So I had to put it one by one. What a job because I had more than 15 instruments there.
But those jobs was better then what I experienced today. After my project crashed, I chose 'ignore' with assumption I would open the last saved file. But it didn't. I really lost my file. The size for one GarageBand projects is about more than 1 MB. But my file after crashed is about 56 KB! So some solutions like 'right click' and 'show package content' didn't work at all because I worked with midi data, not live recording. I tried to find the script file at projectdata and compared it with my other projects, they have more bytes than my lost project file.
So, if you have a same problem like me, just choose 'reopen'. I hope it will save your midi data so you don't have to work it out from beginning (just like I have to do after write this post ... x) )
So guys, is there any idea how to recover my crashed file? I've sent a report to Apple and still waiting their answer.
Thanks a lot
AnditoReinstalling iTunes won't ever repair damaged libraries or find lost files.
Unlike nearly all Windows software double-clicking an iTunes Library file does not necessarily open the selected database. Rather, iTunes opens the last database it successfully opened, or if that was in the "normal" <User's Music>\iTunes location, but is missing, it will create a new empty library.
You can open an alternate library file, or create a new one, by holding down shift as you start iTunes. Although you can open the library files in the Previous iTunes Libraries folder this way, your library will perform better if you restore the archived library database to the main iTunes folder in the way that I have described.
Your most recent library may be present in the main iTunes folder as a .tmp file, or recoverable via a file undelete tool, however either of these files, if found, may be partially corrupt getting you no further forward.
The two most recent releases of iTunes were June 11th and March 28th 2012..
Yes I read your post, but I don't know if you know all of the above. If you had a full backup of your library you could just restore that. It is possible that what you've tried so far hasn't yet brought back the most complete version of your library that is available to you. As a last resort you will have to work with what you have and add in whatever media is not in that version of your library, accepting the loss of recently added ratings, playlists & play counts.
You can simply add the entire iTunes Media folder using File > Add Folder to Library folder which should ignore everything already in the library and only add new (to that database) stuff. If there is any chance that your iTunes media folder contains .m3u playlist files the import process will also import all of those, which may not be what you want. iTunes Folder Watch would then present a better approach.
tt2 -
How to recover to keep tablespaces working after datafile deleted on OS
hi,
given situation like this :
1. OS HPUX 11i
2. Oracle 9.2 or 10g
3. tablespace AAA have a datafile AAA.dbf
4. AAA.dbf has been deleted by a guy on OS by accident
5. it's a production database , i have other copy of product running elsewhere
6. we can forget about the data on this tablespace , just wanna make sure new data will still be inserted
I know there is a magic way involving file descritpor to recovery the file on OS if it was still opened by the process
seems it only works on linux or solaris , since HPUX don't have /proc
here is what i had done ,
1. offline drop the tablespace
2. export tablespace AAA from other DB without data but everything else
3. import them into DB without AAA now
only problem seems application couldn't insert into the tables ,Object priveledge not granted
i'd checked the export file , those object grant SQL are right there , i just don't know why import hasn't worked
so my question is
if it were you ,
1.do you have any better idea of how to recover
2.if you any dirty and fast way of recovery File on HP box , appreciate that too
3.can you image why import doesn't seems getting priveledge imported ? my DB version 9.2.0.4
many thanks
br/rickythanks , aman ,lenord and you all
looks like i'm the sinful :)
to clear it up ... it's not me who did it , one of our guys , same thing ,hum ~~
he deleted the backup , cause it's full and auto backup is not ongoing , and he's trying to make things right
he deleted the datafile , cause i told him to rename the file to another space , coz vgdb is full , screw up that too ..
yeah , it'a real production database ~~ , so ,if anybody learn somethings on this , credit on me , :)
the version is 9.2.0.4 , but gonna move to 10g soonor or later , so put it there , to see if in 10g , we can do better ..
tablespace created like five years ago , so , apply all archive since would be crazy ~
this database have 500 Tablespaces , and thoudsands of tables , and the one lost is a important one ,
but data in it , we can bear loss
what i do , is offline drop the tablespace , and import the tablespace without data from other production DB ...
only it didn't work out so well with object grant , and application still not inserting ...
why i post it here , is i wanna learn better ways in this kind of situations ...
i thought my way is not good enough
anway , i'll look at all your suggestions
thanks
br/ricky
Edited by: zs_hzh on Sep 15, 2008 10:12 PM -
How to recover a perged table?----
How to recover a perged table?----No.139
For some reason I thought I saw dropped the first time through the thread. Flashback table is only used to restore dropped tables from the recycling bin.
-
WHAT IF I DELETE THE SYSTEM06.DBF FILE FROM DATABASE /U01/DB/apps_<sid>/ system06.dbf and how to recover it in apps
Hi,
First of all you must Open a ticket with oracle Support and explore the options
You can use this note to fix it:
RECOVERING FROM A LOST DATAFILE IN A UNDO TABLESPACE [ID 1013221.6]
If you is Unable to Drop Undo tablespace Since Undo Segment is in Needs Recovery
You can Upload the following trace file while opening the ticket
SQL>Alter session set tracefile_identifier='corrupt';
SQL>Alter system dump undo header "<new of undo segment in recover status>";
Go to udump
ls -lrt *corrupt*
Upload this trace file
Also upload the alert log fileRegards,
Levi Pereira
Edited by: Levi Pereira on Nov 29, 2011 1:58 PM -
How to recover archived data in BW system ?
Dear Friends,
We are working on BW 3.1 system.
Please let us know how to recover archived data in BW system ?Hi Sanjay Singh,
You have 2 options,
1) Either you can reload it through info package,
once you create the archiving object on any cube by defaulty the info package maintain the one option
Load from archive data( There select with which archived file you required).
2) Create infostructure,
create the datasource and reload it to infocube
i will give clear description by tomorrow
Regards
Prakash. Vadala -
I am missing a few songs dffrom Itunes. I may have missed while transfering from another PC. Any tips on how to recover, if any chance of that to happen?
Thanks.Trying to diagnose something like this third hand probably isn't very effective. But when you open Terminal you are "in" your home directory. If you then issue this command:
cd Desktop
and hit return you will then be "in" your Desktop folder. If you then issue the list command:
ls -al
you will get a list of all the files and folders that are in the Desktop folder. If he sees everything, then the stuff is there. He could try creating a new folder in his home folder, call it something like fromDesktop, and then issue this command (this assumes he is still "in" the Desktop folder):
mv * ~/fromDesktop
This will move everything from the Desktop folder into the fromDesktop folder. A list command will verify things:
ls -al ~/fromDesktop
If all his stuff is listed, but he still can't see it in its new location using the Finder, then it could be that somehow the invisible bit got set.
And for Finder's sake, tell him to stop saving all that stuff to the Desktop! Put stuff in folders in his home folder. I've seen cases where excessive numbers of files dropped on the Desktop brought the Finder to its knees for many hours. Every single thing on the Desktop is treated as a window by the Finder, and having a ton of stuff there is needlessly slowing things down. And he should be backing up every night, not every couple of weeks. There are many programs available that will do this automatically. If he is in business he should be using one. Not to mention burning separate CDs of things for every client.
Francine
Francine
Schwieder -
How to recover in the Scrip the data associated with %TOSELECTION%
In the ADVANCE of the logic package I have written the following PROMPT:
PROMPT(COPYMOVEINPUT,%SELECTION%,%TOSELECTION%,"Select the members to COPY and where to","%CATEGORY_DIM%,%TIME_DIM%")
What I would like to know is how to recover the data associated with %TOSELECTION% in the Script.
The script code is the following:
*XDIM_MEMBERSET FLOW=F99P
*XDIM_MEMBERSET GROUPS=NON_GROUP
*XDIM_MEMBERSET RPTCURRENCY=LC, EUR
*XDIM_MEMBERSET C_DATASRC=INPUT
*WHEN C_ACCT.ACCTYPE
*IS INC,LEQ
*REC(FACTOR=-1,C_CATEGORY=????,TIME=????)
*IS AST
*REC(FACTOR=1,C_CATEGORY=????,TIME=????)
*ENDWHEN
*COMMIT
I must copy both category and time, with the selection of values brought by %TOSELECTION%, but I´m not sure how to recover this data.
I've read other post
the problem there is similar but no solution is provided
Could you help me??
Thanks in advance.
Almudenahello
have a look here, I think it could help you
In what variables are stored COPYMOVEINPUT prompt members ? -
Table Truncated, Flashback is enabled ... How to recover.
Hi,
There is a table which was truncated, as we have flashback enabled. Even we have previously enabled row movement of the particular table.
How to recover ????
Thanks.hi,
There are three options available:
1. Restore and recover the primary database to a point in time before the drop.
This is an extreme measure for one table as the entire database goes back in
time.
2. Restore and recover the tablespace to a point in time before the drop.
This is a better option, but again, it takes the entire tablespace back in time.
3. Restore and recover a subset of the database as a DUMMY database to export
the table data and import it into the primary database. This is the best option
as only the dropped table goes back in time to before the drop.
For the first, see information on performing incomplete recovery on a database.
The second and third options are virtually the same, it depends if the entire
tablespace data should be taken back in time, or just recovering the one table.
The tablespace point in time recovery (TSPITR) may be useful if there are
dependencies between the dropped/truncated table and other tables in the
database. For the second option, see RMAN documentation on TSPITR and/or Note 180436.1 RMAN Tablespace Point in Time Recovery Example. Both procedures
for the second and third options are very much the same. The differences are
that the TABLE PITR has to be exported/imported manually while the TABLESPACE
PITR is fully automated by RMAN.
This article will deal with the third option.
General overview of procedure to recover from a DROP or TRUNCATE table by using RMAN.
To recover from a dropped or truncated table, a dummy database (copy of primary)
will be restored and recovered to point in time so the table can be exported.
Once the table export is complete, the table can be imported into the primary
database. This dummy database can be a subset of the primary database. However,
the 'dummy' database must include the SYSTEM, UNDO (or ROLLBACK), and the
tablespace(s) where the dropped/truncated table resides.
The simpliest method to create this 'dummy' database is to use the RMAN
duplicate command. See:Note 228257.1 RMAN Duplicate Database in Oracle9iNote 73912.1 RMAN Creating a Duplicate Database -- Oracle8i
The difference between the two versions is that Oracle9i duplicate command
allows for a 'SKIP TABLESPACE' option. Thus Oracle9i allows for a duplication
of a subset of the database.
In Oracle8i, you cannot 'skip' tablespaces when using duplicate, so you must
duplicate the entire database. If this is not a desired option, or you must
restore the original database and thus cannot use
the rman DUPLICATE.
NOTE: The remainder of this information is for users who cannot use the
DUPLICATE command in Oracle8i. I.e., you want to restore only a subset
of the Oracle8i database.
Requirements :
a) RMAN backup of the primary database should be available to the
host where it has to be restored on.
b) Use of an RMAN-catalog database
c) Auxiliary instance created and started in NOMOUNT
(See Note 180436.1 step I. Create the auxiliary initSID.ora.)
Create this from the init.ora of the primary database and:
!!!!! IMPORTANT !!!!!!!!
If using the same host as the primary, be VERY careful as you do not want to
restore on top of existing files being used by the primary (production database).
Doing so can corrupt and crash the production database!!!!!!
- be sure all paths for this AUX instance are different than primary.
- be sure CONTROL_FILES parameter has different location but more importantly DIFFERENT NAME.
- add LOCK_NAME_SPACE to any value other than the primary database name.
- change/add SERVICE_NAME=AUX1.
- use the SAME DB_NAME as for the production database
- BE SURE you include the 'alter database rename file' command at the end
of the script. This changes the location and/or name of the online
redo log files.
d) Set ORACLE_HOME and ORACLE_SID set to the auxiliary instance
e.q set ORACLE_SID=AUX1
set ORACLE_HOME=<....>
!!!!! IMPORTANT !!!!!!!!
1: Restore and recover the tablespace
The restore and recovery is done by RMAN. Create a file
of the script below (e.q table_pitr.cmd) and execute the following
command :
$ rman cmdfile=table_pitr.cmd
NOTE: ORACLE_HOME and ORACLE_SID set to the auxiliary instance
NOTE: The Auxiliary instance IS the target to rman at this point.
The RMAN-script :
connect catalog rman/rman@v920_nlsu31
connect target /
run
allocate channel t1 type sbt_tape
parms='SBT_LIBRARY=/home/usupport/liblsm.so';
set until time "to_date( '09-10-2005 06:00', 'DD-MM-RRRR HH24:MI')";
restore controlfile;
sql "alter database mount clone database";
set newname for datafile 1 to '/fs01/oradata/tspitr/system01.dbf';
set newname for datafile 2 to '/fs01/oradata/tspitr/undotbs01.dbf';
set newname for datafile 4 to '/fs01/oradata/tspitr/tools01.dbf';
restore tablespace system, undotbs1, tools;
switch datafile all;
sql "alter database datafile 1,2,4 online";
recover database skip forever tablespace TEMP,INDX,USERS,OLTS_ATTRSTORE,
OLTS_CT_DN,OLTS_CT_CN, OLTS_CT_OBJCL,OLTS_CT_STORE,OLTS_DEFAULT,
OLTS_TEMP,OLTS_IND_ATTRSTORE,
OLTS_IND_CT_DN,OLTS_IND_CT_CN,
OLTS_IND_CT_OBJCL,OLTS_IND_CT_STORE,
P1TS_ATTRSTORE,P1TS_IND_STORE;
sql "alter database rename file ''/fs01/oradata/primary/REDO01.LOG'' to ''/fs01/oradata/tspitr/REDO01.LOG''";
sql "alter database rename file ''/fs01/oradata/primary/REDO02.LOG'' to ''/fs01/oradata/tspitr/REDO02.LOG''";
sql "alter database rename file ''/fs01/oradata/primary/REDO03.LOG'' to ''/fs01/oradata/tspitr/REDO03.LOG''";
/* NOTE: Syntax within rman is two single quotes around each name, this may be operating system specific. */
release channel t1;
Explanation :
- Tape channel allocated, but could also be a disk channel, depending
on where the backups are.
- SET UNTIL TIME
User specified time, just before the DROP/TRUNACTE table
- MOUNT CLONE DATABASE.
This forces all datafiles to be put OFFLINE. Just for safety reasons.
- SET NEWNAME
New path for the datafile to be restored. Keep in mind that this is
done on the auxiliary instance and should NOT interfere/overwrite the
prodution database.
- ALTER DATABASE RENAME FILE
This is required to change the location of the online log files. When the
'resetlogs' is issued, Oracle will create online logs based on specification
in the controlfile. This command changes the location and/or name. If
this is being performed on the SAME server, not issuing a rename will
cause Oracle to reset the production online log files. This will corrupt
and crash the production database!!!!!!
- RESTORE TABLESPACE ...;
Restore the tablespaces which need to be recoverd.
This includes always the SYSTEM, rollback/undo tablespace and
the tablespace(s)where the dropped/truncated table resides.
The SYSTEM tablespace is always included as it containts most / all of
the objects owned by SYS and SYSTEM. Some other tablespaces might be
included as well when they contain objects owned by SYS and SYSTEM.
SQL> select distinct tablespace_name
from dba_segments where owner in ('SYS', 'SYSTEM');
- SWITCH DATAFILE ALL;
Make the changes in the pathname (set by SET NEWNAME) active in the
controlfile.
- ALTER DATABASE DATAFILE ... ONLINE
Online the datafiles which are restored and have to be recovered.
- RECOVER DATABASE SKIP FOREVER TABLESPACE ......;
You need to specify the complete list of tablespaces which will not be
recovered. Else the recovery fails, that it cannot dentify/file the
tablespace datafile. The SKIP FOREVER clause causes RMAN to take the
datafiles offline using the DROP option. Only use skip forever when the
specified tablespaces will be dropped after opening the database. I.e.,
all tablespaces except the one which contains your data.
The recovery of RMAN, checks the datafileheaders, to get a starting point
for the recovery.
2: Open auxiliary database with RESETLOGS
$ sqlplus /
SQL> alter database open resetlogs;
This step should ALWAYS be executed outside RMAN via SQL*Plus. If the open
is executed in RMAN it may effect the primary database's entry in the RMAN
catalog. Backups will fail with messages like:
RMAN-20011 "target database incarnation is not current in recovery catalog"
3: Export the table
The database is recovered and open, so it can be used by export.
Example:
$ exp userid=system/<password> file=table.dmp
tables=(<owner>.<tablename>, ...) rows=Y
4: Import the export-dump
Import the data of the dropped table back into the primary/production database.
Example:
$ imp userid=system/<password> file=table.dmp ignore=Y
5: Remove this AUX/DUMMY database
Shutdown and remove all files associated with this database. It has satisfied
your purpose. I.e., to give you an export of this table. -
Due to reinstallation of mac 2nd partition is nt showing how to recover the partition and data
Due to reinstallation of mac 2nd partition is nt showing how to recover the partition and data
If you have no backup your only option is to perform incomplete recovery (point-in-time recovery) to the time just before the drop, export the table and then restore the database (for example, from a cold backup taken just before the incomplete recovery,) and import the table. This obviously requires a full backup
taken before the drop which you don't seem to have, so the answer is "regrettably no."
If you have a backup;
Take backup of ur current db, apply previous day backup, do point in time recovery to get table back,export table, shutdown and apply latest backup, import table back
Regards,
Maybe you are looking for
-
Column header in receiver mail adapter
Hi experts, I have a proxy to mail scenario in which I send a mail with a file attached. Is it possible to put column headers in the attachment, possibly without changing the mapping? I mean, working with module configuration in communication channel
-
Object Library Concept in Report ???
Hi Friends Is anybody aware of any concept in Report, similar to object library in forms. 1.Field's font, color, size etc. 2.Common Header and Footer information in many reports Sudhanshu
-
Fund managment exceeding the budgeted and committed items
Dear All, In my client place we implement the fund management. we create the department wise fund center and related committed items. For example for the Fund center Administration Expenses- Committed item is Advertising expenses. When ever i made
-
Default values for standard quote fields?
Hi all, Is it possible to pass a default value for the quote screen/document, to be more specific, the payment terms field? Can i use the BBP_DOC_CHANGE_BADI~BBP_QUOT_CHANGE? I have reviewed the signature but i can't find the payment term field... Ho
-
Dear All, We want to provide authorization of T-code VD01 to User, in this authorization user should create only Ship to Party code not Sold to Party. In the selection he can select(display) only Ship to Party. Please suggest how it can done. Regards