Re: PostgreSQL as a local in-memory cache

Поиск
Список
Период
Сортировка
От Craig James
Тема Re: PostgreSQL as a local in-memory cache
Дата
Msg-id 4C2B798E.70606@emolecules.com
обсуждение исходный текст
Ответ на Re: PostgreSQL as a local in-memory cache  (Dave Crooke <dcrooke@gmail.com>)
Список pgsql-performance
On 6/30/10 9:42 AM, Dave Crooke wrote:
> I haven't jumped in yet on this thread, but here goes ....
>
> If you're really looking for query performance, then any database which
> is designed with reliability and ACID consistency in mind is going to
> inherently have some mis-fit features.
>
> Some other ideas to consider, depending on your query mix:
>
> 1. MySQL with the MyISAM database (non-ACID)
>
> 2. Put an in-application generic query cache in front of the DB, that
> runs in the app address space, e.g. Cache' if using Java
>
> 3. Using a DB is a good way to get generic querying capability, but if
> the "where" clause in the querying is over a small set of meta-data, and
> SQL syntax is not a big requirement, consider non-RDBMS alternatives,
> e.g. use XPath over a W3C DOM object tree to get primary keys to
> in-memory hash tables (possibly distributed with something like memcached)

These would be good suggestions if the "throwaway" database was the only one.  But in real life, these throwaway
databasesare built from other databases that are NOT throwaway, where the data matters and ACID is critical.  In other
words,they'll probably need Postgres anyway. 

Sure, you could use both Postgres and MySQL/ISAM, but that means installing and maintaining both, plus building all of
theother application layers to work on both systems. 

Craig

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

Предыдущее
От: Dave Crooke
Дата:
Сообщение: Re: PostgreSQL as a local in-memory cache
Следующее
От: tony@exquisiteimages.com
Дата:
Сообщение: Re: Architecting a database