Skip to content

Add index to sliding_sync_connection_lazy_members on connection_position#19923

Open
erikjohnston wants to merge 1 commit into
developfrom
erikj/sss_lazy_index
Open

Add index to sliding_sync_connection_lazy_members on connection_position#19923
erikjohnston wants to merge 1 commit into
developfrom
erikj/sss_lazy_index

Conversation

@erikjohnston

Copy link
Copy Markdown
Member

This speeds up the cascading delete from sliding_sync_connection_positions, which without an index on connection_position requires a sequential scan of the whole table for each deleted position.

This speeds up the cascading delete from
`sliding_sync_connection_positions`, which without an index on
`connection_position` requires a sequential scan of the whole table for
each deleted position.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@erikjohnston erikjohnston marked this pull request as ready for review July 7, 2026 16:24
@erikjohnston erikjohnston requested a review from a team as a code owner July 7, 2026 16:24
@MadLittleMods MadLittleMods changed the title Add index to sliding_sync_connection_lazy_members on connection_position Add index to sliding_sync_connection_lazy_members on connection_position Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants