threads listlengths 1 275 |
|---|
[
{
"msg_contents": "I've got a normalized data table from which I'm trying to select a small\nsubset of rows determined by both traditional filtering as well as the\nresult of a cpu-expensive function that I've defined. What I'm seeing\nis that the query planner always attempts to defer the de-normalizing\nJOIN... |
[
{
"msg_contents": "Hi,\nI am running PostgreSQL 9.2.4 on windows 8 , 64 bit operating system , 4GB RAM.A laptop with i3 - 3110M , 2.4 GHZ . The database came bundled with wapp stack 5.4.17-0. We have an php application that serves data from PostgreSQL 9.2.4.\nThe configuration runs with very good performance ... |
[
{
"msg_contents": "Hi,\n\nI wasn't whether or not to mail to the novice mailing list of this one.\n Since this is performance related I'm posting it here, but I am definitely\na novice at postgresql - converting from mssql just now.\n\nI have a ~2.5gb table with ~5M rows of data. A query that groups by two\nfi... |
[
{
"msg_contents": "Hello,\n\nStable and immutable functions do not improve performance when used within the GROUP BY clause.\nHere, the function will be called for each row.\n\nTo avoid it, I can replace the funtion by its arguments within GROUP BY.\n\nMaybe this hint is worth a note within the documentation on... |
[
{
"msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHello\n\nWe have a SQL statement that with 9.1 takes ca 4000ms to finnish and\nwith 9.2 over 22000ms.\n\nThe explain analyze information is here:\n\nWith 9.1.:\nhttp://explain.depesz.com/s/5ou\n\nWith 9.2\nhttp://explain.depesz.com/s/d4vU\n\nT... |
[
{
"msg_contents": "Hello.\n\nExist 2 identical server DELL PowerEdge™ R720, CPU Dual Intel® Xeon®\nE5-2620 Hexa-Core inkl, RAM 256Gb, RAID-10 8 x 600 GB SAS 6 Gb/s 15000 rpm.\n\n$ cat /etc/fedora-release\nFedora release 19\n\n$ postgres --version\npostgres (PostgreSQL) 9.2.4\n\nData ~220Gb and Indexes ~140Gb\n\... |
[
{
"msg_contents": "Can anyone offer suggestions on how I can optimize a query that contains the LIMIT OFFSET clause?The explain plan of the query is included in the notepad attachment.thanks\n\n\n-- \nSent via pgsql-performance mailing list (pgsql-performance@postgresql.org)\nTo make changes to your subscriptio... |
[
{
"msg_contents": "Hi Greg,The labor_task_report table is already Partitioned by this_.work_date_time and this table contains approx. 15 billion rows. The other table labor_tasks is not partitioned. I'm thinking that the size of the external sort is part of the problem. if I remove the labor_tasks table from th... |
[
{
"msg_contents": "\nI am *expecting 1000+ hits to my PostgreSQL DB* and I doubt my standalone DB\nwill be able to handle it.\n\nSo I want to *scale out by adding more servers to share the load*. For this,\nI want to do clustering.\n\nI am *curious to know how clustering works in PostgreSQL.* (I don't want to\n... |
[
{
"msg_contents": "Hi all,\n\nI've started using views in an attempt to try and simplify some of my\nmore complex reporting and running into some snags and I'm trying to\nfigure out how Postgres decides to join data with my view.\n\nJust to present a simplified representation of what I am trying to\naccomplish ... |
[
{
"msg_contents": "Hi all,\n\nI'm migrating a web application to an ORM framework (Doctrine) so I need a\nnew way to get statistics about entities into the application without\nimporting all data, only the results (e.g. load total number of children\ninstead of loading all children into the application and coun... |
[
{
"msg_contents": "Hi,\nThis is my first post on this group so welcome everyone! Currently I'm working on optimizing a quite simple database used to store events from one website. Every event is a set of data describing user behaviour. The main table that stores all events is built using schema: \n\n Column... |
[
{
"msg_contents": "Hi,\n\ndepending on the OFFSET parameter I have seen at least 3 different query\nplans.\n\nSELECT * FROM\n (\n SELECT * FROM transaction tt\n WHERE\n tt.account_id = '1376641'\n AND tt.transaction_time >= '2013-02-03 05:37:24'\n AND tt.transaction_time < '20... |
[
{
"msg_contents": "Hi.\n\nI have a strange situation where generating the query plan takes 6s+ and\nexecuting it takes very little time.\n\n2013-09-03 09:19:38.726 db=# explain select table.id from db.table left\njoin db.tablepro on db.id = tablepro.table_id where table.fts @@\nto_tsquery('english','q12345') ;... |
[
{
"msg_contents": "Dear All\n\nI'm running Postgres 8.4 on Ubuntu 10.4 Linux server (64bit)\nI have a big table tath contains product information: during the day we perform a process that import new product continously with statemtn COPY TO .. from files to this table.\n\nAs result the table disk space is growi... |
[
{
"msg_contents": "This is postgres 9.1.9.\n\nI'm getting a very weird case in which a simple range query over a PK\npicks the wrong... the very very wrong index.\n\nThe interesting thing, is that I've got no idea why PG is so grossly\nmis-estimating the number of rows scanned by the wrong plan.\n\nI've got thi... |
[
{
"msg_contents": "-- \nMilos Babic\nhttp://www.linkedin.com/in/milosbabic\nTwitter: @milosbabic\nSkype: milos.babic\n\n-- Milos Babichttp://www.linkedin.com/in/milosbabicTwitter: @milosbabicSkype: milos.babic",
"msg_date": "Wed, 4 Sep 2013 00:16:50 +0200",
"msg_from": "Milos Babic <milos.babic@gmail.co... |
[
{
"msg_contents": "I am tasked with getting specs for a postgres database server for the \ncore purpose of running moodle at our university.\nThe main question is at the moment is 12core AMD or 6/8core (E Series) \nINTEL.\n\nWhat would be the most in portend metric in planning an enterprise level \nserver for m... |
[
{
"msg_contents": "Hello, in order to improve the performance of my database included in \nthe solution SAN SSD disk on RAID 10, but I see that the performance of \nthe database is the same. whichpostgresql.conf parameters that I do \nrecommend to change for use writing more.\n\nThank you very much.\n\n\n-- \nS... |
[
{
"msg_contents": "Hello Friends,\n\nI want start contributing in Postgres in code level. I read some ppts and some tutorials in postgres manual.\n\nCan you please suggest me some links where I can learn:\n\n1. Transaction Isolation in Database\n\n2. Query procession and possible optimizations.\n\n3... |
[
{
"msg_contents": "Hi All,\n\nI have a view, that when created with our create statement works \nwonderfully, a query on the view with a standard where clause that \nnarrows the result to a single row performs in under a single ms. \nHowever, when we export this view and re-import it (dump and restore of \nthe ... |
[
{
"msg_contents": "Hi. I have one query which possibly is not optimized by planner (not using index for aggregate having clause restriction):\n\nexplain\nSELECT stocktaking_id\nFROM t_weighting\nGROUP BY stocktaking_id\nHAVING MIN(stat_item_start) BETWEEN '2013-08-01' AND '2013-09-01';\n\nwith result:\n\"HashAg... |
[
{
"msg_contents": "Hi again, my mistake. I have found why there are not this optimization (thus I have found other one, correct, see bellow). I can have for example:\n\nstocktaking_id | stat_item_start\n------------------------------------\nabc | 2013-01-01\nabc | 2013-08-08\n\... |
[
{
"msg_contents": "Dear All,\n\nI'm dealing with restore 3 DB at the same time. Previously this task was sequential but we need to make shorter as possible our daily maintenance window.\nIs this possible from your point of view to restore on the same server more than 1 DB at time? I havwn't found any clear answ... |
[
{
"msg_contents": "Let me clarify further - when we reconstruct our schema (without the upgrade step) via a sql script, the problem still persists. Restoring an upgraded DB which contains existing data into exactly the same instance will correct the behavior. \n\n--------\n\nMel Llaguno | Principal Engineer (Pe... |
[
{
"msg_contents": "We're currently using an embedded PG 8.4.17 for our application. Our PG 9.x tests consists of one of the following :\n\n- Take a 8.4.17 DB which contains only our application schema and required seed data and use pg_upgrade to create a 9.x database directory, run the analyze_new_cluster.sh sc... |
[
{
"msg_contents": "Bruce,\n\nFirst of all, I'd like to thank you for taking some interest in this issue. We'd love to migrate to the latest PG version, but this issue is currently preventing us from doing so.\n\nRegardless of the DB used (base application schema _or_ restored DB with additional app data + base ... |
[
{
"msg_contents": "Hi All,\n\nI've been seeing a strange issue with our Postgres install for about a year\nnow, and I was hoping someone might be able to help point me at the cause.\nAt what seem like fairly random intervals Postgres will become unresponsive\nto the 3 application nodes it services. These period... |
[
{
"msg_contents": "Hi Andrew,\n\n\nOn Tue, Sep 10, 2013 at 11:26 AM, Andrew Dunstan <andrew@dunslane.net>wrote:\n\n>\n> On 09/10/2013 11:04 AM, David Whittaker wrote:\n>\n>>\n>> Hi All,\n>>\n>> I've been seeing a strange issue with our Postgres install for about a\n>> year now, and I was hoping someone might be... |
[
{
"msg_contents": "Hi Ken,\n\n\nOn Tue, Sep 10, 2013 at 11:33 AM, ktm@rice.edu <ktm@rice.edu> wrote:\n\n> On Tue, Sep 10, 2013 at 11:04:21AM -0400, David Whittaker wrote:\n> > Hi All,\n> >\n> > I've been seeing a strange issue with our Postgres install for about a\n> year\n> > now, and I was hoping someone migh... |
[
{
"msg_contents": "Hi Jeff\n\nOn Tue, Sep 10, 2013 at 1:44 PM, Jeff Janes <jeff.janes@gmail.com> wrote:\n\n> On Tue, Sep 10, 2013 at 8:04 AM, David Whittaker <dave@iradix.com> wrote:\n>\n>> Hi All,\n>>\n>> I've been seeing a strange issue with our Postgres install for about a\n>> year now, and I was hoping some... |
[
{
"msg_contents": "Hi there,\n\nhere is another one from the \"why is my query so slow?\" category. First post, so please bare with me.\n\nThe query (which takes around 6 seconds) is this:\n\nSET work_mem TO '256MB';//else sort spills to disk\n\nSELECT\n\tet.subject,\n\tCOALESCE (createperson.vorname || ' ', ''... |
[
{
"msg_contents": "Hi all,\n\nI have a number of Postgres 9.2.4 databases with the same schema but with\nslightly different contents, running on small servers that are basically\nalike (8-16 GB ram).\n\nWhen I run the same query on these databases it results in one of two\ndifferent execution plans where one is... |
[
{
"msg_contents": "Hi all,\n\nOn Wed, 11 Sep 2013 18:55:38 +0200, Giuseppe Broccolo\n<giuseppe.broccolo@2ndquadrant.it> wrote:\n> Il 11/09/2013 13:16, Mikkel Lauritsen ha scritto:\n> > Hi all,\n> >\n> > I have a number of Postgres 9.2.4 databases with the same schema but\n> > with slightly different contents, r... |
[
{
"msg_contents": "Hi To all Pg performance users,\n\nwe've found a strange behaviour in PostgreSQL 9.1.9.\n_Here' our server not default configuration :_\n\n\ndefault_statistics_target = 100 # pgtune wizard 2011-07-06\nmaintenance_work_mem = 384MB # pgtune wizard 2011-07-06\nconstraint_exclusion = on # pgtune ... |
[
{
"msg_contents": "I'm trying to do a pg_dump of a database, and it more-or-less just sits\nthere doing nothing. \"vmstat 2\" looked like this during pg_dump:\n\nprocs -----------memory---------- ---swap-- -----io---- -system--\n----cpu----\n r b swpd free buff cache si so bi bo in cs... |
[
{
"msg_contents": "I'm in the process of taking the next leap in performance optimization of our database, I just need some good advice on my journey. I posted the full question with images here on stackexchange if someone would be interested in commenting / answering it would be great!\n\nRegards Niels Kristia... |
[
{
"msg_contents": "> What's more doing similar insert (even much larger) to the 'offers' table\ndoes not affect the benchmark results in any significant way...\n\nJust want clarify myself here: Insert to 'offers' table does not cause the\nslowdown. Only insert to 'categories' causes the problem.\n\n> What's mor... |
[
{
"msg_contents": "We are running PostgreSQL 9.1.6 with autovacuum = on and I am reporting on dead tuples using the pgstattuple extension. Each time I run the pgstattuple package our dead tuples counts decrease. My colleague is under the impression that dead tuples are only cleaned up via vacuum full only, whil... |
[
{
"msg_contents": "Test:\n\n1. create a table with a range type column.\n2. insert 1000 identical values into that column.\n3. analyze\n4. n-distinct will still be listed as -1 (unique) for the column.\n\nWhy?\n\n-- \nJosh Berkus\nPostgreSQL Experts Inc.\nhttp://pgexperts.com\n\n\n-- \nSent via pgsql-performanc... |
[
{
"msg_contents": "Hi all\n\nWe're experiencing a very strange performance issue. Our setup is a bit\nmore complicated, but we've managed to isolate and replicate the core\nproblem. Here's what we observe:\n\nWe took a strong machine (128 GB RAM, 8-core CPU, SSD drives...) and\ninstalled a fresh copy of Postgre... |
[
{
"msg_contents": "Hi There,\n\n \n\nI have hit a query plan issue that I believe is a bug or under-estimation,\nand would like to know if there it is known or if there is any workaround.\n\n \n\nThis event_log table has 4 million rows. \n\n\"log_id\" is the primary key (bigint), \n\nthere is a composite index ... |
[
{
"msg_contents": "Hi all,\n\nBringing up new slaves is a task we are performing very frequently. Our\ncurrent process is:\n1. launch a new instance, perform a pg_basebackup\n2. start postgresql on the slave and let the slave recover from the archive\nall the xlog files it missed and that got created during st... |
[
{
"msg_contents": "Hi,\n\nI have a table with zip_code and latitude and longitude.\n\n\\d zip_code_based_lng_lat\n Table \"public.zip_code_based_lng_lat\"\n Column | Type | Modifiers\n--------+------------------------+-----------\n zip | character varying(100) |\n state | character vary... |
[
{
"msg_contents": "I spent about a week optimizing a query in our performance-testing environment, which has hardware similar to production.\n\nI was able to refactor the query and reduce the runtime from hours to about 40 seconds, through the use of CTEs and a couple of new indexes.\n\nThe database was rebuilt... |
[
{
"msg_contents": "We have traced this to the *addition* of a two-column index. \n\nThe two tables in question both have single-column indexes on two foreign keys, say columns A and B. The query joins the two large tables on A and B. \n\nWith only the two indexes, the query plan does a bitmap AND on the index... |
[
{
"msg_contents": "We have traced this to the *addition* of a two-column index. \n> -----Original Message-----\n> From: pgsql-performance-owner@postgresql.org [mailto:pgsql-\n> performance-owner@postgresql.org] On Behalf Of Jim Garrison\n> Sent: Wednesday, September 25, 2013 8:58 AM\n> To: pgsql-performance@pos... |
[
{
"msg_contents": "I just sent off to this list for query help, and found the process of\ngathering all the requested info somewhat tedious. So I created a little\nBASH script to try to pull together as much of this information as\npossible.\n\nThe script reads an analyze file, and generates SQL queries to ret... |
[
{
"msg_contents": "I am trying to understand the heap_blks_read and heap_blks_hit of\npg_statio_all_tables in 9.2\nDo the numbers refer only to SELECT, or they take INSERT into account?\nWould a heap_blks_read / ( heap_blks_read + heap_blks_hit ) ration of over\n55% combined with a heap_blks_read value of over ... |
[
{
"msg_contents": "I need a help on postgresql performance\n\nI have configurate my postgresql files for tunning my server, however it is\nslow and cpu resources are highter than 120%\n\nI have no idea on how to solve this issue, I was trying to search more\ninfor on google but is not enough, I also have try au... |
[
{
"msg_contents": "If we reset the statistics counters using pg_stat_reset() will it affect\nthe performance of the database? Eg are these the same statistics used by\nthe planner?\nThanks\n\nIf we reset the statistics counters using pg_stat_reset() will it affect the performance of the database? Eg are these t... |
[
{
"msg_contents": "Howdy,\n\nI'm going to post this in 2 parts as I think it's too big for 1 post.\n\nEnvironment:\n\nPG 8.4.17\nLinux Ubuntu 10.04\nTotal RAM - 1G\n\nThings that have been performed:\n\n\n1. Explain on SELECT.\n\n2. ANALYZE database.\n\n3. VACUUM database.\n\n4. shared_b... |
[
{
"msg_contents": "Hi,\nI want to know the reason behind the case:\nMy query processes from JDBC (Java Program) to PostgreSQL. I use system time by invoking java function, I collect one time unit before the query statement perform and second after the execution of query statement. \nI found 85 ms time unit in D... |
[
{
"msg_contents": "I've been working with partitions (I have split my table in around 3000\npartitions), and if i did some like this\n\nSELECT *\nFROM my_parent_table\nWHERE some_value_in_which_partitioned_my_table in (34, 36, 48)\n\nconstraint_exclusion works, (looking EXPLAIN, I can see that in planner\nonly ... |
[
{
"msg_contents": "Hi, i want to know what is the pgpool parameter for close the \nconnections directly in the database, because the pgpool II close fine \nthe the childs with the life time, but the connection in the database \ncontinue open in idle state.\n\nthis is my pool config\n\nnum_init_children = 100\nm... |
[
{
"msg_contents": "Hi,\n\nI'm running 9.1.6 w/22GB shared buffers, and 32GB overall RAM on a 16\nOpteron 6276 CPU box. We limit connections to roughly 120, but our webapp\nis configured to allocate a thread-local connection, so those connections\nare rarely doing anything more than half the time.\n\nWe have bee... |
[
{
"msg_contents": "Hi, This is my first post ever in the Postgres forum. I am relatively new to\nPostgres and coming from oracle background. We have hot stand by setup to\nserve mainly the read only queries. Past few days we have been facing a\nperformance issues on one of the transaction search. The search mai... |
[
{
"msg_contents": "I have a pretty simple parent-child relationship, where parents are\nsegmented into many bins (actually states). I need to query over the\n(parent, child) join but filter based on aggregates of the parent. That\nis -- all parent, child pairs for parents that are in bin x and also\nhave more t... |
[
{
"msg_contents": "All,\n\nI've often seen people lower seq_page_cost for SSD access. This has the\neffect of raising CPU costs relative to the costs of disk access.\nHowever, CPUs have also gotten lots faster, so I'm not sure that results\nin a better cost balance.\n\nHas anyone done extensive testing on this... |
[
{
"msg_contents": "I've been working on trying to normalize a table that's got a bunch of text fields. Normalizing the first 4 has been a non-issue. But when I try and normalize 2 additional fields a bunch of query plans go belly-up.\n\nI've seen this on our old 8.4 databases as well as 9.1. I haven't been able... |
[
{
"msg_contents": "Hi folks,\n\nWe're adding a foreign key constraint to a 20-million row table on our\nproduction database, and it's taking about 7 minutes. Because it's an\nALTER TABLE, Postgres acquires an ACCESS EXCLUSIVE lock that prevents\nany reads/writes (though this particular table is very write-heavy... |
[
{
"msg_contents": "I'm not sure if its suppose to be under general so please let me know if I\nneed to move it to another topic area please.\n\n\n\n--\nView this message in context: http://postgresql.1045698.n5.nabble.com/postgres-connections-tp5776349p5776383.html\nSent from the PostgreSQL - performance mailin... |
[
{
"msg_contents": "if we have the following trigger:CREATE TRIGGER admin_update_trigger BEFORE UPDATE ON admin_logger_overflow FOR EACH ROW WHEN ((old.start_date_time IS DISTINCT FROM new.start_date_time)) EXECUTE PROCEDURE update_logger_config();and the database call issues an: update admin_logger_overflow s... |
[
{
"msg_contents": "http://vipglobalcp.com/ekroe/dzbyvvuhprtdsjcruzrsjnkfrxiad.php \n\n\n\n\n\n\n\n\n\n\n Ioana Danes \n\n\n\n\n\n\n\n\n\n 11/1/2013 4:50:50 PM\n http://vipglobalcp.com/ekroe/dzbyvvuhprtdsjcruzrsjnkfrxiad.php http://vipglobalcp.com/ekroe/dzbyvvuhprtdsjcruzrsjnkfrxiad.php Ioana Danes 11/1/2013 ... |
[
{
"msg_contents": "Please help with advice!\n\nServer\nHP ProLiant BL460c G1\n\nArchitecture: x86_64\nCPU op-mode(s): 32-bit, 64-bit\nByte Order: Little Endian\nCPU(s): 8\nOn-line CPU(s) list: 0-7\nThread(s) per core: 1\nCore(s) per socket: 4\nCPU socket(s): ... |
[
{
"msg_contents": "Hello all,\n\nI have one query running at ~ 7 seconds and I would like to know if it's\npossible to make it run faster, once this query runs lots of time in my\nexperiment.\n\nBasically the query return the topics of tweets published by users that the\nuser N follows and that are published be... |
[
{
"msg_contents": "I have a model like this:\n\nhttp://i.stack.imgur.com/qCZpD.png\n\nwith approximately these table sizes\n\nJOB: 8k\nDOCUMENT: 150k\nTRANSLATION_UNIT: 14,5m\nTRANSLATION: 18,3m\n\nNow the following query takes about 90 seconds to finish.\n\n*select* translation.id\n*from* \"TRANSLATION\" trans... |
[
{
"msg_contents": "Hi,\n\nI am in a need of a very robust (esp. fast in read, non-blocking in \nupdate) tree structure storage (95% trees are of depth <4, current max. \nis 12). We have 10k-100k trees now, millions in the future.\nI made many tests, benchmarks of usual operations, and after all, \nmaterialized ... |
[
{
"msg_contents": "Hi,\n\nI would like to know, how does the size of the IN list affect query planner.\nI have a query\n\nselect distinct on (event_id, tag_id) et.id,\n e.id as event_id, t.id as tag_id, t.name,\n t.user_id, t.shared, t.color,\n case\n when ea.id <> e.id then true\n... |
[
{
"msg_contents": "I would like to know, What is BitMap Heap Scan & BitMap Index Scan?When I use\nEXPLAIN for query, which has LEFT JOIN with 4 different table thensome time\nquery planner uses Bitmap Heap Scan and some time Bitmap Index Scan?\n\n\n\n--\nView this message in context: http://postgresql.1045698.n... |
[
{
"msg_contents": "Eg. SELECT col1, col2, col3,....col10 FROM table1;\n\nFor above query If I didn't mention ORDER BY clause, then I want to know\nselected data will appear in which order by a query planner?\n\nBecause I have huge size table, and when I applied ORDER BY col1, col2..in\nquery the\nperformance is... |
[
{
"msg_contents": "Postgres 9.1.9.\n\nexplain analyze select min(insert_time) from cnu_stats.page_hits_raw ;\n QUERY PLAN\n---------------------------------------------------------------------------------------------------------------... |
[
{
"msg_contents": "Hello all!\n\nI'm new to postgresql, so please bear with me. First of all, I have\nthe following settings enabled in my postgresql.conf file:\n\nshared_buffers = 2GB\nwork_mem = 2GB\nmaintenance_work_mem = 4GB\ncheckpoint_segments = 50\nrandom_page_cost = 3.5\ncpu_tuple_cost = 0.1\neffective_... |
[
{
"msg_contents": "Hello,\n\nDoes anything speaks again adding a \"WITH FREEZE\" option to \"CREATE TABLE AS\" ,\nsimilar to the new COPY FREEZE feature ?\n\nbest regards,\n\nMarc Mamin\n\n\n\n\n\n\n\n\n\n\n\n\n\nHello,\n \nDoes anything speaks again adding a \"WITH FREEZE\" option to \"CREATE TABLE AS\" ,\ns... |
[
{
"msg_contents": "Hi all,\n\nhope this is the right list to post to.\nWe saw some bad choices from the query planner regarding the use of a GIN index which got worse over time and performance started degrading seriously, so I did some digging and I found a solution which works, but I'd like to get some opinion... |
[
{
"msg_contents": "Hey everyone --\n\nI am debugging an issue with our Postgres machine running on EC2. We are\nexperiencing slowness when retrieving about 14k rows from a larger table of\n140MM rows. Initially I thought it was an indexing problem (doing VACUUM\nFULL reduced the index size from 12gb to 8gb), bu... |
[
{
"msg_contents": "Hi,\n\nI am need help, about subject \"Query cache in Postgres\".\nhow is it possible to put sql statements cached in postgres ?\nI did some tests and I can not get even with improved tuning\nparameters in the postgresql.conf.\n\nRegards,\n\n-- \nAssinatura de E-mail padr�o Riosoft 20 anos... |
[
{
"msg_contents": "Hi,\n\nWhich can be the error :\n\n-- could not send data to client: Broken pipe\n-- FATAL: connection to client lost\n-- \n\nRegards,\n\nAssinatura de E-mail padr�o Riosoft 20 anos\n\n*Rogerio Pereira *\nDba | Tel. 55 (17) 3215-9199 | rogerio.pereira@riosoft.com.br\nRiosoft - Sistemas par... |
[
{
"msg_contents": "I have found this:\n\nSELECT c.*\nFROM contacts c\nWHERE c.id IN ( SELECT p.contact_id FROM phone p WHERE p.addr = ? )\nOR c.id IN (SELECT e.contact_id FROM email e WHERE e.addr = ? );\n\nTo have a worse plan than:\n\nSELECT * FROM contacts where id IN (\n( SELECT c.id FROM contacts c\nJOIN p... |
[
{
"msg_contents": "Hi,\n\nHaving attended a few PGCons, I've always heard the remark from a few\npresenters and attendees that Postgres shouldn't be run inside a VM. That\nbare metal is the only way to go.\n\nHere at work we were entertaining the idea of running our Postgres database\non our VM farm alongside o... |
[
{
"msg_contents": "We have several independent tables on a multi-core machine serving Select\nqueries. These tables fit into memory; and each Select queries goes over\none table's pages sequentially. In this experiment, there are no indexes or\ntable joins.\n\nWhen we send concurrent Select queries to these tab... |
[
{
"msg_contents": "On Mon, Nov 25, 2013 at 4:00 PM, Gudmundsson Martin (mg)\n<martin.mg.gudmundsson@volvo.com> wrote:\n>\n> I would also make sure to check that the hypervisor does write to permanent storage before returning to the VM with acknowledgement.\n>\nIn the case of ESX, there is no such concern per\nh... |
[
{
"msg_contents": "> There was some earlier comment in this discussion about not using NFS datastores for Postgres VMDK's. Would you think you'd see a difference in scalability behavior or performance in these tests if a NFS datastore would be used instead? Provided the architecture is properly setup for that, ... |
[
{
"msg_contents": "Dear all,\nI have a quite strange problem running an extensive query on geo data\nchecking for crossing ways. I don't know if this is a postgres or postgis\nproblem, but I hope you can help. Running one thread is no problem, it\nfinishes within 10-15 minutes. Run two of those queries in paral... |
[
{
"msg_contents": "Friends, i need help. \n\nI have query below that running well so far. it needs only 5.335 second to get data from 803.583 records. Here is the query :\n\nwith qry1 as \n(select tanggal, extract(month from tanggal) as bulan, tblsupplier.id, nama, kodebarang, namabarang, keluar, \n\tcase when ... |
[
{
"msg_contents": "We have several independent tables on a multi-core machine serving Select\nqueries. These tables fit into memory; and each Select queries goes over\none table's pages sequentially. In this experiment, there are no indexes or\ntable joins.\n\nWhen we send concurrent Select queries to these tab... |
[
{
"msg_contents": "We have several independent tables on a multi-core machine serving Select\nqueries. These tables fit into memory; and each Select queries goes over\none table's pages sequentially. In this experiment, there are no indexes or\ntable joins.\n\nWhen we send concurrent Select queries to these tab... |
[
{
"msg_contents": "Hello,\n\nWe are starting a new project to deploy a solution in cloud with the possibility to be used for 2.000+ clients. Each of this clients will use several tables to store their information (our model has about 500+ tables but there's less than 100 core table with heavy use). Also the pro... |
[
{
"msg_contents": "Hello guys, \n\n\nWhen I excute a query, the exection time is about 1 minute; however, when I execute the query with explain analyze the excution time jumps to 10 minutes. \n\nI have tried this for several queries, where I need to optimize; and using explain analyze leads alway to a huge t... |
[
{
"msg_contents": "I'm trying to increase the speed of inserts in a database that is on a not\nsuper fast storage system. I have installed a pair of SSDs and placed\npg_xlog on them but am still getting inserts that take up to a second to\ncomplete, with .3 seconds being about average. Iostat doesn't show the S... |
[
{
"msg_contents": "I'm managing a database that is adding about 10-20M records per day to a\ntable and time is a core part of most queries, so I've been looking into\nseeing if I need to start using partitioning based on the time column and\nI've found these general guidelines:\n\nDon't use more than about 50 p... |
[
{
"msg_contents": "On 12/05/2013 02:42 AM, Max wrote:\n> Hello,\n> \n> We are starting a new project to deploy a solution in cloud with the possibility to be used for 2.000+ clients. Each of this clients will use several tables to store their information (our model has about 500+ tables but there's less than 10... |
[
{
"msg_contents": "Hi\n\nI'm just trying about PostgreSQL, I create a database \"test\" with a table\n\"t1\":\n\ntest=> \\d t1\n Table \"public.t1\"\n Column | Type | Modifiers\n---------+---------+-----------------------------------------------------\n col_id... |
[
{
"msg_contents": "Hi,\n \nI want to realize a Full Text Search with the tsearch2 extension. It should find similar sentences.\n \nI used my own trigger to store the tsvector of the sentences and I created a usual gist index on them.\nI have to to use many OR statements with a low set of arguments, what heavy d... |
[
{
"msg_contents": "hi,\nRegistered with PostgreSQL Help Forum to identify and resolve the Postgres\nDB performance issue, received suggestions but could not improve the\nspeed/response time. Please help.\n\nDetails:\nPostgres Version 9.3.1\nServer configuration:\nProcessor: 2 x Intel Quad core E5620 @ 2.40GHz\n... |
[
{
"msg_contents": "I am trying to debug some shared memory issues with Postgres 9.3.1 and\nCentOS release 6.3 (Final). I have a database machine that probably has\nsome misconfigured shared memory settings. It's getting into 2+ GB of\nswap. Restarting postgres frees all of the memory, but after a few hours\n... |
[
{
"msg_contents": "Hello everyone,\n\nI'm looking for a way to specify join order in SQL query. Actually, the\noptimizer has chosen a plan with hash join of 2 tables, but I would like\nto know if there is a way to force it to use hash join, but with replaced\ntables on build phase and probe phase?\n\nThank you,... |
[
{
"msg_contents": "Hi\n\nI'm just trying about PostgreSQL, I create a database \"test\" with a table\n\"t1\":\n\ntest=> \\d t1\n Table \"public.t1\"\n Column | Type | Modifiers\n---------+---------+-----------------------------------------------------\n col_id... |
[
{
"msg_contents": "Hi,\n\nmy sql is very simple,\nreturns one row,\nwhere conditions are assigned to primary keys\n\n\n*/select g.gd_index, gd.full_name/**/\n/**/from gd g join gd_data gd on (g.id_gd = gd.id_gd)/**/\n/**/where gd.id_gd_data = 1111 OR g.id_gd = 1111;/*\n\n\nbut generates \"crazy\" plan with Merg... |
[
{
"msg_contents": "Thanks very much.\n\nI think another problem is that the cost estimation isn't good enough to\nreflex real cost. Since we can see, from \"explain analyze ...\",\ncount(distinct ...) has smallest cost between the others, but since it uses\nsorts, the time complexity should be higher especially... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.