Oracle 10g AQ - Required Insert Rates  of atleast 8000+ inserts per second

Hey Guys,
I am setting up a AQ in oracle 10g and I require atleast 8000+ insert rates per second, is it possible if so How do i implement it.
Any help would be helpful.
Thanks
Stan

Can you Give me some examples :
I am trying to use AQ Messaging : How do I use perl scripts for the AQ messaging.
In any case if you can give me some examples; detailed on how you have coded
to attain the insert rates of 8000 messages per second
I would appreciate that
Thanks
stan kumar

Similar Messages

  • Oracle 10g unable to insert yet prompt no error

    Hi all,
    I bumped into this strange case. I have my web app connect to oracle 10g. I got all driver and JDBC setup and coded correctly. Somehow, it won't insert into table when i execute insert statement. No exceptions thrown and yet no error. I'm still finding a way to overcome this strange problem. In the mean time, appreciate if anyone out there able to help me to figure out.
    I suspect the driver class is causing problem. But to me, it's just a standard bunch of code:
    Connection con = null;
    try {
    // Load the JDBC driver
    String driverName = "oracle.jdbc.driver.OracleDriver";
    Class.forName(driverName);
    // Create a connection to the database
    String serverName = "127.0.0.1";
    String portNumber = "1521";
    String sid = "orcl";
    String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
    String username = "ivan";
    String password = "admin123";
    con = DriverManager.getConnection(url, username, password);
    } catch (ClassNotFoundException e) {
    // Could not find the database driver
    } catch (SQLException e) {
    // Could not connect to the database
    return con;
    Thanks!
    Ivan Brogalis

    1 - The code posted, creates an SQL connection and returns it. There is no insert query ! Plz post the whole code.
    2 - Append this the catch block :
    catch (Exception e){
        e.printStackTrace();////////////////// USE THIS FOR THE OTHER CATCH BLOCKS TO HELPS U IDENTIFY THE PROBLEM
    }3 - Check whether the connection created is good : make s simple select like the following : String select = "Select sysdate from dual";4 - Check whether the user(name=ivan, password=admin123) has the SELECT/UPDATE rights.

  • How many of these objects should I be able to insert per second?

    I'm inserting these objects using default (not POF) serialization with putAll(myMap). I receive about 4000 new quotes per second to put in the cache. I try coalescing them to various degrees but my other apps are still slowing down when these inserts are taking place. The applications are listening to the cache where these inserts are going using CQCs. The apps may also be doing get()s on the cache. What is the ideal size for the putAll? If I chop up myMap into batches of 100 or 200 objects then it increases the responsiveness of other apps but slows down the overall time to complete the putAll. Maybe I need a different cache topology? Currently I have 3 storage enabled cluster nodes and 3 proxy nodes. The quotes go to a distributed-scheme cache. I have tried both having the quote inserting app use Extend and becoming a TCMP cluster member. Similar issues either way.
    Thanks,
    Andrew
    import java.io.Serializable;
    public class Quote implements Serializable {
        public char type;
        public String symbol;
        public char exch;
        public float bid = 0;
        public float ask = 0;
        public int bidSize = 0;
        public int askSize = 0;
        public int hour = 0;
        public int minute = 0;
        public int second = 0;
        public float last = 0;
        public long volume = 0;
        public char fastMarket; //askSource for NBBO
        public long sequence = 0;
        public int lastTradeSize = 0;
        public String toString() {
            return "type='" + type + "'\tsymbol='" + symbol + "'\texch='" + exch + "'\tbid=" +
                    bid + "\task=" + ask +
                    "\tsize=" + bidSize + "x" + askSize + "\tlast=" + lastTradeSize + " @ " + last +
                    "\tvolume=" + volume + "\t" +
                    hour + ":" + (minute<10?"0":"") + minute + ":" + (second<10?"0":"") + second + "\tsequence=" + sequence;
        public boolean equals(Object object) {
            if (this == object) {
                return true;
            if ( !(object instanceof Quote) ) {
                return false;
            final Quote other = (Quote)object;
            if (!(symbol == null ? other.symbol == null : symbol.equals(other.symbol))) {
                return false;
            if (exch != other.exch) {
                return false;
            return true;
        public int hashCode() {
            final int PRIME = 37;
            int result = 1;
            result = PRIME * result + ((symbol == null) ? 0 : symbol.hashCode());
            result = PRIME * result + (int)exch;
            return result;
        public Object clone() throws CloneNotSupportedException {
            Quote q = new Quote();
            q.type=this.type;
            q.symbol=this.symbol;
            q.exch=this.exch;
            q.bid=this.bid;
            q.ask = this.ask;
            q.bidSize = this.bidSize;
            q.askSize = this.askSize;
            q.hour = this.hour;
            q.minute = this.minute;
            q.second = this.second;
            q.last = this.last;
            q.volume = this.volume;
            q.fastMarket = this.fastMarket;
            q.sequence = this.sequence;
            q.lastTradeSize = this.lastTradeSize;
            return q;
    }

    Well, firstly, I surprised you are using "float" objects in a financial object, but that's a different debate... :)
    Second, why aren't you using pof? Much more compact from my testing; better performance too.
    I've inserted similar objects (but with BigDecimal for the numeric types) and seen insert rates in the 30-40,000 / second (single machine, one node). Obviously you take a whack when you start the second node (backup's being maintained, plus that node is probably on a separate server, so you are introducing network latency.) Still, I would have thought 10-20,000/second would be easily doable.
    What are the thread counts on the service's you are using?; I've found this to be quite a choke point on high-throughput caches. What stats are you getting back from JMX for the Coherence components?; what stats from the server (CPU, Memory, swap, etc)?; What spec of machines are you using? Which JVM are you using? How is the JVM configured? What's are the GC times looking like? Are you CQC queries using indexes? Are your get()'s using indexes, or just using keys? Have you instrumented your own code to get some stats from it? Are you doing excessive logging? So many variables here... Very difficult to say what the problem is with so little info./insight into your system.
    Also, maybe look at using a multi-threaded "feeder" client program for your trades. That's what I do (as well as upping the thread-count on the cache service thread) and it seems to run fine (with smaller batch sizes per thread, say 50.) We "push" as well as fully "process" trades (into Positions) at a rate of about 7-10,000 / sec on a 4 server set-up (two cache storage nodes / server; two proxies / server.) Machines are dual socket, quad-core 3GHz Xeons. The clients use CQC and get()'s, similar to your set-up.
    Steve

  • Performance Tuning in Oracle 10g during Migration - Insert Statements

    Some of the tables contain a huge data e.g. 7 million records to be migrated.
    The table structure of Source Database is different from the Target Database (Where we are doing the migration).
    So we have made a use of temporary tables to collect the data from different tables using joins and populate the main table using INSERT INTO tableA SELECT * FROM tableZ
    Now the problem statement.
    Some of the queries take infinite time and data doesnt get inserted into the main tables. I have seen the explain plan and didnt find anything unusual. The same query works fine when we use date time stamp and restrict the data.
    What parameters do we have to take care ? Is there any configuration needed on Oracle Server side ? If yes which parameters?

    Lets start with the basics. First what is 10g? Is that 10.1.0.3 or 10.2.0.4 or something else?
    Second 7 million records is a relatively small dataset.
    No one can possibly help you with no DDL, no DML, no Explain Plan output generated with DBMS_XPLAN.
    We can make wild guesses but that is like closing your eyes in a dark room and trying to find the light switch.
    Please repost all relevant information so someone can help you.

  • 2 Questions - Low Bit rate output. Low frames per second FPS, HELP! Live show sucked!

    I thought I had all of my settings set for a stream using FMLE running through stickam. Everything was looking good but when we went live our bit rate output went down below 100kbs. I had set it for high kbs but allowed it to drop size to keep frame rate. As you can imagine our video stream went from really good looking to choppy and almost freeze frame half the time. I have no idea what I did wrong. Is it my Cable Internet? My modem? I will say that I ran a speedtest.net test and although the download looked abnormally low I had 1.6Mbs upload which I thought should be sufficient? I'm not sure what to do.
    2nd question. I set FPS frame rate at 25fps but the output only allowed 15fps to the live stream. What is causing this? Is this a default number? It didn't seem what I set the frame rate at, the output was at 15fps. I saw ways to change the fps on the input but nothing on the output. What is the deal here?
    So... to recap. How do I keep the bit rates high and constant on a stream and how do I increase my fps on a stream. Or, to make it real easy, how do I get the best video stream picture that is not choppy or freeze frame. Our show is now starting to be sponsored by entities and I can't have bad looking shows. Can anybody lead me in the right direction?

    Whats your Encoding machine's configuration? I feel a low configuration machine can cause choppy streams.
    Did you try with any other video source?
    I feel you have enough bandwidth to stream.

  • Required services on Oracle 10g

    Hi,
    I would like to learn that what Oracle NT services required in order to
    run SAP, for Oracle 10g. This is because I faced with a problem while
    shutting down the database. The database cannot shutdown and wait for
    something. Since understand the problem, I performed a trace at the OS
    level and I found out that "OracleDBConsole<SID>" service is reading some
    files and performing high I/O operation. As soon as I
    stop "OracleDBConsole<SID>" the database is shutdown properly. Because of
    this reason, we would like to stop unnecessary NT services and want to
    learn what Oracle 10g services required. Thank you.
    Best regards,
    Orkun Gedik

    Hello,
    OracleDBConsole is related to Oracle Enterprise Manager.
    If you are not using it, then You can disable the service or put it to manual as it is not used by SAP.

  • Apostrophe (') issue in Oracle 10g

    Hi,
    I am using oracle 10g and I inserted a record with apostrophe symbol. After executing the script i checked the data and apostrophe symbol is converted into a special character like below.
    Original - Applying of Smart 5 S’ Principles
    After insertion - Applying of Smart 5 S¿ Principles
    After that i updated the record with apostrophe symbol then also it is not updating. Please help me. Thanks.
    Cheers,
    Thana

    Hi,
    Have you tried to "escape" the quote by doubling it?
    update  yourtable
    set col1='Applying of Smart 5 S'' Principles';Are you runing your update from a machine which could have a different character set from that one you're running the select?
    (ie unix systems have different quotes for example " ` ") ...

  • I download oracle 10g

    I am poor.
    how long can I use it free?

    >> how long can I use it free?
    As long as your requirements are met and satisfied with Oracle Database 10g features., you can continue using Oracle 10g. If any updates or new developments (new features which are not available with Oracle 10g) are required and not present in the current version of the database then surely upgrade to the upper version or release. Obviously higher version or release will have greater control, good performance, more and more new features/options on the database.
    Is that what, you wanted to know, or looking of something else?
    Regards,
    Sabdar Syed.
    OP: But Oracle Support (Metalink), of course not for free. You have to have licensed version to avail the Metalink Support for critical problems.
    Message was edited by:
    Sabdar Syed

  • Connect oracle 10G  to access database

    Dear Sir,
    I try to connect oracle(10G) with Access.
    First step : I created Access ODBC
    Second Step: I updated listener , tnsnames , inithsodbc files
    Third step : I am testing by the command line
    'lsnrctl start LISTENERtest'
    but it doesn'yt start and the log file shows the following:
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 20-MAY-2008 12:06:23
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is E:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to E:\oracle\product\10.2.0\db_2\network\log\listenertest.log
    Trace information written to E:\oracle\product\10.2.0\db_2\network\trace\listenertest.trc
    Trace level is currently 0
    Started with pid=2328
    TNS-01150: The address of the specified listener name is incorrect
    could you help me what is the problem?

    The following are the lines I added to tnsnames file:
    test
    =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
    (CONNECT_DATA=(SID=test))
    (HS=OK)
    And the following are the lines I added to listener file:
    LISTENERtest =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    SID_LIST_LISTENERtest=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=test)
    (ORACLE_HOME=E:\oracle\product\10.2.0\db_2)
    (PROGRAM=hsodbc)
    Where is the error?

  • Connect oracle(10G) to Access

    Dear Sir,
    I try to connect oracle(10G) with Access.
    First step : I created Access ODBC
    Second Step: I updated listener , tnsnames , inithsodbc files
    Third step : I am testing by the command line
    'lsnrctl start LISTENERtest'
    but it doesn'yt start and the log file shows the following:
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 20-MAY-2008 12:06:23
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is E:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to E:\oracle\product\10.2.0\db_2\network\log\listenertest.log
    Trace information written to E:\oracle\product\10.2.0\db_2\network\trace\listenertest.trc
    Trace level is currently 0
    Started with pid=2328
    TNS-01150: The address of the specified listener name is incorrect
    could you help me what is the problem?
    Message was edited by:
    user630033

    please excuse, but I have no answer.
    My only hint to you is, copy the question to one of the rdbms-, or odbc-forums of the otn. Here is the forms-forum, where the guys normally didn't need an odbc connection to different databases.
    try it
    Gerd

  • Simple insert, delete and update not working after oracle 10g installation

    Hello,
    I made a new installation of Oracle 10g (10.2.0.1.0) and created a schema . Now i try to insert or update data using simple queries, but unfortunately nothing happens. I tried inserting or updating data even via sqlplus, but unfortunately the same result. Query takes infinite time to end, so i had to manually end it every time... No errors... No warnings... but takes long time... I have given all the required permissions to the schema but the same result. Can somebody help me figure out the problem?
    Tried creating a new table and the insert and delete are working fine... think the problem is with this table... Imported the rows of the table from another online database. I dont understand how this might be a problem.
    Edited by: user13333704 on Mar 15, 2011 1:26 AM

    However how do you generate awr reports and how to find the session wait?TO generate the AWR report
    sql> ?/rdbms/admin/awrrpt
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/autostat.htm#BABDHAGF
    The event column in v$session , in v$active_session_wait will show you the session wait event.What the session was actually waiting for.
    HTH
    Anand

  • Oracle 10g Installtion error Network Configuration requirements ... failed

    Checking Network Configuration requirements ...
    Check complete. The overall result of this check is: Failed <<<<
    Problem: The install has detected that the primary IP address of the system is DHCP-assigned.
    Recommendation: Oracle supports installations on systems with DHCP-assigned IP addresses; However, before you can do this, you must configure the Microsoft LoopBack Adapter to be the primary network adapter on the system. See the Installation Guide for more details on installing the software on systems configured with DHCP.

    Are you installing Oracle 10G R2? If this is the case then for DHCP network environments, you need to create a Microsoft loop back adapter.
    Microsoft Loopback Adapter creation:
    ===========================
    Step 1: Programs -> control panel -> Add Hardware.
    Step 2: In the Add Hardware wizard. Click 'Next' and select 'Yes, I have already connected the hardware'. option and click on 'Next'.
    Step 3: Select the last option 'Add a new hardware device' from the 'Installed hardware' window and click on 'Next'.
    Step 4: Select the last option 'Install hardware that I manually select from the list (Advanced) and click on 'Next'.
    Step 5: Select 'Network adapters' in 'Common hardware types' list and click on 'Next'.
    Step 6: Where you can see 'Microsoft loopback adapter' on the right hand side of the frame.
    Step 7: proceed with all default installation and then try installing Oracle.
    I hope this will suffice.
    Thanks
    Venugopal

  • I create trigger but not display massage after insert in oracle 10g

    I create trigger but not display massage after insert in oracle 10g
    **CREATE OR REPLACE TRIGGER TableName**
    **AFTER INSERT OR DELETE OR UPDATE ON test**
    **BEGIN**
    **if inserting then**
    **dbms_output.put('Message');**
    **end if;**
    **END;**

    What user interface are you using?
    If the tool doesn't support the SQL*Plus syntax (set serveroutput on), it probably has an option somewhere to enable DBMS Output. Not even knowing what tool you're using, it's impossible for us to guess where that option might be configured.
    As others have suggested, using DBMS Output to test code is less than ideal because you're dependent on the application you're using to display it to you and not every application can or will do that. If you want to use DBMS_Output, you may need to switch to a different GUI (SQL Developer or SQL*Plus are both free utilities from Oracle). Otherwise, you'd probably be better off having the trigger do something that you can subsequently query (i.e. write a row to a log table).
    Justin

  • Performance: Bulk Insert Oracle 10g

    Following Situation: We have a VISUAL BASIC 6 Application (I know ... VB6 ... ), an XML-File with data and an Oracle 10g database. The XML-File has to be imported in the database.
    Up to now the Application (Via ADO) analyses the XML-File and creates INSERT and UPDATE Stmts and sends them to the DB. The Stmts will be handled within one Transaction and the application sends each INSERT, UPDATE separate to the database.
    But this is a performance desaster... as expected ... :-) The import takes several hours ...
    Now, my task is to increase the performance, but how .....
    I tried several things, but without the real success, e.g. ...
    I performed some tests with the SQl*Loader. The Insert is really fast, but I can't make an Update, so I had to delete the existing data first. But I can't proceed the two steps in one transaction, because of the SQL*Loader.
    I tried to write a stored procedure which accepts an ADO.Recordset as input param and then creates the Insert and Update statements within the DB to reduce network traffic, but I didn't find a way to handle a ADO.Recordset as a input parameter for a stored procedure.
    Has someone an idea how I can import the XML file in a fast way into the existing DB (and maybe make an Replace of existing records during the import ...) within one transaction without changing the structure of the DB ??? (Oracle packages?? interface in C++ integrated in VB6....) Is there an way to import the XML-File directly to the DB?
    Thanks in advance for any idea :-))

    I tried to write a stored procedure which accepts an ADO.Recordset as input param ...., but I didn't find a way to handle a ADO.Recordset as a input parameter
    for a stored procedure.Use SYS_REFCURSOR as the parameter type. Bulk collect it into a PL/SQL collection. Use FORALL to soup up the INSERT and UPDATE statements.
    Cheers, APC
    blog: http://radiofreetooting.blogspot.com

  • Required setting for Locale values for Arabic db in oracle 10g

    I want to create a new db in Oracle 10g for storing the arabic data.
    My client machine is Arabic Windows XP.
    What are the steps that i will need to follow to make the db arabic supported.
    What streps will be required if i choose to make it unicode supported?
    Setting the following:-
    1. Set Database Character Set to AL32UTF8 for the Oracle Server.
    2. Set the NLS_LANG to ARABIC_LIBYA.UTF8 (on Arabic Windows xp)
    Will do the work?

    The database character set should be AL32UTF8 for Unicode support. This is a recommended setting.
    As far as NLS_LANG is concerned, this strongly depends on how your client application is written (what technology, which Oracle access API). For example, for SQL*Plus, the NLS_LANG must be set to AR8MSWIN1256, as SQL*Plus does not support Unicode on Windows, only the ANSI code page. For SQL Developer, the NLS_LANG does not matter at all.
    -- Sergiusz

Maybe you are looking for