threads listlengths 1 275 |
|---|
[
{
"msg_contents": "This question is related to the thread:\nhttp://archives.postgresql.org/pgsql-performance/2006-08/msg00152.php\nbut I had some questions.\n\nI am looking at setting up two general-purpose database servers,\nreplicated with Slony. Each server I'm looking at has the following\nspecs:\n\nDell Po... |
[
{
"msg_contents": "Hello All,\n\nThis query runs forever and ever. Nature of this table being lots of\ninserts/deletes/query, I vacuum it every half hour to keep the holes\nreusable and nightly once vacuum analyze to update the optimizer. We've\ngot index on eventtime only. Running it for current day uses index... |
[
{
"msg_contents": "Suppose, hypothetically of course, someone lacked foresight, and put a tablespace somewhere with a dumb name, like \"/disk2\", instead of using a symbolic link with a more descriptive name. And then /disk2 needs to be renamed, say to \"/postgres_data\", and this (hypothetical) DBA realizes ... |
[
{
"msg_contents": "Actually these servers will be upgraded to 8.1.4 in couple of months.\n\nHere you go with explain analyze.\n\n# explain analyze SELECT *\nFROM EVENTLOG \nWHERE EVENTTIME>'07/23/06 16:00:00' AND EVENTTIME<'08/22/06 16:00:00' \nAND (OBJDOMAINID='tzRh39d0d91luNGT1weIUjLvFIcA' \n OR OBJI... |
[
{
"msg_contents": "I get the same plan after running vacuum analyze. Nope, I don't have\nindex on objdomainid, objid and userdomainid. Only eventime has it.\n\n-----Original Message-----\nFrom: Chris [mailto:dmagick@gmail.com] \nSent: Tuesday, August 22, 2006 8:06 PM\nTo: Subbiah, Stalin\nCc: pgsql-performance@... |
[
{
"msg_contents": "I am planning to test various filesystems on some new hardware I'm\ngetting. Is pgbench a good way to try out the filesystem?\n\nI'm currently planning to test some or all of:\nLinux: ext2, ext3, XFS, JFS, reiser3, reiser4\nFreeBSD: UFS, UFS+SU\n\nSo, I'm looking for a good way to test just t... |
[
{
"msg_contents": "Changing limit or offset to a small number doesn't have any change in\nplans. Likewise enable_seqscan to false. They still take 8-10 mins to\nruns. \n\n-----Original Message-----\nFrom: Dave Dutcher [mailto:dave@tridecap.com] \nSent: Wednesday, August 23, 2006 4:20 PM\nTo: Subbiah, Stalin\nCc... |
[
{
"msg_contents": "I am evaluating PostgreSQL as a candiate to cooperate with a java\napplication.\n\nPerformance test set up:\nOnly one table in the database schema.\nThe tables contains a bytea column plus some other columns.\nThe PostgreSQL server runs on Linux.\n\nTest execution:\nThe java application conne... |
[
{
"msg_contents": "We recently here picked up a adtx san and are having good results with\nit. It's pretty flexible, having dual 4gb fc controllers and also dual\nsas controllers do you can run it as attached sas or fc. Both have\ntheir advantages and unfortuantely I didn't have time to do much\nbenchmarking b... |
[
{
"msg_contents": "Parent table has a column say column1 which is indexed (parent table and\nall child tables are indexed on that column)\n\n \n\nWhen a select max(column1) is done on parent table..takes a very long\ntime to get back with the result\n\nThe same query on a child table gives instantaneous respons... |
[
{
"msg_contents": "Hello,\n\nI want to ask, Is there any way to insert records from XML file to the\npostgres database?\n\nPlease provide me some help regarding above query.\n\nPostgres version which we are using is 7.2.4\n\nThanks,\nSonal\n\nHello,\n \nI want to ask, Is there any way to insert records from XML... |
[
{
"msg_contents": "Hi !\n\nI'm looking for a way to change the \"max_connections\" parameter without \nrestarting the PostGreSQL database.\nAll the docs i found online are saying that this option can only be set \non startup (-N option to comand-line) or by changing it in postgresql.conf.\n\nDoes anyone know ho... |
[
{
"msg_contents": "This did not have any takers in pgsql-general. Maybe\nperformance-oriented folks can shed light? The basic question is if\nthere is a way to preserve stats during pg_restore?\n\n\n-----Original Message-----\nFrom: pgsql-general-owner@postgresql.org\n[mailto:pgsql-general-owner@postgresql.org]... |
[
{
"msg_contents": "Hi all,\n\nI need help making the below query go faster. There are about 5 of \nthese being done\nin one report. Some use joins instead of subselects but they all go \nabout the same speed.\nI'm not much of a SQL person so I just threw indices on everything \ninvolved but it still\ntakes ab... |
[
{
"msg_contents": "I would like to talk to one of the org member in postgre about this issue.\nThis is critical for us. Please help.\n\nIt will be great, if you could provide your contact number to discuss on\nthis. \n\nThank you in advance. \n\nRegards, Ravi\n\n-----Original Message-----\nFrom: Ravindran G - T... |
[
{
"msg_contents": "Hi,\n\nWe noticed a slowdown on our application while traffic was kinda\nheavy. The logics after reading the docs commanded us to trim the\nenlarged tables, run VACUUM ANALYZE and then expect fast\nperformance again; but it wasn't the case[1].\n\nOut of the blue, we dumped the database, remov... |
[
{
"msg_contents": "Thanks Alvaro.\n\nWe are using PostgreSQL 7.1 cygwin installed on Windows 2000.\n\nWe understand that the maximum connections that can be set is 64 in\nPostgresql 7.1 version. \n\nBut our application is installed in 8 / 10 PC or more than that and it opens\nmultiple connections and it exceed... |
[
{
"msg_contents": "I just put together a view, which helps us in indentifying which \ndatabase tables are suffering from space bloat, ie. they take up much \nmore space than they actually should. I though this might be useful for \nsome folk here, because the questions about bloat-related performance \ndegradat... |
[
{
"msg_contents": "Hi everyone,\nWe have a postgresql 8.1 installed on Solaris 10. It is running fine.\nHowever, for the past couple days, we have seen the i/o reports indicating\nthat the i/o is busy most of the time. Before this, we only saw i/o being\nbusy occasionally (very rare). So far, there has been no ... |
[
{
"msg_contents": "Hi Friends,\n\n I have one doubt in LIMIT & OFFSET clause operation.\nI have a table \"test_limit\", and it contain,\n\nSELECT * from test_limit;\n s_no | name\n------+-------------\n 1 | anbarasu\n 8 | egambaram\n 12 | jyothi\n 6 | mahalakshmi\n 4 | maheswari\n 2 ... |
[
{
"msg_contents": "Hi,\n\nWe're running PostgreSQL 8.1.4 on CentOS 4 (Linux version \n2.6.9-34.0.1.ELsmp). Hardware specs:\n\n2x AMD Dual-Core Opteron 270 Italy 1Ghz HT 2 x 1MB L2 Cache Socket 940\n4 GB Registered ECC PC3200 DDR RAM\nSuperMicro Server-Class 1U AS1020S series system\nDual-channel Ultra320 SCSI c... |
[
{
"msg_contents": "All,\n\nGot a little bit of a performance problem I hope that can be resolved.\n\nAll the files/info I believe you are going to ask for are here:\n\nhttp://www.au.sorbs.net/~matthew/postgres/30.8.06/\n\nThe odd thing was it originally was fast (1-2 seconds) which is all I \nneed - the query i... |
[
{
"msg_contents": "> Currently the load looks like this:\n> Cpu0 : 96.8% us, 1.9% sy, 0.0% ni, 0.3% id, 0.0% wa, \n> 0.0% hi, 1.0% si\n> Cpu1 : 97.8% us, 1.6% sy, 0.0% ni, 0.3% id, 0.0% wa, \n> 0.0% hi, 0.3% si\n> Cpu2 : 96.8% us, 2.6% sy, 0.0% ni, 0.3% id, 0.0% wa, \n> 0.0% hi, 0.3% si\n> ... |
[
{
"msg_contents": "Interesting - in this quick snapshot there is no I/O happening at all.\nWhat happens when you track the activity for a longer period of time?\n\nHow about just capturing vmstat during a period when the queries are\nslow?\n\nHas the load average been this high forever or are you experiencing a... |
[
{
"msg_contents": "Good morning,\n\nI'd like to ask you some advice on pg tuning in a high\nconcurrency OLTP-like environment.\nThe application I'm talking about is running on Pg 8.0.1.\nUnder average users load, iostat and vmstat show that iowait stays\nwell under 1%. Tables and indexes scan and seek times are... |
[
{
"msg_contents": "Hey guys,\n\n We are running a Linux 2.4 enterprise edition box with 6GB of RAM,\nPostgres 8.0.3. Our applications are running on JBoss 3.2.6. We are having a\nDatabase of over 22GB in size.\n\nThe problem is when we are querying a specific set of table (which all\ntables having over 100K o... |
[
{
"msg_contents": "Hi, probably this is a very frequenfly question... I read archivies of\nthis list but I didn't found a finally solution for this aspect. I'll\nexplain my situation.\n\nPSQL version 8.1.3\nconfiguration of fsm,etcc default\nautovacuum and statistics activated\n\n22 daemons that have a persiste... |
[
{
"msg_contents": "Hi,\n\nI've been looking at the results from the pg_statio* tables, to\nview the impact of increasing the shared buffers to increase\nperformance.\n\nAs expected, increasing from the default by a factor of 10~20\nmoves table/index disk blocks reads to cache hits, but the\noverall service time... |
[
{
"msg_contents": "Hi,\n\nWe are seeing hanging queries on Windows 2003 Server SP1 with dual CPU,\nlooks like one of the process is blocked. In a lot of cases, the whole\nDB is blocked if this process is holding important locks.\n\nLooks like this issue was discussed in the following thread a few month\nago, bu... |
[
{
"msg_contents": "Hi.\nMy config:\ngentoo linux \"2005.1\" on amd64x2 in 64-bit mode,\nkernel 2.6.16.12\nglibc 3.3.5(NPTL),\ngcc 3.4.3.\nI had not used portage for building.\nI built two versions of postgres from sources:\npostgresql-8.1.4 native(64bit)\nand 32-bit with CFLAGS=... -m32, and \"LD =\n/usr/x86_64... |
[
{
"msg_contents": "Hi,\n\nIs the use of lists \"Where field IN ('A',...'Z')\" faster than using\nmultiple conditions like \"Where field = 'A' OR .... field = 'Z'\" ? In\nevery situation ? Depends on what ?\n\nNote: (I guess im mistaken, but i remeber seeing that at the pgsql\nmanual somewhere)\n\nThanks\n\nMarc... |
[
{
"msg_contents": "Hi!..\n\nI noticed that the age of template0 is increasing very rapidly..Can you\nplease let me know how we can control this ....and what causes such\nproblems.\n\nWe also noticed that the database slow downs heavily at a particular\ntime..Can you suggest any tools which will help in diagnos... |
[
{
"msg_contents": "Hi,\n\nWe've been running our \"webapp database\"-benchmark again on mysql and \npostgresql. This time using a Fujitsu-Siemens RX300 S3 machine equipped \nwith a 2.66Ghz Woodcrest (5150) and a 3.73Ghz Dempsey (5080). And \ncompared those results to our earlier undertaken Opteron benchmarks on... |
[
{
"msg_contents": "I am in the process of speccing out a new box for a highly utilized \n(updates, inserts, selects) 40GB+ database. I'm trying to maximize \nperformance on a budget, and I would appreciate any feedback on any \nof the following.\n\nHardware:\n2 - Intel Xeon 5160 3.0 GHz 4MB 1333MHz\n8 - King... |
[
{
"msg_contents": "Hi,\n\nI have a customer who wants a database solution for a 7 TB database.\nInsert will be the main action in the database.\n\nThere are some case studies with detail information about performance \nand hardware solution on this database size?\nWhat are the minimum hardware requirements for ... |
[
{
"msg_contents": "Hi \n\ni have a severe performance problem with one of my\nviews which has 6 to 8 joins .. any help will be\nappreciated.. \nthe view is:\n\nCREATE OR REPLACE VIEW thsn.trade_view AS \nSELECT tra.tra_id, tra.per_id, tra.fir_id,\ntra.tra_dcn, tra.tra_startdate::date AS tra_startdate,\ntra.tra_... |
[
{
"msg_contents": "hi\n\nplz unsubscribe me.. \n\ni am sending mail to this id.. for unsubscribing.. is it correct..\nmy mail box is gettin flooded..\n\n\n \nhi\n\nplz unsubscribe me.. \n\ni am sending mail to this id.. for unsubscribing.. is it correct..\nmy mail box is gettin flooded..",
"msg_date": "8 S... |
[
{
"msg_contents": "Hi,\n\nfor this simple join of two tables,\n\nSELECT * FROM large_rel n, smaller_rel a\n WHERE n.field_1 = a.field_2 AND a.key = '127.0.0.1';\n\nPostgreSQL 8.1.4 chooses an extremely bad query plan:\n\n Hash Join (cost=283.45..8269374.38 rows=14137 width=94)\n Hash Cond: (\"outer\".field_... |
[
{
"msg_contents": "Hi,\n\na week ago we migrate a Woody(postgre 7.2.1) server to Sarge(postgre\n7.4.7). To migrate the database we use a dump, using pg_dump with this\noptions:\npg_dump -U <username> -c -F p -O -v -f <filename> <DBname>\n\nWe have a search, that using woody take about 1-2 minutes, but with\nsar... |
[
{
"msg_contents": "\n Hello,\n\nI have a big table called products. Table size: 1123MB. Toast table \nsize: 32MB. Indexes size: 380MB.\nI try to do a query like this:\n\nselect id,name from products where name like '%Mug%';\n\nYes, I know that tsearch2 is better for this, but please read on. The \nabove query ... |
[
{
"msg_contents": "Lazlo, \n\n> Meanwhile, \"iostat 5\" gives something like this:\n> \n> tin tout KB/t tps MB/s KB/t tps MB/s us ni sy in id\n> 1 14 128.00 1 0.10 128.00 1 0.10 5 0 94 1 0\n> 0 12 123.98 104 12.56 123.74 104 12.56 8 0 90 2 0\n\nThis is your problem. Do the fo... |
[
{
"msg_contents": "Hi All\n I have installed a application with postgres-8.1.4 , I \nhave to optimize the performance, As a measure i thought of enabling \nAuto commit , is it a right decision to take , If correct please suggest \nthe steps that i need to follow in order to implement the Auto V... |
[
{
"msg_contents": "Sorry I answer the message only to Scott Marlowe. I re-send the response\n\n--------- Mensaje reenviado --------\nDe: Piñeiro <apinheiro@igalia.com>\nPara: Scott Marlowe <smarlowe@g2switchworks.com>\nAsunto: Re: [PERFORM] Performance problem with Sarge compared with Woody\nFecha: Tue, 12 Sep ... |
[
{
"msg_contents": "Lazlo, \n\nYou can ignore tuning postgres and trying to use indexes, your problem is a bad hardware / OS configuration. The disks you are using should read 4-5 times faster than they are doing. Look to the SATA chipset driver in your FreeBSD config - perhaps upgrading your kernel would help... |
[
{
"msg_contents": "Hello All\n\nI am getting this message in my log files for my database.\n \nLOG: out of file descriptors: Too many open files; release and retry.\n\nAt some point the memomy didn't get released and the postmaster reset itself terminating all client connections. I am not sure what direction to... |
[
{
"msg_contents": "I am having problems performing a join on two large tables. It seems to only\nwant to use a sequential scan on the join, but that method seems to be slower\nthan an index scan. I've never actually had it complete the sequential scan\nbecause I stop it after 24+ hours. I've run joins agains... |
[
{
"msg_contents": "Hi\n\nI am trying to run sql-bench against PostgreSQL 8.1.4 on Linux.\nSome of the insert tests seems to be ver slow \n\nFor example: select_join_in\n\nAre there any tuning parameters that can be changed to speed these queries? Or are these queries\nespecially tuned to show MySQL's stgrenths?... |
[
{
"msg_contents": "pgsql-performance-owner@postgresql.org wrote:\n\n> This board has Intel chipset. I cannot remember the exact type but it\n> was not in the low end category.\n> dmesg says:\n> \n> <Intel ICH7 SATA300 controller>\n> kernel: ad4: 152626MB <SAMSUNG HD160JJ ZM100-33> at ata2-master SATA150\n> kern... |
[
{
"msg_contents": "Hi All,\n\n I migrated Postgres server from 7.4.6 to 8.1.4, But my server is\ncompletely full, by moment load average > 40\n\n\tAll queries analyzed by EXPLAIN, all indexes are used .. IO is good ...\n\nMy configuration is correct ?\n\n- default configuration and se + somes updates : \n\nma... |
[
{
"msg_contents": "My setup:\nFreebsd 6.1\nPostgresql 8.1.4\nMemory: 8GB\nSATA Disks \n\nRaid 1 10 spindles (2 as hot spares)\n500GB disks (16MB buffer), 7200 rpm\nRaid 10\n\nRaid 2 4 spindles\n150GB 10K rpm disks\nRaid 10\n\nshared_buffers = 10000\ntemp_buffers = 1500\nwork_mem = 32768 # 32MB\nm... |
[
{
"msg_contents": "I'm experiment with RAID, looking for an inexpensive way to boost performance. I bought 4 Seagate 7200.9 120 GB SATA drives and two SIIG dual-port SATA cards. (NB: I don't plan to run RAID 0 in production, probably RAID 10, so no need to comment on the failure rate of RAID 0.)\n\nI used thi... |
[
{
"msg_contents": "Hi,\n\nI have two table: customers and salesorders. salesorders have a foreign\nkey to the customer\n\nIf I run this query:\n\nSELECT \nsalesOrders.objectid, \nsalesOrders.ordernumber, \nsalesOrders.orderdate, \ncustomers.objectid, \ncustomers.customernumber, \ncustomers.lastname \nFROM proto... |
[
{
"msg_contents": "Novedad PortalTPV\n\n\n\n\n\n\nNovedad \nPortalTPV.com !!!\n \nToda la informaci�n para \nel profesional del TPV, novedades, noticias del sector, art�culos de opini�n, \nforos, blogs y una fant�stica bolsa de trabajo del sector.\nConoce todo el Hardware \ny el Software disponible de u... |
[
{
"msg_contents": "That's an all PCI-X box which makes sense. There are 6 SATA controllers\nin that little beastie also. You can always count on Sun to provide\nover engineered boxes.\n\n \n\n> -----Original Message-----\n> From: pgsql-performance-owner@postgresql.org \n> [mailto:pgsql-performance-owner@postg... |
[
{
"msg_contents": "Hi,\n\n Is there anyway we can optimize this sql ? it is doing full table\nscan on listing and address table . Postgres version 8.0.2\n\nThanks!\nPallav.\n\n\nexplain analyze\nselect listing0_.listingid as col_0_0_, \ngetmaxdate(listing0_.lastupdate, max(addressval2_.createdate)) as col_1_0... |
[
{
"msg_contents": "Greetings:\n\nI'm running 8.1.4, and have noticed major differences in execution time \nfor plpgsql functions running queries that differ only in use of an \narray such as:\n\n\nslower_function( vals integer[] )\n\t[query] WHERE id = ANY vals;\n\n\nfaster_function( vals integer[] )\n\tvals_te... |
[
{
"msg_contents": "Hi listers,\nI wanted to try PG partitioning (aka constraint exclusion) with two levels .\nI am using PG 8.1.3 on RHEL4U2,\n\nMy setup:\n\nCREATE TABLE part (\n id1 int not null,\n id2 int not null,\n id3 int not null,\n filler varchar(200)\n );\n\n--- level 1 parti... |
[
{
"msg_contents": "That query is generated by hibernate, right?\n\n\n-----Original Message-----\nFrom: pgsql-performance-owner@postgresql.org\n[mailto:pgsql-performance-owner@postgresql.org] On Behalf Of Pallav\nKalva\nSent: den 15 september 2006 17:10\nTo: pgsql-performance@postgresql.org\nSubject: [PERFORM] O... |
[
{
"msg_contents": "I'm having a problem with a simple query, that finds children of a node, \nusing a materialized path to the node. The query:\n\nselect n1.id\nfrom nodes n1, nodes n2\nwhere n1.path like n2.path || '%'\nand n2.id = 14;\n\n QUERY \n... |
[
{
"msg_contents": "I've just fired off a \"DELETE FROM table\" command (i.e. unfiltered \nDELETE) on a trivially small table but with many foreign key references \n(on similar-sized tables), and I'm waiting for it to finish. It's been \n10 minutes now, which seems very excessive for a table of 9000 rows on a \n... |
[
{
"msg_contents": "Hello Lister, \nI am curios whether I can emulate the Oracle pipelined functions functionality in PG too (using RETURN NEXT ). For more\ninformation and examples about Oracle pipelined functions see:\nhttp://asktom.oracle.com/pls/ask/f?p=4950:8:8127757633768425921::NO::F4950_P8_DISPLAYID,F495... |
[
{
"msg_contents": "Hi all,\n\nI was searching tips to speed up/reduce load on a Pg8 app.\nThank you for all your suggestions on the matter.\nThread is archived here:\n\nhttp://www.mail-archive.com/pgsql-performance@postgresql.org/msg18342.html\n\nAfter intensive application profiling and database workload analy... |
[
{
"msg_contents": "Hi,\n\nI am running bechmark test in a 50 GB postgresql database.\nI have the postgresql.conf with all parameters by default.\nIn this configuration the database is very, very slow.\n\nCould you please tell which is the best configuration?\n\nMy system:\nPentium D 3.0Ghz\nRAM: 1GB\nHD: 150GB ... |
[
{
"msg_contents": "Hi\n\nAfter upgrading DBI and DBD::Pg, this benchmark still picks MySQL as the winner (at least on Linux\nRH3 on a Dell 1875 server with 2 hyperthreaded 3.6GHz CPUs and 4GB RAM).\nI've applied the following parameters to postgres.conf:\n\nmax_connections = 500\nshared_buffers = 3000\nwork_mem... |
[
{
"msg_contents": "A colleague pointed me to this site tomorrow:\n\nhttp://tweakers.net/reviews/642/13\n\nI can't read the language, so can't get a grip on what exactly the \n\"benchmark\" was about.\n\nTheir diagrams show `Request per seconds'. What should that mean? How \nmany connections PG accepted per seco... |
[
{
"msg_contents": "The query expain analyze looks like this:\n\nclick-counter=# explain analyze select count(*) as count,\nto_char(date_trunc('day',c.datestamp),'DD-Mon') as day from impression c,\nurl u, handle h where c.url_id=u.url_id and c.handle_id=h.handle_id and\nh.handle like '10000.19%' group by date_t... |
[
{
"msg_contents": "Hi all,\n\nI still have an dual dual-core opteron box with a 3Ware 9550SX-12 sitting \nhere and I need to start getting it ready for production. I also have to \nsend back one processor since we were mistakenly sent two. Before I do \nthat, I would like to record some stats for posterity and... |
[
{
"msg_contents": "Hi all, I'm having some confusion with the 7.4 query planner.\n\nI have two identical queries, whereby the passed (varchar) parameter\nappears to be the deciding factor between a sequential or an index scan.\n\n\nIE, This query:\n\nexplain SELECT DISTINCT (a1.ENTRY_ID) AS retrieved FROM OS_CU... |
[
{
"msg_contents": "I've got this query with an IN clause:\n\nselect count(*),public.album.gid,public.album.name,public.album.id \nfrom public.album,public.albumjoin,public.puid,public.puidjoin where \nalbumjoin.album = public.album.id and public.puidjoin.track = \npublic.albumjoin.track and public.puid.id = ... |
[
{
"msg_contents": "Hello!\n\nI got two AMD Opteron 885 processors (2.6ghz) and 8 gig of memory.\nHarddrives are 4 scsi disks in 10 raid.\n\nI'm running gentoo, and the kernel finds and uses all of my 2 (4) cpu's.\n\nHow can i actually verify that my PostgreSQL (or that my OS) actually gives\neach new query a fr... |
[
{
"msg_contents": "Our application has a number of inserters posting rows of network\nstatistics into a database. This is occuring continously. The\nfollowing is an example of a stats table (simplified but maintains key\nconcepts).\n \n \nCREATE TABLE stats \n(\n logtime timestamptz,\n key int,\... |
[
{
"msg_contents": "I have some odd cases here joining two tables - the planner insists on\nMerge Join, but Nested Loop is really faster - and that makes sense,\nsince I'm selecting just a small partition of the data available. All\nplanner constants seems to be set at the default values, the only way to\nget a... |
[
{
"msg_contents": "Hi,\n\nI have the following query which has been running very slowly and after a\nlot of testing/trial and error I found an execution plan that ran the query\nin a fraction of the time (and then lost the statistics that produced it).\nWhat I wish to know is how to force the query to use the f... |
[
{
"msg_contents": "Tim Truman wrote:\n> Query:\n> SELECT count(*) as count FROM \n> ( \n> \tSELECT *\n> \t\tFROM transaction t, merchant m\n> \t\tWHERE t.merchant_id = m.id \n> \t\t\tAND m.id = 198\n> \t\t\tAND t.transaction_date >= '20050101'\n> \t\t\tAND t.transaction_date <= '20060925'\n> \t\t\tAND credit_ca... |
[
{
"msg_contents": "Hello,\n\nwe are running a 7.3 postgres db with only a big table (avg \n500.000records) and 7 indexes for a search engine.\nwe have 2 of this databases and we can switch from one to another.\nLast week we decided to give a try to 8.1 on one of them and everything \nwent fine, db is faster (ab... |
[
{
"msg_contents": "List,\n\nI posted a little about this a while back to the general list, but never\nreally got any where with it so I'll try again, this time with a little\nmore detail and hopefully someone can send me in the right direction.\n\nHere is the problem, I have a procedure that is called 100k time... |
[
{
"msg_contents": "\nThe following bug has been logged online:\n\nBug reference: 2658\nLogged by: Graham Davis\nEmail address: gdavis@refractions.net\nPostgreSQL version: 8.1.4\nOperating system: Linux\nDescription: Query not using index\nDetails: \n\nI know that in version 8 you guy... |
[
{
"msg_contents": "I have a query which really should be lightning fast (limit 1 from\nindex), but which isn't. I've checked the pg_locks table, there are no\nlocks on the table. The database is not under heavy load at the moment,\nbut the query seems to draw CPU power. I checked the pg_locks view, but\nfoun... |
[
{
"msg_contents": "I am a software developer who is acting in a (temporary) dba role for a \nproject. I had recommended PostgreSQL be brought in to replace the proposed \nMySQL DB - I chose PostgreSQL because of its reputation as a more stable \nsolution than MySQL.\n\nAt this early stage in the project, we are... |
[
{
"msg_contents": "Hi All,\n\nI have a Java application using hiber nate that connects to PostgreSQl 8.1.4.\n\nSo, looking forward the log files I got the following error:\n\n2006-09-28 09:24:25 LOG: unexpected EOF on client connection\n2006-09-28 09:26:06 LOG: unexpected EOF on client connection\n2006-09-28 ... |
[
{
"msg_contents": "pgsql-jdbc@postgresql.org\nBcc: pgsql-performance@postgresql.org\nSubject: Re: RES: [PERFORM] Performace Optimization for Dummies\nReply-To: \nIn-Reply-To: <EC1DBC210AF6B54DB7DAF8714C9743B70530DF54@mesctx03mtzvp.contax-br.contax.root>\nX-Operating-System: FreeBSD 6.0-RELEASE-p4 amd64\nX-Distr... |
[
{
"msg_contents": "Honorable members of the list,\n\n\nI would like to share with you a side effect that I discovered today on\nour postgresql 8.1 server.\nWe ve been running this instance with PITR for now 2 months without any\nproblems.\nThe wal's are copied to a remote machine with the pg_archive_command and... |
[
{
"msg_contents": "Hey guys, I've got a query that is inherently expensive, because it has to \ndo some joins against some large tables. But it's currently *very* \nexpensive (at least for a web app), and I've been struggling in vain all \nday to knock the cost down. Annoyingly, the least costly version I've co... |
[
{
"msg_contents": "Hi,\nI am working on datamigration from older version of informix to postgres 8.1\n\nI need to increase performance on postgres, since informix(older version,older\nhardware, little bigger DB data)\nis 4-5 times faster than postgres8.1 (new hardware, less DB data)\n\nMy readings from Internet... |
[
{
"msg_contents": "I'm experiencing a problem with our postgres database. Queries that \nnormally take seconds suddenly start taking hours, if they complete at \nall. \n\nThis isn't a vacuuming or analyzing problem- I've been on this list long \nenough that they were my first response, and besides it doesn't h... |
[
{
"msg_contents": "Hi,\n\nHow do I optimize postgres8.1?\n\nI have 'vacuum full analyze'\n\nI have posted output of 'explain analyze select ..'\n\nI have created some indexes\n\nI am running Mixed-Mode server,4GB ram running FC5(64bit), postgresql 8.1 AND\nMy configs are;(Are these good number?)\n--------------... |
[
{
"msg_contents": "\nBrian Hurt <bhurt@janestcapital.com> wrote:\n\n> I'm experiencing a problem with our postgres database. Queries that\n> normally take seconds suddenly start taking hours, if they complete at\n> all.\n\nDo you have any long running transactions? I have noticed that with Postgres\n8.1.x, a lo... |
[
{
"msg_contents": "Hi,\n\n\nI am trying to vaccum one of the table using the following command:\n\nVACUUM FULL ANALYZE VERBOSE table_name;\n\n\n\nBut for some reason the table vaccuming is not going ahead. Can you guys let\nme know what the problem is.\n\nRegards,\nNimesh.\n\nHi,\n \n \nI am trying to vaccum on... |
[
{
"msg_contents": "Hi,\n\nI am trying to determine if there is a way to improve the performance \nwhen selecting data from the information_schema.columns view.\n\nWe use data from this view to inform our application information on the \ncolumns on a table and is used when data is selected from a table.\n\nBelow... |
[
{
"msg_contents": "Hi, to all!\n\nRecently i try increasing the memory values of shared buffers on one\nIBM xseries 255 (Quad XEON 2.8, 8 GB RAM, 2 disk SCSI 36 GB(Raid 1), 1\nStorage.\n\nI try change these shared memory values to use 25% of memory ram (2048\nMB) and effective_cache_size to 50% (4096 MB) of mem... |
[
{
"msg_contents": "Some very helpful people had asked that I post the troublesome code that was\ngenerated by my import program.\n\nI installed a SQL log feature in my import program. I have\nposted samples of the SQL statements that cause the biggest delays.\n\nThanks for all of your help.\n\nCarlo\n\n--------... |
[
{
"msg_contents": "Hi List !\n\nI have a performance problem, but I am not sure whether it really\nis a problem or not.\nI am running a fresh install of PostgreSQL 8.1.4 on Windows2000.\nThe server is a bi-opteron with 2GB of RAM. The PostgreSQL's data\nfolder is on a RAID-0 array of 2 SATA WD Raptor drives (10... |
[
{
"msg_contents": "I have a simple case, selecting on a LIKE where clause over a single\ncolumn that has an index on it. On windows it uses the index - on\nlinux it does not. I have exactly the same scema and data in each,\nand I have run the necessary analyze commands on both.\n\nWindows is running 8.1.4\nLi... |
[
{
"msg_contents": "To be a bit constructive, could it be an idea to add unsubscribe\ninformation as one of the standard tailer tips? Then unsubscribe info\nwouldn't appear in every mail, but often enough for people considering\nto unsubscribe. To be totally non-constructive, let me add a bit to the\nnoise bel... |
[
{
"msg_contents": "I'm having an interesting (perhaps anomalous) variability in UPDATE \nperformance on a table in my database, and wanted to see if there was \nany interest in looking further before I destroy the evidence and move on.\n\nThe table, VOTER, contains 3,090,013 rows and each row is about 120 \nbyt... |
[
{
"msg_contents": "Look at this:\n\nNBET=> explain select * from account_transaction where users_id=123456 order by created desc limit 10;\n QUERY PLAN\n------------------------------------------------------------------------------------------------... |
[
{
"msg_contents": "I've got another query I'm trying to optimize:\n\nselect aj.album from\npublic.track t\njoin public.albumjoin aj\non (aj.track = t.id)\njoin (select id from public.albummeta am where tracks between 10 and \n14) lam\non (lam.id = aj.album)\nwhere (t.name % '01New OrderEvil Dust' or t.name % '... |
[
{
"msg_contents": "I have two tables, SAMPLE and HITLIST that when joined, generate a monsterous sort.\n\n HITLIST_ROWS has about 48,000 rows\n SAMPLE has about 16 million rows\n\n The joined column is indexed in SAMPLE\n HITLIST_ROWS is a scratch table which is used a few times then discarded.\n HITLIST_R... |
[
{
"msg_contents": "Jonah H. Harris wrote:\n> On Oct 08, 2006 07:05 PM, Josh Berkus <josh@agliodbs.com> wrote:\n> > Hints are used because the DBA thinks that they are smarter than\n> > the optimizer; 99% of the time, they are wrong.\n> \n> That's a figure which I'm 100% sure cannot be backed up by fact.\n> \n> ... |
[
{
"msg_contents": "I've recently moved to 8.1 and find that autovacuum doesn't seem to be\nworking, at least not the way I expected it to. I need the tuple count\nfor a table to be updated so indexes will be used when appropriate. I\nwas expecting the tuples count for a table to be updated after\nautovacuum ra... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.