summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2013-03-02 21:46:47 +0100
committerHelmut Grohne <helmut@subdivi.de>2013-03-02 21:46:47 +0100
commitc84e9e795a2a31a3e011e13a393b1278b0feb658 (patch)
treea96b0bf65ff8dfaef4dab5ac60407505d048c183 /README
parent7c4864d4ccb40234138043b0aae3356f15eeacf5 (diff)
downloaddebian-dedup-c84e9e795a2a31a3e011e13a393b1278b0feb658.tar.gz
update README
* Tell about schema.sql. * Explain WAL.
Diffstat (limited to 'README')
-rw-r--r--README7
1 files changed, 6 insertions, 1 deletions
diff --git a/README b/README
index 5d539e4..c185a51 100644
--- a/README
+++ b/README
@@ -6,7 +6,12 @@ aptitude install python python-debian python-lzma curl python-jinja2 python-werk
Create a database
-----------------
The database name is currently hardcoded as `test.sqlite3`. So copy the SQL
-statements from `importpkg.py` into `sqlite3 test.sqlite3`.
+statements from `schema.sql` into `sqlite3 test.sqlite3`. In addition it is
+highly recommended to put the database into WAL mode. Otherwise all your
+reading queries will block forever when doing an import. This setting is
+permanent.
+
+ PRAGMA journal_mode = WAL;
Import packages
---------------