Re: tableam vs. TOAST
Prabhat Sahu <prabhat.sahu@enterprisedb.com>
From: Prabhat Sahu <prabhat.sahu@enterprisedb.com>
To: Robert Haas <robertmhaas@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-07-09T04:40:11Z
Lists: pgsql-hackers
On Mon, Jul 8, 2019 at 9:06 PM Robert Haas <robertmhaas@gmail.com> wrote: > On Tue, Jun 25, 2019 at 2:19 AM Prabhat Sahu > <prabhat.sahu@enterprisedb.com> wrote: > > I have tested the TOAST patches(v3) with different storage options > like(MAIN, EXTERNAL, EXTENDED, etc.), and > > combinations of compression and out-of-line storage options. > > I have used a few dummy tables with various tuple count say 10k, 20k, > 40k, etc. with different column lengths. > > Used manual CHECKPOINT option with (checkpoint_timeout = 1d, > max_wal_size = 10GB) before the test to avoid performance fluctuations, > > and calculated the results as a median value of a few consecutive test > executions. > > Thanks for testing. > > > All the observation looks good to me, > > except for the "Test1" for SCC UPDATE with tuple count(10K/20K), for SCC > INSERT with tuple count(40K) there was a slightly increse in time taken > > incase of "with patch" result. For a better observation, I also have ran > the same "Test 1" for higher tuple count(i.e. 80K), and it also looks fine. > > Did you run each test just once? How stable are the results? > No, I have executed the test multiple times(7times each) and calculated the result as the median among those, and the result looks stable(with v3 patches). -- With Regards, Prabhat Kumar Sahu Skype ID: prabhat.sahu1984 EnterpriseDB Software India Pvt. Ltd. The Postgres Database Company
Commits
-
tableam: New callback relation_fetch_toast_slice.
- ce242ae154dd 13.0 landed
-
tableam: Allow choice of toast AM.
- 83322e38da1a 13.0 landed
-
Move heap-specific detoasting logic into a separate function.
- e9fd0415e6e2 13.0 landed
-
Code cleanup for toast_fetch_datum and toast_fetch_datum_slice.
- d5406dea25b6 13.0 landed
-
Rename some toasting functions based on whether they are heap-specific.
- 2e8b6bfa90b2 13.0 landed
-
Create an API for inserting and deleting rows in TOAST tables.
- bd124996ef0d 13.0 landed
-
Split tuptoaster.c into three separate files.
- 8b94dab06617 13.0 landed
-
tableam: Move heap-specific logic from needs_toast_table below tableam.
- 1171d7d58545 12.0 cited