Commit Graph

29 Commits

Author SHA1 Message Date
Josh Baker 9f0b48341d Load and Save for :memory: databases 2016-08-28 17:35:46 -07:00
Josh Baker 7fb2c48afb track ttl between database reopens, fixes #11 2016-08-23 08:09:19 -07:00
Josh Baker 93cc8f3fcb load performance boost 2016-08-23 07:23:02 -07:00
Josh Baker 4b91c891c4 removed iterator type 2016-08-19 12:03:20 -07:00
Josh Baker 066fbb7901 descending indexes 2016-08-19 11:56:43 -07:00
Josh Baker 18e872e092 replaced bufferedwriter with bytes.buffer 2016-08-19 10:06:03 -07:00
Josh Baker 9301f51db3 fixed set return value 2016-08-18 13:21:46 -07:00
Josh Baker 1daaa16172 multi value indexes 2016-08-18 09:08:30 -07:00
Josh Baker d8c81d562f seek to end of file 2016-08-14 08:25:50 -07:00
Josh Baker fe766585d1 fix large buffers 2016-08-14 08:23:04 -07:00
Josh Baker 4c43f6a231 disk load optimizations
reuse read buffer
copy minimal string size
2016-08-13 07:31:43 -07:00
Josh Baker 3e58c89ec6 increased default btree degrees 2016-08-12 17:37:29 -07:00
Josh Baker f240a9c339 boost load from disk 2016-08-12 16:00:22 -07:00
Josh Baker 61a9ab4ee0 minor optimization 2016-08-11 09:44:57 -07:00
Josh Baker 4c9327ce84 fast json indexing with gjson 2016-08-10 20:11:51 -07:00
rojazz1999 49f1ba4845 Ascend* & Descend* results should be limited by the item's value when an index is provided 2016-08-09 15:17:44 +08:00
Josh Baker 823e2ea146 faster IndexString 2016-08-05 06:08:22 -07:00
Josh Baker 93806b18dc added JSON indexes 2016-08-02 17:24:56 -07:00
Josh Baker 48f8304351 db close check in shrink 2016-07-31 08:52:34 -07:00
Josh Baker 2a94eebbca performance boost for sets 2016-07-30 13:09:03 -07:00
Josh Baker ff93c0d8e9 new shrink algorithm. better error checks. 2016-07-28 19:38:51 -07:00
Josh Baker d6a4f5c635 allow only one shrink at a time. 2016-07-26 10:25:29 -07:00
Josh Baker 270260e081 change Config to ReadConfig and better cleanup code 2016-07-24 10:14:37 -07:00
Josh Baker d121dd81dd optional no-persist with :memory: path. benchmarks 2016-07-23 10:20:38 -07:00
Josh Baker 62ac7a3485 updated r-tree to support 20 dimensions 2016-07-21 15:35:23 -07:00
Josh Baker 4622c7d04b added database config options
- SyncPolicy - Adjusts hoe often the data is synced to disk.
This can beNever, EverySecond, or Always. The default is EverySecond.

- AutoShrink - Controls how often the append-only log can grow before
it gets resized. The default is 5x the number of items in the database.
2016-07-20 10:47:41 -07:00
Josh Baker d3df98bcf9 added TTL function 2016-07-20 09:40:09 -07:00
Anthony Olurin d16ddf8b06 go_vet, mispell and golint 2016-07-20 08:57:29 -04:00
Josh Baker 7875d65f2a initial commit 2016-07-19 15:15:00 -07:00