Re: Better I/O throughput? (was Re: create tablespace - cannot runinside a transaction block) - Mailing list pgsql-admin

From Laurenz Albe
Subject Re: Better I/O throughput? (was Re: create tablespace - cannot runinside a transaction block)
Date
Msg-id 471e8349b8b0839a108ae28c00adb7c2de42d657.camel@cybertec.at
Whole thread Raw
In response to Better I/O throughput? (was Re: create tablespace - cannot run insidea transaction block)  (Ron <ronljohnsonjr@gmail.com>)
List pgsql-admin
On Wed, 2019-09-25 at 14:40 -0500, Ron wrote:
> > No, normally you don't create tablespaces in PostgreSQL.
> > They are a few use cases for them, but not many.
> 
> Do I/O requests in the Linux kernel get "backlogged" when they all
> hit the 
> same device?  Or would you get better throughput (or less latency)
> by 
> spreading the load across multiple devices?

Sure, spreading I/O across multiple devices is one use case for
tablespaces.  But usually this is easier to do by striping a
logical volume across several physical volumes at a lower level.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com




pgsql-admin by date:

Previous
From: Bashir Jahed
Date:
Subject: AWS IAM Role Authentication Integration
Next
From: Ekaterina Amez
Date:
Subject: Files overwritten when installing v9.6 in machine with v8.4previously running