Re: blending fast and temp space volumes

2018-02-21 Thread Claudio Freire
On Wed, Feb 21, 2018 at 4:50 PM, Peter Geoghegan wrote: > On Wed, Feb 21, 2018 at 7:53 AM, Rick Otten wrote: >> side note: The disadvantage of local SSD is that it won't survive "hitting >> the virtual power button" on an instance, nor can it migrate automatically >> to other hardware. (We have

Re: blending fast and temp space volumes

2018-02-21 Thread Peter Geoghegan
On Wed, Feb 21, 2018 at 12:07 PM, Claudio Freire wrote: > On Wed, Feb 21, 2018 at 4:50 PM, Peter Geoghegan wrote: >> On Wed, Feb 21, 2018 at 7:53 AM, Rick Otten wrote: >>> side note: The disadvantage of local SSD is that it won't survive "hitting >>> the virtual power button" on an instance, no

Re: blending fast and temp space volumes

2018-02-21 Thread Peter Geoghegan
On Wed, Feb 21, 2018 at 7:53 AM, Rick Otten wrote: > side note: The disadvantage of local SSD is that it won't survive "hitting > the virtual power button" on an instance, nor can it migrate automatically > to other hardware. (We have to hit the power button to add memory/cpu to > the system, an

Re: blending fast and temp space volumes

2018-02-21 Thread Craig James
On Wed, Feb 21, 2018 at 7:53 AM, Rick Otten wrote: > Some of my data processes use large quantities of temp space - 5 or 6T > anyway. > > We are running in Google Cloud. In order to get the best performance out > of all of my queries that might need temp space, I've configured temp space > on a

Re: blending fast and temp space volumes

2018-02-21 Thread Tom Lane
Rick Otten writes: > At the moment it seems like when multiple temp spaces are available, the > temp spaces are chosen in a 'round robin' or perhaps 'random' fashion. Is > that true? Yes, see fd.c's SetTempTablespaces and GetNextTempTableSpace. There's no concept of different temp spaces having

blending fast and temp space volumes

2018-02-21 Thread Rick Otten
Some of my data processes use large quantities of temp space - 5 or 6T anyway. We are running in Google Cloud. In order to get the best performance out of all of my queries that might need temp space, I've configured temp space on a concatenated local (volatile) SSD volume. In GCE, local SSD's a