Search Discussions
-
Hello, I have noticed a strange performance regression and I'm at a loss as to what's happening. We have a fairly large database (~16 GB). The original postgres 7.4 was running on a sun v880 with 4 ...
Alex Deucher
Mar 1, 2007 at 8:40 pm
Mar 8, 2007 at 9:02 pm -
Hi, I just try to find out why a simple count(*) might last that long. At first I tried explain, which rather quickly knows how many rows to check, but the final count is two orders of magnitude ...
Andreas Tille
Mar 22, 2007 at 10:53 am
Mar 23, 2007 at 4:54 pm -
Greetings, We've recently made a couple changes to our system that have resulted in a drastic increase in performance as well as some very confusing changes to the database statistics, specifically ...
Erik Jones
Mar 28, 2007 at 7:57 pm
Apr 18, 2007 at 5:20 pm -
Folks ! I have a batch application that writes approx. 4 million rows into a narrow table. I am using JDBC addBatch/ExecuteBatch with auto commit turned off. Batch size is 100. So far I am seeing ...
Femski
Mar 13, 2007 at 10:55 am
Mar 17, 2007 at 4:52 am -
I see that one can now get compact flash to SATA connectors. If I were to use a filesystem with noatime etc and little non-sql traffic, does the physical update pattern tend to have hot sectors that ...
James Mansion
Mar 6, 2007 at 11:44 pm
Apr 4, 2007 at 6:33 am -
Hi all, When I run multiple TPC-H queries (DBT3) on postgresql, I found the system is not scalable. My machine has 8GB memory, and 4 Xeon Dual Core processor ( 8 cores in total). OS kernel is linux ...
Xiaoning Ding
Mar 30, 2007 at 8:42 pm
Apr 2, 2007 at 12:26 am -
Hi all, take a look at those plans: test=# explain analyze SELECT COUNT(id) FROM t_oa_2_00_card WHERE pvcp in (select id from l_pvcp where value ilike '%pi%'); QUERY PLAN - ...
Gaetano Mendola
Mar 30, 2007 at 9:33 am
Apr 2, 2007 at 10:42 am -
Hello, I have upgraded from 7.3.9 to 8.2.3 and now the application that is using Postgres is really slow. Using pgfouine, I was able to identify a SQL select statement that was running in 500 ms ...
Vincent Moreau
Mar 13, 2007 at 8:20 am
Mar 13, 2007 at 3:48 pm -
I've found that it would be helpful to be able to tell how busy my dedicated PG server is ( Linux 2.6 kernel, v8.0.3 currently ) before pounding it with some OLAP-type queries. Specifically, I have a ...
Dan Harris
Mar 21, 2007 at 12:47 am
Mar 25, 2007 at 8:12 am -
Hi! I have two tables with some indices on them: CREATE TABLE subscriber ( � id serial NOT NULL, � anumber character varying(32) NOT NULL, � CONSTRAINT subscriber_pk PRIMARY KEY (id) ) CREATE INDEX ...
Mezei Zoltán
Mar 9, 2007 at 1:53 pm
Mar 9, 2007 at 4:24 pm -
Hi, Vacuum full is very slow for me . I dont know how to speed it up. It takes between 60 and 90 minutes. I have set up autovacuum but I also run vacuum full once per week. The slowest parts in the ...
Ruben Rubio
Mar 19, 2007 at 11:09 am
Mar 23, 2007 at 4:32 pm -
Folks, is there any constrains/problems/etc. to run several vacuum processes in parallel while each one is 'vaccuming' one different table? Example: vacuum -d db1 -t table1 & vacuum -d db1 -t table2 ...
Dimitri
Mar 22, 2007 at 1:34 pm
Mar 23, 2007 at 5:13 pm -
Hello, I am looking to use PostgreSQL for storing some very simple flat data mostly in a single table. The amount of data will be in the hundreds of gigabytes range. Each row is on the order of ...
Peter Schuller
Mar 30, 2007 at 5:16 am
Apr 4, 2007 at 5:44 pm -
Hi All, I tried posting this last week but it has not come through yet, so please excuse me if there is a double post. We're having some issue's with the vacuum times within our database environment, ...
Bruce McAlister
Mar 5, 2007 at 12:33 pm
Mar 16, 2007 at 7:07 pm -
Dear All, I have to take backup of a database as a SQL file using the pg_dump utility and I have to check the disk space before taking the backup. Hence I need to estimate the size of the pg_dump ...
Ravindran G-TLS,Chennai.
Mar 5, 2007 at 3:17 pm
Mar 6, 2007 at 4:43 pm -
I'm posting this to performance in case our workaround may be of benefit to someone with a similar issue. I'm posting to hackers because I hope we can improve our planner in this area so that a ...
Kevin Grittner
Mar 23, 2007 at 5:24 pm
Mar 24, 2007 at 1:08 pm -
My company is purchasing a Sunfire x4500 to run our most I/O-bound databases, and I'd like to get some advice on configuration and tuning. We're currently looking at: - Solaris 10 + zfs + RAID Z - ...
Matt Smiley
Mar 23, 2007 at 2:52 am
Mar 30, 2007 at 1:37 am -
Hi, I recently migrated one of our large (multi-hundred GB) dbs from an Intel 32bit platform (Dell 1650 - running 8.1.3) to a 64bit platform (Dell 1950 - running 8.1.5). However I am not seeing the ...
David Brain
Mar 22, 2007 at 12:18 pm
Mar 22, 2007 at 6:23 pm -
Hi, I am sorry if it is a repeat question but I want to know if database performance will decrease if I increase the max-connections to 2000. At present it is 100. I have a requirement where the ...
Shiva Sarna
Mar 1, 2007 at 5:25 am
Mar 1, 2007 at 3:47 pm -
Hi List, how to speedup nested loop queries and by which parameters. -- Regards Gauri
Gauri Kanekar
Mar 26, 2007 at 12:04 pm
Mar 27, 2007 at 11:34 am -
Hi, I have database with a huge amount of data so i'm trying to make it as fast as possible and minimize space. One thing i've done is join on a prepopulated date lookup table to prevent a bunch of ...
Zoolin Lin
Mar 6, 2007 at 9:56 pm
Mar 9, 2007 at 2:26 pm -
Hi, I'm new to tuning PostgreSQL and I have a query that gets slower after I run a vacuum analyze. I believe it uses a Hash Join before the analyze and a Nested Loop IN Join after. It seems the ...
Jeff Cole
Mar 5, 2007 at 10:05 pm
Mar 8, 2007 at 3:30 pm -
Hi all. I would like to speed up this query: EXPLAIN ANALYZE SELECT relid,schemaname,relname,seq_scan,seq_tup_read,idx_scan,idx_tup_fetch,n_tup_ins,n_tup_upd,n_tup_del FROM pg_stat_user_tables; QUERY ...
Daniel Cristian Cruz
Mar 28, 2007 at 12:59 pm
Mar 28, 2007 at 5:08 pm -
Hi, I have two queries that are very similar, that run on the same table with slightly different conditions. However, despite a similar number of rows returned, the query planner is insisting on a ...
Noah M. Daniels
Mar 23, 2007 at 7:45 pm
Mar 23, 2007 at 10:22 pm -
Hello guys, is it possible to determine dead tuples size for table? -- Alexey Romanchuk
Alexey Romanchuk
Mar 15, 2007 at 8:32 am
Mar 16, 2007 at 2:29 pm -
Question for anyone... I tried posting to the bugs, and they said this is a better question for here. I have to queries. One runs in about 2 seconds. The other takes upwards of 2 minutes. I have a ...
Rob Schall
Mar 1, 2007 at 3:43 pm
Mar 1, 2007 at 10:37 pm -
Hi all. I'm running PostgreSQL v8.1.8 (under Linux Ubuntu). A function body is written as "language sql stable". There is just a select for a search in a view with two arguments to do the search. The ...
Vincenzo Romano
Mar 29, 2007 at 7:33 pm
Apr 5, 2007 at 9:51 pm -
I have a very slow query that I'm trying to tune. I think my performance tuning is being complicated by the system's page cache. If a run the query after the system has been busy with other tasks for ...
Barry Moore
Mar 18, 2007 at 12:57 pm
Mar 18, 2007 at 7:49 pm -
Hi, Please forgive me if I missed something (I have been searching for a definitive answer for this for 2 days). Is there any way to disable autocommit in libpq? (PG 7.4.1) Thanks Mike
Dengler, Michael
Mar 13, 2007 at 3:08 pm
Mar 13, 2007 at 4:14 pm -
Hi performers, after following this list for a while, I try to configure a database server with a limited budget. Planned are 2 databases - archiveopteryx - ...
Axel Rau
Mar 8, 2007 at 11:47 am
Mar 9, 2007 at 7:28 pm -
I need to cross reference 2 tables. There are O(10M) A's, each has an ordered set of 10 of the O(100K) B's associated with it. The dominant query will be finding the A's and their count associated ...
Adam L Beberg
Mar 2, 2007 at 4:23 am
Mar 2, 2007 at 7:50 pm -
Hi all. I'm experiencing a strange behaviour with 8.1.8 (cannot do upgrades to 8.2 at the moment). On a 13+ million rows table I can do a query with results back in less than 100 ms. Result is a set ...
Vincenzo Romano
Mar 18, 2007 at 6:50 am
Mar 19, 2007 at 10:18 am -
I am having a performance problem with a query implemented within a server side function. If I use an SQL client(EMS Postgres) and manually generate the sql query I get about 100 times performance ...
Schwarz, Karl
Mar 8, 2007 at 5:37 pm
Mar 8, 2007 at 6:45 pm -
8.0.3 - Linux 2.6.18.. Freshly vacuumed and analyzed This database has been humming along fine for a while now, but I've got one of those sticky queries that is taking much too long to finish. After ...
Dan Harris
Mar 29, 2007 at 2:22 am
Mar 30, 2007 at 7:53 am -
AFAIK the only very likely way to cause that is to touch enough different tables in one transaction that you run out of lock entries. While you could postpone the problem by increasing the ...
Tom Lane
Mar 27, 2007 at 3:38 am
Mar 27, 2007 at 1:59 pm -
I try to change my database server from the older one ie. 2Cpu Xeon 2.4 32 bit 4Gb SDram Hdd SCSI RAID 5 and FC 3 ix86 with 7..4.7 PG to the newer one with 2CPU Xeon 3.0 64 Bit 4Gb DDRram SCSI Raid5 ...
Amrit angsusingh
Mar 24, 2007 at 6:15 am
Mar 24, 2007 at 1:31 pm -
Hi I'm going to install a new server and I'm looking for some advice about how I can help my database performing at its best. I'll be using a redhat ES 4 on a dual core opteron with 2 SCSI 10.000rpm ...
Paolo Negri
Mar 23, 2007 at 12:48 pm
Mar 23, 2007 at 3:50 pm -
I've got one logging table that is over 330 million rows to store 6 months' worth of data. It consists of two integers and a 4-character long string. I have one primary key which is the two integers, ...
Vivek Khera
Mar 20, 2007 at 3:02 pm
Mar 20, 2007 at 4:17 pm -
I'm running in some weird (IMHO) bahviour. When I search a table for certain text (equality est on the relelvant field) it takes much more time than doing the same test by adding a trailing '%' and ...
Vincenzo Romano
Mar 18, 2007 at 9:58 am
Mar 19, 2007 at 12:02 pm -
Hi, I'm running a Zope web application that obtains most of its data from a PostgreSQL 8.1 database in a virtual machine. I'm able to adjust the memory of this machine according to reasonable values ...
Andreas Tille
Mar 12, 2007 at 8:47 am
Mar 13, 2007 at 8:23 pm -
Not quite a performance question, but I can't seem to find a simple answer to this. We're using 8.1.4 and the autovacuum daemon is running every 40 seconds cycling between 3 databases. What is the ...
Steven Flatt
Mar 5, 2007 at 4:00 pm
Mar 5, 2007 at 9:47 pm -
1. The function: SELECT a.birth_date FROM ( SELECT indiv_fkey, birth_dt as birth_date, intern_last_update::date as last_update, 'fed' as source FROM cdm.cdm_fedcustomer WHERE birth_dt IS NOT NULL AND ...
Abu Mushayeed
Mar 1, 2007 at 2:13 pm
Mar 3, 2007 at 2:12 am -
Hello! I'm new to performance tuning on postgres. I've read the docs on the posgtres site, as well as: http://www.revsys.com/writings/postgresql-performance.html ...
David Leangen
Mar 2, 2007 at 4:11 am
Mar 2, 2007 at 9:10 am -
Hi, In postgres 7.4.* I had to pass --with-java to the configure script for jdbc support. Does postgres 8.2* include it by default? If not, how do I enable it? Thanks Miguel
Michael Dengler
Mar 27, 2007 at 10:16 pm
Mar 27, 2007 at 10:20 pm -
Hello I plan to buy a new development server and I wonder what will be the best HD combination. I'm aware that "best combination" also relay on DB structure and usage. so lets assume, heavy duty ...
Michael Ben-Nes
Mar 22, 2007 at 9:34 am
Mar 22, 2007 at 2:37 pm -
After upgrading to 8.2.3 INSERTs and UPDATEs on one of my tables became incredibly slow. I traced the problem to one of my triggers that calls one of my defined functions (that is IMMUTABLE). If I ...
Joseph S
Mar 20, 2007 at 7:27 pm
Mar 20, 2007 at 7:58 pm -
unsubscribe
Neelam Goyal
Mar 15, 2007 at 8:41 am
Mar 16, 2007 at 3:38 pm -
Howdy- I am currently using PostgreSQL to store and process a high-bandwidth event stream. I do not need old events but the delete and vacuum does not terminate due to the large number of events ...
James Riordan
Mar 13, 2007 at 1:36 pm
Mar 15, 2007 at 3:58 pm -
Hi List, Can i find out the timestamp when last a record from a table got updated. Do any of the pg system tables store this info. -- Regards Gauri
Gauri Kanekar
Mar 7, 2007 at 6:43 am
Mar 7, 2007 at 7:31 am
Group Overview
group | pgsql-performance |
categories | postgresql |
discussions | 57 |
posts | 471 |
users | 126 |
website | postgresql.org |
irc | #postgresql |
126 users for March 2007
Archives
- August 2013 (188)
- July 2013 (94)
- June 2013 (119)
- May 2013 (255)
- April 2013 (185)
- March 2013 (210)
- February 2013 (202)
- January 2013 (154)
- December 2012 (283)
- November 2012 (335)
- October 2012 (391)
- September 2012 (213)
- August 2012 (199)
- July 2012 (356)
- June 2012 (156)
- May 2012 (197)
- April 2012 (183)
- March 2012 (195)
- February 2012 (282)
- January 2012 (156)
- December 2011 (215)
- November 2011 (288)
- October 2011 (289)
- September 2011 (446)
- August 2011 (328)
- July 2011 (234)
- June 2011 (283)
- May 2011 (420)
- April 2011 (450)
- March 2011 (382)
- February 2011 (538)
- January 2011 (351)
- December 2010 (342)
- November 2010 (422)
- October 2010 (605)
- September 2010 (213)
- August 2010 (355)
- July 2010 (457)
- June 2010 (530)
- May 2010 (276)
- April 2010 (333)
- March 2010 (427)
- February 2010 (403)
- January 2010 (541)
- December 2009 (265)
- November 2009 (447)
- October 2009 (448)
- September 2009 (352)
- August 2009 (330)
- July 2009 (378)
- June 2009 (412)
- May 2009 (457)
- April 2009 (414)
- March 2009 (447)
- February 2009 (338)
- January 2009 (302)
- December 2008 (243)
- November 2008 (306)
- October 2008 (149)
- September 2008 (269)
- August 2008 (432)
- July 2008 (281)
- June 2008 (249)
- May 2008 (383)
- April 2008 (479)
- March 2008 (538)
- February 2008 (409)
- January 2008 (302)
- December 2007 (423)
- November 2007 (401)
- October 2007 (393)
- September 2007 (478)
- August 2007 (414)
- July 2007 (446)
- June 2007 (651)
- May 2007 (644)
- April 2007 (511)
- March 2007 (471)
- February 2007 (354)
- January 2007 (451)
- December 2006 (557)
- November 2006 (276)
- October 2006 (639)
- September 2006 (443)
- August 2006 (501)
- July 2006 (322)
- June 2006 (504)
- May 2006 (570)
- April 2006 (707)
- March 2006 (644)
- February 2006 (459)
- January 2006 (500)
- December 2005 (658)
- November 2005 (565)
- October 2005 (479)
- September 2005 (463)
- August 2005 (565)
- July 2005 (506)
- June 2005 (604)
- May 2005 (474)
- April 2005 (760)
- March 2005 (699)
- February 2005 (375)
- January 2005 (640)
- December 2004 (315)
- November 2004 (421)
- October 2004 (477)
- September 2004 (350)
- August 2004 (491)
- July 2004 (244)
- June 2004 (334)
- May 2004 (223)
- April 2004 (534)
- March 2004 (445)
- February 2004 (331)
- January 2004 (350)
- December 2003 (315)
- November 2003 (298)
- October 2003 (815)
- September 2003 (382)
- August 2003 (549)
- July 2003 (524)
- June 2003 (210)
- May 2003 (306)
- April 2003 (271)
- March 2003 (209)
- February 2003 (245)
- January 2003 (408)
- December 2002 (228)
- November 2002 (258)
- October 2002 (141)
- September 2002 (17)