@@ -17,18 +17,26 @@ development:
17
17
primary :
18
18
<< : *default
19
19
database : storage/development/data.sqlite3
20
+ pragmas :
21
+ mmap_size : <%= 128 * 1024 * 1024 %> # 128MB
20
22
cache :
21
23
<< : *default
22
24
database : storage/development/cache.sqlite3
23
25
migrations_paths : db/migrate_cache
26
+ pragmas :
27
+ mmap_size : <%= 64 * 1024 * 1024 %> # 64MB
24
28
queue :
25
29
<< : *default
26
30
database : storage/development/queue.sqlite3
27
31
migrations_paths : db/migrate_queue
32
+ pragmas :
33
+ mmap_size : <%= 64 * 1024 * 1024 %> # 64MB
28
34
cable :
29
35
<< : *default
30
36
database : storage/development/cable.sqlite3
31
37
migrations_paths : db/migrate_cable
38
+ pragmas :
39
+ mmap_size : <%= 16 * 1024 * 1024 %> # 16MB
32
40
33
41
# Warning: The database defined as "test" will be erased and
34
42
# re-generated from your development database when you run "rake".
@@ -60,15 +68,23 @@ production:
60
68
primary :
61
69
<< : *default
62
70
database : storage/production/data.sqlite3
71
+ pragmas :
72
+ mmap_size : <%= 128 * 1024 * 1024 %> # 128MB
63
73
cache :
64
74
<< : *default
65
75
database : storage/production/cache.sqlite3
66
76
migrations_paths : db/migrate_cache
77
+ pragmas :
78
+ mmap_size : <%= 64 * 1024 * 1024 %> # 64MB
67
79
queue :
68
80
<< : *default
69
81
database : storage/production/queue.sqlite3
70
82
migrations_paths : db/migrate_queue
83
+ pragmas :
84
+ mmap_size : <%= 64 * 1024 * 1024 %> # 64MB
71
85
cable :
72
86
<< : *default
73
87
database : storage/production/cable.sqlite3
74
88
migrations_paths : db/migrate_cable
89
+ pragmas :
90
+ mmap_size : <%= 16 * 1024 * 1024 %> # 16MB
0 commit comments