Re: PostgreSQL and mySQL database size question

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PostgreSQL and mySQL database size question
Дата
Msg-id 19044.988658251@sss.pgh.pa.us
обсуждение исходный текст
Ответ на RE: PostgreSQL and mySQL database size question  ("Fred Ingham" <ingham@erols.com>)
Список pgsql-general
"Fred Ingham" <ingham@erols.com> writes:
> After dropping and recreating the indexes I have (in KB):

Ah, that's more like it.

> So, it appears that I am running into the pathological case.

Actually, a simpler explanation would be if you'd done a bunch of
updates and/or deletes at some point.  VACUUM currently never shrinks
indexes, so the excess index space might just represent the peak size
of your tables.  (Yes, improving that is on the to-do list.)

> In short, they are all needed for acceptable performance querying and
> retrieving values from the database.

You've got common queries that do selects with WHERE clauses referencing
each one of these columns?  Possible, certainly, but seems a bit odd...

> With respect to mySQL, I did verify that mySQL did in fact have all of the
> indexes I created and that they were saved in a single file (the *.MYI).

Hm.  Anyone know how mySQL represents indexes?  That still seems awfully
small.

            regards, tom lane

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

Предыдущее
От: John Coers
Дата:
Сообщение: Re: Performance with Large Volumes of Data
Следующее
От: Al
Дата:
Сообщение: Problem installing Postgresql