Re: Multiple Tablespaces with single mount point?

Поиск
Список
Период
Сортировка
От Venkata B Nagothi
Тема Re: Multiple Tablespaces with single mount point?
Дата
Msg-id CAEyp7J-vro3UGSRbW6XsM3oHBh5xWbnneBxUhMKKBAhYFzZU4A@mail.gmail.com
обсуждение исходный текст
Ответ на Multiple Tablespaces with single mount point?  (Curious Tech <cutech777@gmail.com>)
Список pgsql-admin

On Sat, Aug 13, 2016 at 6:59 AM, Curious Tech <cutech777@gmail.com> wrote:
Hello,

I want to know what is the general practice when only one mount point is available. 

1. Use default tablespace
2. Use Default + User Define one tablespace
3. Use Default + User Defined Data + User Defined Index tablespaces

To make a decision on tablespaces, lot of factors need to be taken into consideration. The general recommendation is to store tables and indexes into separate tablespaces. Since you have only one mount point, based on your database and application behaviour, it may or may not be much beneficial from performance perspective. Below factors play an important role -

- Memory, Number of CPU cores and type of the disks
- Concurrent connections and queries
- Application behaviour is vital. If you have too many concurrent connections performing read/write operations on different 
  data sets at the same time, then, database tuning would not add much. It is important that, the application connections are   streamlined and benchmarked
- If the database encounters high volume of transactions, then, pg_xlog on a separate mount point would fetch lot of 
  performance benefits.

Hope that helps !

Regards,
Venkata B N

Fujitsu Australia

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

Предыдущее
От: Curious Tech
Дата:
Сообщение: Re: Multiple Tablespaces with single mount point?
Следующее
От: Murthy Nunna
Дата:
Сообщение: Postgres v9.5.3 and v9.5.4 Unix Socket Issue