Search Discussions
-
Query below seems to use indexes everywhere in most optimal way. dokumnr column is of type int Speed of this query varies rapidly: In live db fastest response I have got is 8 seconds. Re-running same ...
Andrus
Nov 19, 2008 at 8:40 pm
Nov 24, 2008 at 9:16 pm -
We recently upgraded the databases for our circuit court applications from PostgreSQL 8.2.5 to 8.3.4. The application software didn't change. Most software runs fine, and our benchmarks prior to the ...
Kevin Grittner
Nov 5, 2008 at 6:45 pm
Nov 11, 2008 at 3:07 pm -
Both queries return same result (19) and return same data. Pattern query is a much slower (93 sec) than equality check (13 sec). How to fix this ? Using 8.1.4, utf-8 encoding, et-EE locale. Andrus. ...
Andrus
Nov 22, 2008 at 8:41 pm
Nov 28, 2008 at 2:58 pm -
Hello. For a long time already I can see very poor OR performance in postgres. If one have query like "select something from table where condition1 or condition2" it may take ages to execute while ...
ІцвРЫцЩ ВШЬзШиШЭ
Nov 5, 2008 at 11:12 am
Nov 17, 2008 at 9:52 am -
Hi, I have table with cca 60.000 rows and when I run query as: Update table SET column=0; after 10 minutes i must stop query, but it still running :( I've Postgres 8.1 with all default settings in ...
Firerox
Nov 10, 2008 at 4:30 pm
Nov 16, 2008 at 2:56 pm -
12
Perc 3 DC
Hi chaps, I've had this old card sitting on my desk for a while. It appears to be a U160 card with 128Mb BBU so I thought I'd wang it in my test machine (denian etch) and give it a bash. I set up 4 ...Glyn Astill
Nov 22, 2008 at 2:18 pm
Nov 24, 2008 at 5:02 pm -
Why is this view 9x slower than the base table? [email protected]=# explain analyze select count(*) from loan_tasks_committed; QUERY PLAN ...
Jim 'Decibel!' Nasby
Nov 10, 2008 at 8:26 am
Nov 12, 2008 at 2:34 am -
Index is not used for is null condition: create index makse_dokumnr_idx on makse(dokumnr); explain select sum( summa) from MAKSE where dokumnr is null "Aggregate (cost=131927.95..131927.96 rows=1 ...
Andrus
Nov 11, 2008 at 8:36 pm
Nov 13, 2008 at 12:27 am -
Group by using CHAR columns takes abnormally big time. How to speed it ? Andrus. 8.1.4, cluster locale is en-us, db encoding is utf-8 set search_path to firma2,public; explain analyze SELECT CASE ...
Andrus
Nov 28, 2008 at 3:12 pm
Nov 30, 2008 at 1:02 pm -
Hi folks, I have a simple table that keeps track of a user's access history. It has a a few fields, but the important ones are: - ownerId: the user's ID, a int8 - accessTS: the timestamp of the ...
Dimi Paun
Nov 17, 2008 at 4:26 pm
Nov 17, 2008 at 8:47 pm -
Hi All; I've installed pg_buffercache and I want to use it to help define the optimal shared_buffers size. Currently I run this each 15min via cron: insert into buffercache_stats select now(), ...
Kevin Kempter
Nov 24, 2008 at 6:49 pm
Nov 25, 2008 at 7:38 pm -
Dear List, I would like to improve seq scan performance. :-) I have many cols in a table. I use only 1 col for search on it. It is indexed with btree with text_pattern_ops. The search method is: r ...
Lutischán Ferenc
Nov 10, 2008 at 6:50 am
Nov 17, 2008 at 10:51 am -
I've been searching for performance metrics and tweaks for a few weeks now. I'm trying to determine if the length of time to process my queries is accurate or not and I'm having a difficult time ...
- -
Nov 12, 2008 at 4:27 pm
Nov 16, 2008 at 3:19 pm -
Hello ! Sorry for the subject, I didn't found a better one ! :-/ I'm having a problem with this query (below) that takes betweend 14 and 15 seconds to run, which is too long for the end-user. I've ...
Bruno Baguette
Nov 13, 2008 at 12:10 pm
Nov 13, 2008 at 6:02 pm -
There are columns kuupaev date, cr char(10), db char(10) and regular indexes for all those fields. bilkaib table contains large number of rows. The following query takes too much time. How to make it ...
Andrus
Nov 12, 2008 at 5:06 pm
Nov 12, 2008 at 8:06 pm -
I have a problem with partitioning and I'm wondering if anyone can provide some insight. I'm trying to find the max value of a column across multiple partitions. The query against the partition set ...
Greg Jaman
Nov 26, 2008 at 4:07 am
Dec 2, 2008 at 12:00 pm -
Hey all, This may be more of a Linux question than a PG question, but I'm wondering if any of you have successfully allocated more than 8 GB of memory to PG before. I have a fairly robust server ...
Ryan Hansen
Nov 26, 2008 at 10:10 pm
Nov 28, 2008 at 10:28 pm -
There are indexes on rid(dokumnr) and dok(dokumnr) and dokumnr is int. Instead of using single key index, 8.1.4 scans over whole rid table. Sometimes idtelluued can contain more than single row so ...
Andrus
Nov 22, 2008 at 8:41 pm
Nov 23, 2008 at 12:41 pm -
Hi, I have a problem with large objects in postgresql 8.1: The performance of loading large objects into a database goes way down after a few days of operation. I have a cron job kicking in twice a ...
Vegard Bønes
Nov 25, 2008 at 12:54 pm
Nov 28, 2008 at 3:32 pm -
Adding limit clause causes very slow query: explain analyze select * from firma2.dok where doktyyp='J' order by dokumnr limit 100 "Limit (cost=0.00..4371.71 rows=100 width=1107) (actual ...
Andrus
Nov 23, 2008 at 9:41 pm
Nov 24, 2008 at 11:10 pm -
Hi. I have a Perl script whose main loop generates thousands of SQL updates of the form UPDATE edge SET keep = true WHERE node1 IN ( $node_list ) AND node2 = $node_id; ...where here $node_list stands ...
Kynn Jones
Nov 18, 2008 at 3:53 pm
Nov 21, 2008 at 1:35 am -
Hello. It's second query rewrite postgresql seems not to handle - making EXCEPT from NOT IT. Here is an example: Preparation: drop table if exists t1; drop table if exists t2; create temporary table ...
ІцвРЫцЩ ВШЬзШиШЭ
Nov 19, 2008 at 11:51 am
Nov 19, 2008 at 3:12 pm -
Hi, I have defined sequence on a table something like this CREATE SEQUENCE items_unqid_seq INCREMENT 1 MINVALUE 0 MAXVALUE 9223372036854775807 START 7659 CACHE 1; this is on a table called items. ...
Kranti™ K K Parisa
Nov 19, 2008 at 3:54 pm
Nov 20, 2008 at 5:04 am -
Hello, I've had the feeling for a while that the pg_stat_bgwriter statistics doesn't work quite the way I have understood it (based on the excellent [1] and the pg docs). I am now monitoring a ...
Peter Schuller
Nov 5, 2008 at 12:38 pm
Nov 6, 2008 at 11:04 pm -
Hello, I have following common situation: Category IDs: about 50 000 Document IDs: about 3 000 000 Many to many relationship. A document id have a relation with 10 up to 1000 category ids One query, ...
Chavdar Kopoev
Nov 26, 2008 at 3:38 pm
Nov 27, 2008 at 4:40 pm -
Hi All; I'm looking for tips / ideas per performance tuning some specific queries. These are generally large tables on a highly active OLTP system (100,000 - 200,000 plus queries per day) First off, ...
Kevin Kempter
Nov 27, 2008 at 4:50 am
Nov 27, 2008 at 10:09 am -
I have a database in a production server (8.1.9) with to schema containing the sames table same index, same every thing, but with different data. When I execute a query in one schema, it take much ...
Patrice Beliveau
Nov 14, 2008 at 4:29 pm
Nov 14, 2008 at 5:14 pm -
I found that simple IN query on indexed tables takes too much time. dok and rid have both indexes on int dokumnr columnr and dokumnr is not null. PostgreSql can use index on dok or event on rid so it ...
Andrus
Nov 10, 2008 at 4:25 pm
Nov 10, 2008 at 6:23 pm -
I am struggeling with the following query which fetches a random subset of 200 questions that matches certain tags within certain languages. However, the query takes forever to evaluate, even though ...
Tmp
Nov 30, 2008 at 7:12 pm
Dec 1, 2008 at 1:30 pm -
ok, I have an application that I am trying to speed up. Its a reporting application that makes heavy use of the crosstab function. Here is some of the setup / configuration details: Postgres 8.3.3 ...
Jeremiah Elliott
Nov 13, 2008 at 8:42 pm
Nov 13, 2008 at 11:06 pm -
Hi all My database server db01 is on linux environment and size of base folder increasing very fast unexpectedly(creating renamed files of 1 GB in base folder like 1667234568.10) details as below ...
Brahma tiwari
Nov 6, 2008 at 10:51 am
Nov 6, 2008 at 11:57 am -
So, we had a query run accidentally without going through the right checks to ensure that it had the right limits in a where clause for our table partitioning, resulting in an attempt to scan TB's of ...
Scott Carey
Nov 5, 2008 at 8:37 pm
Nov 5, 2008 at 10:19 pm -
Hi, I have to manage a database that is getting way too big for us. Currently db size is 304 GB. One table is accounting for a third of this space. The table itself has 68.800.000 tuples, taking ...
Franck Routier
Nov 12, 2008 at 10:28 pm
Nov 12, 2008 at 11:44 pm -
Hello , I am trying to install postgresql-8.1.5 and postgresql-8.2.5 in linux (Linux version 2.6.25-14.fc9.i686 (mockbuild@) (gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) ) #1 SMP Thu May 1 ...
Praveen
Nov 4, 2008 at 2:17 pm
Nov 4, 2008 at 2:43 pm -
Hi, I have a small problem. I have one view which sum's a another tables field and uses that sum for several things including filtering. Every time it uses the that summarised field in other queries ...
Martin Kjeldsen
Nov 4, 2008 at 10:56 am
Nov 4, 2008 at 1:39 pm -
explain analyze SELECT sum(1) FROM dok JOIN rid USING (dokumnr) WHERE dok.kuupaev ='2008-05-01' and ( ( dok.doktyyp IN ('V','G','Y','K','I','T','D','N','H','M','E','B','A','R','C','F','J','Q') AND ...
Andrus
Nov 30, 2008 at 8:42 pm
Nov 30, 2008 at 8:42 pm -
Hi All, Thank you all in advance for your answers. My application does bulk inserts on a table (50,000 rows concurrently by 10 threads), There are 3 indexes on the table whose update takes a lot of ...
Anshul Dutta
Nov 10, 2008 at 5:21 pm
Nov 10, 2008 at 5:21 pm -
Dear All, Recently i have released the next version of the epqa. which is a very useful tool for, gives input for optimizing psql queries, and fine tuning it. epqa is tool similar like, pqa. But ...
Sathiya psql
Nov 4, 2008 at 12:25 pm
Nov 4, 2008 at 12:25 pm
Group Overview
group | pgsql-performance |
categories | postgresql |
discussions | 38 |
posts | 306 |
users | 74 |
website | postgresql.org |
irc | #postgresql |
74 users for November 2008
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)