@stoolap/node 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -2
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -179,12 +179,15 @@ Controls the durability vs. performance trade-off:
|
|
|
179
179
|
|-----------|---------|-------------|
|
|
180
180
|
| `sync_mode` | `normal` | Sync mode: `none`, `normal`, or `full` |
|
|
181
181
|
| `checkpoint_interval` | `60` | Seconds between checkpoint cycles (seal + compact + WAL truncate) |
|
|
182
|
-
| `compact_threshold` | `4` |
|
|
182
|
+
| `compact_threshold` | `4` | Sub-target volumes per table before merging |
|
|
183
|
+
| `target_volume_rows` | `1048576` | Target rows per cold volume. Controls compaction split boundary |
|
|
183
184
|
| `checkpoint_on_close` | `on` | Seal all hot rows on clean shutdown for fast startup |
|
|
184
185
|
| `wal_compression` | `on` | LZ4 compression for WAL entries |
|
|
185
186
|
| `volume_compression` | `on` | LZ4 compression for cold volume files |
|
|
186
187
|
| `compression` | `on` | Shorthand: set both `wal_compression` and `volume_compression` |
|
|
187
|
-
| `keep_snapshots` | `
|
|
188
|
+
| `keep_snapshots` | `3` | Number of backup snapshot files to retain |
|
|
189
|
+
| `hot_max_rows` | `262144` | Committed hot rows per table that trigger an early seal (`0` = off) |
|
|
190
|
+
| `hot_max_bytes` | `0` | Hot row bytes per table above which commits wait for a seal (`0` = off) |
|
|
188
191
|
|
|
189
192
|
#### Cloning
|
|
190
193
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stoolap/node",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "High-performance Node.js driver for Stoolap embedded SQL database",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"bench": "node benchmark.mjs"
|
|
19
19
|
},
|
|
20
20
|
"optionalDependencies": {
|
|
21
|
-
"@stoolap/lib-darwin-arm64": "0.4.
|
|
22
|
-
"@stoolap/lib-darwin-x64": "0.4.
|
|
23
|
-
"@stoolap/lib-linux-arm64-gnu": "0.4.
|
|
24
|
-
"@stoolap/lib-linux-x64-gnu": "0.4.
|
|
25
|
-
"@stoolap/lib-win32-x64-msvc": "0.4.
|
|
21
|
+
"@stoolap/lib-darwin-arm64": "0.4.2",
|
|
22
|
+
"@stoolap/lib-darwin-x64": "0.4.2",
|
|
23
|
+
"@stoolap/lib-linux-arm64-gnu": "0.4.2",
|
|
24
|
+
"@stoolap/lib-linux-x64-gnu": "0.4.2",
|
|
25
|
+
"@stoolap/lib-win32-x64-msvc": "0.4.2"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"better-sqlite3": "^12.6.2",
|