Hi Henrique,
How do you check contraints here? Is this enforced with UK/PK?
Do you see anything suspicious in the logs, i.e. something in the realms of running out of transaction IDs?
To me it sounds like the UK/PK is getting too much to write. A possible solution could be to start partitioning the table.
Another suggestion would be to increase the min_wal_size here, but since you use UNLOGGED tables it does not matter much.
Just curious: does that mean you mix up SSD + HDD?
Cheers,
Sebastian
--
Sebastian Dressler, Solution Architect +49 30 994 0496 72 | sebastian@xxxxxxxxxxx Swarm64 AS Parkveien 41 B | 0258 Oslo | Norway Registered at Brønnøysundregistrene in Norway under Org.-Number 911 662 787 CEO/Geschäftsführer (Daglig Leder): Thomas Richter; Chairman/Vorsitzender (Styrets Leder): Dr. Sverre Munck Swarm64 AS Zweigstelle Hive Ullsteinstr. 120 | 12109 Berlin | Germany Registered at Amtsgericht Charlottenburg - HRB 154382 B |