threads listlengths 1 275 |
|---|
[
{
"msg_contents": "Hello performance, I need help explaining the performance of a particular\nquery:\n\nselect * from messages where ((messages.topic = E'/x') AND\n(messages.processed = 'f')) ORDER BY messages.created_at ASC limit 10;\n\n\nTable Structure:\n\n Column | Type |\nModifie... |
[
{
"msg_contents": "Hi all,\n\nI'm using postgres 8.4.2 on a Ubuntu Linux machine.\n\nI have several tables, one of which is named Document, which of course\nrepresents information I need about my documents. I also have another\ntable, similar to the first one, called Doc2. The schema of both tables is\nthe foll... |
[
{
"msg_contents": "On 9.0, this configuration\n\ncheckpoint_segments = 512 # in logfile segments, min 1, 16MB each\n\nresults in 1034 segments, so the effective logfile segment size is 32 MB.\n\nThe documentation says this:\n\n Maximum number of log file segments between automatic WAL\n checkpoints (e... |
[
{
"msg_contents": "At one point I was working on a patch to pgbench to have it adopt 64-bit \nmath internally even when running on 32 bit platforms, which are \ncurrently limited to a dataabase scale of ~4000 before the whole process \ncrashes and burns. But since the range was still plenty high on a \n64-bit ... |
[
{
"msg_contents": "Hello all,\nI am trying to do comparative study of PostgreSQL and Oracle.\nHas anybody tried to use same binary for connecting to oracle as well as \nPostgreSQL at the same time?\nI mean the program should be able to create 1 connection to oracle and 1 \nconnection to postgreSQL at the same t... |
[
{
"msg_contents": "This will be simple question to answer. :-) There is a single table:\n\nselect count(*) from product_price_history -- 12982555 rows\n\nThis table has exactly one index and on primary key constraint:\n\nCREATE INDEX idx_product_price_history_id_hdate\n ON product_price_history\n USING bt... |
[
{
"msg_contents": "I am running a postgres update on one of my machines:\n\nDownloading Packages:\n(1/7): postgresql90-plpython-9.0.2-2PGDG.rhel5.x86_64.rp | 50 kB \n00:02 \n(2/7): postgresql90-plperl-9.0.2-2PGDG.rhel5.x86_64.rpm | 51 kB \n00:03 \n(3/7): postgresql90-libs-9.0.2-2PGDG.rhel5.x8... |
[
{
"msg_contents": "I was recently asked to look into why one particular set of queries\nwas taking a long time.\nThe queries are all of the same form. They select the UNION of a few\ncolumns from around 100 tables.\nThe query in particular was taking some 7-8 minutes to run.\nOn a whim, I changed the query fro... |
[
{
"msg_contents": "I was recently asked to look into why one particular set of queries\nwas taking a long time. The queries are all of the same form. They\nselect the UNION of a few\ncolumns from around 100 tables.\n\nThe query in particular was taking some 7-8 minutes to run.\n\nOn a whim, I changed the query... |
[
{
"msg_contents": "Hi there,\nI have one log file per week and logging all statements >= 500 ms execution\ntime.\nBut, with \"normal\" statements are occuring something like this:\n\n2011-01-13 00:11:38 BRT LOG: duration: 2469.000 ms statement: FETCH 1000\nIN bloboid\n2011-01-13 00:12:01 BRT LOG: duration: 7... |
[
{
"msg_contents": "I'm using 8.3 and I have a table that contains many revisions of the same\nentity and I have a query that is super slow. Please help! I'm going to\npaste in some SQL to set up test cases and some plans below. If that isn't\nthe right way to post to this list please let me know and I'll rev... |
[
{
"msg_contents": "Hi there,\n\nCould someone please tell me why the following query won't work\n\nselect DISTINCT get_unit(unit) as unit, get_ingredient(ing) as ing, \nget_ing_aisle(1,ing) as aisle \n\nfrom recipe_ing where recipe in(1084, 1086, 1012, 618) and qtydec>0 and ing not \nin(select ing from excluded... |
[
{
"msg_contents": "Hi all,\n\nI've come to a dead end in trying to get a commonly used query to perform better. The query is against one table with 10 million rows. This table has been analysed. The table definition is:\n\nCREATE TABLE version_crs_coordinate_revision\n(\n _revision_created integer NOT NULL,\n ... |
[
{
"msg_contents": "It`s just a sample.\n\nselect c.id from OneRow c join abstract a on a.id=AsInteger(c.id)\n\n\"Nested Loop (cost=0.00..786642.96 rows=1 width=4) (actual \ntime=91021.167..119601.344 rows=1 loops=1)\"\n\" Join Filter: ((a.id)::integer = asinteger((c.id)::integer))\"\n\" -> Seq Scan on onero... |
[
{
"msg_contents": "Which is the type of your application? You can see it on the Performance Whackamole Presentation from Josh Berkus on the \nPgCon 2009:\n- Web application\n- Online Transaction Processing (OLTP)\n- Data WareHousing (DW)\n\nAnd based on the type of your application, you can configure the postgr... |
[
{
"msg_contents": "Hello,\njust coming from this thread : http://archives.postgresql.org/pgsql-admin/2011-01/msg00050.php\nIt started as an admin question and turned out to be a performance question.\nYou may look at it for a history of this issue. I will repost all data here.\n\nDescription of the machines inv... |
[
{
"msg_contents": "Jeremy Palmer wrote:\n \n> WHERE (\n> (_revision_created <= 16\n> AND _revision_expired > 16\n> AND _revision_expired <= 40)\n> OR (_revision_created > 16\n> AND _revision_created <= 40))\n \n> -> Bitmap Heap Scan on version_crs_coordinate_revision\n> (ac... |
[
{
"msg_contents": "Query is :\nSELECT distinct m.id,coalesce(m.givenname,''),\n coalesce(m.midname,''),\n m.surname from marinerstates ms,vessels vsl,mariner m \nWHERE m.id=ms.marinerid and ms.vslid=vsl.id \nAND ms.state='Active' and coalesce(ms.endtime,now())::date >= '2006-07-15'\nAND ms.st... |
[
{
"msg_contents": "Zotov wrote:\n \n> select c.id from OneRow c join abstract a on a.id=AsInteger(c.id)\n \n> Why SeqScan???\n \nBecause you don't have an index on AsInteger(c.id).\n \nIf your function is IMMUTABLE (each possible combination of input\nvalues always yields the same result), and you declare it s... |
[
{
"msg_contents": "Hi,\n\nWe are in the process of moving a web based application from a MySql to Postgresql database.\nOur main reason for moving to Postgresql is problems with MySql (MyISAM) table locking.\nWe will buy a new set of servers to run the Postgresql databases.\n\nThe current setup is five Dell Pow... |
[
{
"msg_contents": "after i backdb->dropdb->restoredb and then vacuum analy+full -> vacuum\nfreeze\n\nthe XID had been increased by 4 billion in two weeks...is it noraml?\n\nwhat's the definetion of XID?\n\n\" select * from mybook\" SQL command also increase the XID ?\n\nreference:\nhttp://www.postgresql.org/doc... |
[
{
"msg_contents": "hello,\n\ni have a table with OID column.. I want to use the copy command to insert\nbunch of rows (1 million).\nbut iam unable to specify the correct format for the oid type (i have .jpg\nfiles to be stored in this column)..\n\nI tried giving the path to the file, lo_import('pathto file').. ... |
[
{
"msg_contents": "I was doing a little testing to see how machine load affected the\nperformance of different types of queries, index range scans, hash joins,\nfull scans, a mix, etc.\n\nIn order to do this, I isolated different performance hits, spinning only\nCPU, loading the disk to create high I/O wait sta... |
[
{
"msg_contents": "Hi folks,\n\nI have a table like so:\n\ncreate table tagRecord (\n uid varchar(60) primary key,\n [bunch of other fields]\n location varchar(32),\n creationTS timestamp\n);\ncreate index idx_tagdata_loc_creationTS on tagRecord(location, creationTS);\n\nThe numb... |
[
{
"msg_contents": "Folks,\n\nI'm doing a postmortem on an 8.3 database which recently had to be\nrebuilt. The database was over 200% bloated ... 176GB as opposed to\ndump/reload size of 55GB. What I find really interesting is *which*\ntables were bloated. Consider these two tables, for example, which\nconsis... |
[
{
"msg_contents": "Hi,\n\nWe are running some performances tests. With a lot of concurrent\naccess, queries get very slow. When there is no load, those queries run\nfast.\n\nWe kind of see a trend about these queries: it seems like the ones that\nbecome very slow have an ORDER BY or MAX in them.\n\n \n\nHere... |
[
{
"msg_contents": "\nWhen you say that with a lot of concurrent access, queries get very slow, How many concurrent connections to your server have you had?\nmore that max_connections´value?\nIf you want to have many concurrent connections, you should have consider to use a pooling connection system like pgbounc... |
[
{
"msg_contents": "New to Postgres and am prototyping a migration from Oracle to Postgres 9.0.1 on Linux. Starting with the data warehouse. Current process is to load the data from\r\nour OLTP (Oracle), dump it into another instance of Oracle for staging and manipulation, then extract it and load it into Infobr... |
[
{
"msg_contents": "Hi all,\n\nwe are running a fairly big Ruby on Rails application on Postgres 8.4.\nOur traffic grew quite a bit lately, and since then we are facing DB\nperformance issues. System load occasionally explodes (around 170\nyesterday on a 16 core system), which seems to be caused by disk I/O\n(io... |
[
{
"msg_contents": "Hi,\n\nYesterday I perform a crash test, but I lost the last pg_xlog file.\nLet me explain:\n\nFirst I did the pg_start_backup\nSecond I copied the phisical files to the slave server\nThird I did the pg_stop_backup\n\nSo I run a test,\n\n1) In the master server I created a 100.000 records tab... |
[
{
"msg_contents": "I have a table EMP, with 14 rows and a description like this:\nscott=> \\d+ emp\n Table \"public.emp\"\n Column | Type | Modifiers | Storage | \nDescription\n----------+-----------------------------+-----------+----------+-------------\n... |
[
{
"msg_contents": "Pg 9.0.2 is performing better than pg8.4.1\n\nThere are more transactions per second in pg9.0.2 than in pg8.4.1, which is\na better thing.\n\nalso below are kernel parameters that i used.\n\n\n------ Shared Memory Limits --------\nmax number of segments = 4096\nmax seg size (kbytes) = 1509949... |
[
{
"msg_contents": "Another advice is to look the presentation of Alexander Dymo, on the RailsConf2009 called: Advanced Performance Optimization of Rails Applications available on \nhttp://en.oreilly.com/rails2009/public/schedule/detail/8615\nThis talk are focused on Rails and PostgreSQL, based on the developmen... |
[
{
"msg_contents": "HI,\n\nI use PostgreSQL basically as a data warehouse to store all the genetic \ndata that our lab generates. The only person that accesses the database \nis myself and therefore I've had it housed on my workstation in my \noffice up till now. However, it's getting time to move it to bigger... |
[
{
"msg_contents": "I am evaluating postgres 9 to migrate away from Oracle. The following query\nruns too slow, also please find the explain plan:\n\n****************************************************************\nexplain analyze select DISTINCT EVENT.ID, ORIGIN.ID AS\nORIGINID,EVENT.PREFERRED_ORIGIN_ID AS PR... |
[
{
"msg_contents": "Did anyone try using \"shake\" while the cluster is active? Any problems \nwith corruption or data loss? I ran the thing on my home directory and \nnothing was broken. I didn't develop any performance test, so cannot \nvouch for the effectiveness of the procedure. Did anyone play with that? \... |
[
{
"msg_contents": "Scott,\n\nI don't know if you received my private email, but just in case you did not I am posting the infomration here.\n\n \n\nI have a new set of servers coming in - Dual Xeon E5620's, 96GB RAM, 18 spindles (1 RAID1 for OS - SATA, 12 disk RAID10 for data - SAS, RAID-1 for logs - SAS, 2 hot... |
[
{
"msg_contents": "Dear list,\n\nIs there an exhaustive list of what takes what locks and how long they last?\n I'm asking because we just had some trouble doing a hot db change to an\n8.3.6 system. I know it is an old version but it is what I have to work\nwith. You can reproduce it like so:\n\nFirst:\nDROP ... |
[
{
"msg_contents": "We're building a new database box. With the help of Gregory Smith's \nbook, we're benchmarking the box: We want to know that we've set it up \nright, we want numbers to go back to if we have trouble later, and we \nwant something to compare our _next_ box against. What I'd like to know \nis... |
[
{
"msg_contents": "Hi, im César, im developing an app that saves information included in\n\"pg_stat_activity\" view in order to monitor querys. The objective of this\napp is to gather information about querys that take to long to finish and\noverload the server. I was wandering if I could see somehwere the\nimp... |
[
{
"msg_contents": "Hi, I have a Server with Fedora Core 11, Tomcat and Postgresql 8.3.\nWith Hardware:\n* 8GB RAM\n* 8 processors Intel Xeon E5520 @2.27GHz\n* 250GB SATA DISK\n\nActually, it serves at most 250 connections.\nThe problem happends when it serves many many connections at a time, tables\nand queries... |
[
{
"msg_contents": "I mistakenly replied to sender only.\n\nJon Nelson wrote:\n> However, sometimes using an index results in a HORRIBLE HORRIBLE plan.\n> I recently encountered the issue myself, and plopping an ANALYZE\n> $tablename in there, since I was using a temporary table anyway, make\n> all the differenc... |
[
{
"msg_contents": "Mladen Gogala wrote:\n \n> I'm 6'4\", 235LBS so telling me that you disagree and that I am more\n> stupid than a computer program, would not be a smart thing to do.\n \nEven if you had used a smiley there, that would have been incredibly\ninappropriate. I've never seen a computer program do... |
[
{
"msg_contents": "I'm setting up a dedicated linux postgres box with 2x300GB 15k SAS drive in\na RAID 1, though if future load dictates we would like to be able to upgrade\nto RAID 10. The hosting provider offers the following options for a RAID\ncontroller (all are the same price):\n\n ADAPTEC 3405 RAID Cont... |
[
{
"msg_contents": "--- On Thu, 3/2/11, Greg Smith <greg@2ndquadrant.com> wrote:\n> The 5405 and 5805 models do have a known problem where they overheat if\n> you don't have enough cooling in the server box, with the 5805 seeming\n> to be the bigger source of such issues. See the reviews at\n> http://www.newegg... |
[
{
"msg_contents": "\n Hi All,\n\nI'm working on a client program that iterates over master-detail \nrelationships in a loop chain.\n\nPseudo code:\n\nfor row_1 in table_1:\n table_2 = get_details(row_1,\"table2\")\n for row_2 in table_2:\n row_3 = get_details(row_2,\"table3\")\n .... e... |
[
{
"msg_contents": "\nEach night we run over a 100,000 \"saved searches\" against PostgreSQL\n9.0.x. These are all complex SELECTs using \"cube\" functions to perform a\ngeo-spatial search to help people find adoptable pets at shelters.\n\nAll of our machines in development in production have at least 2 cores\ni... |
[
{
"msg_contents": "Time for my pet meme to wiggle out of its hole (next to Phil's, and a day later). For PG to prosper in the future, it has to embrace the multi-core/processor/SSD machine at the query level. It has to. And it has to because the Big Boys already do so, to some extent, and they've realized th... |
[
{
"msg_contents": "\r\n\r\n---- Original message ----\r\n>Date: Thu, 3 Feb 2011 18:56:34 +0100\r\n>From: pgsql-performance-owner@postgresql.org (on behalf of Aljoša Mohorović <aljosa.mohorovic@gmail.com>)\r\n>Subject: Re: [PERFORM] getting the most of out multi-core systems for repeated complex SELECT statement... |
[
{
"msg_contents": "Hi, all.\n\nAll this optimizer vs hint thread reminded me about crazy idea that got to\nmy head some time ago.\nI currently has two problems with postgresql optimizer\n1) Dictionary tables. Very usual thing is something like \"select * from\nbig_table where distionary_id = (select id from dic... |
[
{
"msg_contents": "I'm running all this on a 9.0 server with good enough hardware. The \nquery is:\n\nSELECT news.id AS news_id\n , news.layout_id\n , news.news_relation_id\n , news.author_id\n ... |
[
{
"msg_contents": "I am having huge performance problems with a table. Performance deteriorates\nevery day and I have to run REINDEX and ANALYZE on it every day. auto\nvacuum is on. yes, I am reading the other thread about count(*) :)\n\nbut obviously I'm doing something wrong here\n\n\nexplain analyze select... |
[
{
"msg_contents": "Hi all,\n\nI have a execution planner related issue that I'd like to have some help\nin understanding a bit deeper -\n\nI have a table which basically contains fields for a value, a timestamp\nand\na record type which is an integer. I would like to do a query which\nretrieves\nthe newest reco... |
[
{
"msg_contents": "All,\n\nSeeing an issue which is new on me. On a mostly idle PostgreSQL server,\nthe stats collector is rewriting the entire stats file twice per second.\n\nVersion: 8.4.4\nServer: Ubuntu, kernel 2.6.32\nServer set up: ApacheMQ server. 25 databases, each of which hold 2-3\ntables.\nFilesyst... |
[
{
"msg_contents": "Greg (Smith),\n\nGiven your analysis of fsync'ing behavior on Ext3, would you say that it\nis better to set checkpoint_completion_target to 0.0 on Ext3?\n\n-- \n -- Josh Berkus\n PostgreSQL Experts Inc.\n ... |
[
{
"msg_contents": "I implemented table partitioning, and it caused havoc with a \"select\nmax(id)\" on the parent table - the query plan has changed from a\nlightningly fast backwards index scan to a deadly seq scan. Both\npartitions are set up with primary key index and draws new IDs from\nthe same sequence .... |
[
{
"msg_contents": "Before I deploy some new servers, I figured I would do some\nbenchmarking.\n\nServer is a Dual E5620, 96GB RAM, 16 x 450GB SAS(15K) drives.\n\nController is an Areca 1680 with 2GB RAM and battery backup.\n\nSo far I have only run bonie++ since each cycle is quite long (writing\n192GB).\n\n \n... |
[
{
"msg_contents": "I am searching what would be the best hardware combination to a new server i \nhave to install, the new server will have a Postgresql 9.0 with a database of \nabout 10gb, the database part it is not the problem for me, in this size almost, \nthe part where i am a bit lost is that i have to sh... |
[
{
"msg_contents": "Hi,\n\nI am trying to understand how indexes works to get the most of them.\n\nFirst I would like to know if there is more advantage than overhead to\nsplit an index in several ones using conditions e.g. doing :\n\nCREATE INDEX directory_id_user_0_btree_idx ON mike.directory USING btree (id_u... |
[
{
"msg_contents": "Hi.\nI do small test of plsql and perl.Result is that perl may be\n2xfaster in simple loops.\n\n\nCREATE OR REPLACE FUNCTION _.test1() RETURNS void AS\n$BODY$\ndeclare i integer; j bigint := 0;\nbegin\nfor i in 1..1000000 loop j:=j+i; end loop;\nend;\n$BODY$ LANGUAGE plpgsql VOLATILE COS... |
[
{
"msg_contents": "This query:\n\nselect p.id,p.producer_id,visa.variation_item_id, vi.qtyavail\n from variation_item_sellingsite_asin visa\n inner join product p on p.id = visa.product_id\n inner join variation_item vi on vi.i... |
[
{
"msg_contents": "Howdy,\n\nEnvironment:\n\nPostgres 8.3.13\nSolaris 10\n\nI have a SELECT query that runs no problem standalone but when running\nwithin a perl script it intermittently core dumps. Random, no pattern\nto the timing of the core dumps. The perl script processes the rows\nfrom the query, if the... |
[
{
"msg_contents": "Hi, I wanted to know, if there is some configuration in order tables dont\nget blocked for too long time?\n\nHi, I wanted to know, if there is some configuration in order tables dont get blocked for too long time?",
"msg_date": "Fri, 11 Feb 2011 15:35:35 -0300",
"msg_from": "Cesar Arr... |
[
{
"msg_contents": "Hello,\n\nI got a disk array appliance of 8 disks 1T each (UltraStor RS8IP4). It will\nbe used solely by PostgresQL database and I am trying to choose the best\nRAID level for it.\n\nThe most priority is for read performance since we operate large data sets\n(tables, indexes) and we do lots o... |
[
{
"msg_contents": "Hi\n\nMy question is: Was there any major optimizer change between 8.3.10 to 8.3.14?\n\nI'm getting a difference in explain plans that I need to account for.\n\nWe are running production pg8.3.10, and are considering upgrading to 8.4.x (maybe 9.0), because we expected to benefit from ... |
[
{
"msg_contents": "Hi,\n\nHow can we boost performance of queries containing pattern matching\ncharacters? In my case, we're using a percent sign (%) that matches any\nstring of zero or more characters.\n\nQUERY: DELETE FROM MYTABLE WHERE EMAIL ILIKE '%domain.com%'\n\nEMAIL column is VARCHAR(256).\n\nAs it is... |
[
{
"msg_contents": "\n\ncreate table a( address1 int,address2 int,address3 int)\ncreate table b(address int[3])\n\nI have created two tables. In the first table i am using many fields to\nstore 3 address. \nas well as in b table, i am using array data type to store 3 address. is\nthere any issue would face in p... |
[
{
"msg_contents": "\n\nI have two identical tables. But the with of the fields are different. Need\nto know whether changing from varchar(100) to varchar(30) will increase the\nperformance, or its just the memory access.\n-- \nView this message in context: http://postgresql.1045698.n5.nabble.com/Field-wise-chec... |
[
{
"msg_contents": "During heavy writes times we get the checkpoint too often error, what's the real knock down effect of checkpointing too often? The documents don't really say what is wrong with checkpointing too often, does it cause block, io contention, etc, etc? From my understanding it's just IO contenti... |
[
{
"msg_contents": "Hello list,\n\ndoes `postgres (PostgreSQL) 8.4.5' use the LIMIT of a query when it is run on a partitioned-table or am I doing something wrong? It looks as if postgres queries all partitions and then LIMITing the records afterwards!? This results in a long (>3 minutes) running query. What can... |
[
{
"msg_contents": "Hi list,\n\n \n\nfirst time for me here, hope you're not dealing too severely with me regarding guidelines. Giving my best.\n\n \n\nWe are running PostgreSQL 8.4.4 on x86_64-unknown-linux-gnu, compiled by GCC gcc (Debian 4.3.2-1.1) 4.3.2, 64-bit on a Supermicro SuperServer 8026B-6RF.\n\nThis ... |
[
{
"msg_contents": "Hello,\n\nI was under the impression that pg_dumpall didn't affect database\nperformance when dumping while the db is live. However I have evidence to\nthe contrary now - queries that are run during the pg_dumpall time take 10\nto a 100 times longer to execute than normal while pg_dumpall is ... |
[
{
"msg_contents": "All,\n\nI'm trying to estimate the size of my hot data set, and wanted to get some\nvalidation that I'm doing this correctly.\n\nBasically, I'm using the sum(heap_blks_read + idx_blks_read) from\npg_statio_all_tables, and diffing the numbers over a period of time (1 hour\nat least). Is this ... |
[
{
"msg_contents": "In normal circumstances does locking a table in access exclusive mode improve insert, update and delete operation performance on that table.\n\nIs MVCC disabled or somehow has less work to do?\n\nCheers\nJeremy\n\n_______________________________________________________________________________... |
[
{
"msg_contents": "\nWe perform over 1,000,000 searches each day for \"adoptable shelter pets\nnear your zipcode\". We already have adequate performance for these\nsearches using the \"cube\" contrib, but the new KNN work in 9.1 seemed\nlike it might be a promising way to speed this up even further.\n\nI instal... |
[
{
"msg_contents": "Hi,\n\nI have a java application which generates inperformant query plans.\nI checked the query plan from the java application via auto_explain module\nand I compared the plan which I generate in psql.\nThey are different and I have no idea how I can convince the java\napplication to use the ... |
[
{
"msg_contents": "Hello,\n\nWhen executing huge (10kb), hibernate-generated queries I noticed that\nwhen executed remotly over high-latency network (ping to server\n200-400ms), the query takes a lot longer to complete.\n\nWhen the query is executed remotly (psql or jdbc) it takes 1800ms to\nexecute, when I is... |
[
{
"msg_contents": "I am trying to clean up our schema by removing any indices which are not\nbeing used frequently or at all.\n\nUsing pgadmin, looking at the statistics for an index, I see various\npieces of information:\n\n \n\nIndex Scans, Index Tuples Read, Index Tuples Fetched, Index Blocks Read,\nand Inde... |
[
{
"msg_contents": "Hi all,\n\nRunning PostgreSQL 8.4.7 (backport package from Debian Lenny).\n\nI have some queries that are based on views, and an engine adds a few\nclauses (like NULLS LAST). One of these queries has a performance problem.\n\nThe simplified form is this:\n\nshs=# explain analyze select * from... |
[
{
"msg_contents": "I'm using PostgreSQL 8.3.3 and I have a view that does a UNION ALL on\ntwo joins and it doesn't seem to want to push the IN (subquery)\noptimization down into the plan for the two queries being unioned. Is\nthere something I can do to fix this? Or is it just a limitation of\nthe planner/optim... |
[
{
"msg_contents": "Hi,\n\nWe're using PostgreSQL v8.2.3 on RHEL5.\n\nI'm developing a PostgreSQL plpgsql function for one of our application\nreport. When I try to run the function multiple times (even twice or\nthrice), I'm seeing considerable amount of memory being taken up by\nPostgreSQL and thereby after s... |
[
{
"msg_contents": "\"Gnanakumar\" wrote:\n \n> We're using PostgreSQL v8.2.3 on RHEL5.\n \nhttp://www.postgresql.org/support/versioning\n \nThe 8.2 release is up to 8.2.20:\n \nhttp://www.postgresql.org/\n \nBy the way, 8.2 is scheduled to go out of support later this year:\n \nhttp://wiki.postgresql.org/wiki/... |
[
{
"msg_contents": "I'm using PostgreSQL 8.3.3 and I have a view that does a UNION ALL on two\njoins and it doesn't seem to want to push the IN (subquery) optimization\ndown into the plan for the two queries being unioned. Is there something I\ncan do to fix this? Or is it just a limitation of the planner/optimi... |
[
{
"msg_contents": "Hi foks\n\nThis is an old chestnut which I've found a number of online threads for, and\nnever seen a clever answer to. It seems a common enough idiom that there\nmight be some slicker way to do it, so I thought I might inquire with this\naugust group if such a clever answer exists ....\n\nCo... |
[
{
"msg_contents": "P.S. I noticed inadvertently (by making a typo ;-) that not all of the\ncolumns in the DISTINCT ON are required to be part of the output, in which\ncase it appears to reduce the DISTINCT ON to the columns that are\nrepresented .... in my real world situation, \"id_key\" is actually composed\n... |
[
{
"msg_contents": "I run into performance problem when I pass the condition/variable in binding\nways, however if I put them in the query string it's absolutely fine.\n\n----\nHere is my table and index:\nCREATE TABLE shipment_lookup\n(\n shipment_id text NOT NULL,\n lookup text NOT NULL\n);\nCREATE INDEX shi... |
[
{
"msg_contents": "I found that \"LIKE\", \"= ANY (...)\", \"LIKE .. OR LIKE ..\" against a text\nfield used the index correctly, but not \"LIKE ANY (...)\". Would that be a\nbug?\n\n----\nHere is my table and index:\nCREATE TABLE shipment_lookup\n(\n shipment_id text NOT NULL,\n lookup text NOT NULL\n);\nCRE... |
[
{
"msg_contents": "Hi,\n\nWe were running full vacuum on DB when we encountered the error below;\n\nINFO: analyzing \"public.bkup_access_control\"\nINFO: \"bkup_access_control\": scanned 14420 of 14420 pages, containing\n1634113 live rows and 0 dead rows; 30000 rows in sample, 1634113 estimated\ntotal rows\nI... |
[
{
"msg_contents": "Florian Weimer wrote:\n> Kevin Grittner:\n \n>> Well, unless you use timestamp WITH time zone, you might not be\n>> able to do that at all. There are very few places where timestamp\n>> WITHOUT time zone actually makes sense.\n>\n> I don't think PostgreSQL keeps track of actual time zone val... |
[
{
"msg_contents": "Hi,\n\nWe have installed PostgreSQL9 and setup standby(s). Now we have to test the\nperformance before we migrate all the data from Informix. The PostgreSQL9\nthat we installed is the Linux version from EnterpriseDB which runs on Red\nHat. The documentation on PostgreSQL website shows that we... |
[
{
"msg_contents": "Greetings to all,\n\nI use to run below query on my Postgres Database Server very often :\n\nselect \nm.doc_category,p.heading,l.lat,l.lon,p.crawled_page_url,p.category,p.dt_stamp,p.crawled_page_id,p.content \nfrom loc_context_demo l,page_content_demo p,metadata_demo m\nwhere l.source_id=p.c... |
[
{
"msg_contents": "Hi,\n\nI've been facing a very large (more than 15 seconds) planning time in a \npartitioned configuration. The amount of partitions wasn't completely crazy, \naround 500, not in the thousands. The problem was that there were nearly 1000 \ncolumns in the parent table (very special use case, t... |
[
{
"msg_contents": "Hi!\ncan you help me with performance optimization\non my machine I have 8 databases with ca. 1-2GB\n\nprocessor is:\nprocessor : 0\nvendor_id : GenuineIntel\ncpu family : 6\nmodel : 23\nmodel name : Intel(R) Xeon(R) CPU E3110 @ 3.00GHz\nstepping ... |
[
{
"msg_contents": "Hi!\ncan you help me with performance optimization\non my machine I have 8 databases with ca. 1-2GB\n\nprocessor is:\nprocessor : 0\nvendor_id : GenuineIntel\ncpu family : 6\nmodel : 23\nmodel name : Intel(R) Xeon(R) CPU E3110 @ 3.00GHz\nstepping ... |
[
{
"msg_contents": "Hi,\n\nI came across some tools such as Tsung and Bristlecone. Are these fine or\nare there any better tools well suited for this DB?\n\nThank you.\n\nWarmest Regards,\n\nSelvam\n\nHi,I came across some tools such as Tsung and Bristlecone. Are these fine or are there any better tools well sui... |
[
{
"msg_contents": "Hey,\n\nDoes anyone have the hardware to test FlashCache with PostgreSQL?\n\nhttp://perspectives.mvdirona.com/2010/04/29/FacebookFlashcache.aspx\n\nI'd be interested to hear how it performs ...\n\n-- \n -- Josh Berkus\n Post... |
[
{
"msg_contents": "*Hi all !\n\nPostgresql (8.2) has as a strange behaviour in some of my environments.\n*\n*A request follows two execution plans ( but not always !!! ). I encounter\nsome difficulties to reproduce the case.*\n\n*J-2*\nAggregate (*cost=2323350.24..2323350.28 rows=1 width=24*)\n -> Merge Join... |
[
{
"msg_contents": "Hi, appreciated mailing list. Thanks already for taking your time for my\nperformance question. Regards, Sander.\n\n\n===POSTGRESQL VERSION AND ORIGIN===\n\nPostgreSQL 8.3.9 on i486-pc-linux-gnu, compiled by GCC cc (GCC) 4.2.4\n(Ubuntu 4.2.4-1ubuntu3)\nInstalled using \"apt-get install postgr... |
[
{
"msg_contents": "Dear all,\n\nI have a query that i used to fire many times in our application and \nneed to be tuned at the deeper level.\n\nQuery :\n\n explain analyze select p.crawled_page_id, p.content, \nw.publication_name, w.country_name, p.publishing_date,m.doc_category\n,l.display_name as location, l.... |
[
{
"msg_contents": "Hi. I've only been using PostgreSQL properly for a week or so, so I\napologise if this has been covered numerous times, however Google is\nproducing nothing of use.\n\nI'm trying to import a large amount of legacy data (billions of\ndenormalised rows) into a pg database with a completely diff... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.