KotiChennayya
Programmer
Let me explain the secnario first.
I am running a multithreaded application(10 threads) in C.Inside each thread I am creating a TCL interpreter.
After creating the interpreter I am executing a TCL script.Within the script I am logging in
to the Oracle database(I am using ORATCL 3.1 &TCL 8.3) and doing some database operation.So there will be 10 database connection is required(One for each thread)
Now I want to reduce(I cannot keep on increasing # of database connections) this database connections as I need to increase the threads from 10 to 16.
Can I do database pooling with just 4 database connections?These 16 threads will have to share this 4
database connections.The database operations has to be in TCL only.Is there any way to achive this database pooling?
Your solutions are really precious for me.
Thanks in advance.
I am running a multithreaded application(10 threads) in C.Inside each thread I am creating a TCL interpreter.
After creating the interpreter I am executing a TCL script.Within the script I am logging in
to the Oracle database(I am using ORATCL 3.1 &TCL 8.3) and doing some database operation.So there will be 10 database connection is required(One for each thread)
Now I want to reduce(I cannot keep on increasing # of database connections) this database connections as I need to increase the threads from 10 to 16.
Can I do database pooling with just 4 database connections?These 16 threads will have to share this 4
database connections.The database operations has to be in TCL only.Is there any way to achive this database pooling?
Your solutions are really precious for me.
Thanks in advance.