Search Discussions
-
Running PostgreSQL 8.2.1 on Win32. The query planner is choosing a seq scan over index scan even though index scan is faster (as shown by disabling seqscan). Table is recently analyzed and row count ...
Jeremy Haile
Jan 16, 2007 at 9:23 pm
Jan 19, 2007 at 7:16 pm -
Greetings! I have rather large table with about 5 millions of rows and a dozen of columns. Let's suppose that columns are named 'a', 'b', 'c' etc. I need to query distinct pairs of ('a';'b') from ...
Igor Lobanov
Jan 30, 2007 at 8:59 am
Jan 31, 2007 at 3:16 pm -
Hello all! Running a vac on an 8.2 client connecting to an 8.2 database (following example was for a 14 row static table) - vacuums will sit (for lack of a better word) for anywhere from ten to ...
Kim
Jan 11, 2007 at 5:47 pm
Jan 17, 2007 at 4:56 pm -
17
Partitioning
Hi all, I'm not sure if this question fits in the topic of this list. I'm interested in partitioning and it's the first time I'd use it. There is an issue I don't know how you handle it. Lets say I'm ...Arnau
Jan 5, 2007 at 11:02 am
Jan 30, 2007 at 10:21 am -
Hmm... This gets stranger and stranger. When connecting to the database with the psql client in 8.2's bin directory and using commands such as \d the client hangs, or takes an extremely long time. If ...
Erik Jones
Jan 2, 2007 at 9:59 pm
Jan 10, 2007 at 8:08 pm -
11
slow result
Hi, I have a slow response of my PostgreSQL database 7.4 using this query below on a table with 800000 rows: select count(*)from tbl; PostgreSQL return result in 28 sec every time. although MS-SQL ...Laurent Manchon
Jan 23, 2007 at 10:35 am
Jan 24, 2007 at 10:19 am -
Hi there, we've partioned a table (using 8.2) by day due to the 50TB of data (500k row size, 100G rows) we expect to store it in a year. Our performance on inserts and selects against the master ...
Colin Taylor
Jan 7, 2007 at 4:37 am
Jan 12, 2007 at 7:52 pm -
Hi, For I can not find too much information about how to use vacuum, I want to ask some general information about the guideline of vacuum planning. 1. How do we know if autovacuum is enough for my ...
Galy Lee
Jan 24, 2007 at 5:38 am
Jan 26, 2007 at 9:08 pm -
This is a query migrated from postgres. In postgres it runs about 10,000 times *slower* than on informix on somewhat newer hardware. The problem is entirely due to the planner. This PostgreSQL 8.1.4 ...
Gregory S. Williamson
Jan 9, 2007 at 11:54 am
Jan 10, 2007 at 2:54 pm -
I've got a table with a few million rows, consisting of a single text column. The average length is about 17 characters. For the sake of an experiment, I put a trigram index on that table. ...
Florian Weimer
Jan 15, 2007 at 10:16 am
Feb 26, 2007 at 1:10 pm -
Hi, I find various references in the list to this issue of queries being too slow because the planner miscalculates things and decides to go for a sequenctial scan when an index is available and ...
Carlos Moreno
Jan 27, 2007 at 3:14 am
Jan 27, 2007 at 9:10 pm -
I am developing an application that has very predictable database operations: -inserts several thousand rows into 3 tables every 5 minutes. (table contain around 10 million rows each) -truncates and ...
Jeremy Haile
Jan 9, 2007 at 5:30 pm
Jan 11, 2007 at 3:42 am -
I am sure that this has been discussed before, but I can't seem to find any recent posts. (I am running PostgreSQL 8.2) I have always ran PostgreSQL on Linux in the past, but the company I am ...
Jeremy Haile
Jan 3, 2007 at 5:27 pm
Jan 10, 2007 at 8:45 pm -
8
Tuning
Hi! I'm planning to move from mysql to postgresql as I believe the latter performs better when it comes to complex queries. The mysql database that I'm running is about 150 GB in size, with 300 ...John Parnefjord
Jan 26, 2007 at 11:28 am
Feb 6, 2007 at 10:21 am -
Check this: query: Delete From ceroriesgo.salarios Where numero_patrono Not In (Select numero_patrono From ceroriesgo.patronos) Seq Scan on salarios (cost=51021.78..298803854359.95 rows=14240077 ...
Sidar López Cruz
Jan 30, 2007 at 9:09 pm
Feb 1, 2007 at 1:30 am -
Hello - I have a fairly large table (3 million records), and am fetching 10,000 non-contigous records doing a simple select on an indexed column ie select grades from large_table where teacher_id = X ...
Mark Dobbrow
Jan 13, 2007 at 12:31 am
Jan 14, 2007 at 7:20 pm -
We have a table with a timestamp attribute (event_time) and a state flag which usually changes value around the event_time (it goes to 4). Now we have more than two years of events in the database, ...
Tobias Brox
Jan 12, 2007 at 8:16 am
Jan 12, 2007 at 10:56 am -
I'm building an e-mail service that has two requirements: It should index messages on the fly to have lightening search results, and it should be able to handle large amounts of space. The server is ...
Charles A. Landemaine
Jan 4, 2007 at 6:00 pm
Jan 10, 2007 at 8:18 pm -
I have a query made by joining two subqueries where the outer query performing the join takes significantly longer to run than the two subqueries. The first subquery runs in 600ms. The seconds ...
Jeremy Haile
Jan 10, 2007 at 4:22 pm
Jan 10, 2007 at 7:30 pm -
Hi, how can I monitor the size of the transaction log files using SQL Statements? Best Regards Silvio Silvio Ziegelwanger Research & Development Fabalabs Software GmbH Honauerstraße 4 4020 Linz ...
Ziegelwanger, Silvio
Jan 17, 2007 at 5:29 pm
Jan 18, 2007 at 10:19 am -
I have a table of messages with paths and inserted dates (among other things), like so: CREATE TABLE Messages ( msgkey BIGSERIAL PRIMARY KEY, path TEXT NOT NULL, inserted TIMESTAMP WITHOUT TIMEZONE ...
Tsuraan
Jan 9, 2007 at 11:05 pm
Jan 10, 2007 at 5:14 pm -
Hello, I am looking at upgrading from 8.1.2 to 8.2.0, and I've found a query which runs a lot slower. Here is the query: select type, currency_id, instrument_id, sum(amount) as total_amount from ...
Dave Dutcher
Jan 5, 2007 at 12:31 am
Jan 8, 2007 at 6:59 pm -
I'm curious what parameters you guys typically *always* adjust on new PostgreSQL installs. I am working with a database that contains several large tables (10-20 million) and many smaller tables ...
Jeremy Haile
Jan 2, 2007 at 4:24 pm
Jan 2, 2007 at 8:04 pm -
Some of my very large tables (10 million rows) need to be analyzed by autovacuum on a frequent basis. Rather than specifying this as a percentage of table size + base threshold, I wanted to specify ...
Jeremy Haile
Jan 18, 2007 at 6:37 pm
Jan 18, 2007 at 9:53 pm -
Hi, Can anybody tell me how can I implement data Caching in the shared memory using PostgreSQL. For one of the projects we are using Postgres version 8.0.3 and were planning to support table ...
Ramachandra Bhaskaram
Jan 16, 2007 at 8:43 am
Jan 16, 2007 at 5:04 pm -
Hello, I have an authorization table that associates 1 customer IP to a service IP to determine a TTL (used by a radius server). table auth client varchar(15); service varchar(15); ttl int4; client ...
Pomarede Nicolas
Jan 29, 2007 at 4:22 pm
Feb 1, 2007 at 7:30 pm -
Hello, I discovered a query which is taking 70 seconds on 8.2.1 which used to take under a second on 8.1.2. I was digging into what was causing it and I believe the problem is a view which the ...
Dave Dutcher
Jan 23, 2007 at 10:08 pm
Jan 30, 2007 at 2:54 pm -
Hi all, I have postgresql 7.4.2 running on debian and I have the oddest postgresql behaviour I've ever seen. I do the following queries: espsm_asme=# select customer_app_config_id, ...
Arnau
Jan 29, 2007 at 12:22 pm
Jan 29, 2007 at 7:43 pm -
PostgreSQL version: 8.2.1 OS: Windows Server 2003 I have a relatively simple query where the planner chooses a sequential scan when using the IN operator but chooses an index scan when using ...
Ryan Holmes
Jan 27, 2007 at 11:35 pm
Jan 28, 2007 at 2:32 am -
Does anyone have experience with using postgres for data warehousing? Right, I saw one post suggestion to use mysql for a mostly read-only database ... but anyway, I think it's not a question to ...
Tobias Brox
Jan 23, 2007 at 12:49 pm
Jan 24, 2007 at 3:21 am -
Hello List, Not sure to which list I should post (gray lines, and all that), so point me in the right direction if'n it's a problem. I am in the process of learning some of the art/science of ...
Kevin Hunter
Jan 17, 2007 at 10:16 pm
Jan 19, 2007 at 9:41 pm -
Hi List, Can anybody help me out with this - is autovacuum similar to vacuum full analyse verbose. -- Regards Gauri
Gauri Kanekar
Jan 18, 2007 at 1:24 pm
Jan 18, 2007 at 2:14 pm -
(now with a more sensible subject) I have been trying to change a many parameters on server versions 7.4.15, 8.1.4, 8.2.0 and 8.2.1. I still hope a have managed to keep my head straigth and that i do ...
Rolf Østvik (HA/EXA)
Jan 14, 2007 at 12:44 pm
Jan 15, 2007 at 8:58 am -
Well, once again I'm hosed because there's no way to tell the optimizer the cost for a user-defined function. I know this issue has already been raised (by me!) several times, but I have to remind ...
Craig A. James
Jan 4, 2007 at 3:10 am
Jan 4, 2007 at 6:56 am -
Hi List, Can anybody suggest some comprehensive test for version change from 8.1.3 to 8.2 -- Thanks in advance Gauri
Gauri Kanekar
Jan 18, 2007 at 4:43 am
Jan 18, 2007 at 5:35 am -
Hi, I know that the problem with the following SQL is the "LOG.CODCEP = ENDE.CODCEP||CODLOG" condition, but what can I do to improve the performance? Is there a type of index that could help or is ...
Carlos H. Reimer
Jan 11, 2007 at 6:17 pm
Jan 11, 2007 at 9:15 pm -
I'm using pg_dump/pg_restore to quickly copy databases between servers. But my server keeps crashing when I run pg_restore: glibc detected *** double free or corruption (!prev): 0x0a00b1a0 Postgres: ...
Craig A. James
Jan 2, 2007 at 1:29 am
Jan 2, 2007 at 6:11 am -
2
work-mem
I have been researching how to improve my overall performance of postgres. I am a little confused on the reasoning for how work-mem is used in the postgresql.conf file. The way I understand the ...Campbell, Lance
Jan 28, 2007 at 8:18 pm
Jan 28, 2007 at 10:11 pm -
Hi List, When auto vacuum is over the dead tuple are seems to get reduced, but physical size of database do not decreases. We are using Postgres 8.1.3 and this are the auto vacuum settings. ...
Gauri Kanekar
Jan 24, 2007 at 8:49 am
Jan 24, 2007 at 9:14 am -
Hi, We are having 3 tables; 1. persons <-- Base table and no data will be inserted in this table. 2. Person1 <-- Inherited table from persons all data will be inserted in this table. 3. PersonalInfo ...
Ramachandra Bhaskaram
Jan 17, 2007 at 10:43 am
Jan 22, 2007 at 9:42 am -
Hi, Can anybody help me out to get following info of all the tables in a database. table_len tuple_count tuple_len tuple_percent dead_tuple_count dead_tuple_len dead_tuple_percent free_space ...
Gauri Kanekar
Jan 16, 2007 at 1:48 pm
Jan 17, 2007 at 6:37 am -
Adam, This optimization would require teaching the planner to use an index for MAX/MIN when available. It seems like an OK thing to do to me. - Luke
Luke Lonergan
Jan 15, 2007 at 7:41 am
Jan 15, 2007 at 3:54 pm -
Hello All, I am using the latest 8.2 source that I compiled with Sun Studio 11 and tested it on Solaris 10 11/06 against an app server. I find that the CPU utilization was higher than I expected and ...
Jignesh Shah
Jan 13, 2007 at 11:38 pm
Jan 14, 2007 at 3:08 am -
Greetings, I've been running Postgresql for many years now and have been more than happy with its performance and stability. One of those things I've never quite understood was vacuuming. So I've ...
Daryl Herzmann
Jan 6, 2007 at 7:26 pm
Jan 6, 2007 at 7:46 pm -
Hello, we recently migrated our system from 8.1.x to 8.2 and when running dumps have noticed an extreme decrease in speed where the dump is concerned (by more than a factor of 2). I was wondering if ...
Erik Jones
Jan 2, 2007 at 4:42 pm
Jan 2, 2007 at 5:40 pm -
If I set work-mem at a particular amount of memory how do I answer the following questions: 1) How many of my queries were able to run inside the memory I allocated for work-mem? 2) How many of my ...
Campbell, Lance
Jan 29, 2007 at 3:07 am
Jan 29, 2007 at 2:54 pm -
Hello all, I have a setup in which four client machines access a Postgres database (8.1.1) (on a Linux box). So, there are connections from each machine to the database; hence, the Linux box has ...
Subramaniam Aiylam
Jan 23, 2007 at 4:11 pm
Jan 24, 2007 at 8:49 am -
Did anybody get a chance to look at this? Is it expected behavior? Everyone seemed so incredulous, I hoped maybe this exposed a bug that would be fixed in a near release. -----Original Message----- ...
Adam Rich
Jan 15, 2007 at 4:51 am
Jan 15, 2007 at 10:36 am -
12345678901234567890123456789012345678901234567890123456789012345678901234567890 00000000001111111111222222222233333333334444444444555555555566666666667777777777 I have been trying to change a many ...
Rolf Østvik (HA/EXA)
Jan 14, 2007 at 12:31 pm
Jan 14, 2007 at 1:46 pm -
Hi, Carlos, Wouldn't it be better if you used INT in 'codcep' in both tables (as CEP/ZIP numbers are [0-9]{8})? Casting as Tom Lane suggested is also a good alternative, yet I think it'd be much ...
Cesar Suga
Jan 11, 2007 at 11:48 pm
Jan 12, 2007 at 5:37 pm
Group Overview
group | pgsql-performance |
categories | postgresql |
discussions | 58 |
posts | 451 |
users | 114 |
website | postgresql.org |
irc | #postgresql |
114 users for January 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)