Skip to content

Add indexes to improve address lookup performance#2

Open
zitnyp wants to merge 1 commit intosnoblucha:masterfrom
zitnyp:patch-1
Open

Add indexes to improve address lookup performance#2
zitnyp wants to merge 1 commit intosnoblucha:masterfrom
zitnyp:patch-1

Conversation

@zitnyp
Copy link
Copy Markdown

@zitnyp zitnyp commented Apr 16, 2026

Add indexes to improve address lookup performance

  • add FULLTEXT index on nazev_ulice, nazev_obce and nazev_casti_obce to enable efficient full-text search (MATCH ... AGAINST)
  • add composite index idx_cislo on (cislo_domovni, cislo_orientacni) to speed up lookups by house/orientation numbers

Reduces full table scans and significantly improves query performance.

Add indexes to improve address lookup performance

- add FULLTEXT index on nazev_ulice, nazev_obce and nazev_casti_obce
  to enable efficient full-text search (MATCH ... AGAINST)
- add composite index idx_cislo on (cislo_domovni, cislo_orientacni)
  to speed up lookups by house/orientation numbers

Reduces full table scans and significantly improves query performance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant