threads listlengths 1 275 |
|---|
[
{
"msg_contents": "The query plan appends sequential scans on the tables in the partition \n(9 tables, ~4 million rows) and then hash joins that with a 14 row \ntable. The join condition is the primary key of each table in the \npartition (and would be the primary key of the parent if that was \nsupported).\nIt... |
[
{
"msg_contents": "This is not a performance bug -- my query takes a reasonably long\namount of time, but I would like to see if I can get this calculation\nany faster in my setup.\n\nI have a table:\nvolume_id serial primary key\nswitchport_id integer not null\nin_octets bigint not null\nout_octets bigint not ... |
[
{
"msg_contents": "Hi Guys,\n\nI'm in the process of setting up some new hardware and am just doing some basic disk performance testing with bonnie++ to start with.\n\nI'm seeing a massive difference on the random seeks test, with CFQ not performing very well as far as I can see. The thing is I didn't see this... |
[
{
"msg_contents": "Sorry for not responding directly to your question and for changing\nthe subject ... ;-)\n\nOn 4 March 2011 18:18, Landreville <landreville@deadtreepages.com> wrote:\n> That is partitioned into about 3000 tables by the switchport_id (FK to\n> a lookup table), each table has about 30 000 rows ... |
[
{
"msg_contents": "Hi,\n\nI am running Postgresql 8.4.7 with Postgis 2.0 (for raster support).\nServer is mainly 1 user for spatial data processing. This involves queries\nthat can take hours.\n\nThis is running on a ubuntu 10.10 Server with Core2Duo 6600 @ 2.4 GHZ, 6 GB\nRAM.\n\nMy postgresql.conf:\n# - Memory... |
[
{
"msg_contents": "Originally, I posted to -general but I found some time to write some\nsamples, and realized it's probably more of a performance question.\n\nThe original post is here:\nhttp://archives.postgresql.org/pgsql-general/2011-03/msg00198.php\n\nI was hoping that somebody could help me understand the... |
[
{
"msg_contents": "Dear all,\n\nCan anyone Please guide me with some suggestions on how to tune the \nbelow query as I needed to perform the below query as faster as i can.\n\nI have 3 tables on which the query runs:\n\npdc_uima=# select \npg_size_pretty(pg_total_relation_size('page_content_demo'));\n pg_size_p... |
[
{
"msg_contents": "Hello,\nI have a problem with table partitioning because i have a foreign key \napplied on the partionned table and it throw a constraint violation \nerror during inserts.\nI saw on the manual \n(http://www.postgresql.org/docs/8.4/interactive/ddl-inherit.html caveats \nsection) that it's a li... |
[
{
"msg_contents": "I'm setting up my first PostgreSQL server to replace an existing MySQL server. I've been reading Gregory Smith's book Postgres 9.0 High Performance and also Riggs/Krosing's PostgreSQL 9 Administration Cookbook. While both of these books are excellent, I am completely new to PostgreSQL and I... |
[
{
"msg_contents": "Given that doing a massive UPDATE SET foo = bar || ' ' || baz; on a 12 million\nrow table (with about 100 columns -- the US Census PUMS for the 2005-2009 ACS)\nis never going to be that fast, what should one do to make it faster?\n\nI set work_mem to 2048MB, but it currently is only using a l... |
[
{
"msg_contents": "Hello, list\n\nOur company is creating a ticketing system. Of course the performance \nissues are very important to us (as to all of you I guess). To increase \nspeed of some queries stable functions are used, but somehow they don't \nact exactly as I expect, so would you please explain what ... |
[
{
"msg_contents": "Hi postgressers -\n\nAs part of my work with voter file data, I pretty regularly have to \njoin one large-ish (over 500k rows) table to another. Sometimes this \nis via a text field (countyname) + integer (voter id). I've noticed \nsometimes this converges and sometimes it doesn't, seeming... |
[
{
"msg_contents": "Hi,\n\nI need an ANTI-JOIN (not exists SELECT something from table.../ left join table WHERE table.id IS NULL) on the same table. Acutally I have an index to serve the not exists question, but the query planner chooses to to a bitmap heap scan.\n\nThe table has 100 Mio rows, so doing a heap s... |
[
{
"msg_contents": "Hello,\n\n \n\nWe are using PostgreSQL 9.0.3, compiled by Visual C++ build 1500,\n32-bit, installed on Windows 2003 R2 32-bit.\n\n \n\nWe have an 'aisposition' table used for a GPS tracking application,\ncontaining ~30 million rows and a number of indexes. Two of these are:\n\n \n\nidx_recei... |
[
{
"msg_contents": "The row estimate is way off. Is autovacuum disabled?",
"msg_date": "Sun, 13 Mar 2011 12:21:47 +0000",
"msg_from": "Jeremy <jgh@wizmail.org>",
"msg_from_op": true,
"msg_subject": "Re: Planner wrongly shuns multi-column index for select\n\t.. order by col1, col2 limit 1"
}
] |
[
{
"msg_contents": "Nothing?\n\nNo ideas?\n\nDid I forget to include some useful bit?\n\nOn Fri, Mar 4, 2011 at 8:22 PM, Claudio Freire <klaussfreire@gmail.com> wrote:\n> Hello, first post to this list.\n>\n> I have this query that ran in milliseconds in postgres 8.3.7 (usually 50,\n> 100ms), and now it takes a ... |
[
{
"msg_contents": "This is postgresql 9.0.3:\n\n\nQuery:\n\nselect\n\tsum(stat_responses) * 100.0 / sum(stat_invites) as stat_response_rate,\n\tsum(real_responses) * 100.0 / sum(real_invites) as real_response_rate\nfrom (\n\tselect\n\t\tms.invites as stat_invites,\n\t\t(select count(*) from invites i join deliv... |
[
{
"msg_contents": "hi all,\n\nSetup:\nSparc, Solaris 10, Postgres 9.0.2, using streaming replication and hot\nstandby. 1 master 1 slave\n\nEverything works fine (w.r.t replication), but the pg_xlog size grows\ncontinuously, though i had no operations going on. Also the archiving to the\nother side filled up the... |
[
{
"msg_contents": "Hi all,\n\nWe added an index to a table (to support some different functionality) then\nran into cases where the new index (on month, bl_number in the schema below)\nmade performance of some existing queries ~20,000 times worse. While we do\nhave a workaround (using a CTE to force the proper... |
[
{
"msg_contents": "Hi,\n\nI'm having trouble with some sql statements which use an expression with\nmany columns and distinct in the column list of the select.\nselect distinct col1,col2,.....col20,col21\nfrom table1 left join table2 on <join condition>,...\nwhere\n <other expressions>;\n\nThe negative result i... |
[
{
"msg_contents": "Dear all,\n\nI am facing a problem while creating the index to make the below query \nrun faster. My table size is near about 1065 MB and 428467 rows.\n\nexplain analyze select count(*) from page_content where \npublishing_date like '%2010%' and content_language='en' and content is \nnot... |
[
{
"msg_contents": "Hey!\nI'm having some trouble optimizing a query that uses a custom operator class.\n#Postgres has given me a solution for natural sort -\nhttp://www.rhodiumtoad.org.uk/junk/naturalsort.sql\n\nI'm trying to run it over a huge table - when running it on demand,\nthe data needs to be dumped to ... |
[
{
"msg_contents": "Tom Lane <tgl@sss.pgh.pa.us> wrote:\n> \"Kevin Grittner\" <Kevin.Grittner@wicourts.gov> writes:\n \n>> We've seen a lot of those lately -- Index Scan Backward\n>> performing far worse than alternatives.\n> \n> It's not clear to me that that has anything to do with Tim's\n> problem. It certai... |
[
{
"msg_contents": "Greetings.\n\nI recently ran into a problem with a planner opting for a sequential scan\nrather than a bitmap heap scan because the stats suggested that my delete\nquery was going to affect 33% of the rows, rather than the 1% it really\nwas. I was able to follow the planner's logic and came ... |
[
{
"msg_contents": "Hi,\n\nI've been looking around for information on doing a pg_restore as fast as\npossible. It is for a backup machine so I am not interested in anything like\ncrash recovery or anything else that would impact speed of load. I just want\nto go from no database to database there as fast as pos... |
[
{
"msg_contents": "hey folks,\n\nRunning into some odd performance issues between a few of our db \nboxes. While trying to speed up a query I ran it on another box and \nit was twice as fast. The plans are identical and various portions of \nthe query run in the same amount of time - it all boils down to m... |
[
{
"msg_contents": "Hello,\n\nAt MusicBrainz we're looking to get a new database server, and are\nhoping to buy this in the next couple of days. I'm mostly a software\nguy, but I'm posting this on behalf of Rob, who's actually going to be\nbuying the hardware. Here's a quote of what we're looking to get:\n\n ... |
[
{
"msg_contents": "Hello\n\nfor example queries with LIMIT clause can be significantly faster with\nnested loop. But you don't need to disable nested loop globally.\n\nYou can wrap your query to sql functions and disable nested loop just\nfor these functions.\n\nRegards\n\nPavel Stehule\n\n2011/3/18 Anssi Kääri... |
[
{
"msg_contents": "Hi all,\n\nOur system has a postgres database that has a table for statistic which is\nupdated every hour by about 10K clients. Each client only make update to its\nown row in the table. So far I am only seeing one core out of eight cores on\nmy server being active which tells me that the upd... |
[
{
"msg_contents": "[rearranged - please don't top-post]\n\n[also, bringing this back to the list - please keep the list copied]\n \nRed Maple <redmapleleaf@gmail.com> wrote:\n> Kevin Grittner <Kevin.Grittner@wicourts.gov> wrote:\n \n>> It should be parallel by default. Are you taking out any\n>> explicit locks... |
[
{
"msg_contents": "I have a large table but not as large as the kind of numbers that get\ndiscussed on this list. It has 125 million rows.\n\nREINDEXing the table takes half a day, and it's still not finished.\n\nTo write this post I did \"SELECT COUNT(*)\", and here's the output -- so long!\n\n select count... |
[
{
"msg_contents": "Hi all,\n\nAt Bull company, we want to answer a call for tender from a large \ncompany. And we are asked for information about PostgreSQL performance \nunder AIX on Power 7 servers.\n\nBy chance, has someone some data about this ?\nHas someone performed a benchmark using AIX quite recently ?\... |
[
{
"msg_contents": "I have noticed that SELECT ... = ANY(ARRAY(...)) is about twice as fast as SELECT IN ( ... ).\nCan anyone explain a reason for this? Results are the bottom and are reproducible. I can test with other versions if that is necessary.\n\n./configure --prefix=/usr/local/pgsql84 --with-openssl -... |
[
{
"msg_contents": "I have a function where in\nIn a cursor loop I\n\n1. create a temp table (on commit drop)\n\n2. insert data into it\n\n3. Run Analyze on the table\n\n\n\nSelect/update outside the loop.\n\nThis has been running fine for a while on multiple setups, large and small volumes. Th... |
[
{
"msg_contents": "I posted many weeks ago about a severe problem with a table that was\nobviously bloated and was stunningly slow. Up to 70 seconds just to get a\nrow count on 300k rows.\n\nI removed the text column, so it really was just a few columns of fixed\ndata.\nStill very bloated. Table size was 450M\... |
[
{
"msg_contents": "Dear all,\n\nI have 2 tables in my database name clause2( 4900 MB) & \npage_content(1582 MB).\n\nMy table definations are as :\n\n*page_content :-\n\n*CREATE TABLE page_content\n(\n content_id integer,\n wkb_geometry geometry,\n link_level integer,\n isprocessable integer,\n isvalid inte... |
[
{
"msg_contents": "Thanks Chetan, After my Lunch Break, I tried the below steps :\n\n*My original query was :\n*explain analyze select distinct(p.crawled_page_id) from page_content p \n, clause2 c where p.crawled_page_id != c.source_id\n\nwhich hangs because it is wrong query to fetch the desired output .\n\n*... |
[
{
"msg_contents": "Hi,\n\nI have very bad bgwriter statistics on a server which runs since many weeks\nand it is still the same after a recent restart.\nThere are roughly 50% of buffers written by the backend processes and the\nrest by checkpoints.\nThe statistics below are from a server with 140GB RAM, 32GB sh... |
[
{
"msg_contents": "Folks,\n\nYet more evidence that we need some way to assess query plans which are\nhigh-risk and avoid them (or have Yet Another GUC):\n\n Merge Join (cost=29.16..1648.00 rows=382 width=78) (actual\ntime=57215.167..57215.216 rows=1 loops=1)\n Merge Cond: (rn.node_id = device_nodes.node_id)... |
[
{
"msg_contents": "Given two tables:\n\nCREATE TABLE product_price_history\n(\n hid bigint NOT NULL,\n hdate timestamp without time zone NOT NULL,\n id bigint NOT NULL,\n product_id bigint NOT NULL,\n.... more columns here\n CONSTRAINT pk_product_price_history PRIMARY KEY (hid);\n\nCREATE INDEX idx_pr... |
[
{
"msg_contents": "Hi All,\n\npg9.0.3 explain analyze running very slow compared to old box with much less\nconfiguration.\n\nBut actual query is performing much better than the old server.\n\n============old Server===============\nOS: CentOS release 5.4 (Final)\nLinux Server 2.6.18-164.6.1.el5 #1 SMP Tue Nov 3... |
[
{
"msg_contents": "Hi,\n\nI see my application creating temporary files while creating an index.\nLOG: temporary file: path \"base/pgsql_tmp/pgsql_tmp7076.0\", size 779853824\nSTATEMENT: CREATE INDEX IDX_LPA_LINKID ON NNDB.LPA (LINK_ID);\n\nSo I checked this again and raised afterwards maintenance_work_mem st... |
[
{
"msg_contents": "Dear all,\n\nToday I got to run a query internally from my application by more than \n10 connections.\n\nBut The query performed very badly. A the data size of tables are as :\n\npdc_uima=# select pg_size_pretty(pg_total_relation_size('clause2'));\n pg_size_pretty\n----------------\n 5858 MB... |
[
{
"msg_contents": "Today is the launch of Intel's 3rd generation SSD line, the 320 series. \nAnd they've finally produced a cheap consumer product that may be useful \nfor databases, too! They've put 6 small capacitors onto the board and \nadded logic to flush the write cache if the power drops. The cache on... |
[
{
"msg_contents": "Dear list,\n\nwe have got a web application and when people log in some information is \nwritten to the user tables. We have around 500 active users, but at the \nmost 5 people are logged in at the same time. From times to times people \nlog in and then the application is not responsive any m... |
[
{
"msg_contents": "I've got some functionality that necessarily must scan a relatively large\ntable. Even worse, the total workload is actually 3 similar, but different\nqueries, each of which requires a table scan. They all have a resultset\nthat has the same structure, and all get inserted into a temp table... |
[
{
"msg_contents": "Just some information on our setup:\r\n\r\n- HP DL585 G6 \r\n- 4 x AMD Opteron 8435 (24 cores)\r\n- 256GB RAM\r\n- 2 FusionIO 640GB PCI-SSD (RAID0)\r\n- dual 10GB ethernet.\r\n\r\n- we have several tables that we store calculated values in.\r\n- these are inserted by a compute farm that calcu... |
[
{
"msg_contents": "Hi All,\n\nI'm trying to delete one row from a table and it's taking an extremely long time. This parent table is referenced by other table's foreign keys, but the particular row I'm trying to delete is not referenced any other rows in the associative tables. This table has the following stru... |
[
{
"msg_contents": "For this query:\n\nselect pp.id,pp.product_id,pp.selling_site_id,pp.asin\nfrom product_price pp\nwhere\n(pp.asin is not null and pp.asin<>'')\nand (pp.upload_status_id<>1)\nand pp.selling_site_id in (8,7,35,6,9)\nand (pp.last_od < 'now'::timestamp - '1 week'::interval )\nlimit 5000\n\nQuery p... |
[
{
"msg_contents": "When I do a query on a table with child tables on certain queries pg\nuses indexes and on others it doesn't. Why does this happen? For example:\n\n\n[local]:playpen=> explain analyze select * from vis where id > 10747 ;\n QUERY\nPL... |
[
{
"msg_contents": "Is there a reason that when executing queries the table constraints are\nonly checked during planning and not execution? I end up making 2 round\ntrips to the database to get around this.\n\nAll of these queries should produce the same output:\n\n \n[local]:playpen=> explain analyze select ... |
[
{
"msg_contents": "I have a PL/PGSQL stored procedure on my server which is about 3,500 lines\nlong. To further improve performance after more than year of optimizing the\nPL/PGSQL, and also to hide the logic so it is not as easy to copy, I am\nstarting to re-write the stored procedure in C. The initial design ... |
[
{
"msg_contents": "Dear all,\n\nI have a Postgres database server with 16GB RAM.\nOur application runs by making connections to Postgres Server from \ndifferent servers and selecting data from one table & insert into \nremaining tables in a database.\n\nBelow is the no. of connections output :-\n\npostgres=# se... |
[
{
"msg_contents": "Dear all,\n\n I want to clear my doubts regarding creating several single or a \nmulti-column indexes.\nMy table schema is :-\nCREATE TABLE svo2( svo_id bigint NOT NULL DEFAULT \nnextval('svo_svo_id_seq'::regclass), doc_id integer, sentence_id \ninteger, clause_id integer, negation integ... |
[
{
"msg_contents": "Would really appreciate someone taking a look at the query below.... \nThanks in advance!\n\n\nthis is on a linux box...\nLinux dsrvr201.larc.nasa.gov 2.6.18-164.9.1.el5 #1 SMP Wed Dec 9 \n03:27:37 EST 2009 x86_64 x86_64 x86_64 GNU/Linux\n\nexplain analyze\nselect MIN(IV.STRTDATE), MAX(IV.EN... |
[
{
"msg_contents": "I'm using 9.1dev.\n\nCould someone explain the following behaviour?\n\n-- create a test table\nCREATE TABLE indextest (id serial, stuff text);\n\n-- insert loads of values with intermittent sets of less common values\nINSERT INTO indextest (stuff) SELECT 'meow' FROM generate_series (1,1000000... |
[
{
"msg_contents": "Hello,\n\nI saw some recommendations from people on the net not to use background fsck when running PostgreSQL \non FreeBSD. As I recall, these opinions were just thoughts of people which they shared with the \ncommunity, following their bad experience caused by using background fsck. So, not... |
[
{
"msg_contents": "http%3A%2F%2Fwww%2Eproductionsoundmixer%2Eorg%2Fimages%2Famw%2Ephp\n",
"msg_date": "Fri, 8 Apr 2011 16:08:18 +0200",
"msg_from": "Whatever Deep <whatever.deep@gmail.com>",
"msg_from_op": true,
"msg_subject": ""
}
] |
[
{
"msg_contents": "Database Test Suite\nH o w are you all ??\nI am new in this group.\nI have windows 7 as OS and i installed postgresql 9.0 i want \na to do some tests so i need bench mark to test some workloads?\ni need the same as Database Test Suite \nhttp://sourceforge.net/projects/osdldbt/\nbut for window... |
[
{
"msg_contents": "Hi,\n\nI am trying to tune a query that is taking too much time on a large\ndataset (postgres 8.3).\n\n \n\nSELECT DISTINCT\n\n role_user.project_id AS projectId,\n\n sfuser.username AS adminUsername,\n\n sfuser.full_name AS adminFullName\n\nFROM\n\n role_operation rol... |
[
{
"msg_contents": "I have a table that I need to rebuild indexes on from time to time (records get loaded before indexes get build).\n\nTo build the indexes, I use 'create index ...', which reads the entire table and builds the index, one at a time.\nI'm wondering if there is a way to build these indexes in par... |
[
{
"msg_contents": "Dear ,all \ni would to ask you about how postgresql optimizer parameters :-\n1- random page cost \n2- cpu tuple cost3- cpu operator cost4- cpu index tuple cost5- effective cache \nsize\nplay as parameters in cost estimator equation \ni imagine that cost function is the same as\nf(x,y,z,....)=... |
[
{
"msg_contents": "Hi Guys,\n\nI'm just doing some tests on a new server running one of our heavy select functions (the select part of a plpgsql function to allocate seats) concurrently. We do use connection pooling and split out some selects to slony slaves, but the tests here are primeraly to test what an in... |
[
{
"msg_contents": "Hi All,\n\nI have setup postgres 9 master slave streaming replication but\nexperiencing slave lagging sometimes by 50 min to 60 min. I am not\ngetting exact reason for slave lag delay. Below are the details:\n\n1. Master table contains partition tables with frequent updates.\n2. Slave is used... |
[
{
"msg_contents": "I have a database that contains many tables, each with some common \ncharacteristics. For legacy reasons, they have to be implemented in a \nway so that they are *all* searchable by an older identifier to find the \nnewer identifier. To do this, we've used table inheritance.\n\nEach entry has... |
[
{
"msg_contents": "Dear ,all\nplz could any one help me !!!\nhow explian works as math equations to estimate cost with constatn query \nparameters\nsuch as cpu_tuple cost ,random page cost ...etc\n i want maths expression in order to know how these parameters will effect in \ncost ???\nplease any one can hel... |
[
{
"msg_contents": "I have two servers one has replication the other does not. The same\nquery on both servers. One takes 225seconds on the replicated server\nthe first time it runs and only 125ms on the other server the first time\nit runs. The second time you execute the query it drops to the 125ms.\nThey ar... |
[
{
"msg_contents": "Hi everybody,\n\nI have a performance-problem with a query using a LIMIT. There are other threads rergading performance issues with LIMIT, but I didn't find useful hints for our problem and it might\nbe interesting for other postgres-users.\n\n\nThere are only 2 simple tables:\n\nCREATE TABLE... |
[
{
"msg_contents": "Hi,\n\nAnyone lucky to have dbt5 run for PostgreSQL 9.0.3?!\n\nI am trying on Novell SuSE Linux Enterprise Server 11 SP1 x86_64 with a\nvirtual machine and bit hard with no success run yet. If you can help me\nwith any docs will be more of a support.\n\nRegards,\n\nSethu Prasad\n\nHi,Anyone l... |
[
{
"msg_contents": "I have been wrestling with the configuration of the dedicated Postges 9.0.3 server at work and granted, there's more activity on the production server, but the same queries take twice as long on the beefier server than my mac at home. I have pasted what I have changed in postgresql.conf - I a... |
[
{
"msg_contents": "Hi,\nI have done migration of the Request Tracker 3.8.9\n(http://requesttracker.wikia.com/wiki/HomePage) from Mysql to\nPostgreSQL in testing environment.\nThe RT schema used can be viewed at\nhttps://github.com/bestpractical/rt/blob/3.8-trunk/etc/schema.Pg.\nI have added full text search on ... |
[
{
"msg_contents": "Sorry for resurrecting this thread, but this has been in my outbox for months and I think it is important: On Oct 27, 2010, at 12:56 PM, Tom Lane wrote: > Scott Carey writes: > > Why does hashjoin behave poorly when the inner relation is not > > uniformly distributed and the outer is? > Becau... |
[
{
"msg_contents": "hi.\n\n>I think you're missing the point, which is that all the hash work is\n>just pure overhead in such a case (and it is most definitely not\n>zero-cost overhead). You might as well just do a nestloop join.\n>Hashing is only beneficial to the extent that it allows a smaller subset\n>of th... |
[
{
"msg_contents": "We are experiencing a problem with our query plans when using a range \nquery in Postgresql 8.3. The query we are executing attempts to select \nthe minimum primary key id after a certain date. Our date columns are \nbigint's holding a unix epoch representation of the date. We have an \nindex... |
[
{
"msg_contents": "Hi List,\nI am using PostgreSQL 9.0.3 and I have a need to dump only the selective\ndata from partial list of tables of a database. Is there a straight way to\ndo it with pg_dump or any alternative work around to suggest here?!\n\nSethu Prasad. G.\n\nHi List,I am using PostgreSQL 9.0.3 and I ... |
[
{
"msg_contents": "Hi all:\n\nAn application running against a postgres 8.4.5 database under CentOS\n5.5 uses cursors (I think via SqlAlchemy). To look for database\nperformance issues I log any query that takes > 2 seconds to complete.\n\nI am seeing:\n\n 2011-04-16 00:55:33 UTC user@database(3516): LOG: dur... |
[
{
"msg_contents": "I browsed the faq and looked at PostgreSQL performance books but I\ncould not find the obvious:\nHow to configure a read-only database server?\n\nI have a single-disk virtual Linux system and a read-only dataset\nwhich is exposed to internet and completely replaced from time to\ntime.\n\nThis... |
[
{
"msg_contents": "2 kingston V+100 500GB\nSoft RAID1 (md)\nioscheduler [noop]\next3\nLinux pro-cdn1 2.6.26-2-amd64 #1 SMP Tue Jan 25 05:59:43 UTC 2011\nx86_64 GNU/Linux\nFilesystem Size Used Avail Use% Mounted on\n/dev/md4 452G 301G 128G 71% /home/ssd\n--------\n\nRandom 8KB read/wr... |
[
{
"msg_contents": "Hi,\n\nI'm using PostgreSQL 8.4 (and also 8.3).\n\nA partial index like this:\nCREATE INDEX table2_field1_idx\n ON table2 (field1)\n WHERE NOT field1 ISNULL;\n\nWill not be used when select one record from 100K records:\n\nexplain select * from table2 where field1 = 256988\n'Seq Scan on tabl... |
[
{
"msg_contents": "Hi,\nwe are facing a performance issue on Postgres 8.4, the CPU reaches 100% \nwith less than 50 simultaneous users.\n\nWe were thinking to migrate the HR system from Oracle to Postgres but now \nthat we have those big performance problems on relatively small \napplications, we are questionin... |
[
{
"msg_contents": "All,\n\nApparently our CE is unable to deal with even moderately complex\nexpressions. For example, given a CE check constraint of:\n\n \"chk_start\" CHECK (start >= '2011-01-31 00:00:00-05'::timestamp with\ntime zone AND start < '2011-03-01 00:00:00-05'::timestamp with time zone)\n\nPost... |
[
{
"msg_contents": "So sometime along yellow brick firmware road HP changed (and maybe your\nvendor did too) the output of what happens when the write cache is off due\nto failed batteries attached to the card/cache. (and no they don't always\nbeep with a self test in case someone happens to be walking near your... |
[
{
"msg_contents": "Is there anyone that could help me understand why all of a sudden with\nno noticeable change in data, no change in hardware, no change in OS,\nI'm seeing postmaster getting killed by oom_killer?\n\nThe dmesg shows that swap has not been touched free and total are the\nsame, so this system is ... |
[
{
"msg_contents": "This is a good one :)\n\nHere is a \"brief\" description of our issue(Postgres 9.0): \n\nTables:\nmain fact table:\nTable \"public.parent_fact\"\n Column | Type | \n----------------------+-----------------------------+-----------\n etime | ... |
[
{
"msg_contents": "Hi all\n\nI'm trying to track down the causes of an application crash and reviewing PG\nlogs I'm seeing this:\n\n2011-04-22 06:00:16 CEST LOG: checkpoint complete: wrote 140 buffers\n(3.4%); 0 transaction log file(s) added, 0 removed, 0 recycled; write=27.937\ns, sync=1.860 s, total=29.906 s... |
[
{
"msg_contents": "\nHi all:\n\nI realize this is slightly off topic, but is an issue of concern with\nthe use of ssd's. We are setting up a storage server under solaris\nusing ZFS. We have a couple of ssd's 2 x 160GB Intel X25-M MLC SATA\nacting as the zil (write journal) and are trying to see if it is safe\nt... |
[
{
"msg_contents": "\n\nWilly-Bas Loos <willybas@gmail.com> wrote:\n\n>Hi,\n>\n>I'm using PostgreSQL 8.4 (and also 8.3).\n>\n>A partial index like this:\n>CREATE INDEX table2_field1_idx\n> ON table2 (field1)\n> WHERE NOT field1 ISNULL;\n>\n>Will not be used when select one record from 100K records:\n>\n>explain... |
[
{
"msg_contents": "Not sure if this is the right list...but:\n\nDisclaimer: I realize this is comparing apples to oranges. I'm not\ntrying to start a database flame-war. I just want to say thanks to\nthe PostgreSQL developers who make my life easier.\n\nI manage thousands of databases (PostgreSQL, SQL Server... |
[
{
"msg_contents": "Hi,\n\nI am using PostgreSQL 9.0. There is a salutations table with 44 rows,\nand a contacts table with more than a million rows. The contacts table\nhas a nullable (only 0.002% null) salutation_id column, referencing\nsalutations.id.\n\nWith this query:\n\nSELECT\n salutations.id,\n sa... |
[
{
"msg_contents": "I'm running pgsql on an m1.large EC2 instance with 7.5gb available memory. \n\nThe free command shows 7gb of free+cached. My understand from the docs is that I should dedicate 1.75gb to shared_buffers (25%) and set effective_cache_size to 7gb. \n\nIs this correct? I'm running 64-bit Ubuntu 10... |
[
{
"msg_contents": "Folks,\n\nI'm trying to optimize the following query that performs KL Divergence [1]. As you can see the distance function operates on vectors of 150 floats. \n\nThe query takes 12 minutes to run on an idle (apart from pgsql) EC2 m1 large instance with 2 million documents in the docs table. T... |
[
{
"msg_contents": "Sok Ann Yap wrote:\n> Kevin Grittner wrote:\n \n>> Please show us your overall configuration and give a description\n>> of the hardware (how many of what kind of cores, how much RAM,\n>> what sort of storage system).\n \n> Here's the configuration (this is just a low end laptop):\n \n> vers... |
[
{
"msg_contents": "Hi All,\n\nI am a new comer on postgres world and now using it for some serious (at\nleast for me) projects. I have a need where I am running some analytical +\naggregate functions on data where ordering is done on Date type column.\n\n From my initial read on documentation I believe interna... |
[
{
"msg_contents": "Dear all\n\nWhen database files are on a VxFS filesystem, performance can be\nsignificantly improved by setting the VX_CONCURRENT cache advisory on\nthe file according to vxfs document,\n\nmy question is that have any tested by this?\n\n\n#include <sys/fs/vx_ioctl.h>\nioctl(fd, VX_SETCACHE, V... |
[
{
"msg_contents": "How the tables must be ordered in the list of tables in from statement?\n\nHow the tables must be ordered in the list of tables in from statement?",
"msg_date": "Thu, 28 Apr 2011 14:50:16 +0530 (IST)",
"msg_from": "Rishabh Kumar Jain <rishabh.widu@yahoo.com>",
"msg_from_op": true,... |
[
{
"msg_contents": "Hei: \n\n\nWe have PostgreSQL 8.3 running on Debian Linux server. We built an applicantion using PHP programming language and Postgres database. There are appoximatly 150 users using the software constantly. We had some performance degration before and after some studies we figured out we wil... |
[
{
"msg_contents": "Can pgpoolAdmin utility handle(administer) more than one pgpool-II custer?\n\nWe have a need of setting up 3 independent postgres clusters. One cluster\nhandling cadastral maps, one handling raster maps and one handling vector\nmaps. Each of these clusters must have a load balancer - EG pgpoo... |
[
{
"msg_contents": "Hi,\nHad a recent conversation with a tech from this company called FUSION-IO.\nThey sell\n io cards designed to replace conventional disks. The cards can be up to 3\nTB in size and apparently\nare installed in closer proximity to the CPU than the disks are. They claim\nperformance boosts s... |
[
{
"msg_contents": "Howdy. We've got a query that takes less than a second unless we add a \n\"order by\" to it, after which it takes 40 seconds. Here's the query:\n\nselect page_number, ps_id, ps_page_id from ps_page where ps_page_id in \n(select ps_page_id from documents_ps_page where document_id in (select ... |
[
{
"msg_contents": "On 04/30/2011 12:24 AM, Hsien-Wen Chu wrote:\n> I'm little bit confuse why it is not safe. and my question is following.\n>\n> for database application, we need to avoid double cache, PostgreSQL\n> shared_buffer will cache the data, so we do not want to file system to\n> cache the data right?... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.