How to activate the connection pool dynamically during loading happens

Hello

I have two databases that contains the same data. IE Prod_db, Prod_db1,

I want to move the connection pool dynamically during loading times

Ex: During load happens I want to hit prod_db1, after full charge I want to hit prod_db. How to get there.

Use the W_ETL_RUN_S of the situation of the table column to validate the loadtime

PS mark correct or useful

Tags: Business Intelligence

Similar Questions

  • How to activate the connection with sqlplus / as sysdba?

    Hello

    I downloaded the virtual appliance of the developer day since that's Developer Day - hands-on data application development

    Connection with sqlplus sys/oracle as a sysdba work

    But for our scripts, I need to connect to sqlplus / as sysdba (os user's oracle).

    If I try to open a session with / as sysdba I get this:

    [oracle@localhost ~]$ sqlplus / as sysdba
    
    SQL*Plus: Release 12.1.0.2.0 Production on Tue Nov 3 02:13:34 2015
    
    Copyright (c) 1982, 2014, Oracle.  All rights reserved.
    
    ERROR:
    ORA-01017: invalid username/password; logon denied
    
    
    Enter user-name: 
    

    How can I activate the oracle user to login with / as sysdba?

    Thank you

    Al

    It seems that I found the solution:

    http://www.stojanveselinovski.com/blog/2014/07/07/Oracle-12C-developer-days-VM/

    Very funny this TWO_TASK / ORACLE_SID. :-)

    CurrentY I can connect to sqlplus / as sysdba - I'm going to restore the virtual machine and try again if this is really the solution. :-)

  • How to compile the connection pool java example code

    I recently bought David Knox of 'Effective Oracle Database 10' g security by Design and worked through his examples with identifiers of customers and how to exploit the database security with anonymous connections pools.

    The side of the things database I totally understand and have implemented, but I now want to compile / the java run the examples of code, but do not know what is required to compile this.

    I am running Oracle 10.2.0.4 (64-bit) Enterprise Edition on a Linux (RHEL 5) PC. Version Java is 1.6.0_20. .Bash_profile relevant environment variables are:
    export LD_LIBRARY_PATH = $ORACLE_HOME/lib: / lib: / usr/lib
    Export CLASSPATH = $ORACLE_HOME/jre: $ORACLE_HOME/jlib: $ORACLE_HOME/rdbms/jlib
    export PATH = $ORACLE_HOME/bin: $ORACLE_HOME/OPatch: / usr/kerberos/bin: / usr/local/bin: / bin: / usr/bin

    When I try to compile, I get:
    Oracle Java: DB10204$ FastConnect.java
    Exception in thread "main" java.lang.NoClassDefFoundError: java/FastConnect
    Caused by: java.lang.ClassNotFoundException: FastConnect.java
    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    The main class is not found: FastConnect.java. Program ends.

    Below is an example java source code. Is anyone able to point me in the right direction as to how to get this to compile? I have just a configuration syntax change and/or the environment to do, or there it more for this example doesn't work? Any help much appreciated.
    oracle:DB10204$   cat FastConnect.java 
    package OSBD;
    import java.sql.*;
    import oracle.jdbc.pool.OracleDataSource;
    
    public class FastConnect
    {
      public static void main(String[] args)
      {
        long connectTime=0, connectionStart=0, connectionStop=0;
        long connectTime2=0, connectionStart2=0, connectionStop2=0;
        ConnMgr cm = new ConnMgr();
        // time first connection. This connection initializes pool.
        connectionStart = System.currentTimeMillis();
        Connection conn = cm.getConnection("SCOTT");
        connectionStop = System.currentTimeMillis();
        String query = "select ename, job, sal from person_view";
        try {
          // show security by querying from View
          Statement stmt = conn.createStatement();
          ResultSet rset = stmt.executeQuery(query);
          while (rset.next()) {
            System.out.println("Name:   " + rset.getString(1));
            System.out.println("Job:    " + rset.getString(2));
            System.out.println("Salary: " + rset.getString(3));
        }
          stmt.close();
          rset.close();
          // close the connection which resets the database session
          cm.closeConnection(conn);
          // time subsequent connection as different user
          connectionStart2 = System.currentTimeMillis();
          conn = cm.getConnection("KING");
          connectionStop2 = System.currentTimeMillis();
          // ensure database can distinguish this new user
          stmt = conn.createStatement();
          rset = stmt.executeQuery(query);
          while (rset.next()) {
            System.out.println("Name:   " + rset.getString(1));
            System.out.println("Job:    " + rset.getString(2));
            System.out.println("Salary: " + rset.getString(3));
          }
          stmt.close();
          rset.close();
          cm.closeConnection(conn);
        } catch (Exception e)    { System.out.println(e.toString()); }
        // print timing results
        connectTime = (connectionStop - connectionStart);
        System.out.println("Connection time for Pool: " + connectTime + " ms.");
        connectTime2 = (connectionStop2 - connectionStart2);
        System.out.println("Subsequent connection time: " +
                            connectTime2 + " ms.");
      }
    }
    Code download is: http://www.mhprofessional.com/getpage.php?c=oraclepress_downloads.php & cat = 4222
    I'm looking at Chapter 6.

    I extracted the .jar (jar - xvf) file

    The ODBC .jar file? Don't, don't. Add it to your classpath as it is, or paste it into the WEB-INF/lib directory, or what you have to do.

  • OBIEE 11 g RPD migration - how to automate the Connection Pool passwords changes in environments

    Hello gurus

    We have a situation in our client, where I am responsible for automating RPD Migrations in environments. In our current scenarios, (SID database) data source names and user names (schema name) are same in environments. The current process deploy us the RPD by EM then SPR online by using the administration tool and manually open update passwords in each connection pool (we have 9 pools of connections). There has been a lot of problems with this approach you can imagine (especial when do things the manual way).

    Can you please provide a better approach to automate this process in order to avoid human error.

    Thank you very much.

    Take a look at BIServerT2PProvisioner.jar http://docs.oracle.com/cd/E29542_01/bi.1111/e10540/conn_pool.htm#BHBBDDFF

  • Satellite Pro U200 - how to activate the bluetooth connection

    How to activate the bluetooth connection?

    Hello

    First check to see if your computer supports BT
    If the laptop supports BT, then you should find a BT tag at the bottom of the unit.
    If there is no label then your machine was not equipped with internal BT module!

    If the laptop supports BT, then use the FN + F8 key to go to the BT
    Then BT should start installation and configuration.

    For more details, see this forum and this Toshiba BT Portal:
    http://APS2.toshiba-tro.de/Bluetooth/?page=FAQ

  • How to activate the icon of speaker on the CONNECTED screen selection?

    How to activate the icon of speaker on the CONNECTED screen selection?

    Hi leross,.

    I don't know what app you ask on the sound settings for your Apple Watch.  But, in general, you choose your Apple Watch as a source for your music.  Once you pair your Apple Watch with a bluetooth headset, you will be able to adjust the volume.

    Listen to music on your Apple Watch

    Play music from your Apple Watch

    You can also enjoy the music on your Apple Watch without your iPhone when you pair with a Bluetooth headset. Open the music application, scroll up, then on your Apple Watch to choose it as a source. Then scroll down and tap one of these options:

    • Playback in progress. Play / pause what is currently playing on your Apple Watch.
    • My music. After a sync a playlist to your Apple Watch, you can browse your music by Albums, artists and songs.
    • Playlists. Follow the steps below to sync a playlist to your Apple Watch.

    Take care

  • Terca M4: How to activate the external ports, DVI and analog?

    Please can someone please tell how to activate the two external ports. I would use two DVI and analog to the office. Currently if you activate a second screen machine sets up the flat screen and the other the DVI external display. Is this in any way about this?

    See you soon

    Hi Matthew

    As far as I know you can connect an external monitor or a TFT. For this you can use the VGA (15-pin) port or DVI - D video, supported by PortReplicator III (PA3314E).

    Sorry, but I don't understand why you need the two holes at the same time. How many external screens that you want to use? Sorry if I'm missing something but perhaps you can explain your wishes more precisely.

    Good bye

  • How to activate the resolutions of wide screen on Satellite Pro A10

    Hello

    I looked through various positions through the forums, but have not found how to activate the wide screen on a Toshiba Satellite Pro A10 resolutions.
    The 2 following wires offer partial answers:

    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=19570
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=19677

    The solution in the 2nd post won't work because the A10 has an Intel graphics card, not a Nvidia. He suggested also, modify the INF of the graphics driver, but to extract the driver (SA10B2DP.exe) file includes an installer, but no INF.

    Just look to see if anyone has any advice on how to activate the resolutions such as 1440 x 900 or 1680 x 1050.

    Thank you

    Hello

    you mean on the external screen, Don t you? If you have an intel chipset graphic why Don t you download the drivers from the website of intel.
    Maybe it offers a resolution of the external display.

    I don't know if the res external can be set to widescreen on this chipset as the drivers are somewhat limited...
    Can you describe what monitor you have and how you connect it to your machine. (d-sub or DVI)?

    Would appreciate some reactions :)

    Welcome them

  • How to activate the S-video port on a satellite M30X 154?

    Hey does anyone know how to activate the S-video port on your laptop by Satellite SM30X-154?

    If I press the FN + 5 keys the only options I get is LCD and no S-VHS option. My TV is set up for this I have Watch DVD through the cable.

    When I connect the cable to the laptop, nothing happens!
    Help

    Hello

    Sorry, my A100 Tosh has a Geforce 7600, I don't know what is your GA.

    But on mine, I have a NVidia Control Panel, where I can configure dualview,
    normally, which allows me to choose between the builtin LCD and the external monitor (VGA Port).

    When a TV is plugged and not recognized, I can apply recognition there.
    Relative to the opening of the Panel, the TV is also available.

    Maybe I could help you.
    If this isn't the case, note that the settings of windows your TV is not available.
    Try to go to the User Interface of your graphics card...

    Matz

  • Portege M700 - how to activate the login of fingerprint

    Hello world.

    I've had my M700 for about three months now. I always knew that there was a connection to fingerprint, but recently, I wanted to have activated.

    Does anyone know how to activate the login of fingerprint? I tried to research material and through the program files, but nothing...

    Thank you.

    Hello

    You have pre-installed program called True Suite Access Manager.
    This software of s of fingerprints. You should find it in the folder utilities Toshiba!

  • Qosmio F50-126: how to activate the integrated graphics card?

    Running Windows 7 on F50 - 126.
    After checking my specs on the site Web of toshiba, here are the details on my graphics card: -.

    Manufacturer: NVIDIA;
    type: NVIDIA; GeForce; 9700 M GTS supporting TurboCache; technology
    memory: 512 MB dedicated VRAM (up to 1 791 MB of total available graphics memory using the TurboCache™ technology with 3 GB of system memory)
    memory type: GDDR3 (800 MHz) video RAM (resp. RAM video and system memory combined)
    connected bus: PCI Express 16 x

    I want to know if I can turn on my integrated graphics card. I know that clicking on powersave suppose to turn off my 9700 m and go to the integrated card, but the laptop did not want it actually disabled.
    Like, watching a video or a game of battery the difference between "Powersafe" and "Balance" is not that much.

    The computer seems to work at full power.
    Because I remember when I had Vista installed, the game and used trolling videoes. But on windows 7 it doesn't. Anyone know how to activate the integrated card?

    I have my computer updated completely and everthing... How d I do not know if my card is turned on or off?

    Hi mate

    I'm a bit confused of m.
    Why?
    Because you ask about activation and deactivation of the graphics card (integrated).

    First of all, there is ONLY a single graphic chip!
    It s a GeForce 9700 M GTS graphics card.

    The graphics chip supports the 512 MB GDDR3 own (he dedicated video memory s) and it s is always available!

    In addition, the chip supports shared system memory. It depends on the available main memory!

    For example:
    * With the help of Win 32 bit system *.

    System memory: * 2 GB *.
    Dedicated video memory: 512 MB
    Shared system memory: 767 MB (using 3 GB of RAM you 1279 MB)
    TOTAL available graphics memory: 1279 MB (1791 using 3 GB of RAM)

    System memory: * 4 GB *.
    Dedicated video memory: 512 MB
    Shared system memory: 1279MB
    TOTAL available graphics memory: 1791 MB

    * With the help of Win 64 bit system *.

    System memory: * 2 GB *.
    Dedicated video memory: 512 MB
    Shared system memory: 767 MB
    TOTAL available graphics memory: 1279MB

    System memory: * 4 GB *.
    Dedicated video memory: 512 MB
    Shared system memory: 1791
    TOTAL available graphics memory: 2303

    As you can see the use of Win 64-bit and 4 GB of RAM would be better for the graphics card as the use of the file Win 32 bit with 4 GB of RAM

  • How to activate the mode without failure in a game?

    U see sometimes games run faster in mode safe & probably, I like it but I don't know how to activate it in gaming applications only in games ok?

    How to activate the mode without failure in games?

    AI

    Most of the games do not work in safe mode, because safe mode loads only the system drivers and not the games so it is really moot to wonder if he would run faster.

    You can start in safe mode by pressing F8 during startup. You will see that the game does not load again.

  • How to activate the spell checker

    I use Mozilla Thunderbirds e-mail and would like to know how to activate the spell checker - Help

    http://email.about.com/od/mozillathunderbirdtips/Qt/et_inline_spell.htm

  • How to activate the pop-up windows?

    I can't fill a demand for services with ASCAP because I've not enabled popups. So, how to activate the pop-up windows?

    You can uncheck the block pop-up windows under the Orange Firefox button > Options > Options > content tab.

    See more details here

  • How to activate the BT on the Satellite C660-184?

    Toshiba produces online information continues to tell me that the Bluetooth 3.0 is available for my computer, but annoyingly not to tell me how I can get it.

    It would be useful that this information came with a link that I can use to act on the information.

    Does anyone know how bluetooth can be enabled on my computer?

    All the info and the latest BT downloads, you can find the portal of Toshiba BT - http://aps2.toshiba-tro.de/bluetooth/

    How to activate the BT?
    Activate WLAN first and when WLAN led on the key FN + F8 use combination and allow to BT

Maybe you are looking for