threads
listlengths
1
275
[ { "msg_contents": "I am having some dead locking problem with my app system. Our dev are\ndebugging the app to find out the cause of the problem. In the mean time\nI looked at postgresql.conf file. I found that there is a parameter in\npostgresql.conf file deadlock_timeout which was set 1000 (ms). Normally\nI ...
[ { "msg_contents": "Hi.\n\nI just created partitioned table, n_traf, sliced by month\n(n_traf_y2007m01, n_traf_y2007m02... and so on, see below). They are\nindexed by 'date_time' column.\nThen I populate it (last value have date 2007-08-...) and do VACUUM\nANALYZE ON n_traf_y2007... all of it.\n\nNow I try to se...
[ { "msg_contents": "Hi List;\n\nI've just started working with a client that has been running Postgres (with \nno DBA) for a few years. They're running version 8.1.4 on 4-way dell boxes \nwith 4Gig of memory on each box attached to RAID-10 disk arrays. \n\nSome of their key config settings are here:\nshared_buf...
[ { "msg_contents": "Hi,\n\nI have an application which loads millions of NEW documents each month\ninto a PostgreSQL tsearch2 table. I have the initial version completed\nand searching performance is great but my problem is that each time a \nnew\nmonth rolls around I have to drop all the indexes do a COPY and...
[ { "msg_contents": "On Sun, Aug 26, 2007 at 01:22:58AM +0400, Max Zorloff wrote:\n> Hello.\n> \n> I have a postgres 8.0 and ~400mb database with lots of simple selects \n> using indexes.\n> I've installed pgpool on the system. I've set num_init_children to 5 and \n> here is the top output.\n> One of postmaster...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\n\n\nHi,\n\nNote: I have already vacumm full. It does not solve the problem.\n\nI have a postgres 8.1 database. In the last days I have half traffic\nthan 4 weeks ago, and resources usage is twice. The resource monitor\ngraphs also shows hight ...
[ { "msg_contents": "Hi Guys,\n\nI have something odd. I have Gallery2 running on PostgreSQL 8.1, and \nrecently I upgraded to 8.1.9-1.el4s1.1 (64bit). The issue here really is \nhow do I get PostgreSQL to work with their horrible code. The queries \nthey generate look something like :\nSELECT blah, blah FROM tab...
[ { "msg_contents": "Hello,\n\nI have a table (stats.tickets) with 2288965 rows (51 columns) and\nindexes like:\nind_ti_stats_numero btree (tday, tmonth, tyear, r_cat, r_numero)\nind_ti_stats_service btree (tday, tmonth, tyear, r_cat, r_service)\nind_ti_stats_tmp_service btree (r_service, tyear, tmonth)\nind_ti_...
[ { "msg_contents": "Hi Guys,\n\nI have something odd. I have Gallery2 running on PostgreSQL 8.1, and\nrecently I upgraded to 8.1.9-1.el4s1.1 (64bit). The issue here really is\nhow do I get PostgreSQL to work with their horrible code. The queries\nthey generate look something like :\nSELECT blah, blah FROM table1...
[ { "msg_contents": "Hi List;\n\nI've just inherited multiple postgres database servers in multiple data \ncenters across the US and Europe via a new contract I've just started.\n\nEach night during the nightly batch processing several of the servers (2 in \nparticular) slow to a crawl - they are dedicated postgr...
[ { "msg_contents": "Hello,\n\n\nI have a table (stats.tickets) with 2288965 rows (51 columns) and\nindexes like:\nind_ti_stats_numero btree (tday, tmonth, tyear, r_cat, r_numero)\nind_ti_stats_service btree (tday, tmonth, tyear, r_cat, r_service)\nind_ti_stats_tmp_service btree (r_service, tyear, tmonth)\nind_t...
[ { "msg_contents": "Hi,\n\nI have just reorganized a relatively decent sized query such that its\nconstituent functions / tables are now spread over 3-4 schemas.\n\nHowever, the query has for some reason now become very slow (earlier used to\ntake about 20 seconds, now takes about 500 seconds). The explain analy...
[ { "msg_contents": "Hi,\n\n We have recently upgraded our production database from 8.0.12 to\n8.2.4, We have seen lot of improvements on 8.2.4 side but we are also\nseeing some queries which are slow.\n\n Particularly this below query is really bad in 8.2.4 , I can get\nonly the explain on this as explain ...
[ { "msg_contents": "Dearest dragon hunters and mortal wanna-bes,\n\nI recently upgraded a system from Apache2/mod_perl2 to\nLighttpd/fastcgi. The upgrade went about as rough as can be. While in\nthe midst of a bad day, I decided to make it worse, and upgrade Pg 8.1\nto 8.2. Most people I talk to seem to think 8....
[ { "msg_contents": "From: \"Evan Carroll\" <me@evancarroll.com>\nTo: \"Kevin Grittner\" <Kevin.Grittner@wicourts.gov>,\npgsql-performance@postgresql.org\nDate: Tue, 28 Aug 2007 11:21:54 -0500\nSubject: Re: [PERFORM] 8.2 Query 10 times slower than 8.1 (view-heavy)\nOn 8/28/07, Kevin Grittner <Kevin.Grittner@wicou...
[ { "msg_contents": "Hello!\n\nSome background info.. We have a blog table that contains about eight \nmillion blog entries. Average length of an entry is 1200 letters. Because \neach 8k page can accommodate only a few entries, every query that involves \nseveral entries causes several random seeks to disk. We a...
[ { "msg_contents": "Hi all,\n\nI'm having a strange performance issue with two almost similar queries, the\none running as expected, the other one taking far more time. The only\ndifference is that I have \"uniid in (10)\" in the normally running query and\n\"uniid in (9,10)\" in the other one. The number of row...
[ { "msg_contents": "*************************************************************************************************************************\n1) \n\nEXPLAIN ANALYSE SELECT \njob_category.job_id,job.name,job.state,job.build_id,cat.name as \nreporting_group\nFROM category,job_category,job,category as cat\nWHERE j...
[ { "msg_contents": "Hi all,\n\nI'm having a strange performance issue with two almost similar queries, the\none running as expected, the other one taking far more time. The only\ndifference is that I have \"uniid in (10)\" in the normally running query and\n\"uniid in (9,10)\" in the other one. The number of row...
[ { "msg_contents": "For best performance, the transaction log should be on a separate disk.\n\nDoes the writing of the log benefit from a battery backed controller as well? If not, what do people think about writing the transaction log to a flash card or the like?\n\n\nFor best performance, the transaction log ...
[ { "msg_contents": "For best performance, the transaction log should be on a separate disk.\n\nDoes\nthe writing of the log benefit from a battery backed controller as\nwell? If not, what do people think about writing the transaction log\nto a flash card or the like?\n\nFor best performance, the transaction log...
[ { "msg_contents": "Hi,\n\n\n We turned on autovacuums on 8.2 and we have a database which is read \nonly , it is basically a USPS database used only for address lookups \n(only SELECTS, no updates/deletes/inserts).\n\n This database has about 10gig data and yesterday autovacuum started \non this database ...
[ { "msg_contents": "Hi,\nI was looking for opinions on performance for a design involving schemas. We have a 3-tier system with a lot of hand-written SQL in our Java-based server, but we want to start limiting the data that different users can access based on certain user properties. Rather than update hundred...
[ { "msg_contents": "Hi,\nI was looking for opinions on performance for a design involving schemas. We have a 3-tier system with a lot of hand-written SQL in our Java-based server, but we want to start limiting the data that different users can access based on certain user properties. Rather than update hundred...
[ { "msg_contents": "Hello,\n\nI have a recurring script that updates some tables from an MS_SQL\nserver. One of the operations sets a field in all records to null in\npreparation of being updated with values from the other server. The\nSQL statement is:\n\nupdate shawns_data set alias = null;\n\nAlias is a typ...
[ { "msg_contents": "Hello everyone:\n\n I wanted to ask you about how the VACUUM ANALYZE works. is it possible\nthat something can happen in order to reset its effects forcing to execute\nthe VACUUM ANALYZE comand again? i am asking this because i am struggling\nwith a query which works ok after i run a VACUUM...
[ { "msg_contents": "I have this turned on, and if I look at the log, it runs once a minute,\nwhich is fine.\n\nBut what does it do? I.e, it runs VACUUM, but does it also do an analyze?\n\n-- \n .~. Jean-David Beyer Registered Linux User 85642.\n /V\\ PGP-Key: 9A2FC99A Registered Machine 24...
[ { "msg_contents": "Hi,\n\nI wonder about differences in performance between two scenarios:\n\nBackground:\nTable A, ~50,000 records\nTable B, ~3,000,000 records (~20 cols)\nTable C, ~30,000,000 records (~10 cols)\n\na query every 3sec. with limit 10\n\nTable C depends on Table B wich depends on Table A, int8 fo...
[ { "msg_contents": "A client is moving their postgresql db to a brand new Windows 2003 x64 \nserver with 2 quad cores and 32GB of RAM. It is a dedicated server to run \n8.2.4.\n\nThe server typically will have less than 10 users. The primary use of this \nserver is to host a database that is continuously being u...
[ { "msg_contents": "Hi again, a different question ...\n\nOn a previous upgrade to 7.4 (I think) I used the pg_dumplo contrib \nutility to add the large objects to my restored via pg_dumpall databases \n(not all using large objects).\nI liked it because it was easy and I hadn't to remove the databases with \nlar...
[ { "msg_contents": "Hi all,\n\nI need to improve a query like :\n\nSELECT id, min(the_date), max(the_date) FROM my_table GROUP BY id;\n\nStupidly, I create a B-tree index on my_table(the_date), witch is logically not used in my query, because it's not with a constant ? isn't it ?\n\nI know that I can't create a ...
[ { "msg_contents": "Great idea !\n\nwith your second solution, my query seem to use the index on date. but the global performance is worse :-(\n\nI will keep th original solution !\n\nLot of thanks, Gregory\n\njsubei\n\n----- Message d'origine ----\nDe : Gregory Stark <stark@enterprisedb.com>\nÀ : JS Ubei <jsube...
[ { "msg_contents": "Hi\n\nI couldnt find any specifics on this subject in the documentation, so I \nthought I'd ask the group.\n\nhow does pg utilise multi cpus/cores, i.e. does it use more than one \ncore? and possibly, how, are there any documentation about this.\n\nthomas\n", "msg_date": "Thu, 06 Sep 2007...
[ { "msg_contents": "Hi guys,\n\nI'm have the rare opportunity to spec the hardware for a new database\nserver. It's going to replace an older one, driving a social networking\nweb application. The current server (a quad opteron with 4Gb of RAM and\n80Gb fast SCSI RAID10) is coping with an average load of ranging...
[ { "msg_contents": "Hi,\n\nWe are currently running our DB on a DualCore, Dual Proc 3.Ghz Xeon, 8GB\nRAM, 4x SAS 146 GB 15K RPM on RAID 5.\n\nThe current data size is about 50GB, but we want to purchase the hardware to\nscale to about 1TB as we think our business will need to support that much\nsoon.\n- Currentl...
[ { "msg_contents": "Hello All,\n\nI am using a postgres setup in Windows. And it is working fine usings ODBC \ndrive, but not in ADO PostgreSQL OLE DB Provider\n\ngiving error test connection 'Test connection failed because of an error in \ninitializing provider. Unspecified error'\n\nCan i get help for the sam...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nWillo van der Merwe wrote:\n> Jean-David Beyer wrote:\n>> -----BEGIN PGP SIGNED MESSAGE-----\n>> Hash: SHA1\n>>\n>> Willo van der Merwe wrote:\n>>\n>>> Richard Huxton wrote:\n>>>\n>>>> Willo van der Merwe wrote:\n>>>>\n>>>>> Hi guys,\n>>>>>\n>...
[ { "msg_contents": "Hi All,\n\nI've recently run into problems with my kernel complaining that I ran \nout of memory, thus killing off postgres and bringing my app to a \ngrinding halt.\n\nI'm on a 32-bit architecture with 16GB of RAM, under Gentoo Linux. \nNaturally, I have to set my shmmax to 2GB because t...
[ { "msg_contents": "Hi,\n I've a question about amount of indices.\n \n I explain my issue based on an example:\n Table which contains person information, one row per person.\n There will be lots of SELECTS doing search by special criteria, \ne.g.: Age, Gender.\n\n Now there will be 4 User group...
[ { "msg_contents": "Exactly when does the planner decide that a left-anchored like can use the \nindex?\n\nI have replaced a WHEN lower(last_name) = 'smith'\nwith WHEN lower(last_name) like 'smith%'\n\nThere is an index on lower(last_name). I have seen the planner convert the \nLIKE to lower(last_name) >= 'smith...
[ { "msg_contents": "Hello.\nWe have made some performance tests with DRBD and Postgresql 8.2.3. We\nhave two identical servers in a cluster (Dell 2950) with a partition of\n100 GB managed by DRBD: once we checked Postgres keeping his data folder\nin a local partition, the second time we moved the data folder in ...
[ { "msg_contents": "--On Freitag, September 07, 2007 20:00:16 +0100 Simon Riggs \n<simon@2ndquadrant.com> wrote:\n\n> On Fri, 2007-09-07 at 11:37 +0200, Maila Fatticcioni wrote:\n>\n>> protocol C;\n>\n> Try protocol B instead.\n\nBut that would have an impact on transaction safety, wouldn't it? It will \nreturn...
[ { "msg_contents": "Can anyone answer this for me: Although I realize my client's disk subsystem \n(SCSI/RAID Smart Array E200 controller using RAID 1) is less than \nimpressive - is the default setting of 4.0 realistic or could it be lower?\n\nThanks!\n\n", "msg_date": "Mon, 10 Sep 2007 15:25:41 -0400", ...
[ { "msg_contents": "If I delete a whole bunch of tables (like 10,000 tables), should I vacuum system tables, and if so, which ones? (This system is still on 8.1.4 and isn't running autovacuum).\n\nThanks,\nCraig\n", "msg_date": "Mon, 10 Sep 2007 21:12:10 -0700", "msg_from": "Craig James <craig_james@emo...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\n\nHi,\n\nI having the same problem I told here a few weeks before. Database is\nusing too much resources again.\n\nI do a vacumm full each day, but seems it is not working. I am preparing\nan update to postgres 8.2.4 (actually I am using at 8....
[ { "msg_contents": " Hello,\n\n Now that both 4x4 out it's time for us to decide which one should be better for our PostgreSQL and Oracle. And especially for Oracle we really need such server to squeeze everything from Oracle licenses. Both of the databases handle OLTP type of the load.\n Since we plan to buy...
[ { "msg_contents": "Hi List;\n\nI've recently started cleaning up some postgres db's which previous to my \nrecent arrival had no DBA to care for them.\n\nI quickly figured out that there were several tables which were grossly full \nof dead space. One table in particular had 75G worth of dead pages (or the \neq...
[ { "msg_contents": "Hi,\n\nappreciate if someone can have some pointers for this. \n\nPG.8.2.4 1.4G centrino(s/core) 1.5GB ram/5400rpm laptop HD\n\n3 mail tables which has already been selected \"out\" into separate tables\n(useing create table foo as select * from foo_main where x=y)\n\nThese test tables contai...
[ { "msg_contents": "Hi,\n\nI have a table containing some ~13 million rows. Queries on\nindexed fields run fast, but unanchored pattern queries on a\ntext column are slooooow. Indexing the column doesn't help\n(this is already mentioned in the manual).\nhttp://www.postgresql.org/docs/8.2/interactive/indexes-type...
[ { "msg_contents": "My PG server came to a screeching halt yesterday. Looking at top saw a very \nlarge number of \"startup waiting\" tasks. A pg_dump was running and one of my \nscripts had issued a CREATE DATABASE command. It looks like the CREATE DATABASE \nwas exclusive but was having to wait for the pg_...
[ { "msg_contents": "I'm designing a system that will be doing over a million inserts/deletes \non a single table every hour. Rather than using a single table, it is \npossible for me to partition the data into multiple tables if I wanted \nto, which would be nice because I can just truncate them when I don't \n...
[ { "msg_contents": "Hello,\n\nMy question is about index usage when bitwise operations are invoked.\nSituation Context:\n--------------------------\n\nLets suppose we have 2 tables TBL1 and TBL2 as the following:\nTBL1 {\n ......... ;\n integer categoryGroup; // categoryGroup is declared as an index on TABL1\n...
[ { "msg_contents": "hi!\nI wonder if clustering a table improves perfs somehow ?\nAny example/ideas about that ?\nref : http://www.postgresql.org/docs/8.2/interactive/sql-cluster.html\nthx,\nP.\n\n", "msg_date": "Thu, 13 Sep 2007 15:03:54 +0200", "msg_from": "Patrice Castet <pcastet@agematis.com>", "...
[ { "msg_contents": "I'm having a problem with long running commits appearing in my database\nlogs. It may be hardware related, as the problem appeared when we moved\nthe database to a new server connected to a different disk array. The\ndisk array is a lower class array, but still more than powerful enough\nto...
[ { "msg_contents": "Hi,\n\nWhere are the database index files located in the $PGDATA directory? I was\nthinking on soft linking them to another physical hard disk array.\n\nThanks,\nAzad\n\nHi,Where are the database index files located in the $PGDATA directory? I was thinking on soft linking them to another phys...
[ { "msg_contents": "Hello,\n\n\nIn Postgres 7.2.4, COPY command is working fine even if tables have 6 fields\nbut we are copying only 5 fields from the file\n\nBut in Postgres 8.2.0, if table has 6 fields and we need to copy data for 5\nfields only, then we need to specify the column names too in COPY command.\n...
[ { "msg_contents": "Hi all,\n\nI have a problem with DELETE performance with postgres 7.4.\n\nI have a database with 2 great tables (about 150,000 rows) continuously\nupdated, with 1000 - 1200 INSERT per second and 2 or 3 huge DELETE per\nminute, in which we delete almost all the rows inserted in the 2 tables\nd...
[ { "msg_contents": "Hi all,\n\nPlease see the section marked as \"PROBLEM\" in \"ORIGINAL QUERY\" plan below. \nYou can see it's pretty slow. Oddly enough, an index for facility_address_id \nis available but not being used, but I suspect it's questionable whether it \nwould be an improvement.\n\nI knew that the ...
[ { "msg_contents": "Hi,\n\nAnyone has tried a setup combining tablespaces with NFS-mounted partitions?\n\nI'm considering the idea as a performance-booster --- our problem is \nthat we are\nrenting our dedicated server from a hoster that does not offer much \nflexibility\nin terms of custom hardware configuratio...
[ { "msg_contents": "Hi all.\nRecently I have installed a brand new server with a Pentium IV 3.2 GHz, SATA Disk, 2GB of Ram in Debian 4.0r1 with PostgreSQL 8.2.4 (previously a 8.1.9).\nI have other similar server with an IDE disk, Red Hat EL 4 and PostgreSQL 8.2.3\n\nI have almost the same postgresql.conf in both...
[ { "msg_contents": "No, changing to fsync off didn't improve performance at all.\nSettings\nwork_mem = 64MB\nmax_stack_depth = 7MB #in the old server is 8MB but if I set in here give me the ulimit error\nmax_fsm_pages = 204800\neffective_cache_size = 512MB\nAtuvacuum is off.\n\nI have run vacuum full and vacuum ...
[ { "msg_contents": "This is my dmesg file, I see there are some errors but I don't know how to manage!!!\n\nWhat do you mean with don't top post?\nSorry but I'm new with this kind of mailing list and I don't want to botter some others.\nSorry my bad English too.\nThanks for your help\n\n\n\n----- Mensaje origina...
[ { "msg_contents": "Hola Beto.\nI have no idea where to look for that configuration or settings.\nYesterday I red about some drivers problems with SATA disk working togheter with IDE devices with DMA.\n\nMi server server is a Pentium VI 3.3 with hyper threading (enabled in BIOS), HP Proliant ML 110.\n\nThen I en...
[ { "msg_contents": "(SORRY FOR THE REPOST, I DON'T SEE MY ORIGINAL QUESTION OR ANY ANSWERS HERE)\n\nMy client \"publishes\" an \"edition\" of their DB from his production site to \nhis hosted web/db server. This is done by FTPing a backup of the DB to his \nhosting provider.\n\nImmediately after a \"publication\...
[ { "msg_contents": "(SORRY FOR THE REPOST, I DON'T SEE MY ORIGINAL QUESTION OR ANY ANSWERS HERE)\n\nI am noticing that my queries are spending a lot of time in nested loops. \nThe table/index row estimates are not bad, but the nested loops can be off \nby a factor of 50. In any case, they are always too high.\n\...
[ { "msg_contents": "My new server postgresql.conf is equal to the old one. I'm doubting this is a hardware issue.\nGoogling with my hard HP Proliant ML 110 G3 I saw that IHC7 controller has some problems, but looking and testing with hdparm it looks ok.\nhdparm -tT /dev/sdaç\nTiming cached reads: 1722 MB in 2.00...
[ { "msg_contents": "\nHello all,\n\nOld servers that housed 7.4 performed better than 8.1.4 version...are there\nany MAJOR performance hits with this version???\n\nI set the postgresql.conf setting to equal that of 7.4 and queries still run\nSLOW on 8.1.4...\n\nI have perform maintenance tonight on the 8.1.4 ser...
[ { "msg_contents": "Hi everybody,\n\nIs there a way to find which query is doing large io operations and/or which\nis using cached data and which is reading from disk. I need to see this on a\nproduction server to localize a slow and resource eating query. The\npg_statio* tables are very handy, but don't help me...
[ { "msg_contents": "Sorry, I know this is probably more a linux question, but I'm guessing\nthat others have run into this...\n\nI'm finding this rather interesting report from top on a Debian box...\n\nMem: 32945280k total, 32871832k used, 73448k free, 247432k buffers\nSwap: 1951888k total, 42308k use...
[ { "msg_contents": "Hi all,\n\nPostgres version: 8.2.4\n\nTables:\n\ntable_a(a bigint, b bigint, primary key(a, b) );\n\ntable_b1(b bigint primary key, more columns...);\n\ntable_b2(b bigint primary key references table_b1(b), more columns...);\n\ntable_b1: \n ~ 27M rows;\n ~25 more columns;\n width=309 (as repo...
[ { "msg_contents": "I suffered the same fate when upgrading some time back. The single biggest\nissue for me was that the default 8.X setup changed what had been fast query\nplans using indexes to slow plans using sequential scans. Changing the\nrandom_page_cost in postgresql.conf from 4.0 to 2.0 (which indica...
[ { "msg_contents": "Hi,\nI think the query planner is unaware of the possibly best plan in some \nsituations. See the test case below:\n\n-- --------------------------------------------------- --\n\nCREATE TABLE tparent (\n id integer NOT NULL,\n ord integer NOT NULL,\n CONSTRAINT par_pkey_id PRIMARY KEY (id)...
[ { "msg_contents": "I'm doing several tests.\nRight now I did a VACUUM FULL ANALYZE in both servers.\nIn the old one vacuum runs for about 354 seconds and in the new one 59 seconds.\n\nThen I have ran\nEXPLAIN ANALYZE\nSELECT *\nFROM fact_ven_renta fvr, dim_producto_std_producto dpp\nWHERE\n fvr.producto_std_pr...
[ { "msg_contents": "I forgot to tell this plan was with Postgres 8.1.9 in the new server with postgres 8.2.4 in the new server the plan is the same as with te old one (the little difference in rows retrieved is that the database is yesterday snapshot).\nThis is the plan for the new server with postgres 8.2.4:\nH...
[ { "msg_contents": "> That's not what it looks like based on the EXPLAIN ANALYZE output.\n> It looks like run time dropped from two seconds to half a second.\n \n> It seems as though you either have a network delay delivering the results,\n> or your application is slow to read them.\n\n> Exactly how are you arri...
[ { "msg_contents": ">> > That's not what it looks like based on the EXPLAIN ANALYZE output.\n>> > It looks like run time dropped from two seconds to half a second.\n>> \n>> > It seems as though you either have a network delay delivering the results,\n>> > or your application is slow to read them.\n>> \n>> > Exa...
[ { "msg_contents": "> > >> > That's not what it looks like based on the EXPLAIN ANALYZE output.\n> > >> > It looks like run time dropped from two seconds to half a second.\n> > >> \n> > >> > It seems as though you either have a network delay delivering the results,\n> > >> > or your application is slow to read ...
[ { "msg_contents": "It's a Debian 4.0r1 server without sound (alsa is disabled), I'm running the querys locally.\nIt's happening running the query locally with PgAdmin and by jdbc locally too.\nYes I have win98, XP machines on my network, I will unplugged from the net and test again. On monday I'll give you my a...
[ { "msg_contents": "Simon Riggs <simon@2ndquadrant.com> wrote:\n\n> On Fri, 2007-09-21 at 21:20 +0200, D�niel D�nes wrote:\n> \n> > The costs may be different because I've tuned the query planner's \n> > parameters.\n> \n> OK, understood.\n> \n> > > Ordering by parent, child is fairly common but the variation yo...
[ { "msg_contents": "\nI recently had a puzzling experience (performace related).\n\nHad a DB running presumably smoothly, on a server with Dual-Core\nOpteron and 4GB of RAM (and SATA2 drives with Hardware RAID-1).\n(PostgreSQL 8.2.4 installed from source, on a FC4 system --- databases\nwith no encoding --- ini...
[ { "msg_contents": "Hi,\n\n \n\nWhen I use the statistics collector to see the number of IO, I always get\nzero in almost all of columns. I really want to know the reason for that.\n\n \n\nThe result of statistics view:\n\n# select * from pg_statio_user_tables;\n\n relid | schemaname | relname | heap_blks_read |...
[ { "msg_contents": "Hi Greg this is my Bonnie result.\n\nVersion 1.03 ------Sequential Output------ --Sequential Input- --Random-\n -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--\nMachine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP\ninsaubi ...
[ { "msg_contents": "hi,\n\ni have the following table:\n\nCREATE TABLE \"main_activity\" (\n \"id\" serial NOT NULL PRIMARY KEY,\n \"user_id\" integer NOT NULL,\n \"sessionid\" varchar(128) NOT NULL,\n \"login\" timestamp with time zone NOT NULL,\n \"activity\" timestamp with time zone NOT NU...
[ { "msg_contents": "I have found the reason!!! I begin to see line by line postgresql.conf and saw ssl = true.\nI have disabled ssl and then I have restarted the server and that's all. It's 4 or 5 times faster than the old server.\nI don't understand why PgAdmin is connecting using ssl if I have leave this field...
[ { "msg_contents": "Hello,\n\nI have a database with an amount of tables and in several of them I have an\nattribute for a semantic definition, for which I use a field of type text. I\nam trying to decide if it would be worth using LONGTEXT instead of TEXT, as\nmaybe it would slow down the data insertion and ext...
[ { "msg_contents": "Is there a rule of thumb about when the planner's row estimates are too \nhigh? In particular, when should I be concerned that planner's estimated \nnumber of rows estimated for a nested loop is off? By a factor of 10? 100? \n1000?\n\nCarlo \n\n", "msg_date": "Mon, 24 Sep 2007 15:37:41 -0...
[ { "msg_contents": "I have a database that we want to keep track of counts of rows.\n\nWe have triggers on the rows which increment, and decrement a count \ntable. In order to speed up deleting many rows we have added the following\n\n if user != 'mocospace_cleanup' \nthen ...
[ { "msg_contents": "\nHi, I am having some trouble understanding a plan and was wondering if anyone\ncould guide me. The query in question here seems to be showing some\nincorrect row counts. I have vacuumed and analyzed the table, but the\nestimate versus the actual total seems to be way out (est 2870 vs actual...
[ { "msg_contents": "Hi,\n\nI am curious as to why this occurs. Why does an = change the query plan so\ndrastically?\n\nWhen my query is:\n\nSelect count(*) from View_A WHERE tradedate = '20070801';\nThe query plan is as below: I see that the scan on the alloctbl is being\nindexed on k_alloctbl_blockid_status\n\n...
[ { "msg_contents": "Hi All;\n\nI'm preparing to fire up WAL archiving on 8 production servers We will follow \nup with implementing a warm standby scenariio.\n\nDoes anyone have any thoughts per how to maximize performance, yet minimize \nthe potential for data loss assuming we were not able to retrieve the fina...
[ { "msg_contents": "Hello,\n\nI have a weird performance issue with a query I'm testing. Basically,\nI'm trying to port a function that generates user uids, and since\npostgres offers a sequence generator function, I figure I'd take\nadvantage of that. Basically, I generate our uid range, filter out\nthose which...
[ { "msg_contents": "Hi -\n\nThis has been happening more recently. Our database hangs after a VACUUM\nand is unresponsive when we come in next morning.\n\nThe vacuum job runs at 03:00 am daily.\nThe command is : /usr/local/pgsql/bin/vacuumdb --full -d DbName\n\nAlso, what exactly does this mean VACUUM waiting. ...
[ { "msg_contents": "In keeping with some of the recent threads regarding the planner...\n \nI have a fair sized data warehouse in which I am trying to perform an aggregation, but getting OOM errors in Postgres(8.2.4).\nI believe the reason for the OOM is that Postgres is attempting to do a hash aggregation, but ...
[ { "msg_contents": "Hello,\n\nI was wondering whether any thought has previously been given to\nhaving a non-blocking \"vacuum full\", in the sense of space reclamation\nand table compactation.\n\nThe motivation is that it is useful to be able to assume that\noperations that span a table will *roughtly* scale li...
[ { "msg_contents": "Hi List;\n\nany suggestions for improving \"LIKE '%text%'\" queries?\n\n\nThanks in advance\n", "msg_date": "Tue, 2 Oct 2007 11:31:45 -0600", "msg_from": "Kevin Kempter <kevin@kevinkempterllc.com>", "msg_from_op": true, "msg_subject": "performance of like queries" }, { ...
[ { "msg_contents": "Hello everybody,\n\nI have just joined the list, as I am experiencing a degradation on\nperformances on my PostgreSQL instance, and I was looking for some\ninsights on how to fix/avoid it.\n\nWhat I have observed are impossibly high time on delete statements on\nsome tables.\n\nThe delete sta...
[ { "msg_contents": "Hi,\n\nI have recently had to change our nightly jobs from running vacuum\nfull, as it has caused problems for us. Upon doing more reading on\nthis topic, I understand that vacuum full needs explicit locks on the\nentire db and explicit locking conflicts with all other locks.\n\nBut this has ...
[ { "msg_contents": "Hello,\n\nthanks to the added info available running the explain plan through\npgsl (instead of using pgAdmin) I was able to realize that an\n(implicitly created) trigger was the culprit of the slowdown I was\nsuffering.\n\nAdding an index on the foreign key the trigger was monitoring solved ...
[ { "msg_contents": "Hello list,\n\nI have a little query that takes too long and what I can see in the \nexplain output is a seq scan on my biggest table \n( tbl_file_structure) which I can't explain why.\n\nHere is the output. I hope this is formatted correctly. If not, let \nme know and I'll paste it somew...
[ { "msg_contents": "Hi there,\n\nI have a database with lowest possible activity. I run VACUUM FULL AND I get \nthe following log result: \n\n\n", "msg_date": "Thu, 4 Oct 2007 12:43:12 +0300", "msg_from": "\"Sabin Coanda\" <sabin.coanda@deuromedia.ro>", "msg_from_op": true, "msg_subject": "can't ...