Re: The database is very slow !

Поиск
Список
Период
Сортировка
От Jason Godden
Тема Re: The database is very slow !
Дата
Msg-id 200308140602.23274.jasongodden@optushome.com.au
обсуждение исходный текст
Ответ на Re: The database is very slow !  (proghome@silesky.com (krystoffff))
Ответы Re: The database is very slow !  (Chris Webster <cjw@ucar.edu>)
Список pgsql-general
Hi Kystof,

I haven't read the other suggestions but I'm running a db where some tables
and views have over a million records without any issues on similiar
hardware.

Out of curiosity - have you actually performance tuned your OS and the
postmaster (trhough postgres.conf)?  If you haven't done any of these then I
wouldn't be surprised if the db was slow - i think the default install of
most linux distros leaves you with 32mb shared memory which makes your 700mb
of RAM useless.  As far as 60 fields are concerned I doubt that would be a
problem although I've never used a table with more than 20 - anybody out
there know if number of fields on a table can create performance issues?

Lastly - how complicated are your indexes?  If you have indexed every field on
that table then that could be an obvious issue.  How many fields from the
table have foreign key constraints?

Let me know how you go,

Jason

On Wed, 13 Aug 2003 11:22 pm, krystoffff wrote:
> Thanks for your answers
>
> I just vacuumed the database just before a test, and it didn't change
> anything ... Sorry not to have mentionned it
>
> Any other suggestions ?
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org


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

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: Why table has drop, but the foreign key still there?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: more timeofday() and "set time zone" weirdness