Hi,
it’s me again.
We are collecting around 400k values each 5 minutes into a hypertable. The table structure is the usual:
Table "public.app_values"
Column | Type | Collation | Nullable | Default
--------+--------------------------+-----------+----------+---------
id | integer | | not null |
tstamp | timestamp with time zone | | not null |
name | smallint | | | 0
value | double precision | | |
Indexes:
"app_values_id_idx" btree (id)
"app_values_tstamp_idx" brin (tstamp)
When running iostat I see a constant 7-10MB/s write by postgres, and this just doesn’t add up for me and I’m fully stuck with this. Even with the row overhead it should be around 20Mb / 5 mins! Even with indeces this 7-10MB/s constant write is inexplicable for me.
The writes may trigger an update in an other table, but not all of them do. Let’s say 70% does. There we update two timestamps, and two ints. This still doesnt add up for me.
Please give me pointers! I would much appreciate it.
Thank you!
Bests,
Semirke