Is it possible to keep indexes on different disk location? - Mailing list pgsql-general

From W.P.
Subject Is it possible to keep indexes on different disk location?
Date
Msg-id a5899b4c-e254-8a6c-4217-1b02d9430847@wp.pl
Whole thread Raw
Responses Re: Is it possible to keep indexes on different disk location?
Re: Is it possible to keep indexes on different disk location?
List pgsql-general
Hi there,

I have a PostgreSQL 11 server on OrangePi3 (ARM 64 bit, Armbian, PG from 
distro).

Database (all cluster) is located on USB disk. This approach give me 
already 2 times loosing DB contents (it is a replica of DB on i7).

But the whole thing (mainly indexes) is about 50G, and internal storage 
is only 32GB.

Is it possible to move  DB tables etc to this internal storage (sure 
connection) and put only    indexes on USB  HDD?

And will it help in case of losing connection to USB disk? (DB 
recoverable instead of total crash)?


Laurent




pgsql-general by date:

Previous
From: Christophe Pettus
Date:
Subject: Re: Unable to Create or Drop Index Concurrently
Next
From: Vijaykumar Jain
Date:
Subject: Re: Setting up streaming replication on large database (20+ TB) for the first time