Skip to content

Commit

Permalink
feat(filemanager): update reset_current_state_index based on testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalenic committed Oct 24, 2024
1 parent f0532a7 commit 4d548df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ alter table s3_object alter column is_current_state set default true;
-- Create an indexes for now, although partitioning will be required later.
create index is_current_state_index on s3_object (is_current_state);
-- This helps the query which resets the current state when ingesting objects.
create index reset_current_state_index on s3_object (bucket, key, version_id, sequencer);
create index reset_current_state_index on s3_object (bucket, key, version_id, sequencer, is_current_state);

0 comments on commit 4d548df

Please sign in to comment.