Discoverer query a logical standby rather than production via db link

Hello,
I have read in some oracle documentation that oracle does not support discoverer on a logical standby database because the EUL tables need write access. So oracle recommends having the EUL tables on a write enabled database (Production) and then link to data on a logical standby.
Is anyone doing something like this currently? I am curious how this would be configured? And is it worth it?
Thanks

Hi Olivier
You need to point your EUL folders at the other database using a database link. Then whenever Discoverer sees that folder it will call the database link and the data will come from the other database.
Therefore, you need to have a schema on the other database that has SELECT permissions on all of the objects that you want to query. After satisfying yourself that you have such a schema, on the local database you create a database link to the other database using the schema that has the permissions. In order to create the database link your will of course need to be logged on locally using an account that has permission to create such a link and you will need to know the password of the schema in the other database.
If you don't create a PUBLIC database link you will also need to make sure that your EUL owner and all of your users can access it. More often than not I will use a PUBLIC database link which saves all the trouble.
Here is a script for a PUBLIC database link. The link is called LOCAL_TO_STANDBY and as you can see the user I am connecting as is called APPS with a password of STANDBY_APPS (entered in the IDENTIFIED BY section):
CREATE PUBLIC DATABASE LINK LOCAL_TO_STANDBY
CONNECT TO APPS
IDENTIFIED BY STANDBY_APPS
USING '(DESCRIPTION =  (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.20)(PORT = 1521)) ) (CONNECT_DATA =  (SERVICE_NAME = STANDBY)  )  )';
You will of course have to change your database connection information by altering the IP address or the host or replacing this with a fully qualified domain name, you then have to provide the PORT and the SERVICE_NAME for the database you will be connecting to.
To test the connection, try this:
SELECT FROM DUAL@LOCAL_TO_STANDBY;
Does this help?
Best wishes
Michael

Similar Messages

  • Any suggestion for a damaged logic board rather than buy a new computer

    Any suggestions for a damaged logic board rather than buying a new computer

    The most frequent RAM vendor recommendations are Crucial.com and MacSales.com (OWC).
    With respect the logic board, you could ask Apple about a "Fixed Price Repair" which will generally repair everything that is wrong with a Mac.
    Message was edited by: BobHarris

  • Smart folder with logical "or" rather than "and"?

    Is it possible to create a smart folder that uses the logical "OR" rather than "AND" to determine the contents? For example, is it possible to create a smart folder that contains all files ending in ".tiff", ".pict", or ".png"?

    figured it out. Hold the "option" key while hitting the "+" for a new criteria.

  • Is there no way to share folders with the rest of the Team, rather than file by file, link by link

    Is there no way to share folders with the rest of the Team, rather than file by file, link by link, potentially hundreds of links for a folder containing graphics, html, css, etc for a web project?
    Not quite sure what's the advantage of a team account - just seems like a bulk purchase of single accounts. As a team working in the cloud I'd expect to be able to collaborate on projects not a single file.

    Folder sharing is not currently available.
    The advantage of a Team account is not bulk purchase but being able to assign and remove Seats as needed by an Administrator who handles billing. With an Individual subscription the payment information is attached to each the individual.

  • Prereq query for Logical Standby runs for days

    Have had an SR open for a month that isn't getting anywhere, thought I'd check here and see if anybody has run into this.
    We're looking at setting up a logical standby database, Oracle 11.2.0.3 on AIX running PeopleSoft.
    There is a prereq query in the Oracle manual which is also run via the GC wizard to find tables without unique logical identifiers.
    SELECT OWNER, TABLE_NAME FROM DBA_LOGSTDBY_NOT_UNIQUE
    WHERE (OWNER, TABLE_NAME) NOT IN
    (SELECT DISTINCT OWNER, TABLE_NAME FROM DBA_LOGSTDBY_UNSUPPORTED)
    AND BAD_COLUMN = 'Y';
    My problem is that the darned thing runs for 5.5 days.
    The view in that query runs the function  logstdby$tabf, which runs the following SQL over and over and over and over:
    SELECT * FROM LOGSTDBY_UNSUPPORT_TAB_11_2B
    Each time it runs the LOGSTDBY_UNSUPPORT_TAB_11_2B query is about 8 seconds. Run it 100,000 times and that adds up. Looks like the big problem in that query is full table scans of TAB$ and COL$.
    Anybody seen it? Anybody fixed it?

    Good suggestion - in 15 minutes you got farther than support did in 2 weeks.
    Rather than remove the sub-query, I can change it into a minus, which is functionally equivalent to the original but changes the executions on DBA_LOGSTDBY_UNSUPPORTED from many times to just once.
    select owner, table_name from dba_logstdby_not_unique
    where bad_column = 'Y'
    minus
    select distinct owner, table_name from dba_logstdby_unsupported;
    The top part of the query still takes 9.5 hours to run though, with the time now being spent the following SQL which is called from the function logstdby$tabf which is called from the view DBA_LOGSTDBY_NOT_UNIQUE :
    SELECT * FROM LOGSTDBY_SUPPORT_TAB_11_2B
    Sorry for not putting that in the original post, but I want the original query to run if possible so the GC wizard will work - and I didn't want to clutter up the question.

  • Query for logical standby

    Hi ,
    We have one logical standby database is running for our production database .
    Now business require one more logical standby for reporting purpose
    so during step for creating new logical standby we need to run
    EXECUTE DBMS_LOGSTDBY.BUILD;
    so is this will impact exsiting logical standby ? or we don't run this time this statemnet ?
    Thanks
    Gaurav

    user12219815 wrote:
    Hi ,
    We have one logical standby database is running for our production database .
    Now business require one more logical standby for reporting purpose
    so during step for creating new logical standby we need to run
    EXECUTE DBMS_LOGSTDBY.BUILD;
    so is this will impact exsiting logical standby ? or we don't run this time this statemnet ?
    Thanks
    Gauravno need to execute.

  • Post to a Session rather than DB via  ADDT

    Hello
    Is there the means to Post to a Session via the ADDT ?
    I've been using the extensions for a month or so and find the means to update Database values a breeze but I do not see any options for dealing with a Session value.
    I've got a page the does a Horizontal Looper and displays 6 products per page. I want to have the ability to update a Session to save selected models much like a shopping cart. Then on a final checkout page I would like to display the results and then allow a checkbox for each value saved. Deselecting a checkbox removes it from the values submitted via email to a predetermined address.
    I'm using a Javascript function to post the value of a selection via a URL String and then displaying that value on a pop-up page to confirm their addition to the session. So far no problems.
    But now I want to take the known value and insert it into a running session that will store all the inserted values.
    Do I have to hand code this or is there an extension value I am not seeing or can I specify a Session and post to that rather than the DB table?
    Or is the case that I should be using a temp table in the DB to store these values and then use a recordset to display the saved values?
    Basically I do not want to commit the values until I allow the user to review and manage their saved items via checkboxes.
    Any tutorials on this or advice from others that have done something similar , perhaps in a shopping cart?
    Regards,
    Steve
    PHP, MySQL DW CS3, ADDT 1.0

    Hi Steve,
    if you want this feature added to a future version, please feel free to submit a feature request using the ADOBE wishform : http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    It´s users such as you who might get heard, not me -- I don´t have anyone´s ear when it comes to considering additional features or not.
    However, dedicated shopping carts might still be the better & more professional solution IMHO -- retrieving cookies or session variables with javascript is quite insecure/unreliable in itself, I personally wouldn´t consider that.
    I thought about your scenario some more, and it´s clear you would need a better and unique detection of the current user who might not even have an account at your site, means who can´t be detected via ADDT´s "kt_login_id" session variable :: when user X enters your home-made "shopping cart", you can create a random numeric ID and assign this one to a session variable -- this one can be used in whatever other cart page and finally also stored in the DB respectively (on the checkout page) used for creating the query which will send the list of ordered items and a confirmation using ADDT´s Send Email behaviour. More info on this truly interesting approach here: http://msconline.maconstate.edu/tutorials/PHP/ECommerce/php00-08.php
    The Temp DB method seems like it could have problems with clean up
    Is "cleaning up" really the the right thing to do ? After all, you respectively the customer might want to track his ordering transactions done in the past.
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • How do I get the Home, Reload and Forward/Backward buttons grouped logically together, rather than splattered randomly across the top of the browser ?

    In Firefox 3, all the buttons are grouped together, in V4 they are now scattered across the top of the browser, aping IE7/8 - plus the "stop loading" button has gone walkabout - it would be useful to get that back, as well.

    You can open the Customize window to make it possible to change the position of those toolbar buttons.
    Open the Customize window via "View > Toolbars > Customize" or via "Firefox > Options > Toolbar Layout"<br />
    * Drag the Home button from its current position at the right to the previous position at the left of the location bar.
    * Drag the Reload and Stop buttons to their previous position at the left side of the location bar.
    * Set the order to "Reload - Stop" to get a combined "Reload/Stop" button.
    * Set the order to "Stop - Reload" or separate them otherwise to get two distinct buttons.
    See also:
    * http://kb.mozillazine.org/Toolbar_customization

  • Xfinity keeps defaulting to their search engine rather than google via Safari.  How do I disable xfinity search?  I am going crazy!

    It has always been a problem with xfinity defaulting to their own crappy search engine when I type into the Safari url line.  It is even worse now with Yosemite.  My default on Safari is set to google, but xfinity hijacks it.  I have been searching everywhere to find a solution.  I simply want to disable the xfinity search engine, but it is not simple!  Hoping someone here has had the same problem and was able to fix it.  Thanks!

    Back up all data.
    Unlock the Network preference pane, if necessary, by clicking the lock icon in the lower left corner and entering your password. Cllck Advanced, open the DNS tab, and change the server addresses to the following:
              8.8.8.8
              8.8.4.4
    That's Google DNS. Click OK, then Apply.
    In Safari, select
              Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    and confirm. If you’re using another browser, empty the cache. Test. Any difference?
    Notes:
    1. If you lose Internet access after making the above change to your network settings, delete the Google servers in the  Network preference pane, then select the TCP/IP tab and click Renew DHCP Lease. That should restore the original DNS settings; otherwise restore them yourself. Remember that you must click Apply in order for any changes to take effect.
    2. I don't use Google DNS myself, though I have tested it, and I'm not recommending it or any other DNS provider; the server addresses are offered merely for testing purposes. There may be privacy and technical issues involved in using that service, which you should investigate personally before you decide whether to keep the settings. Other public DNS services exist.

  • Additional read-write schema in logical standby

    Hi,
    We have successfully configured logical standby for a production database on oracle 11.1.0.7. Now we have the following requirements:
    1) Add a new/ additional schema to logical standby database which can support read write (dml/ddl)operations.
    2) Turn off the sync for one particular table in the standby (prod) schema and make it read write.
    Appreciate any guidelines in this regard.
    Thanks,
    Venkat
    Edited by: 825766 on Jun 23, 2011 1:20 PM
    Edited by: 825766 on Jun 23, 2011 1:44 PM

    Thank you.
    I was able to make a table read-write based on following extract from oracle documentation.
    SQL> ALTER DATABASE STOP LOGICAL STANDBY APPLY;
    Database altered.
    SQL> EXECUTE DBMS_LOGSTDBY.SKIP('SCHEMA_DDL','MYSCHEMA','MYTABLES%');
    PL/SQL procedure successfully completed.
    SQL> EXECUTE DBMS_LOGSTDBY.SKIP('DML','MYSCHEMA','MYTABLES%');
    PL/SQL procedure successfully completed.
    SQL> ALTER DATABASE START LOGICAL STANDBY APPLY;
    Database altered.
    The example then queries the DBA_LOGSTDBY_PARAMETERS view to verify the logical standby database is updated. Verification can take a while so you might need to repeat the query until no rows are returned, as shown in the following example:
    SQL> SELECT VALUE FROM DBA_LOGSTDBY_PARAMETERS WHERE NAME = 'GUARD_STANDBY';
    VALUE
    Ready
    select guard_status from v$database;
    Finally, the example sets the database guard to allow updates to the tables.
    SQL> ALTER DATABASE GUARD STANDBY;
    Database altered.
    select guard_status from v$database;

  • Can I download Snow leopard/Lion rather than order hard copy delivery?  Not finding in iTunes nor on apple website..

    I currently have Mac OSx and looking to upgrade to Lion (sounds like I need to go through Snow Leopard upgrade first).  Is there an easy way to simply download these upgrades rather than order via the mail?  Any way to avoid updgrading two separate times and have the ability to go direct to the Lion upgrade?
    Thanks!

    You cannot download Snow Leopard. You have to buy it on disk.
    Once you've installed that, and updated it to 10.6.8, you can download Lion from the App Store.
    Apple also sells Lion on a USB stick, but I don't know if it is possible to install that on a disk with just Leopard.
    Also, make sure your MacBook can run Lion: http://www.apple.com/macosx/specs.html

  • Put back "Open Link in New Window" first and default, rather than "Open Link in New Tab" in Safari 6.1

    I do not like the order of the context menu changes in Safari 6.1.  I have become accustomed to using "Open Link In New Window" first in the context list, rather than the new "Open Link In New Tab".  I do not wish to use Tabs.  How may I remove this?

    Well, I solved it just after I posted this.  I opened up the Safari Preferences, then went to the TABS section, and set "Open pages in tabs instead of windows: to NEVER", and unchecked "⌘-click opens a link in a new tab".   That set it back to open in new windows.
    Tabs work if I am making quick tabs to refer to something.  Horrible if I want to compare two websites side by side.  So, by disabling the auto TAB function, I'm back to the way I prefer my browser to work, rather than the way something thinks I ought to use it.
    Don't care about having all my browsers behavior the same.  If I wanted that, I would have run those browsers.

  • Data log directly from Norma 4000 power analyser rather than via Keithley 2700 data logger

    Hello fellow LabVIEW users
    My Norma 4000 power analyser is connected to my Keithley 2700 data logger from which it logs data via GPIB using the attached VI.
    Prior to making this VI I was not aware that the Norma 4000 could also log data values directly using labview which I found in the following LabVIEW post.
    http://forums.ni.com/ni/attachments/ni/170/536731/1/LV9.zip
    The Keithley logs the values into a *.txt file that can be opened in excel for analysis of the data. There are 7 values that are pulled from the power analyser and 1 from a radiometer and 1 from a temperature sensor. I essentially want the 7 values from the data analyser be directly input into the save file i/o rather than going via the Keithley which it is doing now. Some the signal is lost due to noise etc when going from ADC then DAC. Which is why certain values pulled from the Keithley have been multiplied before being put into file i/o.
    Since these are popular instruments of choice I was wondering if anyone can direct me to any links to LabVIEW VIs that have already been made that DIRECTLY logs data values from the Norma 4000 into a *.txt file as in the attached VI. Or point me in the right direction perhaps. The LNOPA01 Getting Started.vi only shows current values. I want the data values to be logged into the *.txt files at certain time intervals with the corresponding signals from the radiometer and temperature sensor.
    The Keithley drivers can be found in the following link
    http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E93BC659CE034080020E748...
    Thanks for all the help beforehand.
    Attachments:
    Data Logger_Final Version.vi ‏57 KB

    Hi,
    I was not able to find an example that will directly log data from the Norma 4000. I looked at the LNOPA01 Getting Started.vi and it seems like, with a few modifications, you could use this to log data. You would have to open a file, write the collected data to the file, and then close the file. You are already doing something similar to this in the VI you attached.
    If you only want to measure data at certain times, you could use a case structure in the while loop and only write to file when a certain condition is met. If this isn't an option for you, could you please elaborate on what difficulties you are seeing?
    Thanks,
    Paul B.
    Motion Control R&D

  • Discoverer and Logical Standby

    We don't wish to run Discoverer against our production database. To that end, we have set up a logical standby on another db server. We plan to allow our users to run their Discoverer reports using the data from the standby database.
    Q: Does anyone have any 'lessons learned' or comments regarding this type of setup? Any 'gotchas'?
    thanks, all.....

    a physical standby is a byte-exact copy.
    If you would overwrite all files of the primary by the corresponding standby files, Oracle won't notice. That said, the database isn't available for normal operations, you can not create any segments in it.
    A logical standby database is a duplicate database in which all INSERT, UPDATE etc statements are re-executed.
    There are limitations with respect to datatypes: not all datatypes are supported.
    Tables with unsupported datatypes are automagically suppressed from the standby. The database is open and can be used.
    However, as it is not a byte-exact copy, you can not use it for Disaster Recovery purposes.
    Sybrand Bakker
    Senior Oracle DBA

  • How do you show multiple products horizontally rather than vertically with the module_productfeaturelist?

    I am trying to have 3 to 4 featured products that share the same tag next to each other rather than stacked.  Is there a way to do this by customizing the "List of Products by Tag" or is there another module I should be using?
    What i am currently getting is this and I would like the side by side instead:
    {module_productfeaturelist,featured,3,Weight,,true}

    Your monitor would need an HDMI connection to hook it to AppleTV.  AppleTV would need to be on the same network as the IMac, presumably wireless if you don't want to run cables.
    You would then need to use Airplay Mirroring, and that requires reasonably modern Macs, see:
    About AirPlay Mirroring in OS X
    I don't know for certain but if you set up an automatic powerpoint slideshow you could probably export to an AppleTV compatible movie files, and then play that to AppleTV via iTunes as well, which ought to work with older Macs but video might need to be set to loop or repeat itself a lot.
    If you want to use Airplay Mirroring buthave an old Mac, then AirParrot software has a demo, and some people find this ok.

Maybe you are looking for

  • LED cinema display doesn't work under boot camp

    I just installed Boot Camp and Windows 7 x64 on a Macbook Pro 2010 (6,2) with and NVIDIA GeForce GT 330M 256MB video card. The Boot Camp drivers automatically installed during the process. I plugged in my 27 inch LED Cinema Display, which works just

  • Crystal Reports - PHP issue

    Hello, I have the following code:     $ds = odbc_exec($conn,$strSql);     //------ Create a new COM Object of Crytal Reports 10 ------     $ObjectFactory= new COM("CrystalReports11.ObjectFactory.1");     //------ Create a instance of library Applicat

  • 3D pdf made in Acrobat 8 isn't working in 9

    Hi Everybody! I have a little problem again with 3D Pdf ( always problems....grr ) I made a Pdf with 3D content in Acrobat 8. It was working well, but only with Reader 8! If I try to open in Reader 9 the 3D content doesn't appear. Could be a solution

  • Search Help on Table Control - Fill more than one field in the table?

    Hey everyone, I have built a screen with a Table Control on it... the fields of the table control are linked to an internal table...  The internal table has the line type of a structure I've defined in the data dictionary.  Within that structure in t

  • My project crashes Final Cut Pro on multiple machines

    I'm just getting ready to wrap up a project and I now can not render or export anything without the spinning beach ball and then either a "force quit" or it crashes for me. I'm running FCP 6.0.4 on a DVCPro HD 1080i60 Project and Sequence. The entire