SQLMemTable: The Fastest Memory Database with SQL Support
SQLMemTable is the first and only memory database with SQL support for Delphi and C++ Builder.
You can create as many memory databases as you like - each of them will have its own tables namespace.
Thus it is possible to create multiple copies of same database - like snapshots.
SQLMemTable can be used for importing data from different databases, as it allows
to create fully independent databases - MemDBOracle for import from Oracle,
MemDBMSSQL for SQL Server, MemDBMySQL for MySQL, etc.
Database Designer - Easy Data Import
Database Designer - Easy Data Import
Another great advantage of SQLMemTable - is its Database Designer .
It allows to perform all possible operations - import data from any TDataset descendant,
export to SQL, execute SQL scripts, save and load database, browse table and queries.
Shortly, Database Designer includes all features of SQLConsole utility and much more.
Performance comparison with v.3 - Load / Save
Performance comparison with v.3 - Load / Save
The results of first complex test in the Table1 .
The performance advantage of version 4 is shown on the
Diagram 1 .
Diagram 1. Test table with many fields and indexes - 20,000 records.
Table 1. Tests passing time for 20,000 records, sec.
Operation
v.3.90 time, sec.
v.4.00 time, sec.
v.4.00 advantage, times.
Create table
0.000
0.000
0.00
Insert records
3.891
3.750
1.04
Save table
253.781
0.078
3253.60
Delete table
0.000
0.000
0.00
Load table
0.032
0.032
1.00
Overall
257.704
3.860
66.76
Test environment: Intel Pentium 4 2.4 Ghz, 512 MB RAM, Windows XP SP2.
You can
download full source code of the testing program.
You may freely use and change this program but
in any case with any publishing of any investigations using the materials presented here
(including program(s) for measurements) or the measurement principles,
you must needs refer to AidAim Software as the author and this article itself.
Performance comparison with v.3 - Insert
Performance comparison with v.3 - Insert
The results of insert test with simple table structure in the Table2 .
The performance advantage of version 4 is shown on the
Diagram 2 .
Increasing the record size and number of records will lead to greater difference,
as the version 4 of SQLMemTable has much better algorithm of memory management.
Diagram 2. Test table with simple structure - 1,000,000 records.
Table 2. Tests passing time for 1,000,000 records, sec.
Operation
v.3.90 time, sec.
v.4.00 time, sec.
v.4.00 advantage, times.
Insert records
115.859
70.718
1.64
Test environment: Intel Pentium 4 2.4 Ghz, 512 MB RAM, Windows XP SP2.
You can
download full source code of the testing program.
You may freely use and change this program but
in any case with any publishing of any investigations using the materials presented here
(including program(s) for measurements) or the measurement principles,
you must needs refer to AidAim Software as the author and this article itself.
Try It Now For Free!!!
Try It Now For Free!!!
Download personal version of SQLMemTable for FREE!
Custom Development
Custom Development for you -
Delphi and
C++ Builder !
Experts in Database, Networking, Data Compression and Encryption.
10+ years experience.
Contact Us!