Help for this page

Select Code to Download


  1. or download this
    -- table t is 112 MB, 1 million rows.  The index is 190 MB (!)
    -- all queries measured on second run (to avoid uninteresting cold cac
    +he slowness)
    ...
    -- postgres specific regex-search syntax with '~' 
    SELECT * FROM t WHERE name ~ 'Franklin' and name ~ 'Linsey';
    Time: 1.895 ms