Re: [HACKERS] pgbench --unlogged-tables

2011-07-25 Thread Robert Haas
On Fri, Jul 22, 2011 at 5:15 PM, Greg Smith g...@2ndquadrant.com wrote: That looks straightforward enough. OK, committed. The other thing I keep realizing would be useful recently is to allow specifying a different tablespace to switch to when creating all of the indexes.  The old data here,

Re: [HACKERS] pgbench --unlogged-tables

2011-07-25 Thread Greg Smith
On 07/25/2011 09:23 AM, Robert Haas wrote: At some point, we also need to sort out the scale factor limit issues, so you can make these things bigger. I had a patch to improve that whole situation, but it hasn't seem to nag at me recently. I forget why it seemed less important, but I

Re: [HACKERS] pgbench --unlogged-tables

2011-07-25 Thread David Fetter
On Fri, Jul 22, 2011 at 10:15:08PM -0400, Greg Smith wrote: On 07/22/2011 08:15 PM, David Fetter wrote: Do you have any theories as to how indexing on SSD speeds things up? IIRC you found only marginal benefit in putting WALs there. Are there cases that SSD helps more than others when it

Re: [HACKERS] pgbench --unlogged-tables

2011-07-22 Thread Greg Smith
That looks straightforward enough. The other thing I keep realizing would be useful recently is to allow specifying a different tablespace to switch to when creating all of the indexes. The old data here, indexes on faster storage here trick was already popular in some environments. But

Re: [HACKERS] pgbench --unlogged-tables

2011-07-22 Thread David Fetter
On Fri, Jul 22, 2011 at 05:15:37PM -0400, Greg Smith wrote: That looks straightforward enough. The other thing I keep realizing would be useful recently is to allow specifying a different tablespace to switch to when creating all of the indexes. The old data here, indexes on faster storage

Re: [HACKERS] pgbench --unlogged-tables

2011-07-22 Thread Greg Smith
On 07/22/2011 08:15 PM, David Fetter wrote: Do you have any theories as to how indexing on SSD speeds things up? IIRC you found only marginal benefit in putting WALs there. Are there cases that SSD helps more than others when it comes to indexing? Yes, I've found a variety of workloads