Search Discussions
-
I know that there haven been many discussions on the slowness of count(*) even when an index is involved because the visibility of the rows has to be checked. In the past I have seen many suggestions ...
Neil Whelchel
Oct 9, 2010 at 11:26 pm
Oct 21, 2010 at 11:10 pm -
I'm weighing options for a new server. In addition to PostgreSQL, this machine will handle some modest Samba and Rsync load. I will have enough RAM so the virtually all disk-read activity will be ...
Steve Crawford
Oct 7, 2010 at 11:38 pm
Dec 23, 2010 at 2:12 am -
Hello Experts, My application uses Oracle DB, and makes use of OCI interface. I have been able to develop similar interface using postgreSQL library. However, I have done some tests but results for ...
Divakar Singh
Oct 25, 2010 at 6:16 pm
Oct 28, 2010 at 3:29 pm -
Hi pgsql-performance, I was doing mass insertions on my desktop machine and getting at most 1 MB/s disk writes (apart from occasional bursts of 16MB). Inserting 1 million rows with a single integer ...
Marti Raudsepp
Oct 31, 2010 at 12:14 pm
Nov 19, 2010 at 2:52 pm -
I have an app which imports a lot of data into a temporary table, does a number of updates, creates some indexes, and then does a bunch more updates and deletes, and then eventually inserts some of ...
Jon Nelson
Oct 27, 2010 at 5:30 pm
Nov 14, 2010 at 3:55 pm -
Hello, What is the general view of performance CPU's nowadays when it comes to PostgreSQL performance? Which CPU is the better choice, in regards to RAM access-times, stream speed, cache ...
Christian Elmerot @ One.com
Oct 25, 2010 at 10:00 am
Dec 3, 2010 at 5:35 pm -
Hi, for whom it may concern: http://pdos.csail.mit.edu/mosbench/ They tested with 8.3.9, i wonder what results 9.0 would give. Best regards and keep up the good work Hakan
Hakan Kocaman
Oct 4, 2010 at 3:16 pm
Oct 7, 2010 at 8:31 pm -
currently PG 8.1.3. See attached for my postgresql.conf. Server is freebsd 6.2 w/ a fast 3TB storage array and only 2GB of ram. We're running RTG which is a like mrtg, cricket, etc. basically queries ...
Aaron Turner
Oct 7, 2010 at 5:48 pm
Oct 12, 2010 at 4:59 pm -
We are in the process of testing migration of our oracle data warehouse over to postgres. A potential showstopper are full table scans on our members table. We can't function on postgres effectively ...
Tony Capobianco
Oct 14, 2010 at 7:49 pm
Oct 15, 2010 at 7:23 pm -
There was some doubt as for the speed of doing the select count(*) in PostgreSQL and Oracle. To that end, I copied the most part of the Oracle table I used before to Postgres. Although the copy ...
Mladen Gogala
Oct 16, 2010 at 4:52 pm
Oct 28, 2010 at 1:34 pm -
Hello, We are using PostgreSQL for storing data and full-text search indexes for the webiste of a daily newspaper. We are very happy overall with the results, but we have one "weird" behaviour that ...
Gael Le Mignot
Oct 21, 2010 at 12:52 pm
Oct 22, 2010 at 3:11 pm -
hello -- my last email was apparently too long to respond to so i'll split it up into shorter pieces. my first question : my understanding of how range partitioning and constraint exclusion works ...
Ben
Oct 28, 2010 at 4:37 pm
Oct 29, 2010 at 4:28 pm -
Hi all, We are tuning a PostgreSQL box with AIX 5.3 and got stucked in a very odd situation. When a query got ran for the second time, the system seems to deliver the results to slow. Here´s some ...
André Volpato
Oct 25, 2010 at 6:28 pm
Oct 28, 2010 at 12:33 pm -
Folks, I am running into a problem with the postmaster: from time to time, it runs for a long time. E.g., from top: 23425 postgres 20 0 22008 10m 10m R 99.9 0.5 21:45.87 postmaster I'd like to figure ...
Dimi Paun
Oct 20, 2010 at 7:07 pm
Oct 21, 2010 at 2:39 am -
I have the following query: select distinct Region.RegionShort as RegionShort ,County.County as County from Region join PostalCodeRegionCountyCity on ...
Ozer, Pam
Oct 26, 2010 at 11:27 pm
Oct 29, 2010 at 10:10 pm -
Hi, We have done the following test with PostgreSQL 9.0. create table bytea_demo ( index int, part1 bytea)"); Then we have instantiated a loop (1000) with the following action: insert into bytea_demo ...
Sander, Ingo (NSN - DE/Munich)
Oct 5, 2010 at 7:32 am
Oct 12, 2010 at 12:36 pm -
I have the following query running on 8.4, which takes 3516 ms. It is very straight forward. It brings back 116412 records. The explain only takes 1348ms select VehicleUsed.VehicleUsedId as ...
Ozer, Pam
Oct 19, 2010 at 6:22 pm
Oct 28, 2010 at 4:18 pm -
CentOS 5.4 and 5.5 Query SELECT sum(usramt) as givensum, sum (case when usedid 0 then usramt else 0 end) as usedsum FROM argrades WHERE userstatus in (5) and membid in (select distinct members.membid ...
Francisco Reyes
Oct 27, 2010 at 12:48 pm
Dec 29, 2010 at 2:27 am -
postgres 8.4.4 on openSUSE 11.3 (2.6.36rc7, x86_64). I was watching a fairly large query run and observed that the disk light went out. I checked 'top' and postgres was using 100% CPU so I strace'd ...
Jon Nelson
Oct 15, 2010 at 5:23 am
Oct 27, 2010 at 3:57 am -
At present for reporting I use following types of query: select crm.*, crm_cnt.cnt from crm, (select count(*) as cnt from crm) crm_cnt; Here count query is used to find the total number of records. ...
AI Rumman
Oct 18, 2010 at 5:16 am
Oct 28, 2010 at 6:18 pm -
8.4.5 I consistently see HashJoin plans that hash the large table, and scan the small table. This is especially puzzling in some cases where I have 30M rows in the big table and ~ 100 in the small... ...
Scott Carey
Oct 19, 2010 at 1:39 am
Oct 27, 2010 at 7:56 pm -
Which one is faster? select count(*) from talble or select count(id) from table where id is the primary key.
AI Rumman
Oct 26, 2010 at 10:56 am
Oct 26, 2010 at 12:33 pm -
Hi, I have a Linux Server (Debian) with Postgres 8.3 and I have problems with a massive update, about 400000 updates/inserts. If I execute about 100000 it seems all ok, but when I execute 400000, I ...
Trenta sis
Oct 27, 2010 at 6:38 pm
Oct 28, 2010 at 10:28 pm -
Hello, I have heard it said that if a stored procedure is declared as VOLATILE, then no good optimizations can be done on queries within the stored procedure or queries that use the stored procedure ...
Damon Snyder
Oct 11, 2010 at 11:40 pm
Oct 25, 2010 at 11:54 pm -
Hi, everyone. I'm working with a client to try to optimize their use of PostgreSQL. They're running 8.3 on a Windows platform, packaged as part of a physical product that is delivered to customers. ...
Reuven M. Lerner
Oct 13, 2010 at 7:40 am
Oct 14, 2010 at 2:41 pm -
Simon, Greg, etc., Just barked my nose against a major performance issue with CE & partitioning, and was wondering if anyone had poked at it. The issue is this: when a partitioned table is evaluated ...
Josh Berkus
Oct 1, 2010 at 11:46 pm
Oct 4, 2010 at 11:37 pm -
We currently have log_min_duration_statement = 5000 and are seeing statements like the following logged 2010-10-16 05:55:52 EDT [6334]: [1-1] LOG: duration: 5572.517 ms statement: EXECUTE <unnamed ...
Eric Comeau
Oct 16, 2010 at 12:53 pm
Oct 19, 2010 at 2:25 pm -
I don't know why seq scan is running on the following query where the same query is giving index scan on other servers: explain analyze select * from act where act.acttype in ( ...
AI Rumman
Oct 21, 2010 at 5:25 am
Oct 21, 2010 at 8:14 pm -
Hi Guys, I am interested in finding out the pros/cons of using UUID as a primary key field. My requirement states that UUID would be perfect in my case as I will be having many small databases which ...
Navkirat Singh
Oct 16, 2010 at 1:58 am
Oct 16, 2010 at 7:35 pm -
I hit an issue with window aggregate costing while experimenting with providing a count of the full match along side a limited result set. Seems that the window aggregate node doesn't take into ...
Ants Aasma
Oct 13, 2010 at 5:16 pm
Oct 14, 2010 at 10:17 am -
Are there any performance implications (benefits) to executing queries in a transaction where SET TRANSACTION READ ONLY; has been executed? -- Jon
Jon Nelson
Oct 12, 2010 at 5:25 pm
Oct 12, 2010 at 9:17 pm -
I've been having trouble with a query. The query is a cross join between two tables. Initially, I mis-typed the query, and one of the columns specified in the query doesn't exist, however the query ...
Jon Nelson
Oct 29, 2010 at 4:45 pm
Oct 29, 2010 at 7:07 pm -
Now that some of my recent writing has gone from NDA protected to public sample, I've added a new page to the PostgreSQL wiki that provides a good starting set of resources to learn about an ever ...
Greg Smith
Oct 21, 2010 at 2:08 pm
Oct 21, 2010 at 4:09 pm -
All, There's a number of blog tests floating around comparing XFS and Ext3, and the various Linux schedulers, for PGDATA or for an all-in-one mount. However, the WAL has a rather particular write ...
Josh Berkus
Oct 6, 2010 at 11:11 pm
Oct 11, 2010 at 6:59 pm -
Hi experts, I have a (near) real-time application in which inserts into the database needs to be visible to queries from other threads with minimal delay. The inserts are triggered by real-time ...
Steve Wong
Oct 25, 2010 at 6:46 pm
Oct 29, 2010 at 5:18 pm -
I have a table with an array column. I added a GIN index to the array: CREATE INDEX foo_idx ON t USING GIN (alternatecodes) WHERE alternatecodes IS NOT NULL; That's all well and good. However, some ...
Jon Nelson
Oct 18, 2010 at 8:59 pm
Oct 19, 2010 at 2:48 am -
Hello people, I'm having trouble to persuade index scan to check all of the conditions I specify _inside_ index cond. That is, _some_ condition always get pushed out of index cond and applied later ...
Nikolai Zhubr
Oct 14, 2010 at 3:37 pm
Oct 15, 2010 at 8:47 pm -
I have more than 1300000 records in crm table and I partioned the table with deleted = 0 key. It is working fine except that after partioion query is taking more time than the previous one. I already ...
AI Rumman
Oct 10, 2010 at 9:52 am
Oct 10, 2010 at 11:05 am -
Hey Turned on log_min_duration_statement today and started getting timings on sql statements (version 8.3.10). Can anyone please tell me how to interpret the (S_nn/C_nn) information in the log line. ...
Mark Rostron
Oct 25, 2010 at 10:37 pm
Oct 25, 2010 at 10:54 pm -
Hello I have an application hosted on Heroku. They use postgres. It's more or less abstracted away, but I can get some performance data from New Relic. For the most part, performance is ok, but now ...
Brandon Casci
Oct 14, 2010 at 9:43 am
Oct 15, 2010 at 6:35 pm -
I've got a few tables that periodically get entirely refreshed via a COPY. I don't really have a good mechanism for detecting only rows which have changed so even though the differences are small, a ...
Samuel Gendler
Oct 12, 2010 at 9:16 pm
Oct 12, 2010 at 9:22 pm -
I need to join two tales say TAB_A and TAB_B, where TAB_A is greater than TAB_B in size and records. Which Table should I put first in join order? Any idea please.
AI Rumman
Oct 11, 2010 at 6:43 am
Oct 11, 2010 at 6:47 am -
Hi All, We have been trying to implement the streaming replication on one of our test servers. We have set archive_xlogs to on. But on the standby server, when we start the database we get error the ...
Nimesh Satam
Oct 5, 2010 at 9:11 am
Oct 5, 2010 at 9:05 pm -
Hello, Does anyone have any experience with running postgreSQL on Blue Arc's network storage products? In particular, we are interested in the the Titan and Mercury series: ...
Tim Goodaire
Oct 21, 2010 at 7:00 pm
Oct 21, 2010 at 7:00 pm -
Hello I have an application hosted on Heroku. They use postgres. It's more or less abstracted away, but I can get some performance data from New Relic. For the most part, performance is ok, but now ...
Brandon Casci
Oct 14, 2010 at 11:17 am
Oct 14, 2010 at 11:17 am -
Sorry to forget to give the postgres version as 8.1 -- regards, Srikanth Kata
Srikanth K
Oct 7, 2010 at 9:37 am
Oct 7, 2010 at 9:37 am -
Hi all. I laready posted this a couple of months ago on -hackers: http://archives.postgresql.org/pgsql-hackers/2010-07/msg01519.php I've also been directed to ask here for better and deeper details. ...
Vincenzo Romano
Oct 7, 2010 at 7:15 am
Oct 7, 2010 at 7:15 am
Group Overview
group | pgsql-performance |
categories | postgresql |
discussions | 47 |
posts | 605 |
users | 113 |
website | postgresql.org |
irc | #postgresql |
113 users for October 2010
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)