Академический Документы
Профессиональный Документы
Культура Документы
The individual projects in this folder show how to generate data, export to CSV,
and import from CSV. All projects handle the full number of 20 million records.
Requirements
1. Compile and run one of the Generate projects. They will create a
20_million_generate.db3 database file filled with random data.
2. Compile and run the Export project. This will export all 20 million records
from the generated table to a newly created CSV file.
3. Compile and run one of the Import projects. They will import all 20 million
records from the CSV file to a newly generated 20_million_import.db3 database.
The projects are set up to use no more than about 450 MB of memory for database
operations. Using more memory will speed up insertions and index creation. Refer
to the source code comments for details.
About 20% improvement can be achieved by using a fast memory manager like FastMM.
Approximate Timings
All timings measured on a Intel Core Duo 1.8 MHz, 1 GB memory, 5200 rpm hard
disk notebook system. Systems with faster hard disks and server hardware are
expected to show even better performance.