about summary refs log tree commit diff
path: root/src/db.cc
AgeCommit message (Collapse)AuthorFilesLines
2003-10-16 * Upgraded to Berkeley DB 4.1.25 and do not synchronously flush theEelco Dolstra1-4/+5
log on commit. This means that there is a small change that some transactions may be rolled back in case of a system crash, but this should not be a problem (it merely might cause some expression realisations to be rolled back), and it vastly improves performance. * Upgraded to ATerm 2.0.5 (which also includes Armijn's 64-bit patches).
2003-10-15 * Refactoring: move all database manipulation into store.cc.Eelco Dolstra1-0/+8
* Removed `--query --generators'.
2003-10-14 * Automatically recover the database in case of a crash.Eelco Dolstra1-24/+157
2003-10-08 * Get rid of identifiers since they are redundant now. This greatlyEelco Dolstra1-0/+2
simplifies stuff. * The format of Nix expressions and the database schema changed because of this, so it's best to delete old Nix installations.
2003-07-31 * Enclose most operations that update the database in transactions.Eelco Dolstra1-55/+76
* Open all database tables (Db objects) at initialisation time, not every time they are used. This is necessary because tables have to outlive all transactions that refer to them.
2003-07-31 * Use a more reasonable log file size (256 KB instead of 10 MB).Eelco Dolstra1-2/+6
* Checkpoint on exit.
2003-07-31 * Started using Berkeley DB environments. This is necessary forEelco Dolstra1-40/+120
transaction support (but we don't actually use transactions yet).
2003-07-24 * Do sync the database, since not doing so caused database changes notEelco Dolstra1-1/+1
to reach the disk at all. Looks like a bug.
2003-07-24 * Don't sync the database on close. This was killing performance.Eelco Dolstra1-1/+1
(Of course, the real problem is that we open the database for *every* operation; we should only open it once. And we should use transactions.)
2003-07-17 * For debugging: `nix --verify' to check the consistency of theEelco Dolstra1-6/+4
database and store.
2003-07-16 * Substitute fixes.Eelco Dolstra1-1/+4
2003-07-07 * Make dbRefs a mapping from Hash to [Path].Eelco Dolstra1-0/+57
2003-05-30 * Open the database read-only when enumerating tables.Eelco Dolstra1-1/+1
2003-05-26 * FreeBSD / ISO C++ compatibility fixes.Eelco Dolstra1-0/+2
2003-05-26 * Some refactoring.Eelco Dolstra1-0/+116