Skip site navigation (1) Skip section navigation (2)

Re: Very long time to execute and Update, suggestions?

From: PFC <lists(at)boutiquenumerique(dot)com>
To: "Madison Kelly" <linux(at)alteeve(dot)com>,"Philip Hallstrom" <postgresql(at)philip(dot)pjkh(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Very long time to execute and Update, suggestions?
Date: 2005-03-31 21:28:03
Message-ID: op.soitw1y9th1vuj@localhost (view raw or flat)
Thread:
Lists: pgsql-performance
>    So I need to either find an Index that will work with regexes or  
> re-write my code to update each subdirectory separately and use simpler  
> UPDATE statement for each.

	Why don't you use a LTREE type to model your directory tree ? It's been  
designed specifically for this purpose and has indexed regular expression  
search.

http://www.sai.msu.su/~megera/postgres/gist/ltree/
http://www.sai.msu.su/~megera/postgres/gist/

In response to

pgsql-performance by date

Next:From: Andrew SullivanDate: 2005-03-31 22:13:35
Subject: Re: pg_autovacuum not having enough suction ?
Previous:From: Josh BerkusDate: 2005-03-31 20:50:45
Subject: Re: How to speed up word count in tsearch2?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group