On Fri, 8 Sep 2006, Micha Nelissen wrote:

Eduardo wrote:
Here you have some benchmarks (posted in sqlite mail list, so "perhaps"
are biased)

http://sqlite.phxsoftware.com/forums/thread/622.aspx

How 'real-world' is importing 300 thousand records ? Aren't complex
select queries *much* more important ?

Yes, they are. And there sqlite fails miserably. I wrote a series of
articles, comparing several embeddable databases:
 sqlite
 mysql
 firebird
 advantage
 nexusdb
And while sqlite had very good insert and simple select speeds, the speed
of complex queries (joining 2 tables) was a total disaster.

Plus, and this is really what killed it for me: it does no type checking.
You can perfectly store a string in an integer field in sqlite; making it
impossible to use properly with TDataset.
It can be done, but you can get weird errors because MyIntField.AsInteger will
raise an exception of some other app stored a string in the integer.

I never understood what the big fuss is with sqlite. It's easy, yes, but not fit for enterprise use.

Michael.

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to