List incarnation of database
DATABASE VERSION = 10.2.0.3
PLATFORM = AIX 3
Could some one please let me know the meaning of ORPHAN, which is visible when ever i give list incarnation command.
RMAN> list incarnation of database merlinp;
List of Database Incarnations
DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
1142887 1142888 MERLINP 3538586174 ORPHAN 1 06-APR-07.
every time my rman backup is failing with the errors as
RMAN-06004: ORACLE error from recovery catalog database: RMAN-20011: target database incarnation is not current in recovery catalog
Target database was not opened with resetlogs. See below
From TARGET DATABASE
SQL> select RESETLOGS_CHANGE#, RESETLOGS_TIME from v$database;
RESETLOGS_CHANGE# RESETLOGS
1 06-APR-07
From this we can see that Incarnation is already been registered in the catalog database.
Plz let me know why my backup's are failing by looking at the above information.
kumareshan
There two points
If 'reset database to incarnation <key>' was used to make an old incarnation current then restore the target database from a backup that matches the incarnation and mount it.You will need to do 'startup nomount' before you can restore the controlfile using RMAN Or use 'reset database to incarnation <key>' make the intended incarnation current in the recovery catalog.
Additionally you can see Doc ID: Note:48364.1.
Adith
Similar Messages
-
Oracle 9i RMAN list incarnation query empty?
Hello,
We have switched to a standby DB and now trying to backup that particular db on the same catalog database...
When we do a list incarnation on the standby DB the list is empty , why is that ?
RMAN> list incarnation;
RMAN>
Any ideas , thx
now we are getting this message ...
RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on ch1 channel at 12/07/2009 21:38:25
ORA-03113: end-of-file on communication channel
Edited by: jrmtl on Dec 7, 2009 7:08 PMWhen we try to register the database it says already registered?!?
RMAN> register database;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of register command on default channel at 12/07/2009
7
RMAN-20002: target database already registered in recovery catalog -
my database is oracle 8.1.7. i noticed that when i issue the list incarnation command, it does not show the time, only date. does anybody here know why?
RMAN> list incarnation;
RMAN-03022: compiling command: list
List of Database Incarnations
DB Key Inc Key DB Name DB ID CUR Reset SCN Reset Time
1234567 1234567 DENISE 1234567890 NO 123456 22-JUL-10
1234567 1234567 DENISE 1234567890 YES 123456 22-JUL-10
Edited by: oracleelcaro on 22-jul-2010 17:00SQL> select dbinc_key,db_key,db_name from RMAN.dbinc where db_name='PROD';
DBINC_KEY DB_KEY DB_NAME
875312 875311 PROD
SQL> select DBID, NAME, DBINC_KEY, RESETLOGS_CHANGE#, RESETLOGS_TIME
2 from rc_database_incarnation where dbid=2706003900;
DBID NAME DBINC_KEY RESETLOGS_CHANGE# RESETLOGS
2706003900 PROD 875312 1 07-FEB-07
2706003900 PROD2 9179422 6.2038E+12 24-MAY-09
SQL> alter session set nls_date_format = 'DD-MON-YYYY HH24:MI:SS' ;
Session altered.
SQL> select DBID, NAME, DBINC_KEY, RESETLOGS_CHANGE#, RESETLOGS_TIME
2 from rc_database_incarnation where dbid=2706003900;
DBID NAME DBINC_KEY RESETLOGS_CHANGE# RESETLOGS_TIME
2706003900 PROD 875312 1 07-FEB-2007 15:49:16
2706003900 PROD2 9179422 6.2038E+12 24-MAY-2009 22:25:13 -
Oracle 9i rman list incarnation command empty
Hello,
We have switched to a standby DB and now trying to backup that particular db on the same catalog database...
When we do a list incarnation on the standby DB the list is empty , why is that ?
RMAN> list incarnation;
RMAN>
Any ideas , thx
sorry for the double post in wrong section
now we are getting this message ...
RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on ch1 channel at 12/07/2009 21:38:25
ORA-03113: end-of-file on communication channel
Edited by: jrmtl on Dec 7, 2009 7:02 PMHi,
Can you try:
select * from V$DATABASE_INCARNATION;in sqlplus and post the output?
The ORA 3113 can have a lot of reasons for example instable network or no resources on the server.
Regards
Tycho -
Weird DBID, DBNAME in LIST INCARNATIONS COMMAND
Hi folks!
Sorry if this seems a silly question but I was wondering what could be responsible for the following list of incarnations of the target database in the recovery catalog
ddbmgr $ rman target / catalog rman/*******@rman
Recovery Manager: Release 10.2.0.2.0 - Production on Tue Feb 19 16:43:34 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: DEVE (DBID=2670823714)
connected to recovery catalog database
RMAN> list incarnation
2> ;
starting full resync of recovery catalog
full resync complete
List of Database Incarnations
DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
596841 596961 DEVE 2670823714 PARENT 4699260567 10-FEB-08
596841 597239 FUNC 2670823714 ORPHAN 4700385404 12-FEB-08
596841 596842 DEVE 2670823714 CURRENT 4700385404 12-FEB-08
RMAN>
my target database sid is 'DEVE'
and my recovery catalog is 'RMAN' what could be responsible for me getting a db_name of FUNC (which is incidentally the name of another database on our systems but is not the target I connected to)
I look forward to hearing pointers on how to investigate this issue.
Thank you in advance
J xxHi,
When you restored a controlfile from backup,it will list only copies or backup which were registered with this controlfeil,if you would like to catalog the backups in restored controlfile,you can use catalog command.
Thanks -
Model Number you have entered is not listed in our database. windows 7 upgrade
i have purchased a Compaq Presario cq61 on the 24/07/09 (uk date) it came with vista home premium and it is in the eligible list on the hp support site for the windows 7 upgrade, but when i enter my serial number and product number into the arvato site, it says "We are sorry, but the Model Number you have entered is not listed in our database. " i cannot see how this is possible as i meet the specifications to be able to upgrade to windows 7, what do i do?
Please see: http://www.hp.com/country/us/en/mda/windows7/upgrade/index_ww.html to select your correct country or region.
Carey Frisch
Microsoft MVP
Windows Expert - Consumer -
To list only user databases with the size for a instance in sql server 2005
Hi,
I looking for T-SQl to list only user databases with their size for a instance in sql server 2005Try this:
use [databasename]
go
if convert(varchar(20),SERVERPROPERTY('productversion')) like '8%'
SELECT [name], fileid, filename, [size]/128.0 AS 'Total Size in MB',
[size]/128.0 - CAST(FILEPROPERTY(name, 'SpaceUsed') AS int)/128.0 AS 'Available Space In MB',
CAST(FILEPROPERTY(name, 'SpaceUsed') AS int)/128.0 AS 'Used Space In MB',
(100-((([size]/128.0 - CAST(FILEPROPERTY(name, 'SpaceUsed') AS int)/128.0)/([size]/128.0))*100)) AS 'percentage Used'
,((CAST(FILEPROPERTY(name, 'SpaceUsed') AS int)/128.0)/([size]/128.0))*100 as 'percentage used'
FROM sysfiles
else
SELECT [name], file_id, physical_name, [size]/128.0 AS 'Total Size in MB',
[size]/128.0 - CAST(FILEPROPERTY(name, 'SpaceUsed') AS int)/128.0 AS 'Available Space In MB',
CAST(FILEPROPERTY(name, 'SpaceUsed') AS int)/128.0 AS 'Used Space In MB',
(100-((([size]/128.0 - CAST(FILEPROPERTY(name, 'SpaceUsed') AS int)/128.0)/([size]/128.0))*100)) AS 'percentage Used'
--,((CAST(FILEPROPERTY(name, 'SpaceUsed') AS int)/128.0)/([size]/128.0))*100 as 'percentage used'
FROM sys.database_files
go
Or can refer below link:
http://gallery.technet.microsoft.com/scriptcenter/All-Databases-Data-log-a36da95d
Please click the Mark as answer button and vote as helpful if this reply solves your problem -
Maxl/esscmd to get list of applications/databases that user has access to
Is there any maxl/esscmd to get the list of applications/databases that a user has access to?
I know that LISTGROUPUSERS 'groupName' -- this list all users of a group.
Can anyone help please?MaxL
display privilege user SomeUser; -
New incarnation of database and rc_database
Hello!
Have I correctly understood that after the registration of new incarnation of database in recovery catalog
I should see new row in rc_database ?
Thanks and regards,
PavelHello,
After you register your database with the catalog database, you can get the information of the registered database using the view "rc_database".
To query the incarnation details of the newly registered database, you can use the view "rc_database_incarnation".
Hope it helps !! If you feel that your questions have been answered, then please consider closing your questions by marking them as answered. Please keep the forum clean ! -
Cannot add new items to a value list in AW database
I have a database which I have been using for many years. One of the fields is a value list. I just went to add another item to the list, and no matter what I do, the Create button is grayed out. I have another value list in the same database that works fine.
There are currently 170 items in the value list that is causin the problem, but I didn't think that there was a limit to the number of items that can be is a value list. (At least there is nothing in the AW technical specifications to indicate thin. I duplicated the existing database, deleted about 20 items from the list, then saved the file, and reopened it, and still cannot add new items to that value list. Does anyone know what might be causing the problem?Oops
I read too fast.
Here is a short script which may help.
Replace the pop-up item by a text one and edit the property myList in my script to fit your needs.
Select the field to fill and run the script.
Then choose an item in the displaid list. It will be pasted in the selected field.
This trick would give you to work with a "no limit" list of items.
-- [SCRIPT DB fillFieldFromAlist ]
Assuming that
the front document is a database one
and that a text field is selected,
run the script to select an item in a list
and paste it in the field.
Yvan KOENIG, Vallauris (FRANCE)
le 19 mars 2007
property MyList : {"item 1", ¬
"item 2", ¬
"item 3", ¬
"item 4", ¬
"item 5", ¬
"item 6", ¬
"item 7", ¬
"item 8", ¬
(* edit the list to fit your needs *)
tell application "AppleWorks 6"
activate
tell document 1
set laClasse to (get class of selection)
if laClasse is not field then return (* the selection is not a field *)
set myItem to choose from list MyList
if myItem is false then return
set the clipboard to myItem's item 1
select menu item 7 of menu 3 (*
Tout sélectionner •• Select All *)
paste
end tell -- document 1
end tell -- AppleWorks
-- [/SCRIPT]
Yvan KOENIG (from FRANCE lundi 19 mars 2007 16:44:53) -
How to make/connect a SP_2010 List a Web Database
I have a MS Access front-end data entry database in a local network that is connected to a SP_2010 List that I use as backend.
> I build another front end (let call it Dashboard DB) to display this database data
> I then copy the SP List structure and data, make a Table and populated for my Dashboard DB, converted it to a Web Database, upload to SP_2010 to test, it works fine great SP/Access feature.
> Now I need to replace the Web Database table with the SP List? Or link it.
What I want to accomplish is to do data entry form a Local Network Client to a Web Database. How can I make my List the Web DB data source? I’ve seen that with SharePoint Designer you can make External Content Type, can this be done?
Before someone ask, the data entry cannot be converted to Web DB (too complex)
How can I make a SP_2010 List a data source (backend) for a MS Access database that has been upload to SP as Web Database?You can do that via SPD and BCS. Check out my article at
http://sharepointdragons.com/2012/02/13/creating-a-bcs-net-assembly-connector/
Kind regards,
Margriet Bruggeman
Lois & Clark IT Services
web site: http://www.loisandclark.eu
blog: http://www.sharepointdragons.com -
Apartment number not listed in Verizon Database
Hi, my apartment number is not listed in Verizon's database. Somehow, Verizon can provide Internet services to everyone else in my apartment building except mine because mine is not listed. My address is {edited for privacy}. Can you please help?
- JohnJust a friendly reminder, this is a forum where users help other users. It looks like your issue may require a Verizon representative. Please contact our customer service team via live chat or email at: http://www22.verizon.com/content/contactus/
-
Tables not listed in JDeveloper database connection..
Hi,
I am configuring a DBAdapter project in JDeveloper and the database is mssql server. I could connect to the DB but any of the schema objects are not displayed. I checked the permission for the user in the database and it seems fine and there is no filter . Infact, i can open a sql worksheet for the connected database session from JDeveloper and query tables from the schema. But for creating toplink files and creating the mapping between tables, JDeveloper needs the tables to be listed. But none of the schema objects are listed. Infact i tried with two drivers. One is MSSQL Driver 1.2 as well as JTDS 1.2.3 driver. For connections from both of the drivers, the schema objects are not listed. I dont know whether this is related to the permission for the dbuser to use database metadata or something to do with JDeveloper. Pls. help. I am using JDeveloper 10.1.3.4 and SQL Server 2005. Thanks in advance for your reply.
Thanks,
Kuppusamy.V.,Hi,
The problem is while connecting to SQLServer, the database name should not be specified in the URL as jdbc:sqlserver://devserver111:1433/databaseName=testdb. It should be jdbc:sqlserver://devserver111:1433; This will list the tables for the user used to connect. Spent around 2 days to find the solution. Hope this one will save someone else's time.
Rgds,
Kuppusamy.V., -
List Creation From Database Table
I have a form that has two data blocks based on database tables:
Block #1 = ORDER_LINE
Block #2 = ORDER_CODE
The ORDER_LINE block has an item in it that corresponds to an item in the ORDER_CODE block. I want to create a TLIST for this item in the ORDER_LINE block that populates the list from the values for the corresponding item in the ORDER_CODE block. I know that I can use the POPULATE_LIST built in and need a record group, etc, but I have not been able to make any of this work. Can anyone provide good instructions on how to do this? I find the On Line Help within Forms to be totally useless.
Thanks.976798 wrote:
--Hello..I want to ask that How to bind a list item with table values? this below code does not populate items from database to list item.Pls any body give me solution.
declare
group_id RecordGroup;
list_id Item:=Find_Item('LST_CLASS');
status number;
begin
group_id:=Create_Group_From_Query('Answer_List','select CLASS_ID,CLASS_NM from CLASS_MSTR');
status:=Populate_Group('Answer_List');
message(to_char(status));
Populate_List(list_id,group_id);
end;Welcome to the Oracle Forums. Please take a few minutes to review the following:
<ul>
<li>Oracle Forums FAQ
<li>Before posting on this forum please read
<li>10 Commandments for the OTN Forums Member
<li>How to ask questions the smart way
</ul>
Following these simple guidelines will ensure you have a positive experience in any forum; not just this one!
Check this link: How to Dynamically Populate a Pop List ?
Hope this helps
Hamid
If someone's response is helpful or correct, please mark it accordingly. -
Getting list of populated database tables only
Hi, recently started a new company and new to Oracle 10g. The database system they have has around 5000 tables. The majority of these are not used (it is an off the shelf package). What I am trying to do is get a list of all tables in the database BUT only those that contain records (not the empty tables) and then copy this to an excel spreadsheet. We use a tool called aquadata to run sql enquiry statements on.
You didn't understand that reply. You could just spool this into a file with a .csv extension, and then open the file with excel.
SQL> set head off
SQL> spool xyz.csv
SQL> select table_name from dba_tables where num_rows > 0;
SQL> exit
$ more xyz.csvEdit: And this is even easier: http://laurentschneider.com/wordpress/2007/05/export-to-excel.html
Edit 2: All answers you are likely to get around here assume you use the built in Oracle tool called sqlplus. Many people think using the built in command line tool is much better for administrative tasks than some other tool. If you must do it in some other tool, you should ask how to do it whereever that tool is supported.
Edit 3: You got an answer to the question you asked, but it could be your idea of "database" is what we call "schema" or "user." If you aren't logging in as a dba (which you shouldn't if you don't know the basic concepts, which you can and should read in the concepts guide), there is a similar table called "user_tables" in each schema, as well as one called "all_tables," which differs from user_table in that you may have been granted access to other user's tables. It may be in your tool, you could select table_name from user_tables where row_count > 0; and simply cut and paste that into excel. Or not. If you use dba_tables, you probably also want to select owner, table_name.
Edited by: jgarry on Feb 9, 2012 9:31 AM
Edited by: jgarry on Feb 9, 2012 9:38 AM
Edited by: jgarry on Feb 9, 2012 10:58 AM
Maybe you are looking for
-
Creation of delivery when sales order is saved in VA01
Hi All We got the requirement in such a way that we are creating sales order of type (ZOR -standard order ) . Configrration is donde in such a way that when the order is saved one dilvery will be created for that order of deilvery type ZLF .as this i
-
How to zoom out and view an entire track in the window
There's got to be a way to zoom out so an entire track can viewed at once so that segments of the track can be shifted around. I have a track that is about 50 minutes long with several segments in it. I want to shift the segments around. Right now I
-
Windows XP via BootCamp on MBA with CD
I have a licensed copy of Windows XP on a CD and I would like to install that on my MBA 11' Mid2013. Only problem is MBA's don't have a CD-Drive. How can I proceed to put Windows XP from this CD onto my MBA with BootCamp? Edit: Sorry for maybe postin
-
Premiere Elements 10: Pixellated Video ...
Got the video from my camera which was recorded at "Standard HQ" (Sony HD video camera). When I was done adding Titles and End Credits, streamed it out to my hard drive, and then copied to a DVD. I played the DVD and it was a bit pixellated -- straig
-
Can't install arch, boot problem?
I thought that I give Arch a go on my desktop computer after checking that everything works under linux (using ubuntu-live-cd). So I downloaded the 64bit netinstall .iso and burned it to a disc. And when I tried to boot the disc I came to a grub prom