postgres version 16 onwards is consuming entire disk space within container (possible disk spill is happenning) #1320
Replies: 5 comments
-
Can you run
|
Beta Was this translation helpful? Give feedback.
-
This is the screen shot of version 17 postgres image... but the database is still in healthy state... i can't give you the same data when it gets corrupted as when the container goes bad and i cannot run this command. |
Beta Was this translation helpful? Give feedback.
-
How many time has the corrupted db pod restarted? |
Beta Was this translation helpful? Give feedback.
-
Can you give this a try? https://stackoverflow.com/a/72740536 |
Beta Was this translation helpful? Give feedback.
-
I waited
I waited for couple of hours for it to restore... But it was in same state |
Beta Was this translation helpful? Give feedback.
-
I have created a stored procedure:
in this procedure there is a step to create or replace view add_cell_raw_latest...
which takes data from a raw table add_cell_raw_%s (actual value add_cell_raw_c169cwea01_export_LTECell_v4_20250208073005)...this raw table contains roughly 750 MB
Now when this CREATE VIEW runs internally postgres runs the following step to create the VIEW
Now the ISSUE is i have created a kubernetes container using
postgres images which are version 15 or lower and postgres images which are version 16 or higher (with volume allocated to container 50 GB)..
Observation
As I said this issue coming from postgres images 16 and onwards... I am reading some articles where to increase the query performance could lead to disk spill of the data in postgres... please look into it and fix it
Beta Was this translation helpful? Give feedback.
All reactions