Skip to content
Snippets Groups Projects
Commit 00b2db99 authored by Bartek Wrona's avatar Bartek Wrona
Browse files

- Defined PK constraints for tables where they were missed

- Added additional index to hive_posts (indexing single permlink_id field) to speedup insertion
- Removed not needed multi column indices from hive_account table
- Introduced function `process_hive_post_operation' covering new-post, post-edit, post-undelete scenarios in single query at SQL side
- Introduced function `delete_hive_post' to simplify post deletion at client side and improve performance.
- Improved reblog operation queries (eliminated separate queries for IDs to be next processed/updated)
- Improved follow operation queries (eliminated separate queries for IDs to be next processed/updated). Prerequisites for value caching and flush at Python side, not finished yet
parent f578a745
No related branches found
No related tags found
5 merge requests!456Release candidate v1 24,!230Setup monitoring with pghero,!135Enable postgres monitoring on CI server,!16Dk issue 3 concurrent block query rebase,!15Dk issue 3 concurrent block query
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment