Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Probably 4.25

With

$ pmvers DBI DBD::SQLite DB_File BerkeleyDB DBI: 1.616 DBD::SQLite: 1.33 DB_File: 1.824 BerkeleyDB: 0.49 $ perl -MBerkeleyDB -le " print $BerkeleyDB::db_version 5.1 $ perl -MDB_File -le " print $DB_File::db_version " 5.1

DBD-SQLite-1.33 has #define SQLITE_VERSION "3.7.6.3"

Rate I SQLite I Hash (A) I Hash I B+Tree (A) I SQLite + 2 I B+Tree I SQLite 10079/s -- -60% -62% -83% -8 +9% -90% I Hash (A) 25263/s 151% -- -5% -57% -7 +2% -75% I Hash 26478/s 163% 5% -- -55% -7 +0% -74% I B+Tree (A) 58196/s 477% 130% 120% -- -3 +5% -42% I SQLite 2 89419/s 787% 254% 238% 54% +-- -12% I B+Tree 101180/s 904% 301% 282% 74% 1 +3% -- Rate S SQLite S Hash(A) S Hash S B+Tree(A) S B+Tree +S SQLite 2 S SQLite 16411/s -- -66% -72% -81% -82% + -85% S Hash(A) 48038/s 193% -- -19% -45% -46% + -56% S Hash 59055/s 260% 23% -- -32% -34% + -46% S B+Tree(A) 87209/s 431% 82% 48% -- -2% + -21% S B+Tree 89286/s 444% 86% 51% 2% -- + -19% S SQLite 2 109890/s 570% 129% 86% 26% 23% + -- bdb.hash.test :10469376 bdb.btree.test :13410304 bdb.hash.a.test :10616832 bdb.btree.a.test :7159808 sqlite.test :6668288 sqlite2.test :6668288

It is now possible to compile libdb with sqlite3 interface, and link DBD::SQLite against it

BerkeleyDB:SQL performance and concurrency is superior to SQLite in write-intensive applications and heavy workloads, allowing it to get higher TPS throughput

4000 transactions per-second (TPS) scaling well up to 100 connections, whereas SQLite remains constant at 500 TPS,


In reply to Re^3: New Benchmark: SQLite vs CDB_File vs BerkeleyDB by Anonymous Monk
in thread SQLite vs CDB_File vs BerkeleyDB by Matts

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-18 22:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found