© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•8mo ago•
5 replies
Yifan

How to optimize full text search

CONTEXT:
currently we try to implement a full text search for 5 columns using tsvector and search_vector. Our DB has around 2-3 mill entries and expect to grow greatly in the future.

QUESTION:
Is it best practice to create a new column in our table of the combined tsvectors of the 5 columns we want to search for and do search_vector for that column?

We are currently doing this but still have a bit more latency than we'd like. Is there anyway to optmize?

Thank you!!
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Full Text Search
SupabaseSSupabase / help-and-questions
4y ago
Full Text Search
SupabaseSSupabase / help-and-questions
4y ago
Full Text Search
SupabaseSSupabase / help-and-questions
3y ago
Fuzzy Full Text Search
SupabaseSSupabase / help-and-questions
4y ago