U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ SQL » OleDB + parameters = problem
Re: OleDB + parameters = problem [message #19806 is a reply to message #19794] Fri, 23 January 2009 05:48 Go to previous messageGo to previous message
Novo is currently offline  Novo
Messages: 1431
Registered: December 2006
Ultimate Contributor
luzr wrote on Wed, 21 January 2009 08:22

Speaking about it, it would be really nice if you can provide the benchmark.

In fact, current SqlExp should be possible to expand to support parameters as well, with automatic cache of preparsed statements.

Just show me it has any benefit Smile

Mirek



http://www.ultimatepp.org/forum/index.php?t=msg&goto=115 05&#msg_11541

Try to compare time of insertion of 100000 records. I believe I included drivers for SQLITE and Firebird, which is not supported by U++. I can try to build drivers for other databases and develop more tests. But that will take some time.

From my personal experience I know that using parameters with ORACLE speeds up database operations approximately three times.
Just try to monitor SQL-cache when inserting millions of records not using parameters. Actually, that would be not absolutely correct test because ORACLE is able to auto-detect parameters-capable SQL and transform SQL before executing it.



Regards,
Novo
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to use Sql * Update
Next Topic: Conditional jump or move depends on uninitialised value(s)
Goto Forum:
  


Current Time: Wed Apr 29 05:39:57 GMT+2 2026

Total time taken to generate the page: 0.00463 seconds