Re: Tuning resource parameters for a logging database.
От
Vick Khera
Тема
Re: Tuning resource parameters for a logging database.
Дата
Msg-id
2968dfd60905211224hc105ab3ncd182047fb0fb0ab@mail.gmail.com
Ответ на
Tuning resource parameters for a logging database. (Alex Thurlow)
Список
Дерево обсуждения
Tuning resource parameters for a logging database. Alex Thurlow <alex@blastro.com>
Re: Tuning resource parameters for a logging database. Vick Khera <vivek@khera.org>
Re: Tuning resource parameters for a logging database. Alex Thurlow <alex@blastronetworks.com>
Re: Tuning resource parameters for a logging database. Vick Khera <vivek@khera.org>
Re: Tuning resource parameters for a logging database. Alex Thurlow <alex@blastronetworks.com>
Re: Tuning resource parameters for a logging database. Scott Marlowe <scott.marlowe@gmail.com>
Re: Tuning resource parameters for a logging database. Alex Thurlow <alex@blastro.com>
Re: Tuning resource parameters for a logging database. Scott Marlowe <scott.marlowe@gmail.com>
Re: Tuning resource parameters for a logging database. Scott Marlowe <scott.marlowe@gmail.com>
On Thu, May 21, 2009 at 3:13 PM, Alex Thurlow wrote: > I have a postgresql database that I'm using for logging of data. There's > basically one table where each row is a line from my log files. It's > getting to a size where it's running very slow though. There are about 10 > million log lines per day and I keep 30 days of data in it. All the columns Are you using partitioning on this table? Your use case is literally the exact example everyone uses to show how to do partitioning on tables. Since you mostly scan on date, this will speed up your queries significantly.
В списке pgsql-general по дате отправления