threads listlengths 1 275 |
|---|
[
{
"msg_contents": "I have a slow query (I think) that doesn't appear to be using an index for some reason. I've tried writing the query in various ways, but have so far not had any luck. Interestingly, the query plans are almost identical even when trying different variations. It appears to spend half the ti... |
[
{
"msg_contents": "Hi,\n \nHow can I use this ORDER BY using index feature presented in this implementation.\nIt doesn't seem to be in use, when I have a look in my query plan.\nIt still does an cost intensive Bitmap Heap Scan and a Bitmap Index scan.\nI also can't find the \"><\" operator in any introduction o... |
[
{
"msg_contents": "Hello,_\n_\nI've got a very simple table with a very simple SELECT query, but it \ntakes longer on the initial run than I'd like, so I want to see if there \nis a strategy to optimize this.\n\nTable rt_h_nbbo contains several hundred million rows. All rows for a \ngiven entry_date are append... |
[
{
"msg_contents": "Hi,\n\nI'm seeing a slow running query. After some optimization with indexes, \nit appears that the query plan is correct, it's just slow. Running the \nquery twice, not surprisingly, is very fast, due to OS caching or \nshared_buffers caching. If the parameters for the query are different, \... |
[
{
"msg_contents": "Dear ALL,\nI am running PL/pgsql procedure with sql statements that taking a long time. I able to see them in the log just after their completion. How can I see currently running SQL statement? I am able to see in pg_stat_activity only my call to function. Many thanks in advance.\n\nSincerel... |
[
{
"msg_contents": "Hi,\n\nI have a long query that returns an extremely large result set. In my application, I would like to report the results as they come in, so I am creating a cursor and fetching 1000 rows at a time. After I declare the cursor (declare C cursor for), I call \"fetch 1000 from C\" over and ov... |
[
{
"msg_contents": "The actual query selects columns from each of those tables.\n\nIf I remove the join on order_shipping_addresses, it's very fast. Likewise,\nif I remove the join on skus, base_skus, or products, it's also very fast.\n\nI'm pretty sure I have all the necessary indexes.\n\nThe below is also at\n... |
[
{
"msg_contents": "Hi,\n\nI'm new to PostgreSQL and trying to run this query:\n\nSELECT *\nFROM \"Log\"\nLEFT JOIN \"NewsArticle\" ON \"NewsArticle\".id = \"Log\".\"targetId\" AND\n\"Log\".\"targetType\" = 'NewsArticle'\nORDER BY \"Log\".\"createdAt\" DESC\nLIMIT 10\n\nBasically I'm finding the last 10 log entr... |
[
{
"msg_contents": "Could you tell me each and every hardware parameters and OS parameters the\nperformance depends on.\nI need the complete list of all the required parameters and how to extract\nthem on Linux through system calls and files.\nPlease it will be highly great full of you to do so.\nThank you and r... |
[
{
"msg_contents": "I would appreciate some help optimising the following query:\n\nwith\nsubject_journals as(\n select A.sq\n from isi.rissue A,\n isi.rsc_joern_link C\n WHERE\n C.sc_id in\n ('d0963875-e438-4923-b3fa-f462e8975221',\n ... |
[
{
"msg_contents": "Hi,\n\nI'm having something I feel is a bit of a limitation of the optimizer (or something I don't understand :) ).\n\nSorry, this is a rather long mail.\n\nI have a workaround for the problem below, but I don't like cheating the optimizer for no good reason.\n\nFirst a little bit of context,... |
[
{
"msg_contents": "I'm working on setting up a large database (or at least what I consider to\nbe a large one with several tables having 10-20 million records inserted\nper day), and I've been using pgbench to verify that the hardware and\ndatabase are configured in an optimal manner.\n\nWhen I run pgbench in \... |
[
{
"msg_contents": "I just ran into an interesting issue on Postgres 8.4. I have a database\nwith about 3 months of data and when I do following query:\nSELECT DATE_TRUNC('day', time) AS time_t, COUNT(*) FROM mytable GROUP BY\ntime_t;\n\nEXPLAIN shows that it's doing a sort and then a GroupAggregate. There will\... |
[
{
"msg_contents": "Hello,\n\nI already posted this question to novice mail list and there is no answer yet. I've decided to post it again here.\n\nBefore posting the question here, I checked the mail list again for the same cases and found the message describing the case I started from: http://www.postgresql.o... |
[
{
"msg_contents": "Hi,\n We have a requirement to store images/documents with an average size of 1-2MB on PostgreSQL database. We have PostgreSQL 9.2.4 running on Red hat linux 64 bit. We decided to setup a stand alone postgreSQL server without streaming replication to host the images/documents only. We are new... |
[
{
"msg_contents": "Follow these steps to delete iPhone data\n<http://www.transfer-iphone-recovery.com/delete-data-from-iphone.html> \nconveniently:\nStep 1. Launch the iPhone Data Eraser\n<http://www.transfer-iphone-recovery.com/iphone-data-eraser.html> and\nconnect your iPhone to the computer\n<http://pos... |
[
{
"msg_contents": "Hello everybody.\n\nRecently I have tried to upgrade our postgres instalation from 9.1 to 9.3,\nbut one query in particular got extremelly slow. The query is:\n\n EXPLAIN ANALYZE SELECT *\n FROM sellable\n JOIN product ON product.sellable_id = sellable.id\n LEFT JOIN storable ON s... |
[
{
"msg_contents": "It seems postgresql is unable to choose correct index in such cases.\n(my pg version is 9.3.2)\n\nLet's see example:\ncreate table t1 as select a.a, b.b from generate_series(1, 100) a(a),\ngenerate_series(1,500000) b(b);\ncreate index t1_a_idx on t1(a);\ncreate index t1_b_idx on t1(b);\ncreat... |
[
{
"msg_contents": "Is fscnc off/on pertain only to writing WAL buffers to disk?\n\nOr is that also relevant to writing of dirty buffers to disk\n(checkpoint/bg)?\n\nCurious because in the docs fsync on/off is mentioned under WAL\nconfiguration. Further there is a wal_sync_method but not a\n\"checkpoint_sync_me... |
[
{
"msg_contents": "Hello All,\n\nI am using multi tenant system and doing performance testing of multi\ntenant application. In case of single tenant it is working fine but once I\nenable tenants, then some time database servers not responding. Any clue?\n\n-- \n------\nRegards\n@Ankush Upadhyay@\n\nHello All,\n... |
[
{
"msg_contents": "When querying a view with a WHERE condition, postgresql normally is able \nto perform an index scan which reduces time for evaluation dramatically.\n\nHowever, if a window function is evaluated in the view, postgresql is \nevaluating the window function before the WHERE condition is applied. ... |
[
{
"msg_contents": "The problem was described here earlier but there is no answers\nunfortunately:\nhttp://www.postgresql.org/message-id/1387780366.910542228@f394.i.mail.ru\nIt looks like defect.\n\nCREATE TABLE t1 (c1 INTEGER, id INTEGER PRIMARY KEY);\nINSERT INTO t1 (c1, id) SELECT b, b FROM generate_series(1,... |
[
{
"msg_contents": "Hi,\n\nI have a query that has each field used in conditions + sort indexed, but\nit scans through all data.\n\nThe query in question looks like:\n\nhttp://pastie.org/8618562\n\nI have each of those condition fields indexed:\n\nNewsArticle.groupId\nNewsArticle.sharedToCommunityIds\nNewsArticl... |
[
{
"msg_contents": "Can any one teel me the query to get value for *Number of cached blocks read,\nNumber of cached index blocks read, Number of cached sequence blocks read*\nin Postgresql? I just find all other queries, except this. so if you know\nkindly help me.\n\nThanks in advance.\n\n\n\n--\nView this mess... |
[
{
"msg_contents": "Hi,\n\nI'm experiecing slow count performance:\n\nSELECT COUNT(*) AS \"count\"\nFROM \"NewsArticle\"\n\nTakes 210 ms. I've run analyze and vacuum. I'm on 9.3. Here're the stats\nhttp://d.pr/i/6YoB\n\nI don't understand why is it that slow. It returns 1 integer, and counts\nwithout filters.\n\... |
[
{
"msg_contents": "We have a 9.1.11 backend (Ubuntu 12.04 x86_64, m1.medium EC2 instance)\nwhich seems to be stuck at COMMIT for 2 days now:\n\nmydb=# SELECT procpid, waiting, current_query,\nCURRENT_TIMESTAMP - query_start AS query_elapsed,\nCURRENT_TIMESTAMP - xact_start AS xact_elapsed\nFROM pg_stat_activity... |
[
{
"msg_contents": "For Postgresql:\n\n> select version();\n version\n\n-------------------------------------------------------------------------------------------------------------\n PostgreSQL 9.3.2 on amd64-portbld-freebsd9.2, compiled by cc (GCC) 4.2.1\n20070... |
[
{
"msg_contents": "Hello.\n\nA description of what you are trying to achieve and what results you\nexpect.:\nThere are two PG server: physical and virtaul.\n\nPhysical server hardware:\n1 Xeon(R) CPU E31235 @ 3.20GHz\n8GB RAM\nsw RAID 2x250GB WesternDigital SATA.\niperf test between PC and Physical server shown... |
[
{
"msg_contents": "Hi,\n \nWe have a PostgreSQL DB, version 8.4 on a Suse Linux system.\nEvery night a script runs with several updates and inserts. The query time\nat day increases after \napproximately 3 weeks from a few minutes to about an hour. \nAfter export, drop and import the DB the query time is again ... |
[
{
"msg_contents": "I have a question about replacing NULL columns with tables. Say I have a\ntable called Contacts that represents the Contacts (say from Facebook) of\nmy Users. Right now Contacts has several columns and in addition to these\nit has an Owner (the user that owns this contact) and User. The User ... |
[
{
"msg_contents": " We have 64GB of Memory on RHEL 6.4 shared_buffers = 8GB work_mem = 64MB maintenance_work_mem = 1GB effective_cache_size = 48GBI found this list of recommended parameters for memory management in PostgreSQL. About shared_buffers: Below 2GB, set to 20% of total system memory.Below 32GB, set t... |
[
{
"msg_contents": "hi, all,\n\nI have a requirement to move a table to a different storage. I will \ncreate the tablespace and use alter table set tablespace to achieve it. \nThe concern is that the table is pretty big and during the set \ntablespace, application could insert/update/delete records. If there is ... |
[
{
"msg_contents": "Hi All,\n\nI have configured the blow parameters for a 32 GB server . I this correct ?\n\nshared_buffers = 6GB\nwork_mem = 24MB maintenance_work_mem = 250MB\neffective_cache_size = 16GB\nshared_preload_libraries = 'pg_stat_statements' pg_stat_statements.max =\n10000 pg_stat_statements.track =... |
[
{
"msg_contents": "Hi,\n\nI have two plans of a query.\nnestloop plan is much faster, but planner chose the slower one, hashjoin.\n\n http://explain.depesz.com/s/Aqs\n http://explain.depesz.com/s/97C\n\nit seems that rows=39698995 are quite overestimated.\n\n-> Nested Loop (cost=0.000..5403.600 rows=39698995... |
[
{
"msg_contents": "Hello,\n\nI have Postrgres 9.3 running on a Linux machine with 32GB RAM. I have a\nfairly large database (some tables with approx. 1 mil. records) and I\nhave the following query:\n\n SELECT * FROM (\n SELECT DISTINCT c.ext_content_id AS type_1_id,\n \"substring\"(c.ext_content_id::t... |
[
{
"msg_contents": "Have a problem where a stored procedure is taking a week to run. The\nstored procedure should take less than a second to run. In researching a\nselect hanging problem, three things are suggested; an autovacuum problem,\na resource is locked, or there is something wrong with the stored proc... |
[
{
"msg_contents": "Hi,\n\nWe upgraded our PG version from 9.1.3 to 9.2.6. After that, noticed a huge\njump in the memory consumed by PG backend process during a delete query on\none of our DB tables. The heap memory as reported in /proc/PID/smaps\nincreased from 25MB to 600 MB. There are quite a few triggers se... |
[
{
"msg_contents": "I have a performance problem using a dimensional model where the date is\nspecified in a DATE dimension, specifically when using 'WHERE DATE >= 'Some\nDate'\n\nThis query runs very fast when using an equality expression, eg. 'WHERE\nDATE = '2014-01-01\", and I'm wondering if there is a way to... |
[
{
"msg_contents": "Hello everyone,\n\nI've a query that runs on a table with a matching index to its WHERE and\nORDER clause. However the planner never uses that index. Is there any reason\nwhy it doesn't?\n\nHere's the table:\n\ndb=> \\d social_feed_feed_items;\n Table\n... |
[
{
"msg_contents": "Hi!\n\nI have a table called 'feed'. It's a big table accessed by many types of\nqueries, so I have quite a lot of indices on it.\n\nThose that are relevant looks like this:\n\n\"feed_user_id_active_id_added_idx\" btree (user_id, active_id, added)\n\"feed_user_id_added_idx\" btree (user_id, a... |
[
{
"msg_contents": "Hi,\n\n \n\nI am not sure if it is bug or not but I found some strange behaviour. Maybe\nit is the same as described on\nhttp://www.postgresql.org/message-id/14616.1244317490@sss.pgh.pa.us ?). If\nyes - I'm sorry for the trouble, but I think that my example is more\nobvious.\n\n \n\nTested on... |
[
{
"msg_contents": "Hi,\n\n \n\nI am not sure if it is bug or not but I found some strange behaviour. Maybe\nit is the same as described on\nhttp://www.postgresql.org/message-id/14616.1244317490@sss.pgh.pa.us ?). If\nyes - I'm sorry for the trouble, but I think that my example is more\nobvious.\n\n \n\nTested on... |
[
{
"msg_contents": "We have been running into a (live lock?) issue on our production Postgres\ninstance causing queries referencing a particular table to become extremely\nslow and our application to lock up.\n\nThis tends to occur on a particular table that gets a lot of queries\nagainst it after a large number... |
[
{
"msg_contents": "Hi,\n \nWe have a PostgreSQL DB, version 9.3 on a Suse Linux system.\nWe ran the update from postgresql 8.4 to 9.3.\nAfter importing the database the query time of one sql query is about 30\nsec.\nAfter ANALYZE the DB the query time of this sql query is about 45 minutes.\nWe can see that afte... |
[
{
"msg_contents": "Hello list.\n\nI know all the theory about vacuuming. I've got log tables that get\nperiodically pruned. The pruning is... quirky, though. It's not so\nmuch deleting data, as summarizing many (thousands) of rows into one\nsingle row. For that, a combination of deletes and updates are used.\n\... |
[
{
"msg_contents": "We're using PostgreSQL to host our analytics (OLAP) database and trying to\ntune our configuration for better performance.\n\nIs there any existing PG performance benchmarking tool set that tailors for\nOLAP purpose? Right now what we do is just go through the list of\ndocumentations\n\nI thi... |
[
{
"msg_contents": "\nHello,\n\nWhile analyzing performance, we encountered the following phenomenon,\n\n SELECT sum(pow(.5*generate_series,.5))\n FROM generate_series(1,1000000);\n\nis much much (a hundred times) slower than\n\n SELECT sum(pow(random()*generate_series,.5))\n FROM generate_series(1,10000... |
[
{
"msg_contents": "Hi,\n \nWe have still problems with our query time.\nAfter restoring the database the query time is about one minute.\nAfter an analyze the query time is about 70 minutes.\nWe could discover one table which cause the problem.\nAfter analyzing this table the query time increases.\nWe have made... |
[
{
"msg_contents": "Hi all.\n\nToday I have started getting errors like below in logs (seems that I have not changed anything for last week). When it happens the db gets lots of connections in state active, eats 100% cpu and clients get errors (due to timeout). \n\n2014-02-12 15:44:24.562 MSK,\"rpop\",\"rpopdb_p... |
[
{
"msg_contents": "I'm working with slon and the index portion for at least 3 of my tables\ntake hours to complete and thus with this instance of slony being a wide\narea replica, sessions time out and slon fails to complete.\n\nSo I'm looking at dumping the schema without index information, install\nthat on th... |
[
{
"msg_contents": "Hi,\n\nI’m kind of a noob when it comes to setting up RAID controllers and tweaking them so I need some advice here.\n\nI’m just about to setup my newly rented DELL R720 12. gen server. It’s running a single Intel Xeon E5-2620 v.2 processor and 64GB ECC ram. I have installed 8 300GB SSDs in i... |
[
{
"msg_contents": "Hi,\n\nI’m kind of a noob when it comes to setting up RAID controllers and tweaking them so I need some advice here.\n\nI’m just about to setup my newly rented DELL R720 12. gen server. It’s running a single Intel Xeon E5-2620 v.2 processor and 64GB ECC ram. I have installed 8 300GB SSDs in i... |
[
{
"msg_contents": "I have postgresql 8.4.15 on Ubuntu 10.04 and this query:\n\n SELECT MAX(probeTable.PROBE_ALARM_EVENT_ID) AS MAX_EVENT_ID\n FROM ALARM_EVENT eventTable\n INNER JOIN ALARM_EVENT_PROBE probeTable\n ON eventTable.ALARM_EVENT_ID = probeTable.ALARM_EVENT_ID\n WHERE probeTable.PROB... |
[
{
"msg_contents": "I am running PG 9.2.4 and I am trying to figure out why my database size \nshows one value, but the sum of my total relation sizes is so much less.\n\nBasically, I'm told my database is 188MB, but the sum of my total \nrelation sizes adds up to just 8.7MB, which is 1/20th of the reported \nto... |
[
{
"msg_contents": "Hello Postgresql experts,\n\nWe are facing issues with our PostgreSQL databases running on Ubuntu\nserver, right after we shifted our databases from OpenSuse O/S.\n\nIt's a new database servers runs fine for most of the time (Avg. Load 0.5\nto 1.0) but suddenly spikes once/twice a day.This ha... |
[
{
"msg_contents": "Hello,\n\nWe had a problem with PostgreSQL not using an index scan in 2 similar\nqueries, the only difference between them is the array cast from text[] to\nlocation_type[] (array of enum values).\n\nThe execution plans are the following:\n\n1.\nHash Join (cost=1.68..64194.88 rows=962149 wid... |
[
{
"msg_contents": "Appears one of my bigger, but older DB's cored or other this morning and\nwhen it came back up the DB shows that it can't start and is possibly\ncorrupted. I've read this was actually due to a kernel bug sometime back\n(or at least tied to the kernel bug).\n\nI'm wondering if there was any ot... |
[
{
"msg_contents": "So I recently had some corruption, that forced a rebuild. At that time i\nupgraded to my current release of 9.2.4 (stable in production for a time\nand I know it's not the latest greatest).\n\nSo reloaded data, started loading more, things were good, several reboots\netc no issues.\n\nThis mo... |
[
{
"msg_contents": "Hello to everybody and thanks in advance to take a look to this message.\nI'm new in this list and with PostgreSQL. \nMy queries are taking too much time to complete and I don't know what to do right now. I think I'm providing all the info required for you to help me. If you need extra info ... |
[
{
"msg_contents": "I am running the last version of PostgreSQL 9.3.3\nI have two tables detm and corm and a lot of datas in the column \ncormdata of corm table (1.4 GB).\n\nI have a GIN index on cormdata:\nCREATE INDEX ix_corm_fulltext_cormdata ON corm\n USING gin (to_tsvector('french'::regconfig, cormdata))... |
[
{
"msg_contents": "I'd like to understand why PostgreSQL is choosing to filter on the most\ninefficient predicate first in the query below.\n\nVersion: PostgreSQL 9.3.2 on x86_64-unknown-linux-gnu, compiled by gcc\n(SUSE Linux) 4.7.1 20120723 [gcc-4_7-branch revision 189773], 64-bit\nHardware: 24 2.93GHz Xeon c... |
[
{
"msg_contents": "Hi Everyone,\nWe have a data set and access pattern that is causing us some performance\nissues. The data set is hierarchical with about 2 million rows at the\nlowest level (object), followed by 500k at the next level (container) and\napproximately 10 at the highest level (category).\n\nThe w... |
[
{
"msg_contents": "Hello,\n\nI have two versions of essentially the same query; one using nested joins,\nthe other using subselects. The version using the subselect is roughly an\norder of magnitude faster (~70ms on my box and data vs ~900ms for the\nnested joins). Of course the obvious answer here is just to u... |
[
{
"msg_contents": "Hello,\n\nI have two versions of essentially the same query; one using nested joins,\nthe other using subselects. The version using the subselect is roughly an\norder of magnitude faster (~70ms on my box and data vs ~900ms for the\nnested joins). Of course the obvious answer here is just to u... |
[
{
"msg_contents": "Hi,\n\nI have a view which joins multiple tables to give me a result. It takes more than a minute to give me the result on psql prompt when I select all the data from that view.\nThe single CPU which is used to run this query is utilized 100%.Even if I fire a count(*) it takes 10 Sec. I wan... |
[
{
"msg_contents": "Hello folks,\n\nI have a table of about 700k rows in Postgres 9.3.3, which has the\nfollowing structure:\n\nColumns:\n content_body - text\n publish_date - timestamp without time zone\n published - boolean\n\nIndexes:\n \"articles_pkey\" PRIMARY KEY, btree (id)\n \"article_text_gi... |
[
{
"msg_contents": "Synopsis: 8-table join with one \"WHERE foo IN (...)\" condition; works OK with fewer\nthan 5 items in the IN list, but at N=5, the planner starts using a compound index \nfor the first time that completely kills performance (5-6 minutes versus 0-12 seconds).\nI'm interested in learning what ... |
[
{
"msg_contents": "PostgreSQL 9.3.3 RHEL 6.4Total db Server memory 64GB# -----------------------------# PostgreSQL configuration file# -----------------------------max_connections = 100shared_buffers = 16GBwork_mem = 32MB maintenance_work_mem = 1GBseq_page_cost = 1.0 ra... |
[
{
"msg_contents": "Hello,\n\nI'm having time issues when adding new fields to a big table. I hope you can point me some hints to speed up the updates of a table with 124 million rows...\n\nThis is what I do:\n\t\nFirst I create a tmp_table with the data that will be added to the big table:\n\n\\d+ svm_confidenc... |
[
{
"msg_contents": "In PostgreSQL 9.3.3 Documentation 11.8. Partial Indexes Example 11-2\n(http://www.postgresql.org/docs/9.3/interactive/indexes-partial.html),\nthe partial index is created\n\nCREATE INDEX orders_unbilled_index ON orders (order_nr) WHERE billed\nis not true;\n\nAnd the suggested use mode is\n\n... |
[
{
"msg_contents": "Hello, \n\nwe have 3 servers with postgresql 9.3.3. One is master and two slaves.\nWe run synchronous_replication and fsync, synchronous_commit and full_page_writes are on.\n\nSuddenly master hang up with hardware failure, it is a strange bug in iLo which we investigate with HP.\n\nBefore mas... |
[
{
"msg_contents": "Hi,\n\nI have a table (sanact) with 23.125.525 rows (and a hundred columns).\nI am doing a select, that did not finish after some 15 hours... Select\nis as follows:\n\nselect * from sanact where sanact___rfovsnide = 'MYVERSION' order by\nsanactcsu;\n\nThere is an index on sanact___rfovsnide a... |
[
{
"msg_contents": "Hi,\n\nI'd like to know from the query planner which query plan alternatives\nhave been generated and rejected. Is this possible?\n\n--Stefan\n\n\n-- \nSent via pgsql-performance mailing list (pgsql-performance@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/... |
[
{
"msg_contents": "I have a very complex view zinfoexp and running the view as:\nSELECT * FROM zinfoexp WHERE idmembre in (1,84)\ntake 2700 ms\n\nSo, I try another syntax:\nSELECT * FROM zinfoexp WHERE idmembre = 1\nunion\nSELECT * FROM zinfoexp WHERE idmembre = 84\n\nand for me, two calls to my view takes a... |
[
{
"msg_contents": "We have a slow performing query that we are trying to improve, and it\nappears to be performing a sequential scan at a point where it should be\nutilizing an index. Can anyone tell me why postgres is opting to do it this\nway?\n\nThe original query is as follows:\n\nSELECT DISTINCT\n a1.co... |
[
{
"msg_contents": "Hi all,\n\nBrett Wooldridge, the creator of HikariCP [1] - a high performance\nJava connection pool - is contemplating the idea to change the way\npooling is done in HikariCP and have a fixed-size pool of connections\nalways open.\n\nNo maxPoolSize, no minIdle, no minPoolSize, juste a poolSiz... |
[
{
"msg_contents": "Hi there,\n\nI've got a relatively simple query that contains expensive BCRYPT\nfunctions that gets optimized in a way that causes postgres to compute\nmore bcrypt hashes than necessary, thereby dramatically slowing things\ndown.\n\nIn a certain part of our application we need to lookup users... |
[
{
"msg_contents": "Hi, Brett Wooldridge here, one of the principals of HikariCP. I thought\nI'd wade into the conversation pool a little myself if you guys don't mind.\n\nSpeaking to David's point...\n>> Reaching the maxPoolSize from the minPoolSize means creating the\n>> connections at the crucial moment wher... |
[
{
"msg_contents": "Hi everyone!\n\n\nI've been working on a puzzling issue for a few days am am hoping that someone has seen something similar or can help. There have been some odd behaviors on one of my production facing postgres servers.\n\n\nversion info from postgres: PostgreSQL 9.1.9 on x86_64-unknown-lin... |
[
{
"msg_contents": "Hai,\n\nCan anyone tell me the difference and performance between pgdump and pg_basebackup if I want to backup a large database.\n\nThanks\n\nHai,Can anyone tell me the difference and performance between pgdump and pg_basebackup if I want to backup a large database.Thanks",
"msg_date": "M... |
[
{
"msg_contents": "Hi everyone!\n\n\nI've been working on a puzzling issue for a few days am am hoping that someone has seen something similar or can help. There have been some odd behaviors on one of my production facing postgres servers.\n\n\nversion info from postgres: PostgreSQL 9.1.9 on x86_64-unknown-lin... |
[
{
"msg_contents": "I read from several sources, what maximum shared_buffers is 8GB. \n\nDoes this true? If yes, why exactly this number is maximum number of shared_buffers for good performance (on Linux 64-bits)?\n\nThanks!\n\n\nI read from several sources, what maximum shared_buffers is 8GB. Does this true? If... |
[
{
"msg_contents": "I'm working with a large database using 8.4 that's partitioned on 4 week\nboundaries and when I use a prepared statement that limits by time as one\nof the bind parameters the planner seems to not select just the partitions\nof interest but wants to scan all of them. From reading the document... |
[
{
"msg_contents": "Hi all,\n\n tl;dr - How can I speed up my count-distinct query?\n\n I apologize in advance if this question has been asked already. I'm\nfinding the mailing list hard to navigate. I'm trying to speed up a query\nthat will find a count of distinct emails with in a table using Postgres\n9.3... |
[
{
"msg_contents": "Hi,\n\nI am a freshman to postgresql, also pgpool-II. I have some performance\nissues once I bring in the pgpool-II to build the pg cluster. Here I post\nsome system info and the configurations of postgresql and pgpool, hopping\nyou can help me to solve this problem.\n\nBTW, I am using the po... |
[
{
"msg_contents": "I'm running postgresql 9.3 on a production server. An hour ago, out of the \"blue\", I ran into an issue I have never encountered before: my server started to use CPU as crazy. The server is a standard ubuntu 12.04 LTE installation running only Postgres and Redis.\n\nThe incident can be seen ... |
[
{
"msg_contents": "Hello PGSQL performance community,\nYou might remember that I pinged you in July 2012 to introduce the TPC-V benchmark, and to ask for a feature similar to clustered indexes. I am now back with more data, and a question about checkpoints. As far as the plans for the benchmark, we are hoping t... |
[
{
"msg_contents": "Hello PGSQL performance community,\nYou might remember that I pinged you in July 2012 to introduce the TPC-V benchmark. I am now back with more data, and a question about checkpoints. As far as the plans for the benchmark, we are hoping to release a benchmarking kit for multi-VM servers this ... |
[
{
"msg_contents": "Sorry that i just joined the list and have to break the thread to reply to\nTom Lane's response on this @\nhttp://www.postgresql.org/message-id/13741.1396275339@sss.pgh.pa.us\n\n\nNote that the indexscan is actually *slower* than the seqscan so far as\n> the table access is concerned; if the ... |
[
{
"msg_contents": "Summary\nWe are porting an application to PostgreSQL. The appplication already\nruns with DB2 (LUW version) and Oracle. One query in particular executes\nslower on Postgres than it does on other Database platforms, notably DB2\nLUW and Oracle. (Please understand, we are not comparing database... |
[
{
"msg_contents": "Hello,\n\nMy question is about multiprocess and materialized View.\nhttp://www.postgresql.org/docs/9.3/static/sql-creatematerializedview.html\nI (will) have something like 3600 materialised views, and I would like to\nknow the way to refresh them in a multithread way\n(anderstand 8 cpu cores ... |
[
{
"msg_contents": "Hi all,\n\nDisclaimer: this question probably belongs on the hackers list, but the \ninstructions say you have to try somewhere else first... toss-up between \nthis list and a bug report; list seemed more appropriate as a starting \npoint. Happy to file a bug if that's more appropriate, thoug... |
[
{
"msg_contents": "While waiting for a query to finish (activated through a web interface), I\nran the same query using psql through a ssh-connection with much different\nruntimes.\n\nI have configured the server to log queries taking more than five seconds\nand in the log the query for which I waited was logge... |
[
{
"msg_contents": "Hi,\n\nWe recently upgraded from pg 9.0.5 to 9.3.2 and we are observing much\nhigher load on our hot standbys (we have 3). As you can see from the query\nplans below, we have some queries that are running 4-5 times slower now,\nmany due to what looks like a bad plan in 9.3. Are there any kn... |
[
{
"msg_contents": "Hi All,\n\nI have been looking for a solution to a problem where my query is executing for a long time because it is running into a nested loop problem.\n\nI have done explain analyze and it shows the query taking a very long time due to nested loops.\n\nOn the DB side, there are indices in p... |
[
{
"msg_contents": "Hi all. I have a function that uses a \"simple\" select between 3 tables. There is a function argument to help choose how a WHERE clause applies. This is the code section:\n\nselect * from....\n[...]\nwhere case $3 \n when 'I' then [filter 1]\n when 'E' then [filter 2]\n when 'P' then [fi... |
[
{
"msg_contents": "I have a fairly large table (~100M rows), let's call it \"events\", and\namong other things it has a couple of columns on it, columns that\nwe'll call entity_type_id (an integer) and and published_at (a\ntimestamp). It has, among others, indices on (published_at) and\n(entity_type_id, publis... |
[
{
"msg_contents": "Dear Jeff, Albe and Heikki,\n\nLet me start by thanking you for your time. It is really nice to have a\nreal supportive community. Thank you.\n\nAfter reading the answers, we decided to do an experiment with a\nfillfactor of 40% and dropping the index on the is_grc_002 field (but\nretaining t... |
[
{
"msg_contents": "I am looking for advice on dealing with large tables of environmental model\ndata and looking for alternatives to my current optimization approaches.\n Basically, I have about 1 Billion records stored in a table which I access\nin groups of roughly 23 Million at a time. Which means that I h... |
[
{
"msg_contents": "I have this table that is quite big (several gig).\n\nI was looking for a row manually (because a query would take too long)\n- I know there is correlation between id and date, so I was doing\nmanual binary search for the id range that holds certain date, and I\nfound an interesting case wher... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.