Re: Regex performance issue - Mailing list pgsql-performance

From Tom Lane
Subject Re: Regex performance issue
Date
Msg-id 12526.1165118712@sss.pgh.pa.us
Whole thread Raw
In response to Re: Regex performance issue  ("Alexandru Coseru" <alexandru.coseru@totaltelecom.ro>)
List pgsql-performance
"Alexandru Coseru" <alexandru.coseru@totaltelecom.ro> writes:
> Anyway , anybody has a clue why this regex is that CPU intensive ?

The EXPLAIN result you posted offers *no* evidence that the regexp is
CPU intensive.  All you know is that it took 850+ msec to fetch 5200
rows from disk and apply the regexp filter to them.  There's no evidence
here that that was CPU time and not I/O time.

            regards, tom lane

pgsql-performance by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: Regex performance issue
Next
From: Oleg Bartunov
Date:
Subject: Re: Regex performance issue