Re: Searching in varchar column having 100M records

"David G. Johnston" <[email protected]>
Newsgroups gmane.comp.db.postgresql.performance
Message-ID <CAKFQuwZ9CnUXB8O+yyOPiEkS5DBDcMPy-Ag1MxmRP2XjYDpTTA@mail.gmail.com>
On Wed, Jul 17, 2019 at 4:04 AM mayank rupareliya <[email protected]>
wrote:

> create table fields(user_id varchar(64), field varchar(64));
> CREATE INDEX index_field ON public.fields USING btree (field);
>
> Any suggestions for improvement?
>

Reduce the number of rows by constructing a relationally normalized data
model.

David J.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.