News for hackers. Stuff that matters.
Re:Parallelism in PostgreSQL by tempguy9999 on Sunday August 11, 2019 @03:16AM (#20666840)
Agreed: Table: 426GB, RAM: 256GB, and then he says "and it is clear that having more than 10 workers will not give any significant performance boost". Quite expected if it's IO bottlnecked. It doesn't sound like it's about presentation. Maybe I'm missing something.
Re:Parallelism in PostgreSQL by londons_explore on Sunday August 11, 2019 @04:11AM (#20667016)
IO bottlenecking shouldn't prevent parallelism helping.

One theoretical solution is to have millions of parallel queries, and rather than doing random reads to satisfy them, just read the whole table sequentially.

Query latency is high, but throughout is then unconstrained.

Re:Parallelism in PostgreSQL by tempguy9999 on Sunday August 11, 2019 @04:25AM (#20667060)
> and rather than doing random reads to satisfy them, just read the whole table sequentially

OK, good point, I believe this is called a carousel read (spent 5 mins looking for a link, sorry no luck. I know MSSQL does a slightly fancier version of it).

I think the original article was unclear in what it was trying for, actual performance or exposition.

Edit: could have utterly sworn it was a carousel read, but no cigar. Here it is https://www.mssqltips.com/sqlservertip/4472/sql-server-enter...

Re:Parallelism in PostgreSQL by nunwuo on Sunday August 11, 2019 @05:15AM (#20667230)
Postgres does this, too; at least to some degree. They call it "synchronized sequential scans".