Re: would number of fields in a table affect search-query time? - Mailing list pgsql-performance

From Josh Berkus
Subject Re: would number of fields in a table affect search-query time?
Date
Msg-id 200410041906.33483.josh@agliodbs.com
Whole thread Raw
In response to would number of fields in a table affect search-query time?  (Miles Keaton <mileskeaton@gmail.com>)
List pgsql-performance
Miles,

> would the number of fields in a table significantly affect the
> search-query time?

Yes.

In addition to the issues mentioned previously, there is the issue of
criteria; an OR query on 8 fields is going to take longer to filter than an
OR query on 2 fields.

Anyway, I think maybe you should tell us more about your database design.
Often the fastest solution involves a more sophisticated approach toward
querying your tables.

--
Josh Berkus
Aglio Database Solutions
San Francisco

pgsql-performance by date:

Previous
From: "Steinar H. Gunderson"
Date:
Subject: Re: would number of fields in a table affect search-query time?
Next
From: Patrick Clery
Date:
Subject: Re: Comparing user attributes with bitwise operators