threads
listlengths
1
275
[ { "msg_contents": "> From: Bill Moran [mailto:wmoran@collaborativefusion.com]\n> In response to \"Medora Schauer\" <mschauer@fairfield.com>:\n> \n> > I've recently moved to 8.1 and find that autovacuum doesn't seem to\nbe\n> > working, at least not the way I expected it to. I need the tuple\ncount\n> > for a t...
[ { "msg_contents": "I have two systems running 8.2beta1 getting strange difference of\nresults in count(*). Query that illistrates the difference is\ncount(*). this is a synthetic test i use to measure a sytems's cpu\nperformance.\n\nSystem A:\n2.2 ghz p4 northwood, HT\nwin xp\nvanilla sata (1 disk)\n\nSystem ...
[ { "msg_contents": "[Jim C. Nasby - Mon at 04:18:27PM -0500]\n> I can agree to that, but we'll never get any progress so long as every\n> time hints are brought up the response is that they're evil and should\n> never be in the database. I'll also say that a very simple hinting\n> language (ie: allowing you to s...
[ { "msg_contents": "PG does support hints actually.. and I used them to solve the last performance\nproblem I had, rather than waiting n years for the query planner to be\nimproved. The problem in question (from an automated query planning point of\nview) is the lack of multi-column statistics, leading to the w...
[ { "msg_contents": "All,\n\nWe are facing few issues while we install Postgres 8.0 in Windows 2000\nJapanese OS. Installer kit name : postgresql-8.0-ja\n\nScenario 1: While installing PostGRE 8.0, we got an logon failure at the end\nof installing the component telling that it failed to produce the process\nfor i...
[ { "msg_contents": "While doing a verbose vacuum, I'm constantly hitting things like:\n\nDETAIL: 3606 dead row versions cannot be removed yet.\n\nI believe this is a problem, because I still do have some empty tables\nrequireing up to 3-400 ms just to check if the table is empty (see\nthread \"slow queue-like e...
[ { "msg_contents": "I currently have a db supporting what is for the most part an OLAP data \nwarehousing application.\n\nOne table (good data) has roughly 120 million rows, divided into roughly \n40 different relational groups (logically by foreign key). Every time I \nadd data to this table, I need to afterwar...
[ { "msg_contents": "\n\n\n Hello.\n \n Simply jumping on the bandwagon, just my 2 cents:\n \n why not just like in some other (commercial) databases:\n \n a statement to say: use index ............\n \n I know this is against all though but if even the big ones can not resist\n the pressure of their users, why n...
[ { "msg_contents": "Posting here instead of hackers since this is where the thread got\nstarted...\n\nThe argument has been made that producing a hints system will be as hard\nas actually fixing the optimizer. There's also been clamoring for an\nactual proposal, so here's one that (I hope) wouldn't be very diffi...
[ { "msg_contents": "\n\n-----Original Message-----\nFrom: pgsql-performance-owner@postgresql.org\n[mailto:pgsql-performance-owner@postgresql.org] On Behalf Of Bucky\nJordan\nSent: Thursday, October 12, 2006 2:19 PM\nTo: josh@agliodbs.com; Jim C. Nasby\nCc: pgsql-hackers@postgresql.org; pgsql-performance@postgres...
[ { "msg_contents": "[Matthew T. O'Connor - Wed at 02:33:10PM -0400]\n> In addition autovacuum respects the work of manual or cron based \n> vacuums, so if you issue a vacuum right after a daily batch insert / \n> update, autovacuum won't repeat the work of that manual vacuum.\n\nI was experimenting a bit with au...
[ { "msg_contents": "Hello,\n\nShridhar Daithankar and Josh Berkus write on\nhttp://www.varlena.com/varlena/GeneralBits/Tidbits/perf.html\n\nshared_memory\n\n\"\"\"\nThere is one way to decide what is best for you. Set a high value of\nthis parameter and run the database for typical usage. Watch usage of\nshare...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nThis SQL sentence is very simple. I need to get better results. I have\ntried some posibilities and I didn't get good results.\n\nSELECT max(idcomment)\n FROM ficha vf\n INNER JOIN comment c ON (vf.idficha=c.idfile AND (idestado=3 OR\nidestado...
[ { "msg_contents": "Hello,\n\n\n\nI was going through the Performance Enhancements of 8.1.0, in that I have\nread \"Bitmap Scan\"\n\n\n\n\"*Bitmap Scan:* indexes will be dynamically converted to bitmaps in memory\nwhen appropriate, giving up to twenty times faster index performance on\ncomplex queries against ve...
[ { "msg_contents": "Hi\n\nWe are facing performance problems in postgres while executing a query.\nWhen I execute this query on the server it takes 5-10 seconds. Also I\nget good performance while executing this query from my code in java\nwith the hard codes values. I face severe performance problems when I\nru...
[ { "msg_contents": "\n Hi\r\n\nWe are facing performance problems in postgres while executing a query. When I execute this query on the server it takes 5-10 seconds. Also I get good performance while executing this query from my code in java with the hard codes values. I face severe performance problems when I r...
[ { "msg_contents": "\nHi Merlin\n\nI have disabled seq-scan and now it works like a charm. Thanks it was a saver.\n\n\r\n\nRegards\n\nRohit\n\n\r\n\nOn 10/18/06, Bucky Jordan <bjordan@lumeta.com> wrote:\n\n> > On 10/17/06, Rohit_Behl <Rohit_Behl@infosys.com> wrote:\n\n> > > Select events.event_id, ctrl.real_name...
[ { "msg_contents": "Hi list !\n\nI have two table with a 2-column index on both of them.\nIn the first table, the first colum of the index is the primary key, \nthe second one is an integer field.\nIn the second table, the two columns are the primary key.\nWhen I join these two tables, the 2-column index of the ...
[ { "msg_contents": "Hi!\n\nI have a problem with ACCESS EXCLUSIVE lock when I drop a reference in \ntransaction. I have 2 tables: \ncreate table a(id SERIAL primary key);\ncreate table b(id SERIAL primary key references a(id));\n\nAfter that I have 2 processes: P1, P2\nIn P1:\nbegin;\nALTER TABLE b DROP CONSTR...
[ { "msg_contents": "Hi everyone,\n\nI am doing a test for a scenario where I have 2\nschemas one (public) for the operational data and\nanother one (archive) for old, archived data. So\nbasically I want to split the data from some huge\ntables in two. All data before 2006 in archive and all\ndata after and incl...
[ { "msg_contents": "Hello all,\n\nI read a paper, which is Query optimization in the presence of Foreign\nFunctions.\nAnd the paper , there is a paragraph like below.\n\nIn order to reduce the number of invocations, caching the results of\ninvocation was suggested in Postgres.\n\nI'd like to know in detail abo...
[ { "msg_contents": "\n Hi\r\n\n\r\n\nThanks everybody. I have confirmed that this does not affect inserts. But the query performance has improved a lot.\n\n\r\n\nRegards\n\n\r\n\nRohit\n\n\r\n\n\r\n\n-----Original Message-----\nFrom: pgsql-performance-owner@postgresql.org [mailto:pgsql-performance-owner@postgres...
[ { "msg_contents": "Hi,\n\nwe've got performance problems due to repeating SELECT, UPDATE, DELETE, \nINSERT statements. This statements have to be executed every 10 seconds, \nbut they run into a timeout.\nTo obviate problems regarding to our Java Software and JDBC drivers, we \nput the repeating sequence of ...
[ { "msg_contents": "Hello!\n\nAfter upgrade PostgreSQL from 8.0 to 8.1.4 a VACUUM FULL ANALYZE\nprocess is much slower, from logs:\n\n8.0\n[13666][postgres][2006-10-06 01:13:38 CEST][1340121452] LOG: statement: VACUUM FULL ANALYZE;\n[13666][postgres][2006-10-06 01:39:15 CEST][0] LOG: duration: 1536862.425 ms\n...
[ { "msg_contents": "I just came to think about /proc/sys/swappiness ...\n\nWhen this one is set to a high number (say, 100 - which is maximum), the\nkernel will aggressively swap out all memory that is not beeing\naccessed, to allow more memory for caches. For a postgres server, OS\ncaches are good, because pos...
[ { "msg_contents": "[Jim C. Nasby - Thu at 10:28:31AM -0500]\n> I think it'd be much better to experiment with using much larger\n> shared_buffers settings. The conventional wisdom there is from 7.x days\n> when you really didn't want a large buffer, but that doesn't really\n> apply with the new buffer managemen...
[ { "msg_contents": "[Jim C. Nasby - Thu at 10:28:31AM -0500]\n> I think it'd be much better to experiment with using much larger\n> shared_buffers settings. The conventional wisdom there is from 7.x days\n> when you really didn't want a large buffer, but that doesn't really\n> apply with the new buffer managemen...
[ { "msg_contents": "[Jim C. Nasby - Thu at 11:31:26AM -0500]\n> Yeah, test setups are a good thing to have...\n\nWe would need to replicate the production traffic as well to do reliable\ntests. Well, we'll get to that one day ...\n\n> The issue with pg_xlog is you don't need bandwidth... you need super-low\n> l...
[ { "msg_contents": "[Jim C. Nasby - Thu at 11:45:32AM -0500]\n> > > The issue with pg_xlog is you don't need bandwidth... you need super-low\n> > > latency. The best way to accomplish that is to get a battery-backed RAID\n> > > controller that you can enable write caching on.\n> > \n> > Sounds a bit risky to me ...
[ { "msg_contents": "[Jim C. Nasby - Thu at 12:00:39PM -0500]\n> What's reasonable for work_mem depends on your workload. If you've got\n> some reporting queries that you know aren't run very concurrently they\n> might benefit from large values of work_mem. For stats.distributed.net,\n> I set work_mem to somethin...
[ { "msg_contents": "[Jim C. Nasby - Thu at 12:00:39PM -0500]\n> Well, if you're buying unreliable hardware, there's not much you can\n> do... you're setting yourself up for problems.\n\nI'm luckily not responsible for the hardware, but my general experience\ntells that you never know anything about hardware reli...
[ { "msg_contents": "Hello friends,\n\nI am responsible for maintaining a high volume website using postgresql\n8.1.4. Given the amount of reads and writes, I vacuum full the server a\nfew times a week around 1, 2 AM shutting down the site for a few\nminutes. The next day morning around 10 - 11 AM the server slow...
[ { "msg_contents": "I would like to understand what causes some of my indexes to be slower to\nuse than others with PostgreSQL 8.1. On a particular table, I have an int4\nprimary key, an indexed unique text 'name' column and a functional index of\ntype text. The function (person_sort_key()) is declared IMMUTABLE...
[ { "msg_contents": "Hello all,\n\nI am currently working out the best type of machine for a high volume \npgsql database that I going to need for a project. I will be \npurchasing a new server specifically for the database, and it won't \nbe running any other applications. I will be using FreeBSD 6.1 Stable.\...
[ { "msg_contents": "Hello Performancers,\n\nhas anyone a pgBench tool running on Windows?\n\nI want to experiment with various settings to tune; and would prefer using\nsomething ready made before coming up with my own misstakes.\n\nHarald\n\n\n-- \nGHUM Harald Massa\npersuadere et programmare\nHarald Armin Mass...
[ { "msg_contents": "[Jim C. Nasby - Thu at 11:31:26AM -0500]\n> The issue with pg_xlog is you don't need bandwidth... you need super-low\n> latency. The best way to accomplish that is to get a battery-backed RAID\n> controller that you can enable write caching on. In fact, if the\n> controller is good enough, yo...
[ { "msg_contents": "What is the best COPY performance that you have gotten on a \"normal\" table?\n\nI know that this is question is almost too general, but it might help\nme out a bit, or at least give me the right things to tweak. Perhaps\nthe question can be rewritten as \"Where are the major bottlenecks in ...
[ { "msg_contents": "Question: I have a big table with 120,000,000 records.\n\nLet's assume that I DELETE 4,000,000 records, VACUUM FULL, and REINDEX.\n\n\nNow I have the same table, but with 240,000,000 records.\n\nI DELETE 8,000,000 records, VACUUM FULL, and REINDEX.\n\n\nShould the second operation with twic...
[ { "msg_contents": "Our Windows-based db server has to integrate with users that work regularily \nwith Access.When attempting to import user's data from Access MDB files to \nPostgreSQL, we try on eof two things: either import using EMS SQL Manager's \nData Import from Access utility, or export from Access to P...
[ { "msg_contents": "Hello,\n\nI'm working out specs for a new database server to be\npurchased for our organization. The applications the\nserver will handle are mainly related to network\noperations (monitoring, logging, statistical/trend\nreports, etc.). Disk I/O will be especially high with\nrelation to pro...
[ { "msg_contents": "Hello,\n\nI have a query with several join operations and applying the same\nfilter condition over each involved table. This condition is a complex\npredicate over an indexed timestamp field, depending on some\nparameters.\nTo factorize code, I wrote the filter into a plpgsql function, but\...
[ { "msg_contents": "Hello there;\n\nI've got an application that has to copy an existing database to a new \ndatabase on the same machine.\n\nI used to do this with a pg_dump command piped to psql to perform the \ncopy; however the database is 18 gigs large on disk and this takes a LONG \ntime to do.\n\nSo I rea...
[ { "msg_contents": "(I tried this question on the interface forum and got no result, but I don't \nknow how to tell if it's an interface issue or not)\n\nI have a TCL app which typically takes hours to complete. I found out that \nit is taking longer than it should because it occasionally stalls \ninexplicably (...
[ { "msg_contents": "> -----Original Message-----\n> From: pgsql-performance-owner@postgresql.org \n> [mailto:pgsql-performance-owner@postgresql.org] On Behalf Of \n> Craig A. James\n> Sent: Wednesday, October 25, 2006 12:52 PM\n> To: Jim C. Nasby\n> Cc: Worky Workerson; Merlin Moncure; pgsql-performance@postgres...
[ { "msg_contents": "Hello All-\n \n We have a question about numbers of fields in the select clause of a\nquery and how that affects query speed.\n The following query simply selects the primary key field from a table\nwith 100,000 records:\n \n------------------------------------------------------------\nsele...
[ { "msg_contents": "Hi \n\n \n\nPlease help. I have got a postgres 7.3.4 database running on RedHat ES\n3, with 8GB of physical memory in it. The machine is shared with my\napplication which is pretty intensive in doing selects and updates\nagainst the database, but there are usually no more than 10 connectio...
[ { "msg_contents": "\n\nHi Josh\n\nThanks for the feedback, that is most usefull. When you said one of the\nsettings was likely killing us, was it all of the settings for\nmax_fsm_relations, max_fsm_pages, and sort_mem or just the setting for\nsort_mem ?\n\nCan you explain why the setting would be killing me :-...
[ { "msg_contents": "\n\nThanks guys, I think we'll certainly look to get the app certified with\n7.4 and 8.x but that may take a little while. In the interim, Im\nthinking of making the following changes then:-\n\nChange Shared_buffers from 393216 to 80,000 ( ~15% of 4GB of RAM.\nServer is 8GB but I want to le...
[ { "msg_contents": "Hullo, here's one of those dreadful touchy-feely hand-waving problems.\nOur 5-node 8.1.3 Slony system has just started taking /much/ longer to\nVACUUM ANALYZE..\n\nThe data set has not increased more than usual (nightly backups stand\nat 1.3GB, growing by 10MB per day), and no configuration h...
[ { "msg_contents": "I seem to remember Oleg/Teodor recently reporting a problem with Windows\nhanging on a multi-processor machine, during a heavy load operation.\n\nIn their case it seemed like a vacuum would allow it to wake up. They\ndid commit a patch that did not make it into the last minor version for\nla...
[ { "msg_contents": "(Repost - did not appear to make it to the list the first time)\n\nI have written a stored procedure for 8.1 that wraps a single (albeit complex) query, and uses 2 IN parameters (BIGINT, INTEGER) in the FROM JOIN and WHERE clauses.  The procedure is written in SQL (as opposed to plpgsql - alt...
[ { "msg_contents": "Thanks for all the feedback, folks.\n\nRunning explain analyze (see below) I get results similar to Tom Lane,\nwhere the 2 queries run at the same speed.\nAnd running in psql (see below) we see the expected speed degradation\nfor multiple fields, although concatenation is not getting us any\n...
[ { "msg_contents": "Hi,\n\nI wanted to use \"exp1 is not distinct from exp2\" which I tough was syntaxic \nsugar for\nexp1 is not null and exp2 is not null and exp1 = exp2 or exp1 is null and \nexp2 is null\nbut my index is ignored with \"is not distinct from\".\n\nIs this the expected behavior ?\n\ncreate tempo...
[ { "msg_contents": "Hello,\n\nMy Server is crashed in PQfinish. Below is the core file details:\n\n=>[1] DLRemHead(0x2b7780, 0xfb6bc008, 0x319670, 0xfb6bc008, 0x21c40,\n0x3106f8), at 0xfded10e4\n [2] DLFreeList(0x2b7780, 0x0, 0x417b48, 0xfdec5aa4, 0x21c18, 0x0), at\n0xfded0c64\n [3] freePGconn(0x371ea0, 0x0, 0...
[ { "msg_contents": "Hi!\n\nI'm just wondering, I've got a table that is partitioned into monthly\ntables:\n\nmedia_downloads -> media_downloads_YYYYMM\n I\\- id (primary key)\n \\- created_on (timestamp criteria for the monthly table split)\n\nThere are constraints upon the created_on column, all needed insert\...
[ { "msg_contents": "Look at this insane plan:\n\nlucas=# explain analyse select huvudklass,sum(summa) from kor_tjanster left outer join prislist on prislista=listid and tjanst=tjanstid where kor_id in (select id from kor where lista=10484) group by 1;\n ...
[ { "msg_contents": "> -----Original Message-----\n> From: pgsql-performance-owner@postgresql.org \n> [mailto:pgsql-performance-owner@postgresql.org] On Behalf Of \n> Luke Lonergan\n> Sent: Saturday, October 28, 2006 12:07 AM\n> To: Worky Workerson; Merlin Moncure\n> Cc: pgsql-performance@postgresql.org\n> Subjec...
[ { "msg_contents": "Hello,\nI have been having a problem with the following query ignoring an index\non the foos.bar column.\n\nSELECT c.id\nFROM foos c, bars r\nWHERE r.id != 0\nAND r.modified_time > '2006-10-20 10:00:00.000'\nAND r.modified_time <= '2006-10-30 15:20:00.000'\nAND c.bar = r.id\n\nThe bars table ...
[ { "msg_contents": "Checkpoints are not an issue here, the vmstat you included was on a 5 second interval, so the 'bursts' were bursting at a rate of 60MB/s.\n\n\n- Luke\n\nMsg is shrt cuz m on ma treo\n\n", "msg_date": "Tue, 31 Oct 2006 15:56:00 -0500", "msg_from": "\"Luke Lonergan\" <LLonergan@greenplu...
[ { "msg_contents": "Ok, so MVCC is the best thing since a guy put a round stone on a stick\nand called it \"the wheel\", but I've seen several references on this list\nabout \"indexes not being under MVCC\" - at least that's how I read it,\nthe original posts were explaining why indexes can't be used for solving...
[ { "msg_contents": "Hello-\n\n#I am a biologist, and work with large datasets (tables with millions of \nrows are common).\n#These datasets often can be simplified as features with a name, and a \nstart and end position (ie: a range along a number line. GeneX is on \nsome chromosome from position 10->40)\n\nI ...
[ { "msg_contents": "Hi,\n\nWe've migrated one of our servers from pg 7.4 to 8.1 and from times to times\n(4 hours) the server start doing a lot of context switching and all\ntransactions become very slow.\n\nThe average context switching for this server as vmstat shows is 1 but when\nthe problem occurs it goes t...
[ { "msg_contents": "I've got a long-running, update-heavy transaction that increasingly slows \ndown the longer it runs. I would expect that behavior, if there was some \ntemp file creation going on. But monitoring vmstat over the life of the \ntransaction shows virtually zero disk activity. Instead, the system ...
[ { "msg_contents": "Here is a potential problem with the auto-vacuum daemon, and I'm wondering\nif anyone has considered this. To avoid transaction ID wraparound, the\nauto-vacuum daemon will periodically determine that it needs to do a DB-wide\nvacuum, which takes a long time. On our system, it is on the orde...
[ { "msg_contents": "Hello,\n\nI do not understand, why Postgres very ofter starts execution from\nsub-select instead of doing main select and then proceeding to \"lite\"\nsub-selects. For example:\n\n(example is quite weird, but it demonstrates the problem)\n\n1. explain analyze select * from pg_proc offset 1500...
[ { "msg_contents": "Hi,\n\nThe documentation says that function blocks with exceptions are far costlier\nthan without one.\n\nSo if I need to implement an INSTEAD OF trigger (after checking for unique\nconstraint violations) which way should I go ?\n\n1. Get a table lock\n2. Use 'Select ... For Update' (which co...
[ { "msg_contents": "Hi all,\n\n I've got a script (perl, in case it matters) that I need to run once\na month to prepare statements. This script queries and updates the\ndatabase a *lot*. I am not concerned with the performance of the SQL\ncalls so much as I am about the impact it has on the server's load.\n\n...
[ { "msg_contents": "[Madison Kelly - Thu at 10:25:07AM -0500]\n> Will the priority of the script pass down to the pgsql queries it calls? \n> I figured (likely incorrectly) that because the queries were executed by \n> the psql server the queries ran with the server's priority. \n\nI think you are right, and in ...
[ { "msg_contents": "Hi,\n \nWe've migrated one of our servers from pg 7.4 to 8.1 and from times to times (4 hours) the server start doing a lot of context switching and all transactions become very slow.\n \nThe average context switching for this server as vmstat shows is 1 but when the problem occurs it goes to...
[ { "msg_contents": "I have 700 lines of non-performant pgSQL code that I'd like to \nprofile to see what's going on.\n\nWhat's the best way to profile stored procedures?\n\nThanks,\n\nDrew\n", "msg_date": "Fri, 3 Nov 2006 03:12:14 -0800", "msg_from": "Drew Wilson <drewmwilson@gmail.com>", "msg_from_...
[ { "msg_contents": "To support migration of existing queries, it would be nice not to have\nto rewrite EXISTS clauses as IN clauses. Here is one example of a query\nwhich optimizes poorly:\n \n DELETE FROM \"CaseDispo\"\n WHERE EXISTS\n (\n SELECT * FROM \"Consolidation\" \"C\"\n ...
[ { "msg_contents": "\nThe following bug has been logged online:\n\nBug reference: 2737\nLogged by: Balazs Nagy\nEmail address: bnagy@thenewpush.com\nPostgreSQL version: 8.1.5\nOperating system: RHEL4\nDescription: hash indexing large table fails, while btree of same\nindex works\nDeta...
[ { "msg_contents": "Though I've read recent threads, I'm unsure if any matches my case.\n\nWe have 2 tables: revisions and revisions_active. revisions contains \n117707 rows, revisions_active 17827 rows.\n\nDDL: http://hannes.imos.net/ddl.sql.txt\n\nJoining the 2 tables without an additional condition seems ok f...
[ { "msg_contents": "Select count(*) from table-twice-size-of-ram\n\nDivide the query time by the number of pages in the table times the pagesize (normally 8KB) and you have your net disk rate.\n\n- Luke\n\nMsg is shrt cuz m on ma treo\n\n -----Original Message-----\nFrom: \tBrian Hurt [mailto:bhurt@janestcapital...
[ { "msg_contents": "Jean-David Beyer wrote:\n> \n> Sure, some even read the entire cylinder. But unless the data are stored\n> contiguously, this does little good. The Linux ext2 and ext3 file systems\n> try to get more contiguity by allocating (IIRC) 8 blocks each time a write\n> needs space\n\n From where do y...
[ { "msg_contents": "\nDear All\nLooking at the processes running on our server, it appears that each time\na web server program makes a call to the database server, we start a new\nprocess on the database server which obviously has a start up cost. In\nApache, for example, you can say at start up time,that you w...
[ { "msg_contents": "On 11/8/06, Spiegelberg, Greg <gspiegelberg@cranel.com> wrote:\n> Merlin,\n>\n> I'm kinda shocked you had such a bad exp. with the AMS200. We have a\n> unit here hooked up to a 4-node Linux cluster with 4 databases banging\n> on it and we get good, consistent perfomance out of it. All 4 nod...
[ { "msg_contents": "I'm executing the following query:\n\n select\n hf.mailbox,hf.uid,hf.position,hf.part,hf.field,hf.value,\n af.address,a.name,a.localpart,a.domain\n from\n header_fields hf\n left join address_fields af\n using ( mailbox, uid, position, part, field ...
[ { "msg_contents": "Hi!\n\nIm new to PostgreSQL.\n\nMy current project uses PostgreSQL 7.3.4.\n\nthe problem is like this:\n\nI have a table with 94 fields and a select with only one resultset in only\none client consumes about 0.86 seconds.\nThe client executes three 'select' statements to perform the task whic...
[ { "msg_contents": "A few months ago a couple guys got \"bragging rights\" for having the most separate databases. A couple guys claimed several hundred databases and one said he had several thousand databases. The concensus was that Postgres has no problem handling many separate databases.\n\nI took that to h...
[ { "msg_contents": "I'm trying to optimize a PostgreSQL 8.1.5 database running on an \nApple G5 Xserve (dual G5 2.3 GHz w/ 8GB of RAM), running Mac OS X \n10.4.8 Server.\n\nThe queries on the database are mostly reads, and I know a larger \nshared memory allocation will help performance (also by comparing it ...
[ { "msg_contents": "I see many of you folks singing the praises of the Areca and 3ware SATA \ncontrollers, but I've been trying to price some systems and am having trouble \nfinding a vendor who ships these controllers with their systems. Are you \nrolling your own white boxes or am I just looking in the wrong ...
[ { "msg_contents": "Berner,\n\nFirst, I've corrected you e-mail so that it goes to the list, and not to \nme directly.\n\n> I use my PostgreSQL 8.0.4 as Catalogue-Database for Bacula.\n> Bacula is a Backupsoftware.\n\nYes. The lead contributor to Bacula is a active PostgreSQL project \nparticipant; I'll see if ...
[ { "msg_contents": "Hi ,\n I wanted to know , how the start up cost is computed in postgresql\n. can u give me an example to illustrate the estimation of start up cost .\n thanku raa .\n\nHi , \n         I wanted to know , how\nthe start up cos...
[ { "msg_contents": "Hi All,\n\n\tI have some problems with my sql query :\n\nselect distinct\nINTEGER_VALUE,DATE_VALUE,EI_ID,VALUE_TYPE,FLOAT_VALUE,ID,TEXT_VALUE,CATEGORY_ID,STRING_VALUE,CATEGORYATTR_ID,NAME from ((( select d_attribute as reqin2 where reqin2.CATEGORYATTR_ID = 1041947543 AND reqin2.TEXT_VALUE il...
[ { "msg_contents": "I have a commonly run query that has been executing fine for the last \nyear or so. It usually completes in under 1 second. However, in the \npast week or so the performance of the query has become erratic, \ntaking anywhere from 100 ms to 100,000 ms to complete the same query \n(executed...
[ { "msg_contents": "Hi,\n\nWe have an application that is mission critical, normally very fast, but\nwhen an I/O or CPU bound transaction appears, the mission critical\napplication suffers. Is there a way go give some kind of priority to this\nkind of application?\nReimer\n\n\n\n\n\n\n\nHi,\n \nWe have an \nappl...
[ { "msg_contents": "Hi,\n\nPostgreSQL 8.1 (and, back then, 7.4) have the tendency to underestimate\nthe costs of sort operations, compared to index scans.\n\nThe Backend allocates gigs of memory (we've set sort_mem to 1 gig), and\nthen starts spilling out more Gigs of temporary data to the disk. So the\nexecutio...
[ { "msg_contents": "I've been trying to optimize a Linux system where benchmarking suggests \nlarge performance differences between the various wal_sync_method options \n(with o_sync being the big winner). I started that by using \nsrc/tools/fsync/test_fsync to get an idea what I was dealing with (and to \nspot...
[ { "msg_contents": "Hi all,\n\n \n\nI have a postgres installation thats running under 70-80% CPU usage\nwhile\n\nan MSSQL7 installation did 'roughly' the same thing with 1-2% CPU load.\n\n \n\nHere's the scenario,\n\n300 queries/second\n\nServer: Postgres 8.1.4 on win2k server\n\nCPU: Dual Xeon 3.6 Ghz, \n\nMem...
[ { "msg_contents": "Hi,\n\nThanks for your suggestions. Here's an output of the explain analyse.\nI'll change the shared_buffers and look at the behaviour again.\n\n\"Limit (cost=59.53..59.53 rows=1 width=28) (actual time=15.681..15.681\nrows=1 loops=1)\"\n\" -> Sort (cost=59.53..59.53 rows=1 width=28) (actu...
[ { "msg_contents": "Hi everyone,\n\ndoes anyone have the TPC-H benchmark for PostgreSQL? Can you tell me where can i find the database and queries?\n\nThks,\nFelipe\n\n\n\n\n\n\nHi everyone,\n \ndoes anyone have the TPC-H benchmark for \nPostgreSQL? Can you tell me where can i find the database and \nqueries?\n ...
[ { "msg_contents": "Hi all,\n\n I have a table with statistics with more than 15 million rows. I'd\nlike to delete the oldest statistics and this can be about 7 million\nrows. Which method would you recommend me to do this? I'd be also\ninterested in calculate some kind of statistics about these deleted\nrows,...
[ { "msg_contents": "I don't believe DROP is necessary; use TRUNCATE instead. No need to re-create dependent objects.\n\n\"Peter Childs\" <peterachilds@gmail.com> wrote ..\n> On 24/11/06, Arnau <arnaulist@andromeiberica.com> wrote:\n> > Hi all,\n> >\n> > I have a table with statistics with more than 15 million...
[ { "msg_contents": "Hi,\n\nAre there guidelines (or any empirical data) available how to determine\nhow often a table should be vacuumed for optimum performance or is this\nan experience / trial-and-error thing?\n\nTIA \n\n-- \nGroeten,\n\nJoost Kraaijeveld\nAskesis B.V.\nMolukkenstraat 14\n6524NB Nijmegen\ntel:...
[ { "msg_contents": "\nThe following bug has been logged online:\n\nBug reference: 2784\nLogged by: Michael Simms\nEmail address: michael@tuxgames.com\nPostgreSQL version: 8.1.4\nOperating system: Linux kernel 2.6.12\nDescription: Performance serious degrades over a period of a month\n...
[ { "msg_contents": "Hi.\n\nAfter I had my hands on an Intel MacBook Pro (2 GHz Core Duo, 1GB \nRAM), I made some comparisons between the machines I have here at the \ncompany.\n\nFor the ease of it and the simple way of reproducing the tests, I \ntook pgbench for the test.\n\nKonfigurations:\n\n1. PowerMac G5...
[ { "msg_contents": "Gentlemen,\n\n\nI use a modeling language which compiles down to a fairly verbose SQL DDL. If I\nuse semantically transparent identifiers in the modeling language, the compiler\neasily generates identifiers much longer than the default value of NAMEDATALEN.\nI am considering the possibility o...
[ { "msg_contents": "Hi List;\n\nI have a client looking to host/co-locate multiple PostgreSQL clusters \n(inclusive of PL/pgSQL application code) per server. I did some co-location \nwork several years back with one of the bigger telco's and remember there \nwere dire consequences for not carefully evaluating th...
[ { "msg_contents": "posting this here instead of the GENERAL list...richard is right, this is more of a performance question than a general question.\n\nthanks,\n \n____________________________________\nMark Jensen\n\n----- Forwarded Message ----\nFrom: Mark Jensen <musicnyman1974@yahoo.com>\nTo: Richard Huxton ...