OCI OCCI performance

Hi everyone,
is there a difference between these two implementation?
I 've got to develop a C++ program with more than 3 billion database entries, so every tuning would be helpful I guess :-)
The biggest table would have 1,5 billion entries.
Is OCCI only a warrper or has it more features? Is there a book or documention about the performance for C++ application with oracle.
All I 've found about performance tuning is tuning the database itself.
thx
marc

iAS is an application server, which pretty much indicates that you'll be writing Java. ODBC, OCI, and OCCI are C or C++ API's. It's probably possible to set up a system that makes JNI calls in iAS to C or C++ libraries, but that hardly seems like the ideal architecture.
If you want to use a Java application, JDBC is the Java API for database access. JDBC will certainly allow you to work with the Oracle Spatial datatypes.
You can also use things like mod_plsql with iAS to do the vast majority of middle tier work in PL/SQL.
If you want to use OCI or OCCI, you could certainly write a middle tier layer there, throw some ASP pages on top, and expose that through IIS (since you mentioned ODBC as an option, I'm assuming you're a Windows shop).
The ODBC does not provide a particularly useful way to work with Oracle-specific data types like those in interMedia.
Justin
Distributed Database Consulting, Inc.
www.ddbcinc.com

Similar Messages

  • Is there intermedia oci/occi api support?

    I use occi in Linux server programes,I found there is little statement about oci/occi support about intermedia in the occi documentation,is Oracle going to support intermedia oci/occi API,or is there any?
    Thanks.
    XiaoboGu

    I have used OCI with interMedia, I would assume OCCI would be similar.
    While we don't have the wrapper classes for objects that we provide for Java, you can do queries or call procedures to access interMedia data.
    For example, you can do a select img.getContent(), img.getMimeType() from ....
    To get at the object attributes as simple types.
    Larry

  • JDBC OCI multithreaded performance

    I am running some test on Solaris 2.6 (6 CPUs) with Oracle 8.1.6 OCI drivers. If I create a test program that only inserts data into a single table, I get the same performance with a single thread as I get with 6 threads each with a dedicated connection. Does the OCI Driver syncronize the Database requests in such a manner that threading does not help?

    Heather,
    Our OCI driver doesn't synchronize database access across multiple Connection objects. It only synchronizes database access requests from multiple Statements on the same Connection object.

  • ODBC, OCI, OCCI

    Hi,
    Could anyone tell me whether I can access a Oracle Spatial instance through Oracle 9i AS Wireless using ODBC, OCI or OCCI. I want to interrogate the spatial database from a Compaq iPAQ running the familiar distribution of embedded Linux.
    Cheers,
    Sean

    iAS is an application server, which pretty much indicates that you'll be writing Java. ODBC, OCI, and OCCI are C or C++ API's. It's probably possible to set up a system that makes JNI calls in iAS to C or C++ libraries, but that hardly seems like the ideal architecture.
    If you want to use a Java application, JDBC is the Java API for database access. JDBC will certainly allow you to work with the Oracle Spatial datatypes.
    You can also use things like mod_plsql with iAS to do the vast majority of middle tier work in PL/SQL.
    If you want to use OCI or OCCI, you could certainly write a middle tier layer there, throw some ASP pages on top, and expose that through IIS (since you mentioned ODBC as an option, I'm assuming you're a Windows shop).
    The ODBC does not provide a particularly useful way to work with Oracle-specific data types like those in interMedia.
    Justin
    Distributed Database Consulting, Inc.
    www.ddbcinc.com

  • How to find the installed oracle components( oci , occi) versions?

    Hi,
    could you please help me to find out the version of installed oracle components?
    ex: which version of OCCI installed?
    one way is using OUI gui tool.
    I also got this info from oracle inventory file.
    under $ORACLE_HOME/inventory/ContentsXML/comps.xml
    But is there any best way or command to look for the same.
    Thanks,
    Krish

    The "best way" almost certainly depends on why you're looking for the information and what tool(s) you're using.
    If you're asking a human being to get the information, the OUI is generally going to be "better". If you're writing a program to get the information, parsing the inventory XML is likely to be "better".
    If you have multiple Oracle Homes on a single machine (particularly Oracle Homes with different major Oracle releases), though, or you have various failed/ incomplete/ obsolete installations on various machines, or if you're trying to figure out which version of the libraries would actually get used when a particular application starts up (assuming there are multiple applications on the machine), things start to get rather trickier.
    Justin

  • Does Oracle Database 10g Express support oci/occi ?

    When I install express on fedroa ,can't find the libraries.

    Hi,
    Thanks for your quick reply. I just wanted to know if it does support sequences. We are planning to bundle some free DB with our product. So, I was thinking if OracleXE would be a choice & hence, verifying the required features.
    Thanks.

  • Create a new oracle database from OCI or OCCI client

    Hi,
    How can we create a new oracle database from OCI or OCCI client?
    i am using the oracle 11gR2
    Thanks in Advance,
    Sreekanth Polaka

    Though I have not tried creating a database, try if its doable.
    You can use OCI to perform SYSDBA operations.
    So connect as OCI_SYSDBA and try executing the entire create database command.

  • OCCI VS 2008 & OCCI 11.1.0.6.0  Performance Problem

    I have been using VS C++ 2003 in combination with the oracle instant client 10.2.0.4 in our tool. We now moved to VS C++ 2008 (Express Edition) and oracle instant client 11.1.0.6.0 as listed at
    [http://www.oracle.com/technology/tech/oci/occi/occidownloads.html]
    I noticed a significant performance change for even simple queries on using the 11.1.0.6.0 client.
    Does anybody else noticed any performance problems with the 11.1.0.6.0 client libraries for VS C++9(VS 2008) 32 bit?
    I made a small test program which just connects to the db instance and makes a simple select and afterwards iterate through the result and calculate count by just incrementing. Following is the output of the same program, first with the 11.1.0.6.0 client and afterwards with the 10.2.0.4.0 client.
    Testing OCCI
    Using Oracle Client:Oracle 11.1.0.6.0
    Connected to Server lsy_ext.world
    Version :Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.5.0 - Production
    beginning select :select * from schedule
    Current time and date: Tue Mar 17 13:05:27 2009
    Select finished:select * from schedule
    Current time and date: Tue Mar 17 13:05:31 2009
    beginning iteration through result
    Current time and date: Tue Mar 17 13:05:31 2009
    iteration finished
    Current time and date: Tue Mar 17 13:05:31 2009
    Total Data for
    select * from schedule
    Count = 578
    beginning select :select * from leg
    Current time and date: Tue Mar 17 13:05:31 2009
    Select finished:select * from leg
    Current time and date: Tue Mar 17 13:05:36 2009
    beginning iteration through result
    Current time and date: Tue Mar 17 13:05:36 2009
    iteration finished
    Current time and date: Tue Mar 17 13:05:48 2009
    Total Data for
    select * from leg
    Count = 981011
    Testing OCCI
    Using Oracle Client:Oracle 10.2.0.4.0
    Connected to Server lsy_ext.world
    Version :Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.5.0 - Production
    beginning select :select * from schedule
    Current time and date: Tue Mar 17 13:04:03 2009
    Select finished:select * from schedule
    Current time and date: Tue Mar 17 13:04:03 2009
    beginning iteration through result
    Current time and date: Tue Mar 17 13:04:03 2009
    iteration finished
    Current time and date: Tue Mar 17 13:04:03 2009
    Total Data for
    select * from schedule
    Count = 578
    beginning select :select * from leg
    Current time and date: Tue Mar 17 13:04:03 2009
    Select finished:select * from leg
    Current time and date: Tue Mar 17 13:04:03 2009
    beginning iteration through result
    Current time and date: Tue Mar 17 13:04:03 2009
    iteration finished
    Current time and date: Tue Mar 17 13:04:15 2009
    Total Data for
    select * from leg
    Count = 981011
    Apparently, each select statement takes round about 5 seconds with the 11 client libraries. Does anybody has an explanation for this?
    beginning select :select * from schedule
    Current time and date: Tue Mar 17 13:05:*27* 2009
    Select finished:select * from schedule
    Current time and date: Tue Mar 17 13:05:*31* 2009
    Thank you
    Benny
    Edited by: bennyvar on Mar 18, 2009 12:25 PM

    I started visual studio with logging turned on. Here are the results from the log file:
    <entry>
    <record>60</record>
    <time>2008/01/18 19:14:09.974</time>
    <type>Information</type>
    <source>Microsoft Visual Studio</source>
    <description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
    <guid>{D601BB95-E404-4A8E-9F24-5C1A462426CE}</guid>
    </entry>
    <entry>
    <record>61</record>
    <time>2008/01/18 19:14:11.026</time>
    <type>Warning</type>
    <source>Microsoft Visual Studio Appid Stub</source>
    <description>CheckPackageSignature failed; invalid Package Load Key</description>
    <guid>{D601BB95-E404-4A8E-9F24-5C1A462426CE}</guid>
    </entry>
    <entry>
    <record>62</record>
    <time>2008/01/18 19:14:11.056</time>
    <type>Information</type>
    <source>Microsoft Visual Studio</source>
    <description>Begin package load [Oracle Developer Tools for Visual Studio .NET]</description>
    <guid>{D601BB95-E404-4A8E-9F24-5C1A462426CE}</guid>
    </entry>
    <entry>
    <record>63</record>
    <time>2008/01/18 19:14:16.273</time>
    <type>Error</type>
    <source>Microsoft Visual Studio</source>
    <description>SetSite failed for package [Oracle Developer Tools for Visual Studio .NET]</description>
    <guid>{D601BB95-E404-4A8E-9F24-5C1A462426CE}</guid>
    <hr>80004005 - E_FAIL</hr>
    </entry>
    <entry>
    <record>64</record>
    <time>2008/01/18 19:14:16.313</time>
    <type>Error</type>
    <source>Microsoft Visual Studio</source>
    <description>End package load [Oracle Developer Tools for Visual Studio .NET]</description>
    <guid>{D601BB95-E404-4A8E-9F24-5C1A462426CE}</guid>
    <hr>80004005 - E_FAIL</hr>
    </entry>

  • OCCI Error -  ORA-32102: invalid OCI handle

    Hi,
    I'm completely new to OCCI and Linux and trying to run the simple OCCI program given in oracle site (http://www.oracle.com/technology/tech/oci/occi/occibasic.html) to connect a remote Oracle DB server.
    #include <iostream>
    #include <occi.h>
    using namespace std;
    using namespace oracle::occi;
    int main()
    Environment* env = Environment::createEnvironment();
    Connection* conn = env->createConnection("testdb", "testdb", "192.168.10.118:1521/ORADB"); // user, password, url
    Statement* stmt = conn->createStatement();
    stmt->setSQL("INSERT into FRUITS (fruit, amt) VALUES ('apple', 10)");
    stmt->executeUpdate();
    conn->terminateStatement(stmt);
    env->terminateConnection(conn);
    Environment::terminateEnvironment(env);
    return 0;
    When I try to run it after compilation it gives the following error.
    ORA-32102: invalid OCI handle
    The error should be in the line: Connection* conn = env->createConnection("testdb", "testdb", "192.168.10.118:1521/ORADB");
    I could track it by placing a cout<< there.
    Why this is and how can I handle this error? Please post your experience.
    Thanks

    Hi,
    I found the reason. It may due to the permission level of the user "testdb". When I tried with a different user it worked!
    Thanks

  • Does Oracle provide public Symbol Files (PDB) for OCCI/OCI ?

    When debugging an application under Windows (with Visual Studio or WinDBG) that makes use of OCCI it would often be convenient if there be symbol files (PDB files) for the Oracle OCI/OCCI libraries. ( [public symbol files|http://msdn.microsoft.com/en-us/library/ff553493%28VS.85%29.aspx] , just as Microsoft makes available for all system libraries)
    Does Oracle provide these?
    thanks,
    Martin

    Hi,
    I have this bug opened http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7191593 and http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7175004.
    I also opened Jetty bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=335813 and It sounds like it is a JVM on windows 2008 problem..
    In order to investigate it further I also need these .pdb files which I am trying to get with no success (http://stackoverflow.com/questions/12265573/looking-for-java-pdb-files-analyze-a-crash-hdmp-file)
    Thanks.

  • Comparison: OCI or OCCI.

    Hi,
    I'll start a new project that requires low-level Oracle access. I want to use OCI or OCCI.
    I've searched and read some docs. But, I still have some questions on using OCI or OCCI.
    - I'm familiar with object-orientied programming. So, I consider OCCI. But, I'm not sure if I can do anything that I can do in OCI. does OCCI provide anything provided by OCI ?
    - Which one is faster (if other conditions are accepted as constant) ?
    - Which one is more popular in development ?
    - is there a comparison sheet between them ?
    - is there a URL that referres to OCI/OCCI papers (other than OCI/OCCI home pages at otn) ?
    thanks in advance...

    But you can only use OCCI with a C++ compiler, NOT a plain C compiler, right?
    However, with OCI you can use either c or c++.

  • OCCI: ORA-21500 [17099] seg faults on 10.2.0.4.1 client

    Hi,
    I've been getting this seg fault using OCCI, my environment:
    Oracle client 10.2.0.4.1 x86_64 (jul 2009) on rhel5.4
    Oracle database 9.2.0.8 x86_64 on rhel4.8
    I've written a g++ multi thread app that is making use of Connection Pooling, within 5 minutes of my app starting it seg faults with:
    ORA-21500: internal error code, arguments: [], [], [], [], [], [], [], []
    ORA-21500: internal error code, arguments: [17099], [], [], [], [], [], [], []
    Errors in file :
    ORA-21500: internal error code, arguments: [], [], [], [], [], [], [], []
    ORA-21500: internal error code, arguments: [17099], [], [], [], [], [], [], []
    ----- Call Stack Trace -----
    ORA-21500: internal error code, arguments: [], [], [], [], [], [], [], []
    ORA-21500: internal error code, arguments: [17099], [], [], [], [], [], [], []
    Errors in file :
    ORA-21500: internal error code, arguments: [], [], [], [], [], [], [], []
    ORA-21500: internal error code, arguments: [17099], [], [], [], [], [], [], []
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    calling call entry argument values in hex
    location type point (? means dubious value)
    Cannot seek to string table section header in /proc/8712/exe.
    Cannot seek to string table section header in /proc/8712/exe.
    Segmentation fault
    its compiled against gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)
    I've tried the following:
    Installing the occi download from http://www.oracle.com/technology/tech/oci/occi/occidownloads.html and compiling with gcc-3.4.6
    I'm using the following commands to compile & link:
    g++ -DMOXA_DEBUG -I/database/u00/app/oracle/product/10.2.0/db_1/rdbms/demo -I/database/u00/app/oracle/product/10.2.0/db_1/rdbms/public -I/database/u00/app/oracle/product/10.2.0/db_1/plsql/public -I/database/u00/app/oracle/product/10.2.0/db_1/network/public -O0 -g3 -Wall -c -fmessage-length=0 -fPIC -MMD -MP -MF"src/DB_Table.d" -MT"src/DB_Table.d" -o"src/DB_Table.o" "../src/DB_Table.cpp"
    g++ -L/database/u00/app/oracle/product/10.2.0/db_1/rdbms/lib -L/database/u00/app/oracle/product/10.2.0/db_1/lib -shared -o"libmoxa.so" ./src/DB_Table.o ./src/Dialup.o ./src/Modem.o ./src/Rtu.o ./src/Rtu_Type.o ./src/Session.o ./src/Session_Log.o ./src/Soe_Point.o ./src/Soe_Point_Event.o ./src/Thread.o ./src/Utils_Time.o ./src/db.o -locci10_343 -lclntsh -ldl -lm
    I've tried to do a -locci10 instead of the -locci10_343, still nothing..
    Intesting to note, the older version of the application on the same environment doesn't have this problem..
    I do know OCCI is a bit tempremental, especially when creating threads, as i've had to put a 100ms delay otherwise i get other errors
    the back trace looks like, it allways core dumps when releasing the connection..
    #0 0x00002b01b9fd8cae in slrac () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    (gdb) bt
    #0 0x00002b01b9fd8cae in slrac () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #1 0x00002b01b9fd8b3d in kgdsaaddr () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #2 0x00002b01b9fd83b8 in kgdsdst () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #3 0x00002b01b9c7f0b0 in skgudmp () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #4 0x00002b01b9fb27ac in kgeriv () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #5 0x00002b01b9fb2fab in kgesiv () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #6 0x00002b01b9fb2ace in kgesic0 () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #7 0x00002b01b9ace52d in kpuhhfre () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #8 0x00002b01b9ad9a3a in kpuhmcfre () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #9 0x00002b01b9a6ca5a in kputac () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #10 0x00002b01b9b8265a in kpuspsessionrelease () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #11 0x00002b01b9be1d6f in OCISessionRelease () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #12 0x00002b01b95452f1 in oracle::occi::ConnectionImpl::do_destroy () from /home/fep/moxa_1.3/libmoxa/Debug/libmoxa.so
    #13 0x00002b01b954d78c in oracle::occi::ConnectionPoolImpl::terminateConnection () from /home/fep/moxa_1.3/libmoxa/Debug/libmoxa.so
    #14 0x00002b01b953c47c in DB::release_connection (conn=0xed36498) at ../src/db.cpp:126
    I'm downloading the 11.2g client in the hope it works there without a hitch..
    Any help/suggestions whould be much appreciated..
    Cheers
    James

    Shiyer,
    libmoxa.so is the library I have created which is performing the oracle queries..
    The pool is created from the main thread by:
    Environment _env = Environment::createEnvironment (Environment::DEFAULT);
    ConnectionPool connectionpool = _env->createConnectionPool(
    username, passwd, tnsname, 1, 10, 1);
    And then each query is used run inside a connect initiated with:
    Connection *conn = connectionpool->createConnection(_username.c_str(), passwd.cstr());
    Statement *stmt = conn->createStatement("select 1 from dual;");
    ResultSet *rset = stmt->executeQuery();
    while( rset->next() == rset->DATA_AVAILABLE ) {
    std::cout << rset->getInt(1) << std::endl;
    stmt->closeResultSet (rset);
    conn->terminateStatement (stmt);
    and connection released with:
    connectionpool->terminateConnection(conn);
    Hope this helps!
    cheers
    James

  • Problem with OCI call  and  how to install and use 'DEBUG_EXTPROC' on Linux

    Hi,
    Can any one let me know how I can install and use this debug_extproc package. I have installed oracle XE server on Linux machine(32-bit).
    When I use : DEBUG_EXTPROC.STARTUP_EXTPROC_AGENT' ... i get an error saying that : it is not declared.
    I tried looking in all the directories but did not find the dbgextp.sql(which is required in order to install that package).And tried searching on google but could not get any relevant information.
    Also I am newbie to OCI call interface and also to C programming too: I have coded a external procedure or custom user aggregate in C. But since I was using C++ : 'set' STL. I have compiled my program using g++ instead of gcc and I have correspondingly modified the make file in public/demo directory.
    So, is it fine to do it that way: using OCI (instead of OCCI(C++)) but again compiling the pgm as a regular C++ using g++ instead of gcc.(But rest of the pgm including printf statements : everything is in C).
    Also I have created the library from my : custagg.so library:
    SQL> create or replace library custagg is '$ORACLE_HOME/lib/custagg.so'
    But my aggregate function implemented as external C function using OCI is either not recognised or else : if recognized then there is some error because of which i am getting the following errors : ORA-06522
    SQL> select MinDistance(TT) from egg1;
    select MinDistance(TT) from egg1
    ERROR at line 1:
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/custagg.so:
    cannot dynamically load executable
    Please kindly answers my queries and trying to resolve this for almost 4 days now and could not find any clue on how to get this done.
    Thanks,
    -NN

    #/bin/make
    # Make file for OCI,OCCI and ODBC demos
    # Usage :
    # For compiling & linking the cdemo81.c file
    # make -f demo_xe.mk buildoci CDEMOEXE=cdemo81 CDEMOOBJS=cdemo81.o
    .SUFFIXES: .o .c .cpp
    ICINCHOME=$(ORACLE_HOME)/rdbms/public/
    ICLIBHOME=$(ORACLE_HOME)/lib
    ICLIBPATH=-L$(ICLIBHOME)
    THREADLIBS=-lthread
    CCLIB=$(ICLIBPATH) -lclntsh $(THREADLIBS)
    OCCILIB=$(ICLIBPATH) -locci -lclntsh $(THREADLIBS)
    CCINCLUDES = -I$(ICINCHOME)
    CCFLAGS=$(CCINCLUDES) -D_REENTRANT -g -xs
    LDFLAGS=
    SO_EXT=.so
    EXTLDFLAGS=$(LDFLAGS) -shared
    REMOVE=rm -rf
    MKLINK=ln
    MAKE=make
    MAKEFILE=demo_xe.mk
    CDEMOEXE=custagg.so
    CDEMOOBJS=custagg.o
    OCCIDEMO=occidml
    OCCIOBJDEMO=occiobj
    OTT=$(ORACLE_HOME)/bin/ott
    OCCIOTTUSR=hr
    OCCIOTTPWD=hr
    ODBCDEMOEXE=odbcdemo
    ODBCDEMOOBJS=odbcdemo.o
    AQDEMOEXE=ociaqdemo00
    AQDEMOOBJS=ociaqdemo00.o
    EXTDEMO=extdemo2.so
    CC=/usr/bin/g++
    echo "LIBCLNT value is :" $(LIBCLNT)
    echo "CC value is :" $(CC)
    .c.o:
    g++ -c -I$(ICINCHOME) $(CCFLAGS) $<
    all: clean buildoci
    echo "LIBCLNT value is :" $(LIBCLNT)
    buildoci: $(LIBCLNT) $(CDEMOOBJS)
    g++ -o $(CDEMOEXE) $(LDFLAGS) $(CDEMOOBJS) $(CCLIB)
    echo "CC value is :" $(CC)
    echo "LIBCLNT value is :" $(LIBCLNT)
    clean:
    $(REMOVE) $(CDEMOOBJS) $(CDEMOEXE)
    # This port-specific file is currently empty on Solaris. Product
    # lines may use this file to override compiler definitions and
    # flags used in occi.mk.
    # Linux compiler definitions
    CC=/usr/bin/gcc
    cc=/usr/bin/gcc
    CCFLAGS=$(CCINCLUDES) -DLINUX -D_GNU_SOURCE -D_REENTRANT -g
    LDFLAGS=-g
    # This macro CCINCLUDES has to be redefined on Linux because of
    # the existence of the 'new' directory in t_work. The name new
    # clashes with a system header file.
    CCINCLUDES = -idirafter .
    THREADLIBS=-lpthread
    ifdef BUILD_CCC296
    CC=/usr/bin/g++296
    endif
    And I am executing the make file using the command :
    make -f demo12.mk buildoci CDEMOEXE=custagg.so CDEMOOBJS=custagg.o
    I am not getting any error while running this make file.
    Can you please tell me whether PLSQL/Oracle is able to locate the file or not. Incase, if it is locating the file but due to some error in the custagg.so it is throwing that error. If this is the case, is there any way that i can debug the C program .....how can i install the debug_extproc package.. I am really new to C & OCI ... if the custagg.so is being located then there might be some problem with the way I am dynamically allocating memory to some variables.
    Please kindly reply to this Post/response.
    Please let me know if you also want to see my program code.
    Thanks & Regards,
    -NN

  • Connection Pooling in OCCI Vs Multi-Threading.

    Hi,
    I am working on an application in which I am using OCCI( Oracle C++ Call Interface)  and multi-threading concepts.
    My application is having different clients( Ex: Client-A, Client-B) and I am offering a set of operations( functions that trigger the Stored Procedures of DataBase ) which are common to all the clients.Each Client can send asynchronous requests of any number.So, is there any chance of using single connection( not connection pooling) to the Data Base for all the clients to manage their requests ?
    Note: Multi-threaded requests are also allowed from each client.
    How can I co-relate multithreading and Connection Pooling in OCCI?
    Can I you multi-threading without Connection Pooling? If so how?
    Will the connection pooling is needed if there is no multi threading concept in my application?
    Please help me on this. Very urgent.
    Thanks in Advance..:)

    Connections are resources that the application uses and a fewer connections can be used by multiple threads if the threads are not always busy with the database activity only, and are doing other work too. This sharing (pooling) can be implemented by the application or the application can leverage the connection pooling features offered by OCI/OCCI (recommended).
    Be aware of connections vs sessions and sharing them (refer to :
    OCI Programming Advanced Topics
    OCCIConnectionPool is to pool connections and OCCIStatelessConnectionPool is to pool sessions. Please see the differences in the above link and apply as appropriate.

  • Error connecting with OCCI in Oracle 11G

    Hi,
    I am trying to access the Oracle 10.2.0.1 database using Oracle 11.1.0.6 Client.
    I am able to make connection in SQL Plus window.
    But when I am trying to connect to the DB with Occi I ran with this problem in Oraocci11.dll
    Unhandled exception at 0x1001e604 in Occi_8.exe: 0xC0000005: Access violation reading location 0x32869770.
    Please suggest what is to be done in this regard.
    Thanks in advance
    kameswara Sarma

    Please check if you are using the correct compilers (Installation guides) and see if you need anything from here:
    [http://www.oracle.com/technology/tech/oci/occi/occidownloads.html]

Maybe you are looking for

  • Project will not load Premiere CS5

    Ive been working on my senior class video yearbook all year and now the project has over 400 files and now i cant work on it. It will pass the load process but once the sequence and everything comes on, it begins to load all the separate files and ne

  • Outbound IDoc Adapter

    I have a file to IDoc scenario in my production XI box (EXP). This scenario sends the IDoc to my productions ECC box (EP1). In SXMB_MONI in EXP the message status is fail because "Unable to convert the sender service BS_SAPPI700_EXD200 to an ALE logi

  • Apple mail problem message reads - Account removal failed with error: "The operation couldn't be completed. Unable to find an account for the UID given.".

    Account removal failed with error: "The operation couldn't be completed. Unable to find an account for the UID given.".   - trying to remove account but get this message please help

  • Forms 10 g - displaying no data

    hi all Databse 11 g R2 forms dev suit 10 g R1 win xp - SP 2 browser : IE 7 when i run the form , first of all it gives :ORA-01017 invalid user name / password then , i click ok , it open connection form , it gives me user name & database correct name

  • Can not complete

    for the past 24 hours I have been trying to purchase this album on itunes and I keep getting this message that says we can not complete your request at itunes store at this time try again later. About 3 months ago I purchased 2 songs from that album