Re: Understanding PostgreSQL Storage Engines

Поиск
Список
Период
Сортировка
Искать
От
Merlin Moncure
Тема
Re: Understanding PostgreSQL Storage Engines
Дата
Msg-id
AANLkTin+F-bbV_PaAMpiX4HpNW8o+QMUH1R8A-PWm-zU@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Understanding PostgreSQL Storage Engines Carlos Mennens <carlos.mennens@gmail.com>
Re: Understanding PostgreSQL Storage Engines Adrian Klaver <adrian.klaver@gmail.com>
Re: Understanding PostgreSQL Storage Engines Rob Sargent <robjsargent@gmail.com>
Re: Understanding PostgreSQL Storage Engines Craig Ringer <craig@postnewspapers.com.au>
Re: Understanding PostgreSQL Storage Engines Lincoln Yeoh <lyeoh@pop.jaring.my>
Re: Understanding PostgreSQL Storage Engines Scott Marlowe <scott.marlowe@gmail.com>
Re: Understanding PostgreSQL Storage Engines Pavel Stehule <pavel.stehule@gmail.com>
Re: Understanding PostgreSQL Storage Engines Ron Mayer <rm_pg@cheapcomplexdevices.com>
Re: Understanding PostgreSQL Storage Engines Tom Lane <tgl@sss.pgh.pa.us>
Re: Understanding PostgreSQL Storage Engines Dave Page <dpage@pgadmin.org>
Re: Understanding PostgreSQL Storage Engines Thom Brown <thom@linux.com>
Re: Understanding PostgreSQL Storage Engines Dave Page <dpage@pgadmin.org>
Re: Understanding PostgreSQL Storage Engines Dmitriy Igrishin <dmitigr@gmail.com>
Re: Understanding PostgreSQL Storage Engines Merlin Moncure <mmoncure@gmail.com>
On Fri, Oct 8, 2010 at 5:30 PM, Carlos Mennens  wrote:
> I know that MySQL uses MyISAM storage engine by default and was just
> trying to look on Google to try and see if I could understand what
> storage engine does PostgreSQL use by default when I generate a
> database / table. Is there some way someone (me) who knows nothing
> about how a ORDBMS works understand the difference between all storage
> engine options and which does PostgreSQL use by default.

You could make  a pretty strong case that temp tables are a different
'storage engine', since they interact differently with the storage
system.  for example, they are not wal logged and this is one of the
things that makes them faster than regular tables.  This illustrates a
wider philosophy of the databases in terms of features.  Postgresql
went a different route than mysql.

We do expose various knobs that allow you to control specific
mechanics of how data is store in a table.  For example, using table
storage parameters, you can enable/disable compression for large
datums.  Many of the other things you would like do do with storage
engines, like not sync, or custom data organization, are
correspondingly exposed via the mvcc engine or the type system.  It's
much cleaner conceptually (IMNSHO) to deal with these things on the
SQL level vs  storage engines with their arcane tradeoffs.

There are of course some cool things we can't do that mysql can, but
the postgresql database behaves in much more regular fashion.  Imagine
debugging data corruption on a third party engine -- this is a problem
we don't want.

merlin
В списке pgsql-general по дате отправления
От: Igor Neyman
Дата:
От: Joe La Frite
Дата:
Сообщение: Seg fault on PQconnectdb
FAQ