threads listlengths 1 275 |
|---|
[
{
"msg_contents": "Hi Michael,\n\nThanls for your response.\n\nMichael Fuhr wrote:\n> On Mon, Mar 06, 2006 at 04:29:49PM +0100, Joost Kraaijeveld wrote:\n>> Below are some results of running pgbench, run on a machine that\n>> is doing nothing else than running PostgreSQL woth pgbench. The\n>> strange thing is t... |
[
{
"msg_contents": "There seems to be many posts on this issue but I not yet found an answer to the seq scan issue.\n\nI am having an issue with a joins. I am using 8.0.3 on FC4 \n\nQuery: select * from ommemberrelation where srcobj='somevalue' and dstobj in (select objectid from omfilesysentry where name='dir15... |
[
{
"msg_contents": "Hi everyone,\n\nI'm experimenting with PostgreSQL, but since I'm no expert DBA, I'm \nexperiencing some performance issues.\n\nPlease take a look at the following query:\n\nSELECT\n /*groups.\"name\" AS t2_r1,\n groups.\"id\" AS t2_r3,\n groups.\"user_id\" AS t2_r0,\n groups.\"pretty_url\... |
[
{
"msg_contents": "[Please copy the mailing list on replies.]\n\nOn Mon, Mar 06, 2006 at 09:38:20PM +0100, Joost Kraaijeveld wrote:\n> Michael Fuhr wrote:\n> > Have you tweaked postgresql.conf at all? If so, what non-default\n> > settings are you using? \n> \n> Yes, I have tweaked the following settings:\n> \n... |
[
{
"msg_contents": "Hi Michael,\n\nMichael Fuhr wrote:\n>>> Have you tweaked postgresql.conf at all? If so, what non-default\n>>> settings are you using?\n>> \n>> Yes, I have tweaked the following settings:\n>> \n>> shared_buffers = 40000\n>> work_mem = 512000\n>> maintenance_work_mem = 512000\n>> max_fsm_pages... |
[
{
"msg_contents": "Hi Michael,\n\nMichael Fuhr wrote:\n> If you run pgbench several times without intervening checkpoints,\n> do your postmaster logs have any messages like \"checkpoints are\n> occurring too frequently\"? It might be useful to increase\n> checkpoint_warning up to the value of checkpoint_timeou... |
[
{
"msg_contents": "Hello,\nA friend asked for help to accelerate some postgresql queries on postgresql\n8.1.2 for windows.\nHe is comparing with firebird.\nFirebird was being up to 90 times faster at some queries.\nAttached is a gziped text file containing some steps I tried on a simple\nexample query.\nCould g... |
[
{
"msg_contents": "Good afternoon,\n\nRelatively new to PostgreSQL and have been assigned the task of capturing\ncache I/O % hits. I figured out (thanks to other posts) how to turn on the\ncapture and what stats to (kind of) capture. I did find a view in the\narchives as shown below but it does not execute, e... |
[
{
"msg_contents": "\nJim C. Nasby wrote:\n \n> Speaking of 'disks', what's your exact layout? Do you have a 5 drive\n> raid5 for the OS and the database, 1 drive for swap and 1 drive for\n> pg_xlog?\n\nOn a Sil SATA 3114 controller:\n/dev/sda OS + Swap\n/dev/sdb /var with pg_xlog\n\nOn the 3Ware 9500S-8, 5 disk... |
[
{
"msg_contents": "Jim C. Nasby wrote:\n> Well, the problem is that you're using RAID5, which has a huge write\n> overhead. You're unlikely to get good performance with it.\nApparently. But I had no idea that the performance hit would be that big. \n\nRunning bonnie or copying a large file with dd show that the... |
[
{
"msg_contents": "Thanks Tom, sorry I neglected to copy the list on my previous email.....\n\nDoes this query make sense and is it valid for an accurate cache % hit ratio\nfor the entire DB? I would assume I could use the same logic with other\nviews such as pg_stat_user_tables to get a per table ratio?\n\nSE... |
[
{
"msg_contents": "Hi,\n\nIm having a dude with a new inplementation in a web site.\nThe ojective is create a search as fast as possible. I have thought two \npossibilities to do that:\n\nI have several items. Those items has 1 or more of capacity. Each \ncapacity, has several dates (From 1 january to 10 of apr... |
[
{
"msg_contents": "I actually need this info as I was tasked by management to provide it. Not\nsure if they understand that or not, I do but management does like to see\nhow well the system and its components are performing. Also, I would\nutilize these results to test any cache tuning changes I may make. \n... |
[
{
"msg_contents": "Adding -performance back; you should do a reply-all if you want to reply to list messages.\n\n> From: Jeremy Haile [mailto:jhaile@fastmail.fm]\n> > Can you point us at more info about this? I can't even find \n> a website\n> > for Ingres...\n> \n> Ingres is based off of the same original code... |
[
{
"msg_contents": "Sorry if this is the wrong list .......\n\nI'm in the process of developing an application based on gtk & postgress for \nboth windows & linux.\n\nShort, simple and to the point - I'm using embedded SQL .... is there anything \nI should know about using postgress in multiple threads, under li... |
[
{
"msg_contents": "Hi all !\n\n I wanna test my system performance when using pgCluster.\n I'm using postgreSQL 8.1.0 and i've downloaded\npgcluster-1.5.0rc7 \n and pgcluster-1.5.0rc7-patch.\n\n Do i need to recompile postgreSQL with the patch?\n Can i use pgcluster-1.5 with t... |
[
{
"msg_contents": "Sorry I realized your fears :)\n\nPostgreSQL is a new (last four months) install here and I'm responsible for\nit. Great DB and I enjoy working with it a lot and learning the nuances of\nit. Keep in mind that the management are 'old-time' system folks who love\ncharts showing system and in ... |
[
{
"msg_contents": "> Is it possible to get a stack trace from the stuck process? \n> I dunno if you've got anything gdb-equivalent under Windows, \n> but that's the first thing I'd be interested in ...\n\nTry Process Explorer from www.sysinternals.com.\n\n//Magnus\n",
"msg_date": "Thu, 9 Mar 2006 22:22:04 ... |
[
{
"msg_contents": "I typed up a description of a situation where the only viable option to \nimprove performance was to use a materialized view, which, when implemented, \nwas found to improve performance twenty-sevenfold, even with a fairly small \namount of excess data (which is antipated to grow). I thought... |
[
{
"msg_contents": "Hello,\n\nI could need some help.\n\n I have a Postgresql database \n\nWhen i do a query on my homeserver the result is given back fast but when i do the same query on my webhost server the query is useless because of the processtime (200 times slower (56366.20 / 281.000 = 200.59) ). My Pc i... |
[
{
"msg_contents": "> > Is it possible to get a stack trace from the stuck process? \n> I dunno \n> > if you've got anything gdb-equivalent under Windows, but that's the \n> > first thing I'd be interested in ...\n> \n> Here ya go:\n> \n> http://www.devisser-siderius.com/stack1.jpg\n> http://www.devisser-sideri... |
[
{
"msg_contents": "Hello list.\n\nWe have compared 2 IBM x servers:\n\n IBM X206\nIBM X226\n ---------------------- \n -------------------\nprocessor Pentium 4 3.2 Ghz\nXeon 3.0 Ghz\nmain memory ... |
[
{
"msg_contents": "Hello list.\n\nReading my own e-mail I notice I made a very important mistake.\n\nThe X206 has 1 x ATA 7200 RPM\nThe X226 has 2 x SCSI RAID1 10000RPM\n\nI corrected it below.\n\nSorry .\n\n\nHenk Sanders\n\n\n -----Oorspronkelijk bericht-----\nVan: pgsql-performance-owner@postgresql.org\n... |
[
{
"msg_contents": "There is not possibility to use another database. It's the best option I \nhave seen. We have been working in postgres in last 3 years, and this is \nthe first problem I have seen. (The database is working in a large \nwebsite, 6.000 visits per day in a dedicated server)\n\nAny other idea?\n\... |
[
{
"msg_contents": "Hi,\n\n> -----Original Message-----\n> From: pgsql-performance-owner@postgresql.org \n> [mailto:pgsql-performance-owner@postgresql.org] On Behalf Of Tom Lane\n> Sent: Thursday, March 09, 2006 9:11 PM\n> To: Jan de Visser\n> Cc: pgsql-performance@postgresql.org\n> Subject: Re: [PERFORM] Hangin... |
[
{
"msg_contents": "> > > > I dunno\n> > > >\n> > > > > if you've got anything gdb-equivalent under Windows, \n> but that's \n> > > > > the first thing I'd be interested in ...\n> > > >\n> > > > Here ya go:\n> > > >\n> > > > http://www.devisser-siderius.com/stack1.jpg\n> > > > http://www.devisser-siderius.com/s... |
[
{
"msg_contents": " \nWe have large tables that hold statistics based on time. They are of the\nform.\n\nCREATE TABLE stats (\n id serial primary key,\n logtime timestamptz,\n d1 int,\n s1 bigint\n);\n\nCREATE INDEX idx on stats(logtime);\n\nSome of these tables have new data inserted at a rate of 5... |
[
{
"msg_contents": "> > > Could it be they broke it when they did that????\n> >\n> > In theory, yes, but it still seems a bit far fetched :-(\n> \n> Well, I rolled back SP1 and am running my test again. Looking \n> much better, hasn't locked up in 45mins now, whereas before \n> it would lock up within 5mins.\n> ... |
[
{
"msg_contents": "Well this analyze just took 12 minutes... Stats target of 100.\n\n# time psql xxx xxx -c \"analyze elem_trafficstats_1\"\nANALYZE\n\nreal 12m1.070s\nuser 0m0.001s\nsys 0m0.015s \n\n\nA large table, but by far, not the largest... Have about 1 dozen or so\ntables like this, so analy... |
[
{
"msg_contents": "Hi.\n\nI am new to postgres and i need help from u.i hope i get positive response.. though my questions mite seem silly to u...\n\niam working on postgres.. i have around 1 lakh records in almost 12 tables..\n1 ) when i try to query for count or for any thg it takes a long time to return the ... |
[
{
"msg_contents": "If I only insert data into a table, never update or delete, then I should never have to vacuum it. Is that correct?\n\nThanks,\nCraig\n",
"msg_date": "Mon, 13 Mar 2006 07:02:33 -0800",
"msg_from": "\"Craig A. James\" <cjames@modgraph-usa.com>",
"msg_from_op": true,
"msg_subje... |
[
{
"msg_contents": "Hello,\nAttached is the text file containing the last rounds of configurations.\nThis time, used \"show all\" just before issuing each relevant \"explain analyze\"\nto ensure available information.\nNote that the last runs are being executed concurrently with other problematic\nquery that is ... |
[
{
"msg_contents": "Good evening,\n\nDoes anyone know how much of a performance hit turning stats_block_level and\nstats_row_level on will incur? Do both need to be on to gather cache\nrelated statistics? I know the annotated_conf_80 document states to only\nturn them on for debug but if they're not that perfo... |
[
{
"msg_contents": "Hi all,\n\nI'm trying to work out why my 8.1 system is slower than my 7.4 system \nfor importing data.\n\nThe import is a lot of \"insert into\" commands - it's a converted \ndatabase from another system so I can't change it to copy commands.\n\n\nMy uncommented config options:\n\n\nautovacuu... |
[
{
"msg_contents": "Hello,\nAttached is a file containing the problematic queries cited yesterday, with\n\"explain\", \"\\di\" and \"show all\" outputs.\nThe first one finished in almost 4 hours. Firebird for windows finished in 1m30s.\nThe second one CRASHED after some hours, without finishing. The error messag... |
[
{
"msg_contents": "Thank you for the insight Michael. I'll be performing some tests with the\nvarious setting on/off this week and will post the results.\n\nTim\n\n -----Original Message-----\nFrom: \tMichael Fuhr [mailto:mike@fuhr.org] \nSent:\tMonday, March 13, 2006 7:19 PM\nTo:\tmcelroy, tim\nCc:\t'pgsql-pe... |
[
{
"msg_contents": "Thanks you Steve. As mentioned in my other reply to Michael Fuhr I'll post\nthe results from tests to be performed this week.\n\nTim\n\n -----Original Message-----\nFrom: \tSteve Poe [mailto:spoe@sfnet.cc] \nSent:\tMonday, March 13, 2006 7:38 PM\nTo:\tmcelroy, tim\nCc:\t'pgsql-performance@po... |
[
{
"msg_contents": "Hi, \n\n Do we have to vacuum template0 database regularly ? We got this warning this morning while vacuuming databases. As a part of my daily vacuum job I do vacuum of quartz, helix_fdc and affiliate databases which are the \none's which are heavily updated and used. But today I realized t... |
[
{
"msg_contents": "If one adds the '-a' arg to vacuumdb wouldn't that vacuum all databases\nincluding template1? \n\nTim\n\n -----Original Message-----\nFrom: \tpgsql-performance-owner@postgresql.org\n[mailto:pgsql-performance-owner@postgresql.org] On Behalf Of Tom Lane\nSent:\tTuesday, March 14, 2006 12:28 PM... |
[
{
"msg_contents": "Hello,\nMany thanks for your suggestions.\nI am trying to optimize server configs, as (presumed) my friend already\noptimized his queries and firebird windows is executing them fast.\nYou could see at the new attached file the results of the queries rewrite.\nUnfortunately, the first query si... |
[
{
"msg_contents": "Humm, well I am running 8.0.1 and use that option and see the following in\nmy vacuum output log:\n\nvacuumdb: vacuuming database \"template1\"\n\nSo I would assume that it is being vacuumed? Maybe I'm wrong. If so, we\nshould be upgrading soon and it won't be an issue.\n\nThanks,\nTim\n\n ... |
[
{
"msg_contents": "Hello list.\n\nI recently tried to do a slony replica of my database, and doing it falied.\nI retried, and then it succeeded (why it failed is another story).\n\nThis caused that in the replica there is a lot of dead tuples ( If i\nunderstand correctly, a failure in creating the replica means... |
[
{
"msg_contents": "Attached is a simplified example of a performance problem we have seen,\nwith a workaround and a suggestion for enhancement (hence both the\nperformance and hackers lists).\n\nOur software is allowing users to specify the start and end dates for a\nquery. When they enter the same date for bo... |
[
{
"msg_contents": "Hello,\n\nAfter fixing the hanging problems I reported here earlier (by uninstalling \nW2K3 SP1), I'm running into another weird one.\n\nAfter doing a +/- 8hr cycle of updates and inserts (what we call a 'batch'), \nthe first 'reporting' type query on tables involved in that write cycle is \n... |
[
{
"msg_contents": "We were seeing clusters of query timeouts with our web site, which were\ncorrected by adjusting the configuration of the background writer. I'm\nposting just to provide information which others might find useful -- I\ndon't have any problem I'm trying to solve in this regard.\n\nThe web site... |
[
{
"msg_contents": "Hello,\n\nWe are experiencing performances problem with a quad Xeon MP and\nPostgreSQL 7.4 for a year now. Our context switch rate is not so high\nbut the load of the server is blocked to 4 even on very high load and\nwe have 60% cpu idle even in this case. Our database fits in RAM and\nwe do... |
[
{
"msg_contents": "PostgreSQL tuned to the max and still too slow? Database too big to \nfit into memory? Here's the solution! http://www.superssd.com/ \nproducts/tera-ramsan/\n\nAnyone purchasing one will be expected to post benchmarks! :)\n--\nJim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.co... |
[
{
"msg_contents": "Hi\n\nI have a performance problem when traversing a table in index order with\nmultiple columns including a date column in date reverse order. Below\nfollows a simplified description of the table, the index and the\nassociated query\n\n\\d prcdedit\n prcdedit_prcd | character(20) ... |
[
{
"msg_contents": "The US Dept of Homeland Security has at least two =10=TB SSDs.\n<begin speculation>\nRumor is they are being used for Carnivore or an offshoot/descendent of Carnivore.\n<end speculation>\n\nGood luck getting them to give you benchmark data.\n\nYou need >deep< pockets to afford >= 1TB of SSD.\... |
[
{
"msg_contents": "explain analyze\nselect distinct eventmain.incidentid, eventmain.entrydate, \neventgeo.long, eventgeo.lat, eventgeo.geox, eventgeo.geoy\nfrom eventmain, eventgeo\nwhere\n eventmain.incidentid = eventgeo.incidentid and\n ( long > -104.998027962962 and long < -104.985957781349 ) and\n ... |
[
{
"msg_contents": "> I have a performance problem when traversing a table in index order with\n> multiple columns including a date column in date reverse order. Below\n> follows a simplified description of the table, the index and the\n> associated query\n> \n> \\d prcdedit\n> prcdedit_prcd | character(2... |
[
{
"msg_contents": "Hi,\n\nI have a problem with the postgres planner, which gives a cost to\nindex scan which is much higher than actual cost (worst case\nconsidered, e.g. without any previous disk cache), and am posting\nhere for advices for tweaking cost constants. Because of this\nproblem, the planner typica... |
[
{
"msg_contents": "About a year ago we decided to migrate our central database that powers various\nintranet tools from MySQL to PostgreSQL. We have about 130 tables and about\n10GB of data that stores various status information for a variety of services\nfor our intranet. We generally have somewhere between 1... |
[
{
"msg_contents": "Hi,\nI have enabled the autovacuum daemon, but occasionally still get a\nmessage telling me I need to run vacuum when I access a table in\npgadmin. Is this normal? Should I use scripts instead of the daemon?\nWould posting config options make this a much more sensible question?\nCheers\nAntoi... |
[
{
"msg_contents": "Hello,\n\nDoes anybody know how to build a database model to include sizes for rings, tshirts, etc?\n\n\nthe current database is built like:\n\ntable product\n=========\n\nproductid int8 PK\nproductname charvar(255)\nquantity int4\n\n\nwhat i want now is that WHEN (not all products have multi... |
[
{
"msg_contents": "Hi,\nIs there any work on the cards for implementing other partitioning\nstrategies? I see mysql 5.1 will have support for hashes and stuff but\ndidn't see anything in the todos for postgres.\nCheers\nAntoine\n--\nThis is where I should put some witty comment.\n",
"msg_date": "Sun, 19 Mar... |
[
{
"msg_contents": "\n-----Original Message-----\nFrom: \"Luke Lonergan\"<llonergan@greenplum.com>\nSent: 19/03/06 16:26:58\nTo: \"Kenji Morishige\"<kenjim@juniper.net>, \"Claus Guttesen\"<kometen@gmail.com>\nCc: \"pgsql-performance@postgresql.org\"<pgsql-performance@postgresql.org>\nSubject: Re: [PERFORM] Best ... |
[
{
"msg_contents": "I have a case where it seems the planner should be able to infer more \nfrom its partial indexes than it is doing. Observe:\n\npx=# select version();\n version\n------------------------------------------------------------------------\n PostgreSQL 8.1.3 on i686... |
[
{
"msg_contents": "Hi,\n\nI have a strange problem with my Postgres application. The problem is\nthat the data entered in the application never reaches the database,\nalthough the record id (serial) is generated, and the record can be\nretrieved again, and be modified. Multiple records can be added and\nmodifi... |
[
{
"msg_contents": "Ok, here's the deal:\n\nI am responisble for an exciting project of evaluating migration of a medium/large application for a well-known swedish car&truck manufacturer from a proprietary DB to Postgres. The size of the database is currently about 50Gb, annual growth depending on sales, but pro... |
[
{
"msg_contents": "Hello!\n\nCan I Increment the perfomance of execution query?\n\nWhere is the instrument to analyze the query runnnig for create a Index \nquery for a single optimize that?\n\nthank's\n\nMarco \"Furetto\" Berri\n",
"msg_date": "Mon, 20 Mar 2006 15:59:25 +0100",
"msg_from": "Marco Furet... |
[
{
"msg_contents": "\nI have to say I've been really impressed with the quality and diversity \nof tools here to increase performance for PostgreSQL. But I keep seeing \na lot of the same basic things repeated again and again. Has anyone \nlooked into a \"smart\" or auto-adjusting resource manager for postgres... |
[
{
"msg_contents": "Hi All,\n \n I want to compare performance of postgresql database with some other database.\n \n Somebody must have done some performance testing. \n \n Can you pls. share that data (performance figures) with me? And if possible pls. share procedure also, that how you have done the s... |
[
{
"msg_contents": "Currently, it appears that SELECT * INTO new_table FROM old_table logs\neach page as it's written to WAL. Is this actually needed? Couldn't the\ndatabase simply log that the SELECT ... INTO statement was executed\ninstead? Doing so would likely result in a large performance improvement\nin mo... |
[
{
"msg_contents": "Hi all,\n I'm having a very strange performance \nproblems on a fresh install of postgres 8.1.3\nI've just installed it with default option and \n--enable-thread-safety without tweaking config files yet.\n\nThe import of a small SQL files into the DB (6 \ntables with 166.500 total rec... |
[
{
"msg_contents": "Hi guys,\n\nI'm trying to figure out when Sequence Scan is better than Index Scan. I \njust want to know this because I disabled the sequence scan in \npostgresql and receive a better result. :)\n\nTwo tables.\n\nTable 1 (1 million rows )\n-----------\nid\ntext\ntable2_id\n\nTable 2 (300 thou... |
[
{
"msg_contents": "Assuming you are joining on \"Table 1\".id = \"Table 2\".id - do you have indexes on both columns? Have you analyzed your tables + indexes (are there statistics available?) If not those criterias are met, it is unlikely that postgres will choose an index scan.\n\n-----Original Message-----\nF... |
[
{
"msg_contents": "It's time to build a new white box postgresql test box/workstation. My Athlon \nXP system is getting a little long in the tooth. Have any of you performance \nfolks evaluated the Socket 939 boards on the market these days? I'd like to \nfind something that doesn't have terrible SATA disk p... |
[
{
"msg_contents": ">>On Mon, 2006-03-20 at 15:59 +0100, Mikael Carneholm wrote:\n\n>> This gives that 10Gb takes ~380s => ~27Mb/s (with fsync=off), compared to the raw dd result (~75.5Mb/s).\n>> \n>> I assume this difference is due to: \n>> - simultaneous WAL write activity (assumed: for each byte written to th... |
[
{
"msg_contents": "Thanks, will try that. I'll report on the progress later, I have some unit tests to set up first but as soon as that is done I'll go back to optimizing insert performance.\n\nRegards,\nMikael.\n\n-----Original Message-----\nFrom: Jim C. Nasby [mailto:jnasby@pervasive.com]\nSent: den 22 mars 2... |
[
{
"msg_contents": "All,\n\nHas anyone tested PostgreSQL 8.1.x compiled with Intel's Linux C/C++\ncompiler?\n\nGreg\n\n--\n Greg Spiegelberg\n gspiegelberg@cranel.com\n ISOdx Product Development Manager\n Cranel, Inc.\n \n",
"msg_date": "Wed, 22 Mar 2006 08:56:04 -0500",
"msg_from": "\"Spiegelberg, Greg\... |
[
{
"msg_contents": "I have a database with foreign keys enabled on the schema. I receive different \nfiles, some of them are huge. And I need to load these files in the database \nevery night. There are several scenerios that I want to design an optimal \nsolution for -\n\n1. One of the file has around 80K recor... |
[
{
"msg_contents": "I'd like to know if the latest PostgreSQL release can scale up by\nutilizing multiple cpu or dual core cpu to boost up the sql\nexecutions.\n\nI already do a research on the PostgreSQL mailing archives and only\nfound old threads dating back 2000. A lot of things have improved with\nPostgreSQ... |
[
{
"msg_contents": "Hello, I have a big problem with one of my databases. When i run my \nquery, after a few minutes, the postmaster shows 99% mem i top, and \nthe server becomes totally unresponsive.\n\nI get this message when I try to cancel the query:\n\nserver closed the connection unexpectedly\n T... |
[
{
"msg_contents": "Seems the problem was with the custom aggregate function not being \nable to handle thousands of rows.\n",
"msg_date": "Thu, 23 Mar 2006 14:51:27 +0100",
"msg_from": "Bendik Rognlien Johansen <bendik.johansen@gmail.com>",
"msg_from_op": true,
"msg_subject": "Problem with quer... |
[
{
"msg_contents": "Hi there.\n\nI have hit a edge in the planning and I hope you can help.\n\nThe system uses a lot of stored procedures to move as much of the \nintelligence into the database layer as possible.\n\nMy (development) query looks like and runs reasonably fast:\n\nexplain analyze select dataset_id,... |
[
{
"msg_contents": "Hello!\n\n\tFirst tried some searching around, but did not find anything useful so I gave up and decided to ask here... I am \nwondering how do pair of 1.5GHz Itanium2(4MB cache) stack up against pair of AMD or Intel server CPUs as far as \npostgresql performance is concerned? Is it worthy or... |
[
{
"msg_contents": "Hi,\n\nI guess this is an age-old 100times answered question, but I didn't find \nthe answer to it yet (neither in the FAQ nor in the mailing list archives).\n\nQuestion: I have a table with 2.5M rows. count(*) on this table is \nrunning 4 minutes long. (dual opteron, 4gig ram, db on 4 disk r... |
[
{
"msg_contents": "Hello everybody ,\nI use PostgreSQL 8.1.3 on a bi-processor Xeon and I would know how to do to enable a parallelism for \nthe execution of queries. Indeed , when I analyse the use of the cpus during a query the result is that for \nsome minutes a cpu is used while the other not and after it ... |
[
{
"msg_contents": "[PostgreSQL 8.1.0 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 4.0.1]\nI have a simple join on two tables that takes way too long. Can you help\nme understand what's wrong? There are indexes defined on the relevant columns.\nI just did a fresh vacuum --full --analyze on the two tables.\n... |
[
{
"msg_contents": "Hello to all on the list.\n\nI have developed a product that sits between the database and an\napplication that handles the storage of large binary data.\n\nThe system is fast, but I'm feeling bad as to think that I have\ncompletely reinvented the weel on this case.\n\nYou see, the engine doe... |
[
{
"msg_contents": "This is where a \"last_vacuumed\" (and \"last_analyzed\") column in\npg_statistic(?) would come in handy. Each time vacuum or analyze has\nfinished, update the row for the specific table that was\nvacuumed/analyzed with a timestamp in the last_vacuumed/last_analyzed\ncolumn. No more guessing ... |
[
{
"msg_contents": "I think it is definitely necessary from an administration point of view - as an administrator, I want to know:\n\n1) Are there any stats (at all) in a schema\n2) Are there any stats on the table that slow_query_foo is targeting\n3) If I have stats, how recent are they\n4) Could it be that the... |
[
{
"msg_contents": "Hello,\n\nI have just installed PostGreSql 8.1 on my Windows XP PC. I created a simple \ntable called users with 4 varchar fields.\n\nI am using the OleDb connection driver. In my .NET application, I populate \n3000 records into the table to test PostGreSql's speed. It takes about 3-4 \nsecon... |
[
{
"msg_contents": "Hi,\n\nI'm a Postgresql's user and I think that it's very very good and\nrobust. \n\nIn my work we're confuse between where database is the best choose:\nPostgresql or Mysql. The Mysql have the reputation that is very fast\nworking in the web but in our application we are estimating many acce... |
[
{
"msg_contents": "Hi,\nDoes anyone know of any fairly entry-level documentation for the\nbenefits-drawbacks of MVCC in the db? As it relates to performance?\nPostgres vs the others?\nCheers\nAntoine\n\n--\nThis is where I should put some witty comment.\n",
"msg_date": "Tue, 28 Mar 2006 22:27:39 +0200",
... |
[
{
"msg_contents": "Hi,\n\nI've got this message while heavily inserting into a database. What \nshould I tune and how? It is postgresql 8.1.3.\n\n2006-03-29 14:16:57.513 CEST:LOG: statistics buffer is full\n\nThanks in advance,\nAkos\n\n-- \n�dv�zlettel,\nG�briel �kos\n-=E-Mail :akos.gabriel@i-logic.hu... |
[
{
"msg_contents": "Greetings,\n\n\tWe have an issue where we have a database with many tables.\n\tThe layout of the database is 3 set of look alike tables with different names.\n\tEach set of tables has some referential integrety that point back to the main\n\tcontrol table.\n\n\tOn two set of tables we are abl... |
[
{
"msg_contents": "> -----Original Message-----\n> From: Richard Huxton [mailto:dev@archonet.com] \n> Sent: 29 mars 2006 17:10\n> To: Eric Lauzon\n> Cc: pgsql-performance@postgresql.org\n> Subject: Re: [PERFORM] Database possible corruption , \n> unsolvable mystery\n> \n> Eric Lauzon wrote:\n> > This is why our... |
[
{
"msg_contents": "> Hrm, you know that you -should- upgrade to at least the latest 7.4\n> (7.4.13 I think is the most recent). looking from the \n> changelogs, there are a few bugs that you could be hitting;\n> \n> 7.4.10\n> * Fix race condition in transaction log management There \n> was a narrow window i... |
[
{
"msg_contents": "Hi,\n\nI have a query that is using a sequential scan instead of an index \nscan. I've turned off sequential scans and it is in fact faster with \nthe index scan.\n\nHere's my before and after.\n\nBefore:\n\nssdev=# SET enable_seqscan TO DEFAULT;\nssdev=# explain analyze select cp.product_i... |
[
{
"msg_contents": "Hullo, I have pg 8.1.3 on an 8-CPU AIX 5.3 box with 16GB of RAM, and I'm \nfinding that it's taking an age to CREATE INDEX on a large table:\n\n Column | Type | Modifiers\n----------------+------------------------+-------------------------... |
[
{
"msg_contents": "I have noticed that a lot of people have a hard time finding out how to tune postgresql to suit their hardware.\n\nAre there any tools for automatic tuning of the parameters in postgresql.conf? A simple program running some benchmarks on cpu & disk speed, checking the amount of ram and so on ... |
[
{
"msg_contents": "[Apologies if this already went through. I don't see it in the archives.]\n\nNormally one expects that an index scan would have a startup time of nearly \nzero. Can anyone explain this:\n\nEXPLAIN ANALYZE select activity_id from activity where state in (10000, 10001) \norder by activity_id ... |
[
{
"msg_contents": "Hi folks!\n\nI have just a issue again with unused indexes. I have a database with a\ncouple of tables and I have to do an sync job with them. For marking\nwhich row has to be transfered I added a new column token (integer, I\nwill need some more tokens in near future) to every table.\n\nBefo... |
[
{
"msg_contents": "Hello,\n\nI would like to know how my application works before\nand after data from VACUUM ANALYSE is available.\n\nIs there a way to de-'vacuum analyse' a database for\ntesting purposes?\n\nThank you,\nFred\n",
"msg_date": "Fri, 31 Mar 2006 18:02:16 +0200",
"msg_from": "Frederic Back... |
[
{
"msg_contents": "> This is a blatant thread steal... but here we go...\n> Do people have any opinions on the pgsql driver?\n\nIt's very nice.\n\n> How does it compare with the odbc in terms of performance?\n\nI haven't measured specifically, but if you're tlaking .net it should be\nbetter. It's all in managed... |
[
{
"msg_contents": "Hi all.\n\nThere are two tables:\n\ncreate table device_types (\nid int,\nname varchar\n);\nabout 1000 rows\n\ncreate table devices (\nid int,\ntype int REFERENCES device_types(id),\nname varchar,\ndata float\n);\nabout 200000 rows\n\nAnd about 1000 functions:\ncreate function device_type1(in... |
[
{
"msg_contents": "\n\"Bruno Baguette\" <pgsql-ml@baguette.net> wrote\n>\n>\n> Is there a way to log all SQL queries, with the date/time when they were \n> launched, and the cost of that query (if this is possible) in order to see \n> which queries need to be optimized ?\n>\n\nSee if log_statement, log_statemen... |
[
{
"msg_contents": "I have asked this before, but haven't noticed any response, so if there\nwere any, I appologize for asking this again...\n\nI have a function that is called by middle-tier (java trough JDBC), and\nin postgres log I can see only the execution time of that function. I\nhave no idea how long are... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.