Commit Graph

32 Commits

Author SHA1 Message Date
CJ Cobb
9edb743dcf no duplicates in keys table for postgres 2021-06-01 20:59:10 +00:00
CJ Cobb
46d4ee4548 clear out keys buffer in postgres. Fix postgres schema 2021-06-01 15:10:14 +00:00
CJ Cobb
756436dd31 base case for fetch ledger page 2021-05-29 16:47:52 -04:00
CJ Cobb
4c12bb51dd remove books table from postgres 2021-05-29 09:52:02 -04:00
CJ Cobb
7f16951a18 clean up logs 2021-05-28 22:08:40 -04:00
CJ Cobb
96f896c117 checkpoint 2021-05-26 21:23:16 +00:00
CJ Cobb
cadf2fa972 checkpoint 2021-05-24 18:23:36 +00:00
CJ Cobb
f513438a95 create postgres database if it doesn't exist 2021-05-20 18:36:20 +00:00
CJ Cobb
0babf5bc44 online delete for postgres working 2021-05-20 17:02:20 +00:00
Nathan Nichols
84911f9424 save for testing 2021-05-11 18:16:43 -05:00
CJ Cobb
20b8059151 fix up some issues with async indexer 2021-05-05 20:35:19 +00:00
CJ Cobb
c0612e740e Many changes around ledger_data and book_offers
* populate caches on startup
* implement new algorithms for Postgres
* use one shift interval instead of two
* block etl at flag ledger until writes are finished
* write one flag ledger ahead
* abandon ledger_diff component of ledger_data
2021-04-29 21:30:05 +00:00
CJ Cobb
f1ff81ddc5 postgres support for new books and keys tables 2021-04-29 14:51:03 +00:00
CJ Cobb
0cfce33724 drop hash index on objects.ledger_sequence. was making initial ingestion slow 2021-04-28 18:44:21 +00:00
CJ Cobb
40d136b3fc expand primary key on account_transactions to support index only scans. fix account_tx stored procedure 2021-04-28 17:04:00 +00:00
CJ Cobb
1b7d672427 fix cursor issue with account_tx stored procedure 2021-04-20 17:20:35 +00:00
CJ Cobb
777dbb5826 account_tx stored procedure 2021-04-20 16:09:22 +00:00
CJ Cobb
d5f21ab295 fix indexes 2021-04-14 21:33:11 +00:00
CJ Cobb
23ba45ea5d remove main tx hash index 2021-04-14 14:00:28 +00:00
CJ Cobb
dde44aa3e0 table partitioning 2021-04-12 21:14:29 +00:00
CJ Cobb
14fd6d24ad add ancestry check 2021-03-24 14:46:48 -04:00
CJ Cobb
8d021f2019 don't cascade delete to objects and books 2021-03-18 11:34:20 -04:00
CJ Cobb
d2f0537f02 handle postgres timeouts 2021-03-11 16:44:43 -05:00
CJ Cobb
6bbb5579ca Ledger handler 2021-03-04 14:34:55 -05:00
CJ Cobb
694ec7bfe5 bug fixes. insert objects in batch 2021-03-04 12:50:36 -05:00
CJ Cobb
308c585801 partial refactor of CassandraBackend 2021-03-02 16:19:14 -05:00
CJ Cobb
6839538b3c postgres writes 2021-03-01 11:53:53 -05:00
CJ Cobb
5534d9c75e created backend interface. Cassandra derives from it 2021-02-23 14:28:38 -05:00
CJ Cobb
943cac57ea tx handler 2020-12-23 13:18:39 -05:00
CJ Cobb
bd7ae08bcc checkpoint. handles account_info 2020-12-22 13:12:26 -05:00
CJ Cobb
80a8ed8d1b checkpoint 2020-12-18 19:40:38 -05:00
CJ Cobb
d6e54c398a postgres support 2020-12-17 11:43:48 -05:00