issue of database creation time

BANNER
--------------------------------------------------------------------------------
Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production
PL/SQL Release 11.1.0.7.0 - Production
CORE Production 11.1.0.7.0
AMT for Solaris: 11.1.0.7.0 - Production Version
NLSRTL Version 11.1.0.7.0 - Production

I think this would be a specific query about the creation of db real time after refresh

Select RESETLOGS_TIME, PRIOR_RESETLOGS_TIME, v status $ database_incarnation
When status = "CURRENT";
Also, I've seen a database in which v$ database.created < v$ database_incarnation.resetlogs_time.
What I did for this database was that

(a) update from the production
(b) renamed the database using nest
and I noticed the above. No idea why in this case the control file create time is less than the resetlogs_time

Thank you
MSK

If you have restored only a control file to restore a database THAT RMAN has no reason to change the database creation time because it assumes that you just want to restore the same database on the same site or to move it to another location (but it's always the same database). Using RMAN DUPLICATE is different.

Tags: Database

Similar Questions

  • recover database until time - do not recover as expected

    Hello

    We have an Oracle 9i db (9208) running on AIX.

    We had a problem and allowed to restore all dbf files and control of the backup of the night on the server by replacing the currently damaged system.

    Once this is done, we opened then the DB in order to check some things.

    Once done we then closed and mounted and issued the «recover database until time...» "command.

    Logs archiving we need are in the location default archive. They cover the period just before the files restored until the moment that we need the DB found.

    However, when you run the recover log alerts just shows

    «ALTER DATABASE RECOVER database until time ' 2010-08 - 11:16:30:00'»»
    Mon Aug 16 14:33:57 2010
    Start of recovery Media
    Recovery media not required.

    Can someone tell us why the recover command is not the files of newspapers in the Archives until we are specifying. It doesn't look like its even looking at them.

    The command runs in less than a second.

    Is it because we opened the DB between the restoration and the recovery so his already written a journal of latest checking in the file, so the PB think its already up to date?

    Since you opened the database and media recovery finished, he will get no more. Is why he mentions "Media Recovery is not necessary. If you want to start the recovery media up to the hour, and then start a new restoration and then recover.

    Concerning

  • Data date store creation time?

    Hello. It is possible to know a store of date data creation time?

    Thank you in advance!

    As I know the data store object has no property of creation date.

    But you can use the events, condition you keep these quite a long time.

    This simple script will show you the datastorename and the date of its creation.

    Get-VIEvent -Start (Get-Date).AddMonths(-2) -MaxSamples 99999 | ` where{$_.GetType().Name -eq "VMFSDatastoreCreatedEvent"} | ` Select @{N="Name";E={$_.Datastore.Name}},CreatedTime,UserName
    

    You can play with the Start parameter to change the time to go back.

    The MaxSamples parameter must be filled by a large number, otherwise he may not get all the events for the interval. This of course depends on the activity in your vSphere environment.

  • I switch to Chrome because of problems with default printer. When can I expect this issue for a long time or my switch will be permanent?

    Whenever I change a print setting, firefox that shows the default setting. For example, I want to print a document in landscape, and now all my documents print in landscape unless I have reset firefox or I might want to print only once another printer, but now, this printer is enabled in my default printer. It is a huge pain and I got tired to reset firefox several times a day.

    I love everything about firefox, but this issue me leave.

    Please solve this problem which is the infestation of users of firefox for years! And let me know when you do.

    Thank you!

    By default, Firefox to save a setting like the new "default". You can change it to not save the settings by enabling / disabling this pref in Subject: config.

    by default Print.save_print_settings is true : double-click to switch to false.

    http://KB.mozillazine.org/about:config

  • Issue of database SQL-lite

    If I created a sql database - lite in my application and the database is created when the application starts, how I would write a condition statement to not recognize the creation of database code?

    Is there a better way to do what I'm trying to do here I saw more?

    Here's my code for creation of data base that I want to only be invoked if the database is not present and must be created:

                      try
            {
                URI myURI = URI.create("file:///SDCard/flash.db");
                d = DatabaseFactory.create(myURI);
                d.close();
            }
            catch(Exception e)
            {
    
            }
    
            try
            {
                URI myURI = URI.create("/SDCard/flash.db");
                d = DatabaseFactory.open(myURI);
                Statement st = d.createStatement("CREATE TABLE 'Restaurant' (  'Experience' TEXT, 'Date' TEXT)");
                st.prepare();
                st.execute();
                st.close();
                d.close();
            }
            catch(Exception e)
            {
    
            }
    

    You must use FileConnection, look at this code example.

            url="file:///SDCard/Databases/flash.db";
            if(f==ok)
            {
                try
                {
                    FileConnection fc=(FileConnection)Connector.open(url, Connector.READ_WRITE);
                    if(!fc.exists())
                    {
                        URI uri=URI.create("file:///SDCard/Databases/flash.db");
                        d=DatabaseFactory.create(uri);
                    }
                    else
                    {
                        Dialog.alert("File Exits! Proceed");
                    }
                    d.close();
                }catch(Exception e)
                {
                    System.out.println(e.getMessage());
                    e.printStackTrace();
                }
       }
    

    ------------------------------------------------------------------------------------
    Kudo press to say thank you to the developer.
    Also, press accept it as a button when you got the Solution.

  • database creation error

    Hi all

    I try my program but I get an error when the second line below runs. Stuck on this during a long time now. Any help will be appreciated. Thank you.

    String dbLocation = "/ device/home/user/MyApp /";
    Basis of data db = DatabaseFactory.openOrCreate (uri, new DatabaseSecurityOptions (false));

    After some research, found the underlying issue.

    The reason why it did not work for me is internal memory MEM (built in microsd card) is required for this approach to work and 9700 doesnot have everything.

  • A known issue in Database.count ()?

    Hello

    We have recently seen cases when the Database.count () method does not return the dumbest real of entries.

    Our code does the following:

    -call Database.count () on a particular database

    -iterate with a slider on all the items in the database and count

    -print regular % success


    The percentage exceeds 100% because it seems that there are more records in the database which has been reported

    We cannot reproduce the problem, but it has happened at least twice on a specific installation.

    The databases are large and have been living for a long time with sizes of used newspapers and probably several crash and recovery.

    Database.count () returns record in less than 56 million, but we believe that the database is about 100 million large documents, so the count is wrong by a significant margin.

    The version I is 5.0.86

    Is this a know problem? any idea that could help to diagnose and reproduce?

    Gilles

    Gilles

    There is no miracle to Database.count in the 5.0 basis following 5.0.86 source, but you probably already knew by looking at the change log.

    However, we have noticed is rare sporadic and not reproducible behavior as you describe. The implementation of Database.count has been completely replaced IC 6.1.2 and we have not seen since no problem.

    -mark

  • VMware Identity Manager™ 2.4.0.0 build 3035173 from internal database creation

    Hello

    I try to configure Identity manager 2.4 (VMware Identity Manager™ 2.4.0.0 Build 3035173)

    I'm stuck on the creation of the database, he told me that the field "organization" is empty and that these are invalid characters

    I saw a thread open on the same subject since September, but there was no follow-up to the top.

    Thanks in advance for the help.

    You happen to have a screenshot?

    Don't forget that you need to access Web Assistant using a FULL domain name. You can not only use the name of host or ip address... If you create db error will be...

  • Issue of globalization - Set time zone

    Hello

    Depending on the condition, I put globalization attribute value from the Local time zone to Yes. But now, every time a user connects it gets 'Set Time Zone' on the screen. When he clicks on it. the time zone is set to 0.00.

    If the user does not click, the local time zone browser is correctly retrieved.

    Question: Can I hide this hyperlink that comes after the connection?

    Thank you

    You must to_char date. For example, in a SELECT statement, I use:

    my_date to_char (FROM_TZ (CAST (date_column AS TIMESTAMP), "America/New_York") to the LOCAL, ' Dy month ddth aaaa hh24:mi:ss ")

    New York being the database time zone I tested it on. A list of other time zones that you can use, depending on where your database, can be found here:

    http://docs.Oracle.com/CD/B28359_01/server.111/b28298/applocaledata.htm#NLSPG0141

  • Database recover time

    Hi, I got an incomplete mode database because I had online redo logs, then asked me what time of information is open to the database.

    So, to answer, I think that this request of gives me this answer:

    Select file #, checkpoint_change #, to_char (checkpoint_time, "the HH24: MI: SS DD/MM/YYYY)
    v $ datafile_header
    order of file No.

    So I would like to know if it is correct, this query can really give me the time that opened the data in a database.

    Kind regards.

    >
    Salvation, but a question, I guess it's time I did resetlogs for me, but I need the hour that was inserted in the database that I opened to give my customers the latest information.
    >
    See if this query gives you what you want

    select controlfile_time, scn_to_timestamp(controlfile_change#) from v$database
    
  • 2 issues of database MYSQL &gt; frontend Null values and Compass how to

    Hi all

    I have a frontend created dreamweaver that extracts data from a MYSQL database and have met a couple of sticking points. The database has several tables for the variables and a central table by the user record type. I hope that I don't need to go into too much detail on who is where, when the and ' s hope I have most of the bases covered. Basically, I'm trying to extract data from the MYSQL tables and produce the following:

    (1) If a value = 0 (zero or Null) then the text "N/A" should display on the Web site. The complication with this is that a record is extracted from the main table that pulls the value of matching text from another table (for example, MAINTABLE_CARMAKEDATA = 1, CARMAKETABLE.ID = 1 so CARMAKE = "Ford"). Without entering a new value in the database as default value for example n/d = 4 (the main MYSQL field is an integer value that I use to call another array with the appropriate value), is there a way in Dreamweaver to ask 'IF VALUE = 0 or NONE then display ' N/a' (or any other text).

    (2) I have degrees in the database to show the direction of the wind. The best way would show the direction of the wind in a graphical format? I can't be too specific (for example 0-45 degrees shows an image of an arrow pointing to the Northeast, 0 degrees would be to the North, 180 degrees is South, etc...), but if a correct method exist all the better (as long as users do not have to download the plug ins - thinking it might be better to have 8 images for example N DO) (, E, SE, S, SW, W, NW). The database maintains an exact value, so I might need to say IF DEGREES = 0-45 and THEN see THE "N - ONLY .jpg '.

    I hope that these questions are easy to answer (and logical)?

    Looking forward to any guidance that can be given.

    PaladinDC

    This topic has been moved to the Dreamweaver application development forum, which addresses other issues aside and PHP/MySQL server.

    The answer to both your questions is the use of conditional logic in PHP.

    
    

    In the case of your compass points, you can create a PHP function like this:

    = 0 && $val < 30) || $val >= 330) {
        $dir = 'N';
      } elseif ($val >= 30 && $val < 60) {
        $dir = 'NE';
      } elseif ($val >= 60 && val < 120) {
         $dir = 'E';
      } elseif ($val >= 120 && val < 150) {
         $dir = 'SE';
      } elseif ($val >= 150 && val < 210) {
         $dir = 'S';
      } elseif ($val >= 210 && val < 240) {
         $dir = 'SW';
      } elseif ($val >= 240 && val < 300) {
         $dir = 'W';
      } elseif ($val >= 300 && val < 330) {
         $dir = 'NW';
      }
      echo '' . $dir .'';
    }
    ?>
    

    You can then display the image like this:

    
    
  • Several installation issues for the first time the user of 10gRelease2

    Despite the doc who said certification 10g Release 2 Windows XP Professional (> 1 MS), clusterware install fails with YES-1-8001 (error - must XP ver 5.0 or 5.2). My XP Prof Ver 5.1.2600 apparently is not compatible. Error Msg suggests the Service Pack upgrade.

    Tried to install Personal Edition, but has never seen the oppty to selection after downloading (clinet, gateways, clusterware) individual zip files into separate and then folders by running setup.exe from each folder. Don't know if I am running Personal Edition.

    It is my first time attempt to install Oracle dB. Seems that my client and gateway installation went well, but I do not have something straight to start SQLPLUS or my question clusterware is causing a problem.

    When you start SQLPLUS, entered by user name (e-mail), passwd, don't know what to enter for the chain. Leaving blank, a timeout exceeded. Do I need a login? SQLPLUS crashes if I try, and then click file.

    You have installed the companion stuff. Get rid of it.

    Install only the CD database.

  • Issue of update on time machine

    Hello

    When I finally install El Cape sierra do I need to do something with my backup external hard drive connected to my iMac tm.

    I was wondering what happens to older backups of cap el sierra OS X Copy on them or I have to wipe the drive clean when moving to a new OSX?

    Thank you

    After you upgrade to Sierra the first time, you can run TM will ask you if you want to inherit the backups. Yes.

  • Need help with simple database creation in number.

    I'm trying to create a simple database in number to capture the case IDs on my place of work. After you have entered a value in the worksheet 1 details must automatically added to sheet 2. Once the case details are entered and user click on the "submit" button (could not include in the screenshot), it should appear in the sheet 2. If number offers this feature, it would be very useful for me.

    Thanks to ddvance,

    Nanan

    Why don't you just enter values directly in the second table?  You could format C and D in the context Menu.

    SG

  • Issue of logging with time

    Hello

    I'm working on this project which is expected to connect the whenever data current x seconds has been reached that is defined by the data recorder area.  I would like the graphics and displays for update as often they like as just write to file when the time is up.  I'm rather new lab mode so I didn't know how to lift these separate operations.

    Thank you

    J.L.

    I can't look at your code right now, but a thought that occurs to me is a structure of the event inside the loop of data acquisition and set your timeout however often you want to write to the file.  Then place your file IO in case the timeout.  Someone will probably have a better idea...

    -Matt

Maybe you are looking for