Re: how good is PostgreSQL

Поиск
Список
Период
Сортировка
От Bryan White
Тема Re: how good is PostgreSQL
Дата
Msg-id 025701c04384$66a1d5c0$2dd260d1@arcamax.com
обсуждение исходный текст
Ответ на how good is PostgreSQL  ("Arnold Gamboa" <arnold@php4us.com>)
Список pgsql-general
>      Whenever a query is executed (not found in cache, etc.), the caching
> system would simply store the query, the results, and a list of tables
> queried.   When a new query came in, it would do a quick lookup in the
query
> hash to see if it already had the results.  If so, whammo. Whenever an
> insert/delete/update was sensed, it would look at the tables being
affected,
> and the caching mechanism would clear out the entries depending on those
> tables.

It seems to me that tracking the list of cached queries and watching for
queries that might invalidate them adds a lot of complexity to the back end
and the front end still has to establish the connection and wait transfer
the data over the socket.

On a more practical level, a backend solution would require someone with
fairly detailed knowlege of the internals of the backend.  A front end
solution can more likely to be implemented by someone not as knowlegable.

One of the big advantages of your technique is there is no code change at
the application level.  This means less database lock-in.  Maybe that is a
disadvantage too. ;-)



В списке pgsql-general по дате отправления:

Предыдущее
От: "Adam Lang"
Дата:
Сообщение: Re: postgres on redhat 7.0
Следующее
От: "George Henry C. Daswani"
Дата:
Сообщение: Problem with coalesce..