Skip to content

Commit

Permalink
vtorc: add index for inst.ReadInstanceClusterAttributes table scan
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <[email protected]>
  • Loading branch information
timvaillancourt committed Feb 25, 2025
1 parent 81ce29c commit e751f29
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions go/vt/vtorc/db/generate_base.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ CREATE INDEX last_checked_idx_database_instance ON database_instance(last_checke
CREATE INDEX last_seen_idx_database_instance ON database_instance(last_seen)
`,
`
CREATE INDEX hostname_port_database_instance ON database_instance(hostname, port)
`,
`
DROP TABLE IF EXISTS audit
`,
`
Expand Down

0 comments on commit e751f29

Please sign in to comment.