threads listlengths 1 275 |
|---|
[
{
"msg_contents": "Greetings,\n\nI have several similar queries that are all suffering from a dramatic slow down after upgrading a RDS instance from 9.3 to 10.3. The query time goes from 28 milliseconds to over 70 seconds I could use some help trying to figure out the problem. This is one of the queries:\n\n... |
[
{
"msg_contents": "Hi everyone,\n\nwe have a new query that performs badly with specific input parameters. We\nget worst performance when input data is most restrictive. I have partially\nidentified a problem: it always happens when index scan is done in inner\nloop\nand index type is pg_trgm. We also noticed t... |
[
{
"msg_contents": "Hello,\n\nThe following basic inner join is taking too much time for me. (I’m using count(videos.id <http://videos.id/>) instead of count(*) because my actual query looks different, but I simplified it here to the essence).\nI’ve tried following random people's suggestions and adjusting the r... |
[
{
"msg_contents": "I have strange issue with pgbench where it fails to execute step to create\nprimary keys when I specify scaling factor / transactions to some\nreasonable high value - eg. 8k.\n\nI am doing\n\n$ pgbench -i -s 8000 sampledb\n\n$ pgbench -c 10 -j 2 -t 8000 sampledb\n\nwhen I fails I see\n\n=====... |
[
{
"msg_contents": "Hi All,\r\n\r\nI’m having performance trouble with a particular set of queries. It goes a bit like this\r\n\r\n1) queue table is initially empty, and very narrow (1 bigint column)\r\n2) we insert ~30 million rows into queue table\r\n3) we do a join with queue table to delete from another tabl... |
[
{
"msg_contents": "Hi Team,\n\nWhile taking pgdump we are getting error message cache lookup failed for\nfunction 7418447. While trying select * from pg_proc where oid=7418447\nreturns zero rows. Please help us on this.\n\nHi Team,While taking pgdump we are getting error message cache lookup failed for function... |
[
{
"msg_contents": "Hello,\n\nApologies if this is not in the correct forum for the non-urgent question\nthat follows.\n\nI was reading the pgconf 2018 ppt slides by Jonathan Katz (from slide 110\nonwards)\nhttp://www.pgcon.org/2018/schedule/attachments/480_realtime-application.pdf\n\nWhere is mentioned trigger ... |
[
{
"msg_contents": "Pessoal, estou em um cliente que tem um servidor Linux (não sei qual\ndistribuição) mas de um tempo para cá está aparecendo uma mensagem sobre\nexcesso de conexões e então para de fazer conexões.\n\nAssistindo a uma palestra, o cidadão citou que se eu alterasse essa\nconfiguração para 50, o p... |
[
{
"msg_contents": "Hi,\nI installed postgresql v9.6/10 in our company. When I tried to create the\nextension plpython I got the next error :\nERROR: could not open extension control file\n\"/PostgreSQL/9.6/share/postgresql/extension/plpythonu.control\": No such\nfile or directory\n\nWhen I try to install the e... |
[
{
"msg_contents": "Hi,\nI'm trying to install the pgwatch2 tool in our company without using the docker option. I followed the instructions that are specified in the github page but I'm facing an error during STEP 4.2 when I try to add my cluster to be the /dbs page in order to monitor it. After I add it I'm ge... |
[
{
"msg_contents": "Hi,\n\nI am having a query that has an order by and a limit clause. The\ncolumn on which I am doing order by is indexed (default b tree index).\nHowever the index is not being used. On tweaking the query a bit I\nfound that when I use left join index is not used whereas when I use\ninner join... |
[
{
"msg_contents": "Hi all,\n\n\nI'm having a good bit of trouble making production-ready a query I wouldn't\nhave thought would be too challenging.\n\nBelow is the relevant portions of my table, which is partitioned on values\nof part_key from 1-5. The number of rows is on the order of 10^7, and the\nnumber of ... |
[
{
"msg_contents": "I'm looking for a way of gathering performance stats in a more usable\nway than turning on `log_statement_stats` (or other related modules).\nThe problem I have with the log_*_stats family of modules is that they\nlog every single query, which makes them unusable in production. Aside\nfrom co... |
[
{
"msg_contents": "Hello,\n\nI have a table which has billions of rows and I want to select it by\nbitwise operation like,\n\n=# CREATE TABLE IF NOT EXISTS t_bitwise (\n id INTEGER NOT NULL\n ,status_bigint BITINT NOT NULL\n ,status_bit BIT(32) NOT NULL\n);\n\n=# INSERT INTO t_bitwise (id, status_bigint, sta... |
[
{
"msg_contents": "Hi,\r\n\r\nAll.\r\nCan anyone give me a hand?\r\n\r\nI meet a problem:High concurrency but simple updating causes deadlock\r\n\r\n1.System info\r\n\r\nLinux version 4.8.0\r\n\r\nUbuntu 5.4.0-6ubuntu1~16.04.4\r\n\r\n2.Pg info\r\n\r\nPostgreSQL 9.5.12 on i686-pc-linux-gnu, compiled by gcc (Ubun... |
[
{
"msg_contents": "Dear expert,\n\nCould you please review and suggest to optimize performance of the PLSQL procedure in PostgreSQL?\nI have attached the same.\n\nThanks in advance\n\nRegards,\nDinesh Chandra\n\n________________________________\n\nDISCLAIMER:\n\nThis email message is for the sole use of the int... |
[
{
"msg_contents": "Dear,\nSome of you can help me understand this.\n\nThis query plan is executed in the query below (query 9 of TPC-H\nBenchmark, with scale 40, database with approximately 40 gb).\n\nThe experiment consisted of running the query on a HDD (Raid zero).\nThen the same query is executed on an SSD ... |
[
{
"msg_contents": "On Wed, 18 Jul 2018 09:46:32 +0200, Fabio Pardi <f.pardi@portavita.eu>\nwrote:\n\n> RAID 0 to store production data should never be used. Never a good \n> idea, in my opinion.\n\nRAID 0� by itself� should never be used.� Combined with other RAID \nlevels, it can boost performance withou... |
[
{
"msg_contents": "Is there a tool which does this for PostgreSQL?\n\nTake a \"snapshot\" of what the server is doing about 10 times per second.\nWrite this to a file.\nAfter N hours you can aggregate the file.\nWhat does the server do most of the time?\nWhich tables/index gets used the most.\n\nBefore optimizi... |
[
{
"msg_contents": "Hi,\n\nI have the following table:\n\n Table \"public.totoz\"\n Column | Type | Collation | Nullable | Default\n-----------+--------------------------+-----------+----------+---------\n name | character varying(512) | | not null ... |
[
{
"msg_contents": "Hello All,\n\nI created a table with 200 bigint column, 200 varchar column. (Postgres\n10.4)\n\ncreate table i200c200 ( pk bigint primary key, int1 bigint, int2\nbigint,....., int200 bigint, char1 varchar(255),......, char200\nvarchar(255)) ;\n\nInserted values only in pk,int1,int200 columns ... |
[
{
"msg_contents": "Hi,\nI'm using postgresql v10.4. I have a local partitioned table (by range -\ndata, every day has its own table). I'm using the oracle_fdw extension to\nbring data from the oracle partitioned table into my local postgresql\n(insert into local select * from remote_oracle). Currently, I dont h... |
[
{
"msg_contents": "Hi,\n\nI have been puzzled by very different replication performance (meaning\n50-100x slower) between identical replicas (both in “hardware” and\nconfiguration) once the amount of data to replicate increases. I’ve gone\ndown a number of dead ends and am missing something\n(\nlikely obvious\n... |
[
{
"msg_contents": "Hello PostgreSQL community,\r\nI am helping with a benchmarking exercise using PGSQL (I chair the TPC subcommittee<http://www.tpc.org/tpcx-v/default.asp> that has released a benchmark using PGSQL). A requirement of the benchmark is having enough log space allocated for 8 hours of running with... |
[
{
"msg_contents": "One of our database API's is run concurrently by near 40 sessions. We see\nall of them waiting back and forth on this wait state.\n\nThere is one scenario described in some forum where sessions connected a\nread-only replica are affected. This does not apply to our use case.\n\nWhy is it call... |
[
{
"msg_contents": "Hi. My databases make heavy use of timestamp ranges, and they rely on GIST\nexclusion constraints to ensure that the ranges are disjoint. I've noticed\nthat queries that hit the GIST indexes are EXTREMELY slow, and the queries\nrun much faster if I make trivial changes to avoid the GIST index... |
[
{
"msg_contents": "Hi,\nI have a big table (with 1.6 milion records). One of the columns is called\nend_date and it`s type is timestamp. I'm trying to find the best way to\ndelete most of the table but not all of it according to a range of dates.\nThe table structure :\nafa=# \\d my_table;\n ... |
[
{
"msg_contents": "On windows, how to put an entry in my db startup script to run this query (pg_prewarm) immediately after startng the server, and let the query warm the cache itself.\nAfter starting the server, I want to know what is the server, and it is the database I restarted or windows system?\nThank yo... |
[
{
"msg_contents": "Hello all,\r\n\r\nWe are running postgresql 9.4 and we have a table where we do some full-text searching using a GIN index on a tsvector column:\r\n\r\nCREATE TABLE public.location_search\r\n(\r\n id bigint NOT NULL DEFAULT nextval('location_search_id_seq'::regclass),\r\n <snip some col... |
[
{
"msg_contents": "I have also asked this question on Stackoverflow and DBA stack exchange with no answer. It's a fairly long post, so I will post a link to it, as on Stackoverflow it is formatted nicely \nhttps://stackoverflow.com/questions/52212878/query-gets-very-slow-when-jsonb-operator-is-used\n\nAny idea ... |
[
{
"msg_contents": "Hi folks,\n\nI've been seeing some curious behaviour on a postgres server I administer.\n\nIntermittently (one or two times a week), all queries on that host are\nsimultaneously blocked for extended periods (10s of seconds).\n\nThe blocked queries are trivial & not related to locking - I'm se... |
[
{
"msg_contents": "Hi everybody,\n\nI ran into an issue with using the && array operator on a GIN index of mine. Basically I have a query that looks like this:\n\nSELECT * FROM example WHERE keys && ARRAY[...];\n\nThis works fine for a small number of array elements (N), but gets really slow as N gets bigger in... |
[
{
"msg_contents": "I have the following tables:\n- m(pk bigserial primary key, status text): with a single row\n- s(pk bigserial primary key, status text, action_at date, m_fk bigint):\n * 80% of the data has action_at between the current date and 1 year ago\n and status of E or C\n * 20% of the data has ... |
[
{
"msg_contents": "I am working on adding support for PostgreSQL database for our application.\nIn a lot of our use-cases, data is inserted into temporary tables using\nINSERT INTO statements with bind parameters, and subsequently queries are\nrun by joining to these temp tables. Following is some of the data f... |
[
{
"msg_contents": "Hi,\n\nI'm suggesting to link to:\nhttps://wiki.postgresql.org/wiki/Slow_Query_Questions\n\n From either:\nhttps://wiki.postgresql.org/wiki/Main%20Page\nor:\nhttps://wiki.postgresql.org/wiki/Performance_Optimization\n\nI know it's a wiki, but it looks like I'm not allowed to edit the 'Main' p... |
[
{
"msg_contents": "Based on my research in the forums and Google , it is described in multiple places that ‘select count(*)’ is expected to be slow in Postgres because of the MVCC controls imposed upon the query leading a table scan. Also, the elapsed time increase linearly with table size. \n\nHowever, I do no... |
[
{
"msg_contents": "In API function may invoke 10 queries. Ideally, I would like to know what queries are invoked by it and how long each took. \n\nI’m using pg_stat_statement. I can see the API function statement, but how do I deterministically identify all queries invoked by it?\n\n\n----------------\nThank yo... |
[
{
"msg_contents": "It is some time since I've written to the postgres lists. My apologies\nif this is the wrong list to post this to.\n\nWe are looking to upgrade our current database server infrastructure so\nthat it is suitable for the next 3 years or so.\n\nPresently we have two physical servers with the sam... |
[
{
"msg_contents": "Hi ,\n\nI have a 10 TB size table with multiple bytea columns (image & doc)and\nmakes 20TB of DB size. I have a couple of issues to maintain the DB.\n\n1. I Would like to separate the image column from the 10TB size table,\nplace it in a separate schema. The change should not result in any qu... |
[
{
"msg_contents": "Hi,\n\nFor a traditional LEFT JOIN, in case the SELECT does not mention a field\nfrom a joined table being unique , the planner removes the join. Eg:\n\nSELECT a, b --,c\nFROM table1\nLEFT JOIN (select a, c from table2 group by a) joined USING (a)\n\nHowever this behavior is not the same for ... |
[
{
"msg_contents": "We have faced in issue in our Postgresql 9.5.13 cluster. Inserts into\nbtree index are too slow when strings contain Thai characters.Test\nscript and results are in the attachment. Test shows that insert Thai\nstring into index is more than 60x times slower than Chinese or\nRussian, for examp... |
[
{
"msg_contents": "Hi,\n\npg_pub_decrypt() is ~10x slower when the priv/pub keys have been\ngenerated with gnupg version 2.x instead of version 1.x.\n\nWhat I do is:\n- Create keys with gpg\n- Export priv/pub keys\n- Store keys in binary form in a bytea\n- Create 32 byte random data and encrypt it with pg_pub_e... |
[
{
"msg_contents": "Why the sql is not executed in parallel mode, does the sql has some problem?\nwith sql1 as\n(select a.*\n from snaps a\n where a.f_date between to_date('2018-03-05', 'yyyy-MM-dd') and\n to_date('2018-03-11', 'yyyy-MM-dd')\n ),\nsql2 as\n(select '1' as pId, PM_TO as pValue, type_code... |
[
{
"msg_contents": "Hi!\n\nI would have following question, if someone could help.\n\nQuestion 1: How to see/calculate size of index in memory?\nBTree, hash index.\n\nI can see size of index e.g. with pg_relation_size FROM pg_class (after reindex). Does that tell size of index on disk?\n\nI would be interested h... |
[
{
"msg_contents": "Hi!\n\nRelated to my other email (size of index in memory), \n\nOther questions,\nQ: To keep _index(es)_ in memory, is large enough effective_cache_size enough?\nQ: Size of shared_buffers does not matter regarding keeping index in memory?\nOr have I missed something, does it matter (to keep i... |
[
{
"msg_contents": "I am experiencing a strange performance problem when accessing JSONB\ncontent by primary key.\n\nMy DB version() is PostgreSQL 10.3 (Ubuntu 10.3-1.pgdg14.04+1) on\nx86_64-pc-linux-gnu, compiled by gcc (Ubuntu 4.8.4-2ubuntu1~14.04.4) 4.8.4,\n64-bit\npostgres.conf: https://justpaste.it/6pzz1\nu... |
[
{
"msg_contents": "Hello,\nI have found that explain on tables with many (hundreds) columns\nare slow compare to nominal executions.\n\nThis can break application performances when using auto_explain or\npg_store_plans.\n\nHere is my test case (with 500 columns, can be pushed to 1000 or 1600)\n\ncreate table a(... |
[
{
"msg_contents": "I'm hoping to find a document I once read about the write load.\n\nAs best I can recall, it looked something like this:\n\n. at beginning of (spread) checkpoint, larger than average write load to\n pg_wal/, due to full_page_writes;\n. during most of checkpoint, decreasing WAL due to FPW, \n.... |
[
{
"msg_contents": "I have a strange performance situation that I cannot resolve with my usual\nprocess.\n\nI have a SELECT statement that completes in about 12 seconds for the full\nresult (~1100 rows).\n\nIf I create an empty table first, and then INSERT with the SELECT query, it\ntakes 6.5 minutes.\n\nWhen I ... |
[
{
"msg_contents": "Hi team,\n\nI need your help to resolve an issue psql: fe_sendauth: no password supplied which we are getting by nagios plugin , we are trying to monitor the disk space and via .pgpass for an authentication.\n\n[root@viicinga-02 ~]# /mnt/common/local/linux/local/bin/check_postgres/check_post... |
[
{
"msg_contents": "Hi\nI would like to submit the following problem to the PostgreSQL community. In my company, we have data encryption needs.\nSo I decided to use the following procedure :\n\n\n(1) Creating a table with a bytea type column to store the encrypted data\nCREATE TABLE cartedecredit(card_id SERI... |
[
{
"msg_contents": "Hi,\nI'm trying to understand the execution plan that is chosen for my query\nwhen I run a select on a partition table . I have on my main partition\ntable rules that redirect the insert to the right son table.\n\nMy scheme :\nPostgresql 9.6.8\n\nmydb=# \\d comments_daily\n Table \... |
[
{
"msg_contents": "Hi,\nDoes the work mem is used when I do sorts or hash operations on temp\ntables ? Or the temp_buffer that is allocated at the beginning of the\nsession is used for it ?\n\nAt one of our apps, the app create a temp table and run on it some\noperations (joins,sum,count,avg ) and so on.. I sa... |
[
{
"msg_contents": "Hi,\n\nI have a CSV file having only 400 records.\n\nI have to import it in DB table, it's working fine but why it's importing 1047303 rows as I have only 400 records are present in that file.\nCould you please help me on this?\n\n[cid:image001.png@01D46477.F29B0B00]\n\nRegards,\nDinesh Chand... |
[
{
"msg_contents": "Hi all,\n\nI have a problem with my query. Query always using parallel bitmap heap scan. I've created an index with all where conditions and id but query does not this index and continue to use bitmapscan. So I decided disable bitmap scan for testing. And after that, things became strange. Co... |
[
{
"msg_contents": "Hi there,\n\nI'm running PostgreSQL 9.6.10 on Debian and reported some performance\nissues with \"SET ROLE\" a while ago:\nhttps://www.postgresql.org/message-id/CABZYQR%2BKu%2BiLFhqwY89QrrnKG9wKxckmssDG2rYKESojiohRgQ%40mail.gmail.com\n\nThose long running queries, especially \"SET ROLE\", sti... |
[
{
"msg_contents": "If SELECT is confident enough to limit itself to one partition, why isn't\nDELETE (or UPDATE)?\n\nAlso, I note in the query plan shown below it thinks the rows in the\nirrelevant partitions is something other than 0, which is impossible.\n(presumably, SELECT correctly determined this, and eli... |
[
{
"msg_contents": "Hi,\n\nI have searched in many postgres blogs for Sequential UUID generation,\nwhich can avoid Fragmentation issue.\n\nI did a POC(in postgres) with sequential UUID against Non sequential which\nhas shown lot of different in space utilization and index size. Sql server\nhas \"newsequentialid\... |
[
{
"msg_contents": "I am using pgadmin4 version 3.4 with PG 11.0 and I get this error when I \ntry to connect with scram authorization:\n\nUser \"myuser\" does not have a valid SCRAM verifier.\n\nHow do I get around this? And also how would I do this for psql?\n\nRegards,\nMichael Vitale\n\n\n\nI am using pgad... |
[
{
"msg_contents": "Hi,\n\nI'm running a performance test for our application and encountered a\nparticular query with high planning time compared to the execution. Please\nrefer to attached explain.out for the explain analyze output.\n\nFormatted explain: https://explain.depesz.com/s/R834\n\nThe test was perfor... |
[
{
"msg_contents": "Hi all,\n\nI've figured out how to solve the performance issues I've been encountering\nwith a particular query, but I'm interested in better understanding the\nintuition behind why the better query is so much more performant.\n\nThe query in question involves a NOT IN filter from a CTE:\n\nW... |
[
{
"msg_contents": "Hi, I'm also experiencing the problem: dsa_allocate could not find 7 free\npages CONTEXT: parallel worker\n\nI'm running: PostgreSQL 10.5 (Ubuntu 10.5-1.pgdg16.04+1) on\nx86_64-pc-linux-gnu, compiled by gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0\n20160609, 64-bit\n\nquery plan: (select statem... |
[
{
"msg_contents": "Hi,\nCan someone explain the logic behind it ? I know that vacuum full isnt\nsomething recommended but I found out that whenever I run vacuum full on my\ndatabase checkpoint occurs during that time every second ! well I know that\nVACUUM FULL duplicates the data into new data files and then i... |
[
{
"msg_contents": "Hi list,\n\n\nFor your consideration I'm submitting you a research I made together with my colleague Wouter.\n\nWe compared the 2 databases for our specific use case on medical data stored using FHIR standard.\n\nThis is indeed a very restrictive use case, and moreover under read only circums... |
[
{
"msg_contents": "Hi,\nI'm trying to understand something that is weird on one of my environments.\nWhen I query pg_stat_all_tables I see that most of the tables dont have any\nvalue in the last_autovacuum/analyze column. In addition the columns\nautovacuum_count/analyze_count is set to 0. However, when checki... |
[
{
"msg_contents": "Given a table, `github_repos`, with a multi-column unique index on `org_id`\nand `github_id` columns, is there any performance difference (or other\nissues to be aware of) between the two bulk upsert operations below? The\ndifference is that in the first query, the `org_id` and `github_id` co... |
[
{
"msg_contents": "Hi,\nI'm using postgres 9.6.\nI have a table with 100M+ records which consume on disk about 8GB. In\naddition I have an index on the id column of the table.\nWhen I run in psql : explain analyze select id from my_table order by id\nThe query returns output after 130 seconds which is great. Th... |
[
{
"msg_contents": "*Postgres server version - 9.5.10*\n*RAM - 128 GB*\n*WorkMem 64 MB*\n\n*Problematic query with explain :*\n*Query 1 (original):*\nexplain analyse SELECT myTable1.ID FROM myTable1 LEFT JOIN myTable2 ON\nmyTable1.ID=myTable2.ID WHERE ((((myTable1.bool_val = true) AND\n(myTable1.small_intval I... |
[
{
"msg_contents": "Hi,\nI checked pg_stat_all_tables and I see that the last_autovacuum is empty\nfor all the tables but in the database`s log I see that autovacuum was\nrunning and deleted records(not all of them but still deleted...).\nCan someone explain why the pg_stat_all_tables doesnt show the real data ?... |
[
{
"msg_contents": "Hi,\n\nI'm running performance tests for my application at version 11.1 and\nencountered\nqueries with high planning time compared to the same planning, running at\nversions 10.5 and 11.0.\n\n-- Day and store where the highest price variation of a given product\noccurred in a given period\nex... |
[
{
"msg_contents": "Hello all,\r\n\r\nWe recently moved our production database systems from a 9.4 running on a self-managed EC2 instance to 9.6.10 on Amazon’s AWS (same RAM, CPU). After the move, we’re finding that certain queries that we run against a GIN full-text index have some occasionally very slow execu... |
[
{
"msg_contents": "All;\n\n\nMy apologies if this is off topic.\n\n\nOur company is moving to Aurora, In the past I would take care not to \nallow postgresql to over-commit memory beyond the actual memory on the \nserver, which meant I would add the buffer pool + (work_mem * \nmax_connections) + (maintenance_wo... |
[
{
"msg_contents": "Hi,\nI'm trying to understand why my database consume so much space. I checked\nthe space it consume on disk :\n\n[root@ base]# du -sh * | sort -n\n1.1T 17312\n5.2G pgsql_tmp\n6.3M 1\n6.3M 12865\n6.4M 12870\n119G 17313\n\nmyBIGdb=# select t1.oid,t1.datname AS\ndb_name,pg_siz... |
[
{
"msg_contents": "Hi,\nI have a very strong machine with 64GB of ram and 19 cpu but it seems that\nwhen I'm running the next benchmark test with pg_bench the database is\ncrashing :\n\ncreatedb -U postgres bench\npgbench -i -s 50 -U postgres -d bench\npgbench -U postgres -d bench -c 10 -t 10000\n\noutput :\n\n... |
[
{
"msg_contents": "Hey,\nI installed a new postgres 9.6 on both of my machines. I'm trying to\nmeasure the differences between the performances in each machine but it\nseems that the results arent accurate.\nI did 2 tests :\n\n1)In the first test the scale was set to 100 :\npgbench -i -s 100 -U postgres -d benc... |
[
{
"msg_contents": "I want to clean a large log table by chunks. I write such a query:\n\ndelete from categorization.log\nwhere ctid in (\n select ctid from categorization.log\n where timestamp < now() - interval '2 month'\n limit 1000\n)\n\nBut I am getting the following weird plan:\n\n[Plan 1]\nDelete... |
[
{
"msg_contents": "Wondering if anyone had any thoughts on how to tweak my setup to get it \nto read many files at once instead of one at a time when using file fdw \nand partitions. We have a bunch of data tied up in files (each file > 4M \nrows, 5,000+ files per year) that I would like to be able to query \nd... |
[
{
"msg_contents": "Hi All,\n\nI am looking into a performance issue and needed your input and thoughts.\n\nWe have table (non-partitioned) of 500Gb with 11 indexes \n\n+--------------+---------------+--------------+-------------+--------------+---------+--------+------------+--------+\n\n| row_estimate | total... |
[
{
"msg_contents": "I would love to see a feature on psql cli tool where i can point it to a\nconnection pool provider back end instead of a postgres host. I read that\npgpool2 emulates a postgres server, but i've never tried it myself. I know\nthat some languages provide connection pooling, but i'm relying heav... |
[
{
"msg_contents": "*PG Version:*\n\nPostgreSQL 9.6.10 on x86_64-pc-linux-gnu (Debian 9.6.10-1.pgdg80+1),\ncompiled by gcc (Debian 4.9.2-10+deb8u1) 4.9.2, 64-bit\n\n*Installed via apt-get:*\n\napt-get install -y postgresql-9.6=9.6.10-1.pgdg80+1\npostgresql-client-9.6=9.6.10-1.pgdg80+1\npostgresql-contrib-9.6=9.6... |
[
{
"msg_contents": "Hi everyone ,\n\nHave this explain analyze output :\n\n*https://explain.depesz.com/s/Pra8a <https://explain.depesz.com/s/Pra8a>*\n\nAppreciated for any help .\n\n*PG version*\n-----------------------------------------------------------------------------------------------------------\n Postgre... |
[
{
"msg_contents": "Hi all\nI would appreciate any hints as this problem looks to me rather strange...I tried to google it but in vain.\nselect t.name, c.smpl_time,c.nanosecs,c.float_val,c.num_val,c.str_val,c.datatype,c.array_val from sample c, channel t where t.channel_id=c.channel_id and t.name='BUIL-B36-VA-RT... |
[
{
"msg_contents": "Hi,\nI'm trying to understand some issues that I'm having with the unix_socket\nsettings and pgsql.\nI have 2 machines with pg v9.2.5 with the same next settings :\n#listen_addresses = 'localhost'\n#unix_socket_directory = ''\n\nin both of the machines I run netstat to check on what socket th... |
[
{
"msg_contents": "Hey,\nIt is clear that when we query some data, if that data isnt in the shared\nbuffers pg will go bring the relevant blocks from the disk to the shared\nbuffers. I wanted to ask if the same logic works with\ndml(insert/update/delete). I'm familiar with the writing logic, that the\ncheckpoin... |
[
{
"msg_contents": "Is there a way to detect missing combined indexes automatically\n\nI am managing a lot of databases and I think a lot of performance\ncould get gained.\n\nBut I don't want to do this manually.\n\nMy focus is on missing combined indexes, since for missing\nsingle indexes there are already tool... |
[
{
"msg_contents": "Hi team,\n\nWe have enabled the monitoring to monitor the vacuuming of tables via check_postgres_last_vacuum plugin but we are getting the below warning message.\n\nNotification Type: PROBLEM\nService: PostgreSQL last vacuum ()\nHost Alias: vmshowcasedb2.vpc.prod.scl1.us.tribalfusion.net\nAdd... |
[
{
"msg_contents": "Hi folks -\n\nI'm having trouble understanding what some of the stats mean in the \nexecution plan output when parallel workers are used. I've tried to read \nup about it, but I haven't been able to find anything that explains what \nI'm seeing. Apologies in advance if there's documentation I... |
[
{
"msg_contents": "Hey,\nI have a table with 3 columns and one of those columns is bytea type\nA(int,int,bytea).\nEvery row that I insert is pretty big and thats why postgresql decided to\nsave that column in a toasted table(pg_toasted_Aid). I had a lot of bloat\nissues with that table so I set the vacuum_thres... |
[
{
"msg_contents": "Hello,\n\n we noticed that in the presence of a schema with many partitions the jitting overhead penalizes the total query execution time so much that the planner should have decided not to jit at all. For example without jitting we go a 8.3 s execution time and with jitting enabled 13.8 s... |
[
{
"msg_contents": "Hi,\n\nMemory and hard ware calculation :\n\n\nHow much memory required to achieve performance with the 6GB RAM, 8 Core, Max connection 1100 concurrent connection and O/p memory from procedure 1GB ?\n\n\nIs there any changes required in hardware and work memory expansion ?\n\n\nRegards\nRANGA... |
[
{
"msg_contents": "Hey everyone,\n\nI have a PostgreSQL 10 database that contains two tables which both have\ntwo levels of partitioning (by list and using a single value). Meaning that\na partitioned table gets repartitioned again.\n\nThe data in my use case is stored on 5K to 10K partitioned tables (children\... |
[
{
"msg_contents": "I just notice that one of my Hibernate JPA SELECTs against my Heroku PG\n10.4 instance is taking a l o o o g to complete\n<https://explain.depesz.com/s/r2GU> as this EXPLAIN (ANALYZE, BUFFERS)\nshows. The database is 591MB running in PG 10.4 on Heroku with the\nfollowing row counts and inde... |
[
{
"msg_contents": "It has been noted in various places that ANALYZE does not estimate n_distinct\nvalues accurately on large tables. For example, here:\n\nhttps://www.postgresql-archive.org/serious-under-estimation-of-n-distinct-for-clustered-distributions-tt5738290.html#a5738707\n\nANALYZE uses a random page-... |
[
{
"msg_contents": "Hey,\nI'm trying to help a guy that is using pg9.6 but I'm not so familiar with\nthe error message :\nERROR: found xmin 16804535 from before relfrozenxid 90126924\nCONTEXT: automatic vacuum of table db1.public.table_1\"\n\n\nIt seems that the error has started appearing two weeks ago. Data... |
[
{
"msg_contents": "Hi,\n\nPlease pardon me if this question is already answered in the documentation,\nWiki, or the mailing list archive. The problem is, that I don't know the\nexact term to search for - I've tried searching for \"linear scalability\"\nand \"concurrency vs performance\" but didn't find what I w... |
[
{
"msg_contents": "Hello,\r\n\r\n\r\n\r\nWe have been stuck for the past week on a query that simply won’t “execute”. We have a table with 1.2B rows that took around 14h to load, but a simple select takes forever and after 10h, no records are coming through still.\r\n\r\n\r\n\r\nEnvironment:\r\n\r\n - Table... |
[
{
"msg_contents": "Hi Team, I've few Questions on SQL perf tuning.\n\n\n1) Is there any SQL monitoring report that's available in Oracle. Highlight of the report is it tells the % of time spent on CPU & IO. And which step took how much % in overall execution.\n\n2) Is there anyway to know the histori... |
[
{
"msg_contents": "Hi,\nI'm planning our db upgrade from 9.6. Basically I wanted to check how\nstable is pg11 version. I'm considering upgrading from 9.6 to 10 and then\nto 11 immediatly. Is there a way to upgrade directly to 11 and jump on 10.\n\nThanks.\n\nHi,I'm planning our db upgrade from 9.6. Basically I ... |
[
{
"msg_contents": "Hey,\nI noticed that pg_locks has an addition row for every transaction that is\ncreated with a locktype \"virtualxid\". Tried to search it online but I didnt\nfind an explanation for this behavior. Does anyone can explain why it\nhappens ?\n\nHey,I noticed that pg_locks has an addition row f... |
[
{
"msg_contents": "Hi,\n\nI'm going crazy trying to optimise my Postgres config for a production\nsetting [1] Once I realised random changes weren't getting my anywhere, I\nfinally purchased PostgreSQL 10 - Higher Performance [2] and understood the\nimpact of shared_buffers.\n\nIIUC, shared_buffers won't have a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.