Skip to content
Snippets Groups Projects

faster by created for observer communitites

Merged Dan Notestein requested to merge dn_fast_by_created_for_observer_communitites into develop
4 files
+ 62
48
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -73,10 +73,12 @@ drop index if exists hive_subscriptions_community_idx;
drop index if exists hive_votes_post_id_idx;
drop index if exists hive_votes_voter_id_idx;
drop index if exists hive_votes_last_update_idx;
drop index if exists hive_posts_community_id_idx;
CREATE INDEX IF NOT EXISTS hive_posts_cashout_time_id_idx ON hive_posts (cashout_time, id);
CREATE INDEX IF NOT EXISTS hive_posts_updated_at_idx ON hive_posts (updated_at DESC);
CREATE INDEX IF NOT EXISTS hive_votes_block_num_idx ON hive_votes (block_num);
CREATE INDEX IF NOT EXISTS hive_posts_community_id_id_idx ON hive_posts (community_id, id DESC);
DO
$BODY$
Loading