Re: How huge does mvtest_huge need to be?
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kevin Grittner <kgrittn@gmail.com>
Cc: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2017-05-03T20:22:31Z
Lists: pgsql-hackers
Kevin Grittner <kgrittn@gmail.com> writes: > On Wed, May 3, 2017 at 12:08 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: >> So ... is there a good reason to be using a large table here, and >> if so what is it, and how big does the table really need to be >> to provide useful test coverage? > Hm. This seems like a particularly useless size. It would test a > possibly useful corner case if it was over 10MB so that it was over > vacuum's truncation threshold, but that would obviously be even > slower. It doesn't seem justified. How about 500 so it at least > goes to a second page which is then truncated to 1 page. Yeah, that aspect occurred to me after a bit too. I'll make it so. > The "huge" in the object names then seems odd, of course. Right ... will pick some other name. regards, tom lane
Commits
-
Remove useless and rather expensive stanza in matview regression test.
- fcdccb78e56a 9.4.12 landed
- 85b3bcbcd61c 9.3.17 landed
- 56064d551280 9.6.3 landed
- 4dd410434206 10.0 landed
- 2ffe80c06ab3 9.5.7 landed
-
Prevent (auto)vacuum from truncating first page of populated matview.
- b69ec7cc990f 9.3.0 cited