Unable to understand meaning of next_time in v$archived_log

hi all,
i am working with 10g standby databases. There are column names FIRST_CHANGE#, FIRST_TIME, NEXT_CHANGE#, NEXT_TIME in v$archived_log. I am unable to understand the exact meaning of these columns by reading the oracle document.
Can somebody explain me the meaning of these columns in v$archived_log.
Same columns are there in v$log_history also but i think there meanings are different as from columns in v$archived_log.
thanks in advance.

Hi,
See, when you referred to "v$archived_log", by the name it depends on the Online Redo Log. See, the columns
FIRST_CHANGE#, FIRST_TIME, NEXT_CHANGE#, NEXT_TIME reflects the changes happened with respect to online redolog, Suppose if the online redo log for first time archived then the respect to record will be appeared, in the "v$archived_log" with respect to details like which is first changed started or done in this particular log and time of it, Next change comes to like a link of next log which happened and respective time. By tracking this details itwill help ful for process to apply the necessary logs on data files at the time of recovery.
Coming to " v$log_history " -> its maintains the history of logs, with respect to SCN numbers, by this we can information which SCN will fall under which log files or existing in which logs. it will have lowest SCN and Highest SCN Numbers with respect to Sequnence number of Log
- Pavan Kumar N

Similar Messages

  • Unable to understand the usage of OAFM and OACORE run in OC4J in Release 12

    I have gather below details but still unable to understand that why two services are there in OC4J in Release 12. My questions are:
    [1] If OACORE is there and most of the components are based on Framework in Release 12 then what is the requirement of OAFM?
    [2] Is OAFM is only for mapviewer, ascontrol and "Oracle Transport Agent" if we use them?
    [3] Why there is seperate process for HTTP_Server as given below if OACORE is already there.
    I have gathered below details from various source but still unable to understand fully above three questions.
    * Oacore: This runs the OA Framework -based applications (Core Application Modules).
    * Forms: This runs the Forms-based applications (using Servlet Mode).
    * OAFM (Oracle Apps Fusion Middleware): This is responsible for running the web services , mapviewer, ascontrol (Oracle Transport Agent).
    [oratrain@ndaeasdb01 scripts]$ ./adopmnctl.sh status
    You are running adopmnctl.sh version 120.4
    Checking status of OPMN managed processes...
    Processes in Instance: TRAIN_ndaeasdb01.ndaeasdb01.xone.xansa.com
    ------------------------------------------------+---------
    ias-component | process-type | pid | status
    ------------------------------------------------+---------
    OC4J | oafm | 19974 | Alive
    OC4J | forms | 19888 | Alive
    OC4J | oacore | 19768 | Alive
    HTTP_Server | HTTP_Server | 19711 | Alive
    Web Entry Point Services          HTTP Server
    Web Application Services          OACORE OC4J
                        Forms OC4J
                        OAFM OC4J

    Let me chk the complete details on a R12 server. but for the time being, all I can say is that there are different HTTP services for the R12 Apps and the SOA suite components.
    Also your DBA might be a better person to answer and even some reading in the Oracle Process Manager Dev guide, Admin guide will help.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • In an inbuild example of can .. that CAN transmit periodic vi .. i am unable to understand how the extended and standard frame is set?

    In an inbuild example of can .. that CAN transmit  periodic vi .. i am unable to understand how the extended and standard frame is set?
    plz help me .. stuck up very badly
    thanks
    mahadev
    Solved!
    Go to Solution.

    I suggest this KB which explains usage of Ext IDs with NI-CAN
    http://digital.ni.com/public.nsf/allkb/2FA120A37EDBC51D86256854004FB0C7

  • Adobe Captivate video encountered an internal error (unable to understand category list).

    Using Captivate 6 (64bit) on Windows 7 machine. When I try to upload a demonstration video to YouTube I get the error: adobe captivate video encountered an internal error (unable to understand category list). Any ideas what would be causing this?

    I am indeed running version 6.0.1.240 here are the screen shots:

  • My I phone 5 hangs if I get miss call os 7.0.4? Unable to understand if it's a phone or hardware issue?

    My I phone 5 hangs if I get miss call os 7.0.4? Unable to understand if it's a phone or hardware issue?

    Hi Nad1985,
    Thanks for visiting Apple Support Communities.
    If your iPhone is unresponsive after missing calls, I recommend first restarting or resetting it:
    Restarting your device
    Press and hold the Sleep/Wake button for a few seconds until the red "slide to power off" slider appears, and then slide the slider.
    Press and hold the Sleep/Wake button until the Apple logo appears.
    Note: Reset your device only if you are unable to restart it.
    Resetting your device
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    You can find the full article with these steps here:
    iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/ht1430
    If you are still experiencing the same issue, I recommend resetting all settings next:
    Go to Settings > General > Reset, then choose Reset All Settings:  All your preferences and settings are reset.
    Reset iPhone settings
    http://help.apple.com/iphone/7/#/iph7a2a9399b
    If the issue persists, the last thing I recommend is backing up and restoring your iPhone:
    iOS: How to back up and restore your content
    http://support.apple.com/kb/HT1766
    iTunes: Restoring iOS software
    http://support.apple.com/kb/HT1414
    Best,
    Jeremy

  • Unable to understand about the NVL

    i want to know the space used by the following column , it may be possible that one of these column will bw null, for taht purpose i m using NVL , but i m unable to understand that where i will put null, to get the exact space
    i have three queries here , let me know which will give me correct result ,because all these three queries gives me different result
    select (
    nvl(sum(length(mis_skill_lookup)),0) +
    nvl(sum(length(mis_skill_selected)),0) +
    nvl(sum(length(mis_place_selected)),0) +
    nvl(sum(length(mis_agent_selected)),0) +
    nvl(sum(length(mis_dblookup_checkpoint)),0) +
    nvl(sum(length(mis_call_duration)),0) +
    nvl(sum(length(mis_survey_result)),0) +
    nvl(sum(length(mis_survey_id)),0)
         / 1024) / 1024 a
    from mis_data where mis_dblookup_checkpoint <> 0 and mis_call_duration <> 0;
    in the second and third query i have put nvl only in one column , just for an example, i will latter on put it into all the column
    select ((sum(length(mis_skill_lookup)) +
    sum(length(mis_skill_selected)) +
    sum(length(mis_place_selected)) +
    sum(length(mis_agent_selected)) +
    sum(length(mis_dblookup_checkpoint)) +
    sum(length(mis_call_duration)) +
    sum (length (nvl(mis_survey_result,0))) +
    sum(length(mis_survey_id))) / 1024) / 1024 a
    from mis_data where mis_dblookup_checkpoint <> 0 and mis_call_duration <> 0;
    select ((sum(length(mis_skill_lookup)) +
    sum(length(mis_skill_selected)) +
    sum(length(mis_place_selected)) +
    sum(length(mis_agent_selected)) +
    sum(length(mis_dblookup_checkpoint)) +
    sum(length(mis_call_duration)) +
    nvl(sum(nvl(length('||mis_survey_result||'),0)),0) +
    sum(length(mis_survey_id))) / 1024) / 1024 a
    from mis_data where mis_dblookup_checkpoint <> 0 and mis_call_duration <> 0;

    Hi,
    assuming all your columns have datatype varchar2 none
    of your select statements will give you a correct
    result. You will have to put NVL inside the SUM, so
    the statements are reading:
    sum ( length ( nvl ( <column_name>, 0 ) ) )
    then you will get the right result.
    Regards Markus ... btw: please change your username
    to something human readableThis will never give correct answer
    use
    sum ( nvl( length( <column_name> ),0 ) )
    eg:
    sql>select * from test;
    STR 

         --null here  
         ---null here

    sql>
    select sum(length(nvl(str,0))) sm1,sum(nvl(length(str),0)) sm2,nvl(sum(length(str)),0) sm3
    from test;
    SM1 SM2 SM3 
    4  2  2                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Siri is unable to understand my English.

    I am from India and using iphone 5S.
    Most of the time siri is unable to understand my English whether i set it to UK English or USA English.
    Thats why siri answer are baseless to my questions.
    So it's kind of useless to me. Any help regarding this issue?
    Thanks

    That's because the UK English and US English accents are very different to the Indian English accent.
    Until Siri is updated to understand the Indian English accent, you'll just have to practise speaking with an English accent, or an American accent.

  • Can't Stop packet from transmitting and unable to understand packet format

    I have used JPcap library for capturing the packet. But I can't block the packet from transmitting. How can I stop packet from reaching destination.
    Another problem is that int the Example given i get packet but unable to understand it is like this
    _.......d......(.........y... .......P......>I>...5..&....M..R.......6$.w......k._*
    _...........Y...............P...P............<..........D....!...zq...b....o... ._*
    _.^....d....w....Z.....T....".L..I.....&...?%..h.....9....8`#C'........).....(..._*
    [email protected] ...D.&.l..0.a....H....;..t@.#................_.....T_+*
    _...............(...r...$...`....v../..|H.......:.t.}.................E....}....._*
    +_.P....rL....l......\...................$.[..Q....?....G,......A....J..<d... ...._+*
    _...4.....3......7....U.....D...`.........p... .....k...8.......v#d...((..,......_*
    +_.........#...3.....[...>N...N...YL.........I.................T...;..........._.._+*
    _...l.........j.4.........u.`.........'.(.........2.T....d........j.......o.H...._*
    _.!...z.t....9......,............$....7.....K.............\.M ..B ......V........_*
    _.....X...*.........b...c...........n..QDV.. \.q4.c.....s......\..........y....._+*
    _.B.........z.........6.......N.........L...A...........Z......|.......w........L_*
    _...b.....x.W..\[email protected]... ......G..........d..........hb= X.9.. X.....0......._*
    _....*..A...7.....<F....6.......1~......,....i..&...b..L.......i.9...&..........._*
    _.#...#...........8C...........i....>t.K...........=..........$....u...........>._*
    bd0..u.i.n..wt\.?y......U.. X................ [email protected].;......7..+*
    +_..a....f;......:Y.Do.......o{.pX...d.....E}..Y...r....Q..O....x..DM..VC..>...)c._+*
    +_.pB..... $...............~....-.....h.......V.{.................8..........P..!._+*
    _............D.............,........ }...P............l....$...mw.IHw.>.|........_*
    H.....M..........+y9....<[email protected]......\...Dn..W......w...$v5O+*
    _.........<(...R....1`....P@..&...C...r........0......Y.........#...#...#....W..._*
    Can anyone help me?

    Actually, I am 4th year student of Computer Science field and I am doing project on Internet Control access but i can't get how to stop packet from reaching destinaton. Is there any other library avilable for this?

  • Unable to understand the concept of Indexing

    Hi,
    I searched for indexing.I only understood that it is used for performance tuning.Means a indexed query will run faster ,as compared to other query that is not indexed .But i did'nt understand how it is working .It seems i have known nothing about Oracle Index. Any idea?

    user12222356 wrote:
    Suppose i have a small table, with two or three columns, and a few data inserted into it. Then suppose i create an index on any column, what effect will be seen here ? Correlating with books index , we are intelligent enough to understand what we are searching for .we see related topic and go to that page.Note related topic.Even we did'nt find actual topic we try to find related topics.
    As for oracle tables,each columns have values, and storing info about each column will generate anther table(as i think).So two table now.So will both the tables now be queered?Such a small table can be compared with a book that has only half a page with text. You don't need any index for that book. It is faster simply to read the whole book (it is only half a page long!). In database terms this would be a full table scan (FTS).
    You need an index if the book is 100 pages thick. Usually most books will have several indexes. One at the start that tells you about the differnt chapters. And a glossary at the end, where you can look up certain keywords and you also get to know on wich page those keywords had been mentions.
    Lets say you have a book about animals in Africa.
    So when you search for a certain keyword you have two options. You keyword would be rhino.
    FTS (Full table scan)
    Either read the whole book from page 1 turning to page 2 and so on until you find the keyword. And if you find it you have to read on, because maybe the keyword is mentioned again at the very last page. You need to read the whole book.
    You will find some parts about white and some parts about black rhinos.
    Or
    Index access
    You go to the glossary and search for the rhino keyword there.
    Since the glossary is ordered you'll find it very fast. You will also know that you don't have to read the full glossary because it is sorted alphabetically. You then go to the page in the book (=ROWID of the table) where you find the keyword. If the glossary mentioned several pages, then you need go to all of the pages to get the full picture.
    it will even more efficient if you search for a keyword like "tiger". Since a tiger does not live in Africa you would need to read the whole book just to find out that there is no "tiger"-content inside. If you use the glossary then you can fast scan the two glossary pages to see that nothing about "tiger" inside.
    So an index is very efficient in telling you where to find something, but sometimes also in telling you what you will not find.
    Edited by: Sven W. on Jul 13, 2010 11:12 AM

  • Unable to understand InputStream.available() method, need some help

    dear friends,
    The following is my doubt. please kindly help me in this. this will help me a lot in understanding some consepts.
    Environment: i am using jdk1.4.1_01 on windowsxp.
    i am using IE6.0 to make requets.
    My requirement:
    what i am actually trying to do is i want to see the raw material
    send by the browser when we made a request to the server
    by the browser.basically i want to see the request line
    and headers as it is that is send by the browser to the server.
    so i thought to code a server that can print the request send
    by the browser as it is on the command window.
    i had taken two examples and i am running Server2.java (look at the bottom for this code)and i made a 25 requests to the server2 program
    which is running on port 8080 by the browser. here only once or twice in 25
    times i was able to see the requests send by the browser.i tried hard and
    found that InputStream.available() method is returning 0 even though the
    request is sucessfully send to the port 8080 that is to the server2 program
    which is listening to port 8080.
    so in this process of experimenting i took Server3.java(i am sending this file
    also as an attachment) which is using multithreading. in this also i did modification
    as i did in Server2.java. the thing is here i am able to succed. here
    InputStream.available method is returning the correct number of bytes
    that are arrived on the port and are available to the InputStream.here
    when ever i made a request from the browser to Server3.java i am able to
    see the raw data send by the browser without failure.
    i could not understand why InputStream.available() is returning 0
    often(not all the time) and why it is giving the desired result when i
    used it in Server3.java ?
    i looked into the documentation and it says " InputStream.available() Returns the number of bytes that can be read (or skipped over) from this input stream without blocking
    by the next caller of a method for this input stream."
    so the thing i could not understand is what is blocking the InputStream
    in the first case.if i could undrstand the internals of how this
    method is working it will help me a lot.if i could understand this i
    will know what is the right situations to use this method.
    Thanking You.
    /*Shows how to develop a simple network server
    Author : Team -J
    Version : 1.0 */
    import java.net.*;
    import java.io.*;
    class Server2{
    static public void main(String[] args)throws Exception{
         // create a new Server Socket
         try{
              ServerSocket ss = new ServerSocket(8080,1);     
         while(true){// set queue length to 1
              // wait for the connections
              Socket s = ss.accept();
              // get the output stream associated with socket
              // to write something to the socket
              PrintStream ps =new PrintStream( s.getOutputStream());
              InputStream is = s.getInputStream();
              ps.println("I am ready to provide xxx Service");
    int len=is.available();
              if(len !=0)
              byte b [] = new byte[len];
              int k =is.read(b,0,(len-1));
              for(int i =0;i<k;i++)
                   char c = (char)b;
                   System.out.print(c);
              // close the connection
              is.close();
              s.close();
         }catch(Exception e){}
    /*Shows how to develop a simple network server
    Author : Team -J
    Version : 1.0 */
    import java.net.*;
    import java.io.*;
    class Server3{
    static public void main(String[] args)throws Exception{
         // create a new Server Socket
         try{
              ServerSocket ss = new ServerSocket(8080,1);
              while(true){
                   // wait for the connections
                   Socket s = ss.accept();
                   ServerThread st = new ServerThread(s);
                   st.start();
         }catch(Exception e){}
    class ServerThread extends Thread{
    Socket s;
         public ServerThread(Socket s){
         this.s = s;
         public void run(){
              try{
              PrintStream ps =new PrintStream( s.getOutputStream());
              InputStream is = s.getInputStream();
              int len=is.available();
              ps.println("I am ready to provide xxx Service");
              if(len!=0)
              byte b [] = new byte[len];
              int k =is.read(b,0,(len-1));
              for(int i =0;i<k;i++)
                   char c = (char)b[i];
                   System.out.print(c);
              is.close();
              s.close();
              }catch(Exception e){}

    so the thing i could not understand is what is
    t is blocking the InputStream
    in the first case.Blocking means the thread goes to sleep waiting for more data to arrive. InputStream.available() shows how many bytes have already arrived, not how many remain to be sent.

  • Understanding meaning of a query's explain plan

    Hi,
    I have a simple query but its query plan is looking difficult for me to understand. Can someone help me explain step by step what happens inthe query. I mean "first step table emp is full scan , than next step is another table's scan..." etc - in that way. I can't make out and need help to understand.
    SQL> explain plan for
      2  SELECT ename,dname ,grade
      3  from n1.salgrade salgrade ,n1.emp emp,n1.dept dept
      4  where emp.deptno=dept.deptno and
      5  emp.sal between salgrade.losal and salgrade.hisal;
    SQL> select plan_table_output from table(dbms_xplan.display());
    Plan hash value: 4131418678
    | Id  | Operation             | Name     | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT      |          |     1 |    36 |    12  (25)| 00:00:01 |
    |*  1 |  HASH JOIN            |          |     1 |    36 |    12  (25)| 00:00:01 |
    |   2 |   MERGE JOIN          |          |     1 |    23 |     8  (25)| 00:00:01 |
    |   3 |    SORT JOIN          |          |     5 |    50 |     4  (25)| 00:00:01 |
    |   4 |     TABLE ACCESS FULL | SALGRADE |     5 |    50 |     3   (0)| 00:00:01 |
    |*  5 |    FILTER             |          |       |       |            |          |
    |*  6 |     SORT JOIN         |          |    14 |   182 |     4  (25)| 00:00:01 |
    |   7 |      TABLE ACCESS FULL| EMP      |    14 |   182 |     3   (0)| 00:00:01 |
    |   8 |   TABLE ACCESS FULL   | DEPT     |     4 |    52 |     3   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - access("EMP"."DEPTNO"="DEPT"."DEPTNO")
       5 - filter("EMP"."SAL"<="SALGRADE"."HISAL")
       6 - access("EMP"."SAL">="SALGRADE"."LOSAL")
           filter("EMP"."SAL">="SALGRADE"."LOSAL")for example my question is why there is SORT JOIN on step no 6? does it mean that rows obtained from step 7 are sorted? than what is done during the step of FILTER?why there are so many joins. Basically I am not good in this area so need help.
    Thanks
    Edited by: orausern on Sep 23, 2010 11:58 AM

    The operations are performed in the following order: 4, 3, 7, 6, 5, 2, 8, 1, 0. The Merge Join operation in Node 2 consumes the SALGRADE and EMP records produced by Node 3 and Node 5 respectively. Node 3 and Node 5 are therefore visited repeatedly during the Merge Join operation. Whenever Node 3 produces a SALGRADE record, Node 5 tries to produce matching EMP records. Node 6 produces EMP records that satisfy the condition EMP.SAL >= SALGRADE.LOSAL. Node 5 then checks if the EMP records produced by Node 6 satisfy the additional condition EMP.SAL <= SALGRADE.HISAL before releasing them. All the results of the Merge Join operation are stored in a hash table in memory. Once the construction of the hash table is fully complete, the DEPT table is scanned and each DEPT record is checked using the hash table.
    Iggy

  • Unable to understand the concept of Primary Key in EJB

    hi,
    please help me in understanding the concept of Primary Key.
    For each and every entity bean represents a data base row. i think it is correct. if multiple users are accessing the same data base row, there will be different primary key for each and every client. is it correct or not. can we say this as "concurrency"?. if all the clients are manipulating the bean, who manages it either application server or data base server?. why does we must implement both hashCode() and equals() methods?. Provide me the links where i can find the answers.

    if multiple users are
    accessing the same data base row, there will be
    different primary key for each and every client.This is incorrect: the PrimaryKey is the unique identifier for each database row. It has nothing to do with users. In order for CMP to work, the container must be able to operate with a single row in the database and be able to distinquish between them.
    If your CMP->database table already has one column that's unique, then you declare that CMP field to be <primary-key-field>. If you have more than one column that makes a row unique, you must make your own primary key object. The way the container can tell the difference between these primary key objects is to compare them, therefore the hashCode and equals methods.
    Provide me the links where i can find the
    answers.This is all discusssed in the J2EE Tutorial.

  • Unable to understand EJB exception

    Hi All,
    I have successfully developed and deployed an EJB using WSAD 5.1.2's WebSphere 5.0 Test Environment. I have even able to access the EJB using UTC(Universal Test Client) in WSAD and by launching the j2ee client module using WebSphere lauchClient program.
    I have now exposed this ejb as web service using AXIS 1.2 RC2 deployed as web module inside WSAD. This web service is properly exposed as web service as I can see it and access its wsdl when I access axis web services.
    Now I have written a standalone-outside-wsad web service client that uses AXIS stubs and when I try to consume to this ejb web service I am getting below error.
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace: java.lang.ClassCastException: Unable to load class: com.ram.test.interfaces._DemoHome_Stub
    at com.ibm.rmi.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:386)
    at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:156)
    at org.apache.axis.providers.java.EJBProvider.createRemoteEJB(EJBProvider.java:168)
    at org.apache.axis.providers.java.EJBProvider.makeNewServiceObject(EJBProvider.java:147)
    at org.apache.axis.providers.java.JavaProvider.getNewServiceObject(JavaProvider.java:258)
    at org.apache.axis.providers.java.JavaProvider.getServiceObject(JavaProvider.java:138)
    at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:310)
    Can anyone please tell me why is error occurring and how to solve it ?
    Thanks & Regards,
    Kumar.

    It is a web service client that uses axis stubs to commnunicate to the remote web service that exposes ejb ... why do I need to package the ejb interfaces with my web service client. the flow is
    outisde-wsad-web-service-client --> inside-wsad-axis-web-module --> inside-wsad-ejb-module

  • HT6114 since updating my mac to 10.9.2, my system preferences page comes up with an empty page in front of "internet accounts" page and I am unable to understand the problem? Any support would be appreciated.

    Since updating my Mac to OS X 10.9.2,  my "system preferences" app appears with a blank page in front of "interent accounts". Any support would help as I cannot see/find resolution to this issue.

    Strangely enough the pref file did not show up in the Preferences folder.  I don't know what this means but it could be signifigant.

  • Unable to understand adobe scout report

    Can anyone help me out how to understand the adobe scout report? How to find out issue if exist in ?

    Thanks for the link Micheal.
    I had read that and able to understand the report of different section. OK I explain you teh actual scenario that what I am doing and where I am lacking.
    → We are doing the conversion of an existing web application (Flash-AS2) for mobile device (Adobe air).
    → We have creadted an app (adobe air) in which diferenet flash content (adobe air) runs on devices.
    → As the flash content which has been converted from AS2 to adobe air have the same graphics & audios that it originally have. So that we can't do anything in that.
    → Now from app point of view we just want to test.
    So please provide some suggestions regarding that.

Maybe you are looking for