-
- Downloads
- 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
Showing
- hive/db/db_state.py 13 additions, 4 deletionshive/db/db_state.py
- hive/db/schema.py 156 additions, 96 deletionshive/db/schema.py
- hive/indexer/custom_op.py 35 additions, 18 deletionshive/indexer/custom_op.py
- hive/indexer/follow.py 60 additions, 14 deletionshive/indexer/follow.py
- hive/indexer/posts.py 48 additions, 217 deletionshive/indexer/posts.py
Please register or sign in to comment