Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
2 votes
4 answers
103 views

I have a very simple table for a task queue and keep taking records out one by one. If I add the filter_selector after filling/resetting the table, postgresql will use it and run super fast. But if I ...
1 vote
1 answer
295 views

I have a large PostgreSQL database that is used by a web server. The server often receives a steady load of requests (up to ~1000rps), where each request makes an insert of a single row into several ...
Alechko's user avatar
  • 1,700
0 votes
0 answers
87 views

A few days ago we received the following error messages and started vacuum/analyze manually: ERROR: database is not accepting commands to avoid wraparound data loss in database "xxxx" HINT: ...
1 vote
2 answers
263 views

We encountered a situation where CPU usage hit 100% due to a frequently running query. The issue resolved after performing a manual ANALYZE on the table involved in the query. However, I noticed the ...
0 votes
1 answer
972 views

I am running a Postgres 13 instance with an insert-only table. When the application writes to this table it manually acquires a "SHARE ROW EXCLUSIVE" lock (as a form of concurrency control ...
Parker's user avatar
  • 133
5 votes
1 answer
386 views

I was working with a large (3.22GB) SQLite3 database containing a lot of binary data. I updated a number of rows in the largest table in the database, replacing a binary column in each row with a ...
Bill's user avatar
  • 46k
0 votes
2 answers
164 views

Last night we did a vacuum full operation on partitioned tables. A few hours after the vacuum full, I found cpu rising with an unknown session called "startup" when queried by top command. We cannot ...
0 votes
0 answers
265 views

I have running Postgres instance (version 16.1) in AWS with one table that has following schema: Column Type Modifiers user_id integer not null default nextval('profile_user_id_seq'::regclass) ...
-1 votes
3 answers
9k views

I have been asked to temporarily disable autovacuum in PostgreSQL 14.3. From 7 a.m. to 5 p.m., autovacuum is to be turned off, and at other times it is to be turned back on. I intend to achieve this ...
0 votes
2 answers
1k views

I ran a simple delete query on a telemetries table to clear up some data but cancelled as it was taking really long. I noticed that after I cancelled the query some of the tables (all partitions of ...
0 votes
1 answer
472 views

We use postgres 11 in Azure cloud as a temporary store. Two tables in particular receive large number of inserts and deletes (hundreds of millions) in lots of small transactions with heavy lock ...
0 votes
2 answers
1k views

PostgreSQL v12. Database cluster size: 12+ Tb (30+ databases 100-600Gb each). Server: 40 cores, 128Gb ram. For some reason, autovacuum stopped running. How to understand the reason? Yesterday, the ...
1 vote
2 answers
976 views

I have a pg_toast table which has a lot of dead tuples accumulating. The autovacuum job on it runs for a very long time. I wanted to tune the autovacuum config, to make it more aggressive. When i'm ...
0 votes
1 answer
59 views

We can list tables' s custom options why checking pg_class' s reloptions columns. For example; like this post. select relname, reloptions from pg_class where relname = 'a_table'; Yet, I couldn' t ...
0 votes
0 answers
373 views

I fail to understand why pg_settings parameter vacuum_freeze_min_age is named differently than the table parameter autovacuum_freeze_min_age. Isn't the purpose of this setting on table level to ...
Peter's user avatar
  • 1,416

15 30 50 per page
1
2 3 4 5
...
8

AltStyle によって変換されたページ (->オリジナル) /