Re: LIKE search and performance - Mailing list pgsql-performance

From PFC
Subject Re: LIKE search and performance
Date
Msg-id op.tsv8aefscigqcu@apollo13
Whole thread Raw
In response to Re: LIKE search and performance  (Richard Huxton <dev@archonet.com>)
Responses Re: LIKE search and performance
List pgsql-performance
> None of which address the question of what plan PG should produce for:
> SELECT * FROM bigtable WHERE foo LIKE 's%'

    Ah, this one already uses the btree since the '%' is at the end.
    My point is that a search like this will yield too many results to be
useful to the user anyway, so optimizing its performance is a kind of red
herring.


pgsql-performance by date:

Previous
From: Arnau
Date:
Subject: Re: How PostgreSQL handles multiple DDBB instances?
Next
From: Richard Huxton
Date:
Subject: Re: LIKE search and performance