Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
1 vote
0 answers
17 views

I am truncating a large table - a few Terrabytes in size. To ensure that there are no locking issues, I executed the following query in another window and the results are also there. Why isn't the ...
Jayadevan's user avatar
  • 1,434
0 votes
1 answer
175 views

I am trying to upgrade a Postgresql 13 database to version 15 using the command pg_upgradecluster 13 main but it keeps failing with this message: Stopping old cluster... Restarting old cluster with ...
Kevin Renskers's user avatar
-2 votes
1 answer
104 views

I need to migrate a PostgreSQL database (~5TB in size) from version 13 running on Oracle Linux 7.9 to version 17 running on Ubuntu 24. The database includes critical data and downtime must be ...
Pramod Vinay's user avatar
2 votes
0 answers
54 views

We’re using Azure PostgreSQL Flexible Server (v.13) and noticed a significant performance disparity between users that have the azure_pg_admin role and those that don’t. For example, queries that ...
Muhammad Azeem R A K's user avatar
3 votes
3 answers
249 views

I have a table: create table accounts_service.operation_history ( history_id bigint generated always as identity primary key, operation_id varchar(36) not null unique, operation_type ...
Alexey Stepanov's user avatar
-1 votes
1 answer
155 views

I'm encountering an issue with Debezium version 2.3.1 while processing a snapshot from a PostgreSQL database. The error occurs during the snapshot phase and seems to be related to parsing a date/time ...
Henrique Viana's user avatar
0 votes
1 answer
240 views

I am trying to install Postgresql on my Amazon Linux machine on AWS, and I am getting the error of the conflicting request. and I got an option to add --skip-broken. whenever I add this flag it doesn'...
Ladipo's user avatar
  • 1
0 votes
1 answer
113 views

I'm converting search text to tsquery with plainto_tsquery function. When running the following statement select plainto_tsquery('english'::regconfig, 'what'); I get empty result. Server is: "...
TomazicM's user avatar
  • 101
-1 votes
2 answers
287 views

Although the value of the "statement_timeout" parameter in the config file in one of my Postgresql databases is "0", there is a timeout period in my database. What is the reason ...
Abdullah Ergin's user avatar
0 votes
3 answers
82 views

I use the id directly in the query, it has a low cost: -- Query 1. -- Nested Loop Semi Join (cost=2.27..280.78 rows=1 width=129) EXPLAIN SELECT * FROM view_companies_extra WHERE company_id iN ( ...
Maxim Mandrik's user avatar
-2 votes
4 answers
186 views

With the following table, I need to make a query to replace the null values of “time” (number of minutes, integer) by a value consistent with the preceding and following values, with partitioning by “...
Nicolas's user avatar
  • 23
2 votes
1 answer
1k views

Is this value configurable by us, or this is limit by GCP? Other question is that write apparently are more than the limit after paralelizing from 1 to 10 threads more (only increase throughput by 2x,...
Kokizzu's user avatar
  • 27.1k
0 votes
1 answer
314 views

We recently setup netdata to monitor a self-hosted PostgreSQL server. Is it a bad thing that txid_exhaustion_oldest_txid_num is constantly increasing? What we did PostgreSQL is running in v13 We've ...
John Smith's user avatar
1 vote
2 answers
117 views

i had 2 postgresql server with different version (9.6 and 13.9). I'm trying alter some varchar column from 20 to 50. As many views depend on it, I'm trying to avoid using UPDATE syntax in actual ...
Sapta's user avatar
  • 15
2 votes
0 answers
287 views

I'm working on a PostgreSQL database and facing performance issues with a specific query that involves large datasets. The query is supposed to join three different tables, each containing over a ...
andkho's user avatar
  • 21
0 votes
1 answer
446 views

I'm using AWS RDS postgres 13.12 with Node js typeorm 0.2.19. error: { error: column cnst.consrc does not exist query failed: SELECT "ns"."nspname" AS "table_schema", &...
Rutunj sheladiya's user avatar
0 votes
1 answer
86 views

In my PostgreSQL database, I have a table with a partition structure for a one-month time interval. In the 10th month, the data size of my partition doubled compared to other months. enter image ...
Abdullah Ergin's user avatar
1 vote
0 answers
2k views

I used postgresql almost a year on my local. Yesterday I used it and after I update the windows. Today I can not connect to the postgresql. It gives the below error: connection to server at "...
MRSeen's user avatar
  • 41
0 votes
1 answer
928 views

I am encountering an error in one of the replication clusters on my Ubuntu machine with PostgreSQL version 13 database. The error message is as follows: FATAL: could not restore file "00000004....
Abdullah Ergin's user avatar
22 votes
2 answers
23k views

I'm getting E: The repository 'https://apt.postgresql.org/pub/repos/apt bionic-pgdg Release' no longer has a Release file. on sudo apt update. That means that repo for bionic is not accessible. In my ...
fueggit's user avatar
  • 1,083
3 votes
2 answers
2k views

I am trying to connect to a DB made with Postgres 13. The problem is, Delphi is a 32 bit program and Postgres is 64 bit. Delphi says it needs 32 bit, but there are no 32 bit files for version 16. I ...
Error In Code's user avatar
0 votes
1 answer
341 views

cf. unnest ( anyarray, anyarray [, ... ] ) in the psql docs The example given there: select * from unnest(ARRAY[1,2], ARRAY['foo','bar','baz']) as x(a,b) → a | b ---+----- 1 | foo 2 | bar | ...
User1291's user avatar
  • 8,239
1 vote
0 answers
39 views

I have a table employee_start_dates: employee_id date 1 2023-01-01 2 2022-01-01 3 2021-01-01 The IDs have moved to a new system so each employee gets a new ID. I have a mappings table that maps the ...
dl639j's user avatar
  • 1,436
2 votes
1 answer
207 views

I was trying to find out the user/roles which got elevated privileges in the postgres database. Elevated privileges like alter/drop/create/owner of table i.e. any user who can change the existing ...
Sandy's user avatar
  • 459
-1 votes
2 answers
50 views

My foos each have a bar. At least they're supposed to. I now want to create and assign bars to all foos that don't. bar is completely detached from foo, it only has an id serial that serves as its ...
User1291's user avatar
  • 8,239

1
2 3 4 5
8