Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^4: Architectural question...

by devnul (Monk)
on Jul 06, 2005 at 02:30 UTC ( #472663=note: print w/replies, xml ) Need Help??

in reply to Re^3: Architectural question...
in thread Architectural question...

Its starting to drive me bananas... (sorry, I could not resist)

The problem with storing it using triggers/materialized views is that the "where" clause against the data table is not constant. Sometimes I am searching the data table for records in a state, zip code radius, full-text search (using tsearch2), and about 3 other factors. So the "grouping" has to happen *AFTER* the result set is limited by the WHERE clause against the data table.

.. I hope I explained that well enough...

- dEvNuL

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://472663]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2016-10-23 12:42 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (301 votes). Check out past polls.