threads listlengths 1 275 |
|---|
[
{
"msg_contents": "Hi,\n\nwe faced a performance issue when joining 2 partitioned tables \n(declarative partitioning). The planner chooses nested loop while we \nexpect hash join.\n\nThe query and the plan are available here: https://explain.depesz.com/s/23r9\n\ntable_1 and table_2 are hash partitioned using vo... |
[
{
"msg_contents": "Dear Team,\n\nRecently we have noticed that in one of our DB instances there is a potential delay in querying a table from java code. could you please check the attached log and help understand what is the problem and which direction should be look into solving this delay of 4 odd mins ?\n\nT... |
[
{
"msg_contents": "Hi, first time posting, hope I have included the relevant information.\r\n\r\nI am trying to understand the performance of a query which is intended to retrieve a subset of the following table:\r\n\r\n\tTable \"contracts.bis_person_alle_endringer\"\r\n\t\t Column | ... |
[
{
"msg_contents": "Hi Experts,\n\nThe attached query is performing slow, this needs to be optimized to\nimprove the performance.\n\nCould you help me with query rewrite (or) on new indexes to be created to\nimprove the performance?\n\nThanks a ton in advance for your support.",
"msg_date": "Tue, 27 Jul 2021... |
[
{
"msg_contents": "Hi,\n\nwe have a customer which was migrated from Oracle to PostgreSQL 12.5 (I know, the latest version is 12.7). The migration included a lot of PL/SQL code. Attached a very simplified test case. As you can see there are thousands, even nested calls to procedures and functions. The test case... |
[
{
"msg_contents": "Hi Team,\n\nWe have a highly transactional system as the source of logical replication\nand the database size is 500GB+. We are replicating all tables from source\nusing logical replication.\n\nFor two tables the initial data load is very slow and it never completes\neven after 24hrs+\nTable ... |
[
{
"msg_contents": "Table \"product\" has a GIN index on \"lexeme\" column (tsvector) that is not used.\n\nQuery that doesn't use lexeme idx: https://explain.dalibo.com/plan/BlB#plan, ~8s, ~60.000 blocks needed\n\nQuery forced to use lexeme idx: https://explain.dalibo.com/plan/i52, ~800ms (10x less), ~15.000 bl... |
[
{
"msg_contents": "I've created a partial index that I expect the query planner to use in\nexecuting a query, but it's using another index instead. Using this other\npartial index results in a slower query. I'd really appreciate some help\nunderstanding why this is occurring. Thanks in advance!\n\n*Postgres Ver... |
[
{
"msg_contents": "Hi All,\nWhat is the difference between pg_triggers and information_schema.triggers?\nI want to list all triggers in the database.\n\nThe count differs in both.\n\nselect count(1) from information_schema.triggers -55\nselect count(1) from pg_trigger - 48\n\nWhat is the best way to list all o... |
[
{
"msg_contents": "Hi,\nWe are migrating Oracle to PostgreSQL. We need the equivalent of UTL_HTTP.\nHow to invoke Web service from PostgreSQL.\n\nAlso please let me know the PostgreSQL equivalents of below\nOracle utilities..\n\nutl.logger,UTL_FILE,UTL_SMTP\n\nRegards,\nAditya.\n\nHi,We are migrating Oracle to ... |
[
{
"msg_contents": "Hello all,\n\nI think I have identified a major performance issue between V11.2 and 13.4 with respect to exception handling in UDFs. I have the following simplified query that pivots data and makes use of a UDF to convert data to a specific type, in this case, float:\n\n\nselect \"iccqa_iccas... |
[
{
"msg_contents": "Hi,\nI know I can alter schema name after restoring but the problem is the name already exist and I don't want to touch that existing schema.The dump type is \"custom\".\n\n\nSo effectively I want something like.pg_dump -U postgres --schema \"source_schema\" --format \"c\" --create --file \"s... |
[
{
"msg_contents": "I have items that need to be categorized by user defined matching rules.\r\nTrusted users can create rules that include regular expressions. I've\r\nreduced the problem to this example.\r\n\r\n Table \"public.items\"\r\n Column │ Type │ Collation │ Nullable │ Default\r\n─────... |
[
{
"msg_contents": "Hello all,\n\nWe have some PG servers which we merge into a \"coordinator\" node using FDW\nand partitioned tables, we partition them by a synthetic \"shard_id\" field.\nThere are around 30 tables coordinated this way, with all foreign servers\nhaving the same schema structure.\n\nWe have som... |
[
{
"msg_contents": "Hi All!\n\nWe are using such feature as Foreign table as partition in PG 13 under CentOS\nHere is our table\nCREATE TABLE dwh.l1_snapshot (\n l1_snapshot_id int8 NOT NULL DEFAULT nextval('sq_l1_snapshot_id'::regclass),\n start_date_id int4 NULL,\n...\n...\n...\n dataset_i... |
[
{
"msg_contents": "Hello,\n\nSome databases such as SQLServer (try_cast) or BigQuery (safe.cast) offer not-throw conversion. In general, these tend to perform better than custom UDFs that catch exceptions and are also simpler to use. For example, in Postgres, I have a function that does the following:\n\nCREATE... |
[
{
"msg_contents": "Hi,\n I have an issue with my PostgreSql 9.4 version database. Almost every week I get the following error\n\nError: #2147500037\nCould not connect to the server;\nCould not connect to remote socket immedaitely\nSource: Microsoft OLE DB Provider for ODBC Drivers\nSQL State: 08001\n\nMy a... |
[
{
"msg_contents": "Hi all,\n\n \n\nI think that total_time in pg_stat_statements is cpu time + possible waits.\nSo, can I say that:\n\nTotal_sql_time = total_time + blk_read_time + blk_write_time\n\n \n\nDocumentation is not clear at all on that.\n\n \n\nThanks in advance \n\n \n\nMichel SALAIS\n\n\nHi all, I t... |
[
{
"msg_contents": "Dear community,\n\nI have a query that most of the time gets executed in a few\nmilliseconds yet occasionally takes ~20+ seconds. The difference, as\nfar as I am able to tell, comes whether it uses the table Primary Key\n(fast) or an additional index with smaller size. The table in question\n... |
[
{
"msg_contents": "The company I work for will test EnterpriseDB. I am fairly well \nacquainted with Postgres but have no experience whatsoever with \nEnterpriseDB. How compatible to Postgres it is? Do pgAdmin4 and pgBadger \nwork with EnterpriseDB? Are psql commands the same? Can anyone here \nshare some impre... |
[
{
"msg_contents": "I have a PL/pgSQL function that I want to call within a query, but the\nfunction is fairly expensive to execute so I only want it executed once\nwithin the query. However the planner seems to reorganize my query so that\nit calls the function for every row.\n\nWe were previously on Pg 9.6 and... |
[
{
"msg_contents": "Hi there,\n\nA database cluster (PostgreSQL 12.4 running on Amazon Aurora @\ndb.r5.xlarge) with a single database of mine consists of 1,656,618 rows in\npg_class. Using pg_dump on that database leads to excessive memory usage\nand sometimes even a kill by signal 9:\n\n2021-09-18 16:51:24 UTC:... |
[
{
"msg_contents": "Hello,\n \nAs modern software is typically multi-tenant aware it is critical for DB to effectively filter\ndatabase records based on tenant ID context. Yet, we constantly hit the situations when Postgres 13.4 performs poorly.\nIf community is interested I can report such trivial and obvious c... |
[
{
"msg_contents": "Dear All,\n\nWe use (a somewhat old version of) Liquibase to implement changes in our\ndatabases. We also use Liquibase scripts to keep track of database\nmigration (mostly schema, but a little bit of data too). At some point we\ncleaned up all our primary indexes as well as constraints and i... |
[
{
"msg_contents": "At Orcid we're trying to upgrade our Postgres database (10 to 13) using\npg_logical for no downtime. The problem we have is how long the initial\ncopy is taking for the ~500GB database. If it takes say 20days to complete,\nwill we need to have 20days of WAL files to start catching up when it'... |
[
{
"msg_contents": "I have run into the following issue: A table contains an enum column, \nand a partial unique index is available on the table.\nThis index contains exactly the row I am querying for. Unfortunately the \nindex is not always used, and I don't really understand why.\n\nThe attachments enumTest.sq... |
[
{
"msg_contents": "Hello I migrated from postgres 10 to 13 and I noticed that there was a big increase in a querie that I use, I did explain in 10 and 13 and the difference is absurd, the indices and data are the same in 2. I've re-created and re-indexed but I don't know what changed from 10 to 13 which made th... |
[
{
"msg_contents": "\nHello,\n\nI've been playing with CockroachDB, a distributed database system which is \nmore or less compatible with Postgres because it implements the same \nnetwork protocol. Because if this compatibility, I have used pgbench to \nsetup and run some tests on various AWS VMs (5 identical VM... |
[
{
"msg_contents": "Hi,\nQuery on one of our partitioned tables which is range partitioned on\n\"run\"date\" column is going to all partitions despite having run_date in\nWHERE clause. \"enable_parition_pruning\" is also on. I am unable to generate\na query plan as the query never runs fully even waiting for sa... |
[
{
"msg_contents": "TLDR; If I spend the time necessary to instrument the many functions that\nare the equivalent of the Oracle counterparts, would anyone pull those\nchanges and use them? Specifically, for those who know Oracle, I'm talking\nabout implementing:\n\n\n 1. The portion of the ALTER SESSION that e... |
[
{
"msg_contents": "Question:\r\n\r\nHow would one troubleshoot this issue in Postgres as to why the delete was running so long? My background is Oracle and there are various statistics I may look at:\r\n• One could estimate the number of logical reads the delete should do based on expected number of rows... |
[
{
"msg_contents": "Dear PostgreSQL community,\n\nwe have noticed a severe decrease in performance reading\npg_catalog.pg_settings table in PostgreSQL 12 on MS Windows 10 machines\ncompared to earlier versions.\n\n```\nexplain (analyze, buffers, timing)\nSELECT * from pg_catalog.pg_settings where name =\n'standa... |
[
{
"msg_contents": "Hi,\nLock contention observed high in PostgreSQLv13.3\nThe source code compiled with GNC(GCCv11.x)\nPostgreSQL version: 13.3\nOperating system: RHEL8.3\nKernel name:4.18.0-305.10.2.el8_4.x86_64\nRAM Size:512GB\nSSD: 1TB\nThe environment used IBM metal and test benchmark environment HammerDb... |
[
{
"msg_contents": "Hi,\nI am running the below query. Table has 21 million records. I get an Out Of\nMemory error after a while.(from both pgadmin and psql). Can someone review\nDB parameters given below.\n\nselect t.*,g.column,a.column from\ngk_staging g, transaction t,account a\nwhere\ng.accountcodeis not nul... |
[
{
"msg_contents": "Hi,\n\nWe are trying to use the postgres view to accommodate some of the complex\nworkflow related operations, we perform we saw like using union in a where\nclause inside a view actually pushed the where clause to both subqueries\nand we get good performance using the index , but when used i... |
[
{
"msg_contents": "Why does the planner not use an index when a view is involved?\n\n1) A description of what you are trying to achieve and what results you\nexpect.\nWhy don't plans use indexes when views are involved? A similar query on\nthe underlying table leverages the appropriate index.\n\n== Point 1. Th... |
[
{
"msg_contents": "Hi\nPostgreSQLv14 source code build with GCCv11.2 and Clangv12(without JIT)\nwith optimisation flags like O3 and tested with HammerDB\nObserved TPC-H , GCC performance better than Clang(without JIT). The\nperformance difference ~22% and also noticed the assembly code difference\nGCC vs Clan... |
[
{
"msg_contents": "Hi guys,\n\nPostgreSQL 13.4 for SUSE linux (should be same behavior on red hat)_________________________________________________________\n We installed the llvmJIT community RPM => postgresql13-llvmjit-13.4-1PGDG.sles15.x86_64.rpm \n\n=> It requires libLLVM11 : https://opensuse.pkgs.org/15... |
[
{
"msg_contents": "A description of what you are trying to achieve and what results you\nexpect.:\nI have two equivalent queries, one with an EXISTS clause by itself and one\nwrapped in a (SELECT EXISTS) and the \"naked\" exists is much slower.\nI would expect both to be the same speed / have same execution pla... |
[
{
"msg_contents": "Hi folks,\n\nwe have found that (probably after VACUUM ANALYZE) one analytical query\nstarts to be slow on our production DB. Moreover, more or less the same\nplan is used on our testing data (how to restore our testing data is\ndescribed at the end of this email), or better to say the same p... |
[
{
"msg_contents": "I was trying to upgrade my test 13.4 instance on Oracle Linux 8.4 \n(x86_64) to 13.5. I can't upgrade postgresql13-llvm jit because Oracle's \nand Red Hat repositories still don't have the required version of llvm \n(12.1.0.2):\n\nroot@postgres mgogala]# rpm -qa|grep llvm\nllvm-libs-11.0.1-2.... |
[
{
"msg_contents": "Hello all,\r\n\r\nA description of what you are trying to achieve and what results you expect.:\r\n\r\nWe’re executing the following copy to fill a table with approximately 5k records, then repeating for a total of 250k records. Normally, this copy executes < 1 second, with the entire set ta... |
[
{
"msg_contents": "Hi,\nIn a trigger function I am creating a temp table . When an update on a\ntable is executed for say 10k rows. I get the below error.\n\nERROR: out of shared memory\nHINT:You might need to increase max_locks_per_transaction\nCONTEXT: SQL Statement \"created temp table changedinfo(colName\nv... |
[
{
"msg_contents": "Software/Hardware used:\n===================\nPostgresV14.v\nOS: RHELv8.4\nBenchmark:HammerDB v4.3\nHardware used: Apple/AMD Ryzen.\nRAM size: 256 GB\nSSD/HDD: 1TB\nCPU(s): 256(0-255)\nThread(s) per core: 2\nCore(s) per socket: 64\nSocket(s): 2\nNUMA node(s): 8\n\nCommand u... |
[
{
"msg_contents": "Hi Team,\n\nPlease suggest how I can ensure pg_dump backup has completed successfully ?\nI don't think there is any view like Oracle which helps with\ndba_datampump_jobs etc.\n\nThanks,\n\nHi Team,Please suggest how I can ensure pg_dump backup has completed successfully ?I don't think there i... |
[
{
"msg_contents": "Hello,\n\nrecently I wrote a query that provides suggestions from a Postgres table.\nIt should be able to work despite smaller typos and thus I chose to use \nthe pg_trgm extension (https://www.postgresql.org/docs/current/pgtrgm.html).\nWhen measuring the performance, I observed great differe... |
[
{
"msg_contents": "Hi\nThe performance bottleneck in LWLockRelease()method goes through an array\none by one to see which lock was released with O(N). As soon as the lock is\nfound it performs an array to remove the lock.\nAs linear search and compaction delays the release of the lock forcing the\nother Postgre... |
[
{
"msg_contents": "Hello,\n\nI hope this email finds you all well!\n\nI have a data warehouse with a fairly complex ETL process that has been running for years now across PG 9.6, 11.2 and now 13.4 for the past couple of months. I have been getting the error \"An I/O error occurred while sending to the backend\"... |
[
{
"msg_contents": "Hi ,\n\nPostgreSQLv14 source build/compiled with GCCv11.1 and bin's run different\nmachine like single machine and client-server machine.\n\nobserved Single Milan machine, the NOPM is more or less half with the\nClient-Server method.\n\nAnd checked the network bandwidth on Client-Server machi... |
[
{
"msg_contents": "First of all, here is the version of PostgreSQL I'm using:\nPostgreSQL 13.3 on x86_64-pc-linux-gnu, compiled by x86_64-pc-linux-gnu-gcc\n(GCC) 7.4.0, 64-bit\n\nI'm new to PostgreSQL, and I'm deciding if I should make columns in my\ndatabase nullable or not.\n\nI have no need to distinguish be... |
[
{
"msg_contents": "Hi,\n\nI have a PostgreSQL (9.6.15) two node cluster setup with Patroni. The\ninstances are configured to work in master <-> synchronous standby setup\nand both run in docker containers with pgdata volume mounted from host.\nWhen master is restarted the synchronous standby automatically takes... |
[
{
"msg_contents": "Hi,\n\nI am looking at a postgres 9.6 on rh7\nI see that checkpoint_write_time is huge which looks quite strange as the\naverage amount of data written is not that big.\nFor example in 5:30 hours today, data from pg_stat_bgwriter view, comparing\nvalues at 11AM and 4h30PM :\ncheckpoint_write_... |
[
{
"msg_contents": "I have PostgreSQL Version 10.7 on AIX 7.1 set up with streaming\nreplication. Replication appears to be working fine and database contents\nare staying current.\n\n*ps -ef |grep sender*\n> postgres 54854022 30212254 0 10:10:29 - 0:00 postgres: wal sender\n> process postgres 10.253.15.... |
[
{
"msg_contents": "Hi\n\nI have postgres_fdw table called tbl_link. The source table is 2.5 GB in size with 122 lines (some lines has 70MB bytea column, but not the ones I select in the example)\nI noticed that when I put the specific ids in the list \"where id in (140,144,148)\" it works fast (few ms), but wh... |
[
{
"msg_contents": "Hello everyone,\n\nI am currently running queries with the same table structures in 2\ndifferent virtual machines and 2 different versions. and I get results like\nbelow.\n\n\nExecution Query:\n\nselect d.device_id from ats_devices d inner join ats_device_detays dd on\ndd.device_id=d.device_i... |
[
{
"msg_contents": "Hi Team ,\n\nWe are getting below error while running pgbench -\n\ncould not connect to server: Cannot assign requested address\nIs the server running on host \"\ntushartest-ist-pgec2-a7-prod-lb-4637832643276542.elb.us-east-1.amazonaws.com\"\n(100.10.11.4) and accepting\nTCP/IP connections on... |
[
{
"msg_contents": "Postgres version is 13.5, platform is Oracle Linux 8.5, x86_64. Here is \nthe problem:\n\nmgogala=# create table test1(col1 integer,col2 varchar(10));\nCREATE TABLE\nmgogala=# alter table test1 add constraint test1_uq unique(col1,col2);\nALTER TABLE\nmgogala=# insert into test1 values(1,null)... |
[
{
"msg_contents": "Hello:\n\nI ran 2 same queries on PostgreSQL 12.8 machine running in AWS RDS, the first time I ran the query\n\nthe query plan was:\n\nGroupAggregate (cost=455652.07..455664.99 rows=340 width=16) (actual time=124047.119..124048.777 rows=294 loops=1)\n Group Key: dvh.history_date\n -> So... |
[
{
"msg_contents": "Hi everyone,\n\nI have a SELECT query that uses a chain of CTEs (4) that is slow to run on\na large\ndatabase. But if I change a where clause in one of the small CTEs from an\nequality to an equivalent nested IN query, then the query becomes fast.\nLooking\nat the query plan I can see that af... |
[
{
"msg_contents": "Hi folks,\n\nWe are struggling to figure out what is going on. We are migrating from PostgreSQL 9.6 to PostgreSQL 13 w/ PostGIS. Our 9.6 version was compiled from source and the new version (13) was installed using Yum. BTW, the new version is on a VM that has 16GB of memory, two cores, and 5... |
[
{
"msg_contents": "All;\n\n\nI am looking for information on how PostgreSQL leverages or interfaces \nwith CPU's on Linux. Does PostgreSQL let Linux do the work? Does it \nbypass the OS? Any information or docs you can send my way would be much \nappreciated.\n\n\nThanks in advance\n\n\n\n\n",
"msg_date": "... |
[
{
"msg_contents": "Hello,\n\nI have a strange case of a query that runs substantially slower when run as a\nJava PreparedStatement with placeholders, compared to using constant values in\nthe SQL string.\n\nIn my experience, the reason for this is usually a different execution plan for the\nprepared statement.\... |
[
{
"msg_contents": "Hello,\n\nI have a table that contains folders, and another one that contains files.\n\nHere are the table definitions. I have removed most of the columns because\nthey are not important for this question. (There are lots of columns.)\n\nCREATE TABLE media.oo_folder (\nid int8 NOT NULL,\nis_a... |
[
{
"msg_contents": "*Postgres version:* 11.4\n\n*Problem:*\n Query choosing Bad Index Path. Details are provided below:\n\n\n*Table :*\n\n\n\n\n\n\n*Doubt*\n 1. Why is this Query choosing *Index Scan Backward using table1_pkey\nIndex *though it's cost is high. It can rather choose\n BITMAP OR\n ... |
[
{
"msg_contents": "Hi\n\nSometimes simple sql's like this takes a very long time \"select count(*) from information_schema.tables;\"\n\nOther sql's not including system tables may work ok but login also takes a very long time.\n\nThe CPU load on the server is around 25%. There is no iowait.\n\n\nThis happens t... |
[
{
"msg_contents": "Postgres version: 11.4\n\nProblem:\nQuery choosing Bad Index Path (ASC/DESC ordering). Details are provided\nbelow\n\nTable:\n\\d public.distdbentityauditlog1_46625_temp_mahi3;\n Table \"public.distdbentityauditlog1_46625_temp_mahi3\"\n Column | Type ... |
[
{
"msg_contents": "Postgres version: 11.4\n\nProblem:\n Query choosing Bad Index Path. Details are provided below\n\nTable :\n\\d public.distdbentityauditlog1_46625_temp_mahi1;\n Table \"public.distdbentityauditlog1_46625_temp_mahi1\"\n Column | Type | Collation ... |
[
{
"msg_contents": "Hi Team,\n\nGreetings,\n\nWe are facing an issue with long running queries in PostgreSQL Database. We recently migrated the database from Oracle to PostgreSQL and we found that there are approx. 4 to 5 queries which was running in oracle in 5 mins and it is taking more than 50 mins in Postgre... |
[
{
"msg_contents": "Hi,\n\n\nI've experienced a situation where the planner seems to make a very poor \nchoice with a prepared query after the first five executions. Looking \nat the documentation, I think this happens because it switches from a \ncustom plan to a generic one, and doesn't make a good choice for... |
[
{
"msg_contents": "Dear fellow DBAs,\n\nI am seeking for some guidance with the following case that our developers\nhave thrown at me and I apologize in advance for this lengthy mail ...\n\n$> postgres --version\npostgres (PostgreSQL) 13.6\n\n\nWe are dealing with the following issue:\n\n\nselect version, conte... |
[
{
"msg_contents": "Hi,\n\nCould some some verify the attached query to verify the performance and\nsuggest some steps to improve it, this query is created as a view. This\nview is used to get the aggregates of orders based on its current status\n\nThanks",
"msg_date": "Fri, 25 Feb 2022 23:18:22 +0300",
... |
[
{
"msg_contents": "Hi Team,\n\nCan you please help in tunning the attached query as , i am trying to run this query and it runs for several hours and it did not give any output.\n\nI am not able to generate the explain analyze plan as well and it keeps on running for several hours and did not give output.\n\nI ... |
[
{
"msg_contents": "Hi Postgres community,\n\nWe are experiencing some performance issues when RLS is enabled for large tables. With simplified example:\n\nWe have a table:\n\nCREATE TABLE emp.employees (\n employee_id INTEGER PRIMARY KEY,\n-- companies table are defined in a different schema, not accessible to... |
[
{
"msg_contents": "Hello all -\n\nI have a task which is simple at the first look. I have a table which\ncontains hierarchy of address objects starting with macro region end ends\nwith particular buildings. You can imagine how big is it. \n\nHere is short sample of table declaration:\n\n \n\ncreate table region... |
[
{
"msg_contents": "Hello,\n\nWe have a pg_restore which fails due to RAM over-consumption of the \ncorresponding PG backend, which ends-up with OOM killer.\n\nThe table has one PK, one index, and 3 FK constraints, active while \nrestoring.\nThe dump contains over 200M rows for that table and is in custom format... |
[
{
"msg_contents": "Hi,\nOne of the service layer app is inserting Millions of records in a table\nbut one row at a time. Although COPY is the fastest way to import a file in\na table. Application has a requirement of processing a row and inserting it\ninto a table. Is there any way this INSERT can be tuned by i... |
[
{
"msg_contents": "My boss asked me to upgrade one of the development databases from 13.5 \n--> 14.2. One thing that we've noticed right away is that XA \ntransactions (2-phase commit) are much slower on 14.2 than on 13.5. Were \nthere any significant changes to the XA protocol in the version 14? Did \nanybody... |
[
{
"msg_contents": "Hi everybody!\n\nI have a big application running on premise. One of my main database\nservers has the following configuration:\n\n72 CPUs(2 chips, 18 physical cores per chip, 2 threads) Xeon Gold 6240\n1TB of ram or 786GB (5 servers at all)\nA huge storage( I don't know for sure what kind is... |
[
{
"msg_contents": "Hello team,\n\nWhat is the unit of I/O Timings in explain (analyze, buffers) ? There is a\nplan with quite a few nodes. In each case, the value of I/O Timings is\nmuch more than the time for the outer node. A few lines from the plan -\n\n Hash Left Join (cost=14320945.22..7099974624.27 rows... |
[
{
"msg_contents": "Hello Team,\n\nThere is change in query plan in 12.4 version and Version 13 resulting in performance slowness post upgrade.\n\n\n * In 12.4 version, Sort Operation Group Aggregate is selected which results to Merge Join. Query takes ~5 seconds.\n * In 13.5 version, optimizer wrongly est... |
[
{
"msg_contents": "Hi\n\nWe are running\npostgres server 12.6 (Ubuntu 12.6-0ubuntu0.20.04.1))\nPOSTGIS=\"3.1.1 aaf4c79\" [EXTENSION] PGSQL=\"120\" GEOS=\"3.9.0-CAPI-1.16.2\" SFCGAL=\"1.3.7\" PROJ=\"7.2.1\" GDAL=\"GDAL 3.2.1, released 2020/12/29\" LIBXML=\"2.9.10\" LIBJSON=\"0.13.1\" LIBPROTOBUF=\"1.3.3\" WAGYU=... |
[
{
"msg_contents": "Hi,\n\nWhen running our application, we noticed that some processes are taking a lot of memory ( 10, 15, 20GB or so, of RSS ).\nIt is also reproduced when running in psql.\n\nPG version is 12.6\n\n2 examples:\n\n * Common table, PG_BUFFERCACHE, when doing group by, session takes 140MB, whi... |
[
{
"msg_contents": "Hi Team and All ,\n\nGreeting for the day.\n\nWe have recently migrated from Oracle to PostgreSQL on version 11.4 on azure postgres PaaS instance.\n\nThere is 1 query which is taking approx. 10 secs in Oracle and when we ran the same query it is taking approx. 1 min\n\nCan anyone suggest to i... |
[
{
"msg_contents": "Hi All,\n\nWe have an issue with high load and IO Wait's but less cpu on postgres\nDatabase, The emp Table size is around 500GB, and the connections are very\nless.\n\nPlease suggest to us do we need to change and config parameters at system\nlevel or Postgres configuration.\n\npostgres=# sel... |
[
{
"msg_contents": "Hi everyone,\n\nI am a bachelor's student and writing my thesis about the scaling and\nperformance of an application. The application is using postgresql as a\ndatabase but we can't scale any further currently as it seems postgres\nis hitting the limit.\n\nWith the application, as well as wit... |
[
{
"msg_contents": "I have the following query:\n\n *explain* (*analyze*, costs, timing) *SELECT* rr.* *FROM* rpc rpc\n\n *INNER* *JOIN* rr rr\n\n *ON* rr.uuid = rpc.rr_id\n\n *INNER* *JOIN* rs rs\n\n *ON* rs.r_id = ... |
[
{
"msg_contents": "Hi Team,\n\nGreetings !!\n\nWe have recently done the migration from Oracle Database Version 12C to Azure PostgreSQL PaaS instance version 11.4 and most of the application functionality testing has been over and tested successfully\n\nHowever, there is 1 process at application level which is ... |
[
{
"msg_contents": "Hi Team,\n\nWe are running the below query in PostgreSQL and its taking approx. 8 to 9 sec to run the query.\n\nQuery - 1\n\nSelect * from\n (\n Select payment_sid_c,\n lms_app.translate_payment_status(payment_sid_c) AS paymentstatus\n from\n lms_app.lms_payment_check_request\n group by... |
[
{
"msg_contents": "Hi All,\n\nWe migrated from Oracle 12.1 to Aurora postgres 12.8.1. The query in Oracle\ntakes less than a millisecond however the same query in aurora is taking\nmore than a second. We have a larger number of executions for the SQL which\nis causing an overall latency for the application. I a... |
[
{
"msg_contents": "Greetings Postgres Developers,\n\nI've recently started taking advantage of the PARTITION BY HASH feature for\nmy database system. It's a really great fit since my tables can get quite\nlarge (900M+ rows for some) and splitting them up into manageable chunks\nshould let me upload to them with... |
[
{
"msg_contents": "Hi Geeks,\n\nEnv: postgres12\n\nI am new to postgres and coming from an Oracle background. Please excuse me\nif I am not asking valid questions.\n\n I would like to know if postgres performs any transformations when it does\nthe parsing? If yes, is there a way we can get the final transformed... |
[
{
"msg_contents": "Hello All,\n\nI am working on workload testing on a PostgreSQL database.\nUse case: Run workload of 5000 to 11000 transactions and a transaction should have Inserts, Selects, Updates and Selects\nI am using HammerDB, an open source tool to generate work load, and my question here is how to ge... |
[
{
"msg_contents": "Hi all;\n\n\nWe are debugging a sql performance issue. We have a sql file with 50,000 \nsimple select statements in it. If I run the file locally it completes \nin less than 15sec. If I force the local connection to be a tcp/ip \nconnection via psql -h and I get approximately the same result... |
[
{
"msg_contents": "Dear mailing list\n\nWe are investigating a strange performance issue with our database.\n\nOur use case is a sensor reading database where we have sensor location \n(called channels), parameter settings (called valueseries) and reading \n(called datavalues). Datavalues is partitioned per mon... |
[
{
"msg_contents": "Hello everyone,\n\n*1) Context*\n\nI'm working with large tables containing arrays of integers, indexed with \"\n*gin__int_ops*\" GIN indexes offered by the \"*intarray*\" extension.\nThe goal I'm trying to achieve is to do a \"nested loop semi join\" using the\narray inclusion operation (@>)... |
[
{
"msg_contents": "I noticed an issue in a simple query with WHERE NOT IN (SELECT ...). I am\naware that anti-joins with NOT IN are currently not optimized and should be\nrewritten as WHERE NOT EXISTS (SELECT ...), so if this is irrelevant please\njust ignore it.\n\nHere is a setup that works:\n\nCREATE TABLE a... |
[
{
"msg_contents": "Hi all,\n\nI have a table with time series data and on this table a trigger for \nnotifies:\n\ncontainers_notify AFTER INSERT ON containers FOR EACH ROW EXECUTE \nPROCEDURE containers_notify('containers_notify_collector')\n\nand the function does:\n\nPERFORM pg_notify(CAST(TG_ARGV[0] AS text)... |
[
{
"msg_contents": "Hi,\nWe are trying to COPY a few tables from Oracle to Postgres and getting the\nfollowing error. Data gets partially copied. Table does not have any huge\ndata; there are 4 numeric columns and 1 vahchar column. Could you please\nhelp?\n\nFATAL:canceling authentication due to timeout\n\n\nRe... |
[
{
"msg_contents": "Hello,\n\nI have come across a plan that should never get generated IMHO:\n\nSELECT 1\nFROM extdataregular e1\nINNER JOIN extdataempty e2 ON e1.field = e2.field AND e1.index = e2.index\n\ngenerates the following plan:\n\nNested Loop (cost=1.13..528540.89 rows=607604 width=4) (actual time=929... |
[
{
"msg_contents": "I have a “temporal table” — a table where there are multiple “versions” of\nentities, with each version having a distinct timestamp:\n\nCREATE TABLE contract_balance_updates (\n block_id bigint NOT NULL,\n block_signed_at timestamp(0) without time zone NOT NULL,\n contract_address by... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.