How to disable REAL TIME QUERY in DG 11gr2 ?

Hi,
With 11gr2, by default, on STARTUP, the standby database is open
-> in READ ONLY mode
-> with Intended State: APPLY-ON
so the ACTIVE DATAGUARD option is in use ....
is there a way to deactivate REAL TIME QUERY permanently,
so whether on STARTUP or STARTUP MOUNT, the standby stay only mounted with Intended State: APPLY-ON
The only way i found is to do the following :
SQL> startup
DGMGRL> edit database 'PHNXENT' set state='APPLY-OFF';
then
SQL> startup mount
DGMGRL> edit database 'PHNXENT' set state='APPLY-ON';
but this can leads to mistake ....
Thanks

it is for standalone database (not RAC)
yes, users can start the database with mount option, but they have to keep in mind that they do not have to issue a "STARTUP",
so it is a production rule that oracle doesn't handle.
Second, it will give a little more complexity in startup scripts (first mount, identify the role, and then open if it is a primary.
In 10gr2 just startup in all cases ....
that's why i'd like to know if there is a possibility to permanently disable REAL TIME APPLY ...

Similar Messages

  • Active Dataguard switchover puts new standby in real time query

    Hi Gurus,
    If using Active Dataguard ,after swicthover/failover using dg broker and observer does sthe new standby will be put in real time query mode(ADG) or manually have to open the db in read only mode.
    Please let me know.
    Thanks

    Yes it does:
    [uhesse]$ dgmgrl sys/oracle@prima
    DGMGRL for Linux: Version 11.2.0.1.0 - Production
    Copyright (c) 2000, 2009, Oracle. All rights reserved.
    Welcome to DGMGRL, type "help" for information.
    Connected.
    DGMGRL> show configuration
    Configuration - myconf
      Protection Mode: MaxAvailability
      Databases:
        prima - Primary database
        logst - Logical standby database
        physt - Physical standby database
    Fast-Start Failover: DISABLED
    Configuration Status:
    SUCCESS
    DGMGRL> show database physt
    Database - physt
      Role:            PHYSICAL STANDBY
      Intended State:  APPLY-ON
      Transport Lag:   0 seconds
      Apply Lag:       0 seconds
      Real Time Query: ON
      Instance(s):
        physt
    Database Status:
    SUCCESS
    DGMGRL> switchover to physt;
    Performing switchover NOW, please wait...
    New primary database "physt" is opening...
    Operation requires shutdown of instance "prima" on database "prima"
    Shutting down instance "prima"...
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    Operation requires startup of instance "prima" on database "prima"
    Starting instance "prima"...
    ORACLE instance started.
    Database mounted.
    Database opened.
    Switchover succeeded, new primary is "physt"
    DGMGRL> show configuration
    Configuration - myconf
      Protection Mode: MaxAvailability
      Databases:
        physt - Primary database
        prima - Physical standby database
        logst - Logical standby database
    Fast-Start Failover: DISABLED
    Configuration Status:
    SUCCESS
    DGMGRL> show database prima
    Database - prima
      Role:            PHYSICAL STANDBY
      Intended State:  APPLY-ON
      Transport Lag:   0 seconds
      Apply Lag:       0 seconds
      Real Time Query: ON
      Instance(s):
        prima
    Database Status:
    SUCCESSKind regards
    Uwe Hesse
    http://uhesse.wordpress.com

  • How to use Real time execution trace toolkit with Dual-core processor??

    hi there
    the situation as follows:
    i have a computer (PC and Laptop) types with Dual-core processors, and am trying to do simulation using Multi-core technology and based on different simulation scenarios...starting from sequantial processing,.......Piple lining processing strategy. so that i can differentiate the time delay between those types of processing based on (Using 1 processor then dual-core processor Computers)
    my question is: As i read through Ni's white papers i saw many notes refer to Real-time execution trace toolkit to investigate the (processing-time , etc) of multi-core processors in processing diffenent algorithms. My algorithms are to be run on 1 computer with dual-core processor BUT, not in real time environments, that is ( No hardware to be connected to my pc) only algorithms running on my pc....
    So, is it possible to use Real time execution trace toolkit  or anyother tools in LabVIEW to show processing-delays and/or anyother timing critical issues without using my application for  real- time hardware.???
    in other words: how to use Real time execution trace toolkit  in non-hardware and/or real-time scenarios???
    please help me in this.
    Any suggestion, comments, feedback.....is absolutely highly appreciated
    thanks a lot in advance
    Labview Lover

    Hey,
    The Realtime Execution Trace Toolkit only works for NI RT Targets.
    But you can use the Desktop Execution Trace Toolkit, just search for it under ni.com.
    Christian

  • How to Integrate real time data between 2 database servers

    How to Integrate real time data between 2 database servers
    May 31, 2006 2:45 AM
    I have a scenario where the data base (DB2 400) is maintained by AS 400 application and my new website application based on j2ee platform access the same database also but the performance is very low. So we have thought of introducing new oracle data base which will be accessed by j2ee application and all the data from db 400 database will be replicate to oracle data base. In that scenario the only problem is of real time data exchange between 2 databases. How do we achieve that considering both the application As400 and j2ee website application are running in parallel and accessing the same information lying on DB2 400 database. We have to look at transaction management also.
    Thanks
    Panky
    DrClap
    Posts:25,835
    Registered: 4/30/99 Re: How to Integrate real time data between 2 database servers
    May 31, 2006 11:16 AM (reply 1 of 2)
    You certainly wouldn't use XML for this.
    The process you're looking for is called "replication". Ask your database experts about it.
    I predict that after you spend all the money to install Oracle and hire consultants to make it replicate the DB2/400 database, your performance problem will be worse.
    panks
    Posts:1
    Registered: 5/31/06 Re: How to Integrate real time data between 2 database servers
    May 31, 2006 11:55 PM (reply 2 of 2)
    Yeajh I now that its not a XML solution.
    Replication is one of the option but AS400 application which uses DB2/400 DB is highly loaded and proposed website also uses the same database for retrieval and updation purpose.All the inventory is maintained in the DB2/400 database so I have thought of introducing new oracle database which will be accessed by new website and it will have all the relevant tables structure along with data from DB2/400 application. Now whenever there is a order placement from new website then first it should update the oracle database and then this data shuold also migrate to db2/400 application at real time so that the main inventory which is lying on db2/400 should be updated on real time basis because order placement is aslo possible from As400 application. So the user from As400 application should not get the wrong data.
    Is it possible to use MQ products??
    -Panky

    Hi,
    the answer to your question is not easy. Synchronization or integration or replication data between 2 (or more) database servers is very complicated task, even though it doesn't look like.
    Firstly I would recommend to create good analysis regarding data flow.
    Important things are:
    1) what is primary side for data creation. In other words on which side - DB2 or Oracle - are primary data (they are created here) and on which side are secondary data (just copies)
    2) on which side are data changed - only in DB2 side or only on Oracle side or on both sides
    3) Are there data which are changed on both side concurrently? If so how should be conflicts solved?
    4) What does it mean "real time"? Is it up to 1 ms or 1s or 1 min or 1 hour?
    5) What should be done when replication will not work? I mean replication crash etc.
    BTW. The word "change" above means INSERT, UPDATE, DELETE commands.
    Analysis should be done for every column in every table. When analysis is ready you can select the best system for your solution (Oracle replication, Sybase replication server, MQ, EJB or your proprietary solution). Without analysis it will be IMHO gunshot into the dark.

  • How to implement real-time refresh datas in obiee?

    How to implement real-time refresh datas in obiee?

    Can you elaborate more...
    If you want to see refreshed data in OBIEE Reports, you need to implement Caching mechanism based on how you often refresh warehouse..
    [http://download.oracle.com/docs/cd/E05553_01/books/admintool/admintool_QueryCaching6.html]

  • Real time query

    What are some function that I can use to get real time data from the mysql database?
    I wanted to made a program that will receive a update whenever the database gets updated.

    okay, there is some delay.
    But I just needed the program to show the new item that was added to the database on the program.
    I'm writing a program that had multiple user that if one user add an item to the database, other users will be able to see without doing anything.
    I know the query can get the data from the database, but how can I continuously getting new database to my program?

  • How to get real time information about how many user are logged in and thei

    I use tomcat as my server platform in Ubuntu for a war file.
    I know in order to get real time information about how many user are logged in, we can count how many active sessions exist by a SessionCounter code. However, I have to permit HttpSessionListener in web.xml of tomcat. From other users' experiences, the configuration is complexed and has some errors.
    Here's the link:http://www.stardeveloper.com/article...1112001&page=1
    In order to get users' ip, in jsp, use request.getremotehost() or
    request.getremoteaddress() by editing the jsp file.
    I wonder if there's some open source software to use for these two purposes.
    Thank you!

    That url is missing a few bits. The ... in the middle doesn't help.
    we can count how many active sessions exist by a SessionCounter code.
    However, I have to permit HttpSessionListener in web.xml of tomcat.
    From other users' experiences, the configuration is complexed and has some errors.And have you tried it? The configuration isn't that complex.
    What errors do you mean? Errors in tracking people, variance in the count? Probably related to internet issues and nothing you can do will alleviate them.

  • Syntax error in programme on a real time query

    Hi all
    I have created a programme which sits on a real time cube which then sits on an aggregation level and the query that sit on it now comes up with the following error.  I removed a key figure which i did not need and it has been removed in all areas but when i run the report it is still picking up.
      Syntax error in program "GPD637MUU0BR3GW81HQGROKQ8DB ".
    at happened?
      Error in the ABAP Application Program
      The current ABAP program "CL_RSR_REPORT_CHECK===========CP" had to be
       terminated because it has
      come across a statement that unfortunately cannot be executed.
      The following syntax error occurred in program "GPD637MUU0BR3GW81HQGROKQ8DB "
       in include "GPD637MUU0BR3GW81HQGROKQ8DB " in
      line 206:
      "The type "/BIC/OIZ2E_NETUN" is unknown."
    What is the table/ programme that i can remove GPD637MUU0BR3GW81HQGROKQ8DB so that it will regenerate with the new changes.   Any help will be appreciated
    Thanks

    Programs starting with GP are Generated Programs.
    Could you maybe specify your example a bit clearer:
    I have created a programme which sits on a real time cube which then sits on an aggregation level and the query that sit on it now comes up with the following error. I removed a key figure which i did not need and it has been removed in all areas but when i run the report it is still picking up.
    When you talk about a program on a real time cube, what do you mean? Do you mean a query?
    You can try to resave and afterwards regenerate the query in RSRT.

  • How to set real time waveform chart

    I would like to record voltage signal from built-in microphone. My block diagram is attached.
    I would to like record 1second data every 10min and then take an average of that 1s data so that I have 1 data point about every 10min. The time of the origin of the chart must be kept at start date and time all the time and the program need to run until I stop it. 
    But I cannot set the date and time to be real time. How can I make it?
    Thank you very much.
    Attachments:
    1.vi ‏41 KB

    Hello
    answers are in blue
    phx wrote:
    Freelance_LV, Thank you very much for your editing, I am testing the program. I have some questions.
    1. Why can't I just using continuously running to run my program to make to run continuously? it is a good practice to use a while loop and run the code, than use the run continuously button. my understanding is that the run continuously button will cause the code to run at the highest possible processor speed and will use up the entire load on the processor. by using a while loop and placing a small delay, we can ensure that the cpu is not loaded by our program. But, i hope our seniors could provide the correct explanation to it.
    2. From your diagram, what I realise is that in 3600s, the signal of time sends data to "elapsed time" every 0.1s until the elapesd time is the same as target time so the the "True/False" Loop" can run. My question is, once the the "True/False loop" start runnig, how long does it run? 1second? Or is my understanding about the flow wrong? check the attached code. i made some additions, to answers your question.
    3. The minimum sample rate of the "acquire sound" is set to 11025Hz which is also the sample length of the "Mean". Does it mean that the mean it takes is the mean of the amplitude of latest 11025 samples? would suggest you use Mean vi than the Mean Pt to Pt vi. logically, the mean vi should read the input array of data, calculate the mean of the values. there is no 'latest' here. the mean vi gives the mean value of the array at its input. the acquire sound vi will read the data from the microphone at the sample rate mentioned. you said the min sample rate if 11025 Hz. but your code shows 8000 Hz as input!
    4. Why isn't the x-axis the current time if I just put the diagram inside the True/False Loop out to a new VI? you will need to set the start time of the X-axis using the property node X-axis range minimum value. Else, the chart/graph will take the standard start time as 1/1/1981 and 0.00 time + or _ the GMT zone.
    Thank you very much!!
    Attachments:
    1_edit.vi ‏68 KB

  • How to create Real Time Infocube in BW

    Hi BW Experts,
    We got one requirement. We need to create one Real Time Infocube.
    Our Users will enter the data in Query Analyzer later.
    Please can anyone tell me the step by step.
    Is there any settings we need to give..
    Thanks & Regards
    Anjali

    Hi,
    Creating a Real-Time InfoCube
    When creating a new InfoCube in the Data Warehousing Workbench, select the Real-Time indicator.
    Converting a Standard InfoCube into a Real-Time InfoCube
    Conversion with Loss of Transaction Data
    If the standard InfoCube already contains transaction data that you no longer need (for example, test data from the implementation phase of the system), proceed as follows:
           1.      In the InfoCube maintenance in the Data Warehousing Workbench, from the main menu, choose InfoCube ® Delete Data Content. The transaction data is deleted and the InfoCube is set to inactive.
           2.      Continue with the same procedure as with creating a real-time InfoCube.
    Conversion with Retention of Transaction Data
    If the standard InfoCube already contains transaction data from the production operation that you still need, proceed as follows:
    Execute ABAP report SAP_CONVERT_NORMAL_TRANS under the name of the corresponding InfoCube. Schedule this report as a background job for InfoCubes with more than 10,000 data records because the runtime could potentially be long.
    Try
    http://help.sap.com/saphelp_nw04s/helpdata/en/39/100c38e15711d4b2d90050da4c74dc/frameset.htm
    Hope this helps.
    Thanks,
    JituK

  • How to make real-time report per subscriber ( SCE2020)

    From the link below Cisco SCA BB SNMP Real Time Monitoring User Guide, 3.1
    http://www.cisco.com/en/US/products/ps6135/products_user_guide_chapter09186a008084ddc8.html
    it only make report on the global bandwitdh does anyone have i 3rd party software or good document on how to do snmp real-time report per subscriber?
    Thanks in Advance.

    SCE platform supports a limited set of variables that may be configured via SNMP (read-write variables). Setting a variable via SNMP (as via the CLI) takes effect immediately and affects only the running-configuration. To make this configuration stored for next reboots (startup-configuration) the user must specify it explicitly via CLI or via SNMP using the Cisco enterprise MIB objects.
    For the further details for the SCE follow the below url which will help you:
    http://www.cisco.com/en/US/products/ps6134/prod_configuration_guide09186a008078b43a.html

  • JSFL - How to disable Author-time Sharing on a library item

    How can I disable author-time sharing on a library item?
    I have tried this:
    if (libraryItem.sourceLibraryName) libraryItem.sourceLibraryName = "";
    if (libraryItem.sourceFilePath) libraryItem.sourceFilePath = "";
    But I get the following error:
    Error: Invalid value for property sourceLibraryName.
    Thanks.

    I don't think you can prevent that (opening the other people's sparsebundle)
    If you need a secure backup, you might have to do it on a separate USB hard drive.

  • How to get real time date from Sunny Boy Inverters through SMA Webbox?

    Hello,
    I was looking on how to communicate with three Sunny Boy Inverters that are linked to a SMA webbox. Currently we get a daily summary of the solar production, but we would like to have real time data uploaded into LabVIEW. The people of SMA said that I needed to use "RS485 protocols" with a software they have called YASDI (http://www.sma.de/en/products/software/yasdi.html); however, I keep finding other information that says that I can communicate with my inverters using the SMA OPC server (http://www.sma-america.com/en_US/products/software/sma-opc-server.html). I also found this forum, http://forums.ni.com/t5/LabVIEW/Sunny-Island/m-p/809129/highlight/true#M368718, where I understood that I don't need to use the OPC server, but instead I can use UDP communication to get the data. I found another forum that talks about using the YASDI :http://forums.ni.com/t5/LabVIEW/help-with-Sunny-Boy-inverter/m-p/293273/highlight/true#M153892. 
    I've tried to communicate with the people of the forums and I haven't gotten any responses; therefore, I wanted to see if I can get cleared up on this issue. Do I need to use OPC server to communicate with my inverters through the webbox or can I just use UDP in LabVIEW?
    Any help would be greatly appreciated,
    Thanks
    Jose

    Hello,
    I got a response from Vincezo: http://forums.ni.com/t5/LabVIEW/Sunny-Island/m-p/1794786. I'm currently working with the VI to communicate with the webbox through UDP. Since the PRC protocols to communicate with the webbox are in JavaScript Object Notation (JSON), I'm not sure if the data-in string has to be in JSON format. However, the only error I'm getting is 56 in the UDP read function. I've tried increasing the size of the bytes and timeout, but I keep getting this error. If anyone can help me with this part I would very grateful. 
    Thanks,
    Jose

  • How to create real time chart with candle stick for displaying Open, High, Close, Low values from BSE/NSE EOD data

    Please help with sample windows form C#.Net Example

    Hi Goutam,
    Please refer to the following link with examples: http://www.codeproject.com/Questions/234865/create-real-time-chart
    Hope this helps you!
    Regards,
    Mitch!

  • How to make real time chat in ios

    Hi ,
          I want to implement real time chat in ios app.

    Hi Sunil,
    You have (at least) two options:
    1) use the XMPP protocol (XMPPFramework and a Jabber server like OpenFire). See ChatSecure (https://chatsecure.org/about/) and it's source code for further guidance.
    2) use a service like QuickBlox (http://quickblox.com/modules/chat/)
    Good luck!
    -mgcm

Maybe you are looking for

  • How come my brother and i can't connect in the same game online using my WET54GS5?

    When i first got my WET54GS5 my brother and i could connect in the same online session using two ps2's that are both connected to the WET54GS5 which is linked up to my WRT54G V 5 router flawlessly. Now all of a sudden whenever we try to connect to th

  • Hard disk not being detected / Finding compatible replacement

    Hi, I have a late 2007 macbook (white). I was using it when it froze while listening to itunes. I've pressed the power button to turn it off and turn it back on. Unfortunately it did not boot. I've inserted the leopard upgrade disc and booted with th

  • Moving JLabel in a JFrame

    Hi . I want to move a JLabel in a JFrame and i set bounds for JLalbe using while such as : JLabel lb=new JLabel("JLABEL"); int x=50,; int y=0; int w=60; int h=40; lb.setBounds(x,y,w,h) ; while(y<100) lb.setBounds(x,y,z,t); y+=1; But when lb moves in

  • "error occurred while communicating with scanner" mac os x 10.8.2 with new hp 6700.

    device will not scan to computer.  returns "error occurred while communicating with scanner".  this error returns from the print/scan settings, from image capture and from the HP scan utility.  the printer will copy so the scanner will function to so

  • Report bursting sends empty reports

    I am trying to use Business Objects Enterprise with Crystal Reports to send suppliers reminders by email. BOE should burst the reminder report into the parts relevant to each supplier, but the reports are always empty. Can anyone give me some help? I