Commit 57df479
committed
Don't use WAL mode & extend schema with metadata
The WAL mode is persistent and only works with sqlite >= 3.7, which isn't
great for our distribution use case. It does help performance a bit with
synchronous=NORMAL by only requiring an fsync on checkpoint (every 1000 pages
or so), but we might as well set synchronous=OFF for dumps.
This patch also adds revision metadata in the schema, but does not actually
fill this yet. We'll need to fetch this information separately, or extract
(some of) it from the HTML head. The former will work for other formats like
wikitext or JSON as well, so should be preferable.1 parent 2934d96 commit 57df479
1 file changed
+15
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
17 | 27 | | |
18 | 28 | | |
19 | 29 | | |
| |||
0 commit comments