Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
Berkeley DB Family
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: May 11, 2012 7:49 PM by
compare kyoto, tokyo, berk and sqlite3; synchronous ops.. weird results
May 11, 2012 7:49 PM
So I'm comparing Berk, SQLite3, Kyoto and Tokyo with synchronous transactions for every operation.
I've found over a three hour test, berkley is ~80 put operations/second and the rest range from 5 to 20.
Can anyone fathom a reason why berk is getting so much better performance?
Are they using different methods of synchronization with the disk?
My berkeley setup:
Transactions are enabled.
int envOpenFlags =
(transactionsEnabled ? DB_INIT_TXN : 0x0) |
(transactionsEnabled ? DB_INIT_LOCK : 0x0) |
(transactionsEnabled ? DB_INIT_LOG : 0x0);
int dbOpenFlags =
(transactionsEnabled ? DB_AUTO_COMMIT : 0x0);
my transactions structure:
put or get operation
This content has been marked as final.
Show 0 replies