SQLite soytarılığı...

Firebird ve Interbase veritabanları ve SQL komutlarıyla ilgli sorularınızı sorabilirsiniz. Delphi tarafındaki sorularınızı lütfen Programlama forumunda sorunuz.
Cevapla
Kullanıcı avatarı
Terminator
Üye
Mesajlar: 313
Kayıt: 13 Ara 2005 01:45
Konum: İzmir, ama Aydın Efesi!

SQLite soytarılığı...

Mesaj gönderen Terminator »

Linke bakma fırsatım oldu ama birkaç satır sonra asabım kaldırmadı.
bu ne soytarılık yaa..
adam 1000 kayıtlık transaction dışı insert işlemini 25000 kayıtlık transactional insert işleminden bile yavaş yaptığını itiraf ediyor bu nasıl bir mantıktır, programdır, üründür..
takdiri aklı başında insanlara bırakıyorum.
ne kadar kendini kaybetti bu sektör böyle, insanlar artık sorgulamadan, düşünmeden sadece beyan edilen rakamlara bakıyor.

----
Test 1: 1000 INSERTs
CREATE TABLE t1(a INTEGER, b INTEGER, c VARCHAR(100));
INSERT INTO t1 VALUES(1,13153,'thirteen thousand one hundred fifty three');
INSERT INTO t1 VALUES(2,75560,'seventy five thousand five hundred sixty');
... 995 lines omitted
INSERT INTO t1 VALUES(998,66289,'sixty six thousand two hundred eighty nine');
INSERT INTO t1 VALUES(999,24322,'twenty four thousand three hundred twenty two');
INSERT INTO t1 VALUES(1000,94142,'ninety four thousand one hundred forty two');

SQLite 3.3.3 (sync): 3.823
SQLite 3.3.3 (nosync): 1.668
SQLite 2.8.17 (sync): 4.245
SQLite 2.8.17 (nosync): 1.743
PostgreSQL 8.1.2: 4.922
MySQL 5.0.18 (sync): 2.647
MySQL 5.0.18 (nosync): 0.329
FirebirdSQL 1.5.2: 0.320

Test 2: 25000 INSERTs in a transaction
BEGIN;
CREATE TABLE t2(a INTEGER, b INTEGER, c VARCHAR(100));
INSERT INTO t2 VALUES(1,298361,'two hundred ninety eight thousand three hundred sixty one');
... 24997 lines omitted
INSERT INTO t2 VALUES(24999,447847,'four hundred forty seven thousand eight hundred forty seven');
INSERT INTO t2 VALUES(25000,473330,'four hundred seventy three thousand three hundred thirty');
COMMIT;

SQLite 3.3.3 (sync): 0.764
SQLite 3.3.3 (nosync): 0.748
SQLite 2.8.17 (sync): 0.698
SQLite 2.8.17 (nosync): 0.663
PostgreSQL 8.1.2: 16.454
MySQL 5.0.18 (sync): 7.833
MySQL 5.0.18 (nosync): 7.038
FirebirdSQL 1.5.2: 4.280

--------
Firebird Foundation Member #208
http://www.firebirdsql.org
Cevapla