Re: Is it possible to keep indexes on different disk location?

2022-08-18 Thread Ron
On 8/18/22 14:54, W.P. wrote: [snip] But You are right, I am taking backups  irregular. cron job. -- Angular momentum makes the world go 'round.

Re: Is it possible to keep indexes on different disk location?

2022-08-18 Thread W.P.
W dniu 18.08.2022 o 16:46, Laurenz Albe pisze: On Thu, 2022-08-18 at 08:39 +0200, W.P. wrote: 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

Re: Is it possible to keep indexes on different disk location?

2022-08-18 Thread Laurenz Albe
On Thu, 2022-08-18 at 08:39 +0200, W.P. wrote: > 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

Re: Is it possible to keep indexes on different disk location?

2022-08-18 Thread hubert depesz lubaczewski
On Thu, Aug 18, 2022 at 08:39:27AM +0200, W.P. wrote: > Is it possible to move  DB tables etc to this internal storage (sure > connection) and put only    indexes on USB  HDD? Sure. There is a thing called tablespace, which is basically, directory where files for db objects reside. You can

Is it possible to keep indexes on different disk location?

2022-08-18 Thread W.P.
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