Re: [PERFORM] Huge table searching optimization

2010-04-05 Thread Oliver Kindernay
Thanks to all, now it is 0.061 ms :) 2010/4/5 Tom Lane : > Andres Freund writes: >> On Monday 05 April 2010 16:28:35 Oliver Kindernay wrote: >>> i am using this request: >>> select url from test2 where url ~* '^URLVALUE\\s*$'; > >> Depending o

[PERFORM] Huge table searching optimization

2010-04-05 Thread Oliver Kindernay
Hi, I have table with just on column named url (it's not real url, just random string for testing purposes), type text. I have lots of entries in it (it's dynamic, i add and remove them on the fly), 100 000 and more. I've created index on this table to optimize "searching". I just want to test if s