Re: regex cache - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: regex cache
Date
Msg-id 200806180733.23044.josh@agliodbs.com
Whole thread Raw
In response to Re: regex cache  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: regex cache  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom,

> Having said that, I'm not sure it'd help your problem.  If your query is
> using more than 32 regexes concurrently, it likely is using $BIGNUM
> regexes concurrently.  How do we fix that?

Hmmm.  I think there's a lot of ground between 32 and $BIGNUM.  For example, 
where I'm hitting a wall is 300 regexes.  Some quick testing on my opteron 
text machine right now shows that the execution time difference between 20rx 
and 50rx is around 20x.

-- 
Josh Berkus
PostgreSQL @ Sun
San Francisco


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Reducing overhead for repeat de-TOASTing
Next
From: Alvaro Herrera
Date:
Subject: Re: Better error reporting for tsearch config file problems