Обсуждение: postgresql with storage

Поиск
Список
Период
Сортировка

postgresql with storage

От
"Nagalingam, Karthikeyan"
Дата:
Hi,
 
I have some basic query in postgresql with storage, Please help me for the following
 
1. What is the best practice to use postgresql with storage.
 
2. Which are the files and folders we can keep it in storage.
 
 
Regards
Karthikeyan.N
 
 

Re: postgresql with storage

От
Lee Azzarello
Дата:
On Thu, Feb 26, 2009 at 7:02 AM, Nagalingam, Karthikeyan
<KARTHIKEYAN.Nagalingam@netapp.com> wrote:
> Hi,
>
> I have some basic query in postgresql with storage, Please help me for the
> following
>
> 1. What is the best practice to use postgresql with storage.

Depends on your workload. My workload has a high number of DELETE
statements with a relatively small total set size of recurring SELECT
statements, therefore the buffer cache gets filled quickly and reads
rarely touch disk, though the disks stays busy from the DELETES. In
general, throw as much as you can at the disks unless the budget
prevents your from doing so.

Also, watch out for cheap three disk RAID-5 arrays. There's a crop of
low end servers that have these. Serious trouble.

> 2. Which are the files and folders we can keep it in storage.

The postgresql installation manual documents the location of a cluster on disk.

-lee