Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: add src_id and dst_id indexes to tailnet_tunnels #12911

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 11, 2024

Conversation

spikecurtis
Copy link
Contributor

@spikecurtis spikecurtis commented Apr 9, 2024

Fixes #12780

Adds indexes to the tailnet_tunnels table to speed up GetTailnetTunnelPeerIDs and GetTailnetTunnelPeerBindings queries, which match on src_id and dst_id.

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @spikecurtis and the rest of your teammates on Graphite Graphite

@spikecurtis spikecurtis requested review from coadler and kylecarbs April 9, 2024 06:23
@spikecurtis spikecurtis marked this pull request as ready for review April 9, 2024 06:23
@spikecurtis spikecurtis force-pushed the spike/12780-tunnel-indexes branch from c3f82eb to 0e8873e Compare April 10, 2024 06:26
@spikecurtis spikecurtis merged commit a231b5a into main Apr 11, 2024
23 checks passed
@spikecurtis spikecurtis deleted the spike/12780-tunnel-indexes branch April 11, 2024 06:05
Copy link
Contributor Author

Merge activity

@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add index to tailnet_tunnels table
2 participants