threads
listlengths
1
275
[ { "msg_contents": "I wonder whether the current versions of postgres (i.e. either 8.2 or 8.3) are able to utilize multiple cores for the execution of a single query?\n\nThis is one thing that systems like SQL Server and Oracle have been able to do for quite some time. I haven't seen much in the documentation th...
[ { "msg_contents": " Hello,\n\n Started to work with big tables (like 300GB) and performance problems started to appear. :(\n\n To simplify things - table has an index on From an index on To columns. And it also have several other not indexed columns. There are 100000+ of different values for From and the sam...
[ { "msg_contents": "Hi all,\n\nI'm busy evaluating PostgreSQL and I'm having performance problems on one of\nmy servers. I have a very simple one table database, and the client using\nMono 1.2.5.1 is running a loop doing INSERTs on the table. Initially I\ntested this on my development PC, an old P4 system with 2...
[ { "msg_contents": "I'd like to get confirmation that I'm correctly understanding the \ntimes given in EXPLAIN ANALYZE. Taking the example given in the Using \nExplain section of the docs,\n\nhttp://www.postgresql.org/docs/current/static/using-explain\n\nEXPLAIN ANALYZE SELECT * FROM tenk1 t1, tenk2 t2 WHERE t...
[ { "msg_contents": "\nI have a question about how Postgres makes use of RAID arrays for\nperformance, because we are considering buying a 12-disc array for\nperformance reasons. I'm interested in how the performance scales with the\nnumber of discs in the array.\n\nNow, I know that for an OLTP workload (in other...
[ { "msg_contents": "Hi,\n\n Postgres 8.2.4 is not using the right plan for different values.\n\n From the below queries listing.addressvaluation table has 19million \nrecords , the other table listing.valuationchangeperiod is just lookup \ntable with 3 records.\n\n If you can see the explain plans for ...
[ { "msg_contents": "Hi all,\n\nI have a large database with e-mail meta-data (no bodies) for over 100\nmillion messages. I am running PostgreSQL 8.2.4 on a server with 2GB of\nRAM (shared_buffers = 240MB, temp_buffers = 128MB, work_mem = 256MB,\nmaintenance_work_mem = 256MB). I have the data split in two separ...
[ { "msg_contents": "Hi All,\n I've been tasked to evaluate PG as a possible replacement of our MS SQL 2000 solution. Our solution is 100% stored procedure/function centric. It's a report generation system whose sole task is to produce text files filled with processed data that is post-processed by a secondary...
[ { "msg_contents": "\nI don't know if this is true in this case, but transaction level can be \ndifferent, in mssql it is normally something like\nTRANSACTION_READ_UNCOMMITTED\nin postgres\nTRANSACTION_READ_COMMITTED\nand that makes huge difference in performance.\n\nother thing can be the queries in procedures,...
[ { "msg_contents": "I think you may increase the row number that you want to limit, like LIMIT\n50.\n\nLIMIT can change the cost of a plan dramatically. Looking in your SQL:\n\n where this_.fkaddressid= 6664161\n order by this_.addressvaluationid desc limit 1;\n\nPlanner may use either index1(this_.fkaddress...
[ { "msg_contents": "hi i need to know all the database overhead sizes and block header sizes etc \netc as I have a very complex database to build and it needs to be speed \ntuned beyond reckoning\n\n\n\nI have gathered some relevant information form the documentation such as all \nthe data type sizes and the RM ...
[ { "msg_contents": "Hi,\n\nI'm currently trying to tune the Cost-Based Vacuum Delay in a\n8.2.5 server. The aim is to reduce as much as possible the\nperformance impact of vacuums on application queries, with the\nbackground idea of running autovacuum as much as possible[1].\n\nMy test involves vacuuming a large...
[ { "msg_contents": "Hello,\n\nI've just hit problem, that is unusual for me.\n\nquaker=> \\d sites\n Table \"public.sites\"\n Column | Type | Modifiers \n\n-----------+-------------------+----------------------------------------------------\n ...
[ { "msg_contents": "One of those things that comes up regularly on this list in particular are \npeople whose performance issues relate to \"bloated\" tables or indexes. \nWhat I've always found curious is that I've never seen a good way \nsuggested to actually measure said bloat in any useful numeric \nterms--u...
[ { "msg_contents": "For some accpac tables, I do synchronization by looking at the audtdate \nand audttime fields. These fields are quite annoying as they are decimal \nencoded dates and times stored as an integer. I do not have the freedom \nto \"fix\" this.\n\nTo find records after a certain time, I must do on...
[ { "msg_contents": "Hi,\n\nI have a small question ... right now on a 8.1.10 version of PostgreSQL I'm \ndoing a vacuum full verbose anaylze a table with 60 304 340 rows in 1155791 \npages and there were 16 835 144 unused item pointers inside and 5 index.\n\nAfter the first treatment of the index (appeared in t...
[ { "msg_contents": "Hello,\n\nI've created table:\n\nquaker=> \\d users\n Table \"public.users\"\n Column | Type | Modifiers \n\n-----------+-------------------+----------------------------------------------------\n id | integer ...
[ { "msg_contents": "\nHi to all.\n\nI'd like to benchmark PG. I'd like to compare sorting performances (time spent, #of disk accesses, # of run produced etc) of the present Replacement Selection (external sorting) algorithm and of a refinement I'm going to implement.\n\nI'm new on PG, I just had the idea of how ...
[ { "msg_contents": "The subject of the email:\n \nConfirmação de envio / Sending confirmation (captchaid:132432b16f55)\n\n________________________________\n> Date: Tue, 11 Dec 2007 09:40:37 -0200\n> From: postmaster@infotecnica.com.br\n> To: mac_man2005@hotmail.it\n> Subject: Confirmação de envio / Sending confi...
[ { "msg_contents": "RE: Confirmação de envio / Sending confirmation (captchaid:132432b18776)\n________________________________\n> Date: Tue, 11 Dec 2007 10:02:14 -0200\n> From: postmaster@infotecnica.com.br\n> To: mac_man2005@hotmail.it\n> Subject: Confirmação de envio / Sending confirmation (captchaid:132432b18...
[ { "msg_contents": "Hi,\n\n This below query is taking more than 3 minutes to run, as you can see \nfrom the explain plan it is pretty much using all the indexes still it \nis slow, nested loops are taking too long. Is there anyway I can improve \nthis query performance ?\n\n I am using postgres8.2.4. Here a...
[ { "msg_contents": "Hi,\n\nI am doing a performance benchmarking test by using benchmarkSQL tool on\npostgresql 8.2.4.I need to tune the parameters to achieve an optimal\nperformance of the postgresql database.\n\nI have installed postgresql 8.2.4 on RHEL AS4. It is a DELL Optiplex\nGX620 PC with 4GB RAM.\n\nPle...
[ { "msg_contents": "Hi,\n\nI have a 4 * dual core 64bit AMD OPTERON server with 16G of RAM, running \npostgres 7.4.3. This has been recompiled on the server for 64 stored \nprocedure parameters, (I assume this makes postgres 64 bit but are not \nsure). When the server gets under load from database connections ...
[ { "msg_contents": "reading postgres benchmarks for beginners advises to stop reading on the\nwords \"default (ie. unchanged postgresql.conf); but the real test is given\nright after:\n\nhttp://www.kaltenbrunner.cc/blog/index.php?/archives/21-guid.html\n\nThat confirmes my first impression (on different workload...
[ { "msg_contents": "Yesterday we moved a 300 GB table containing document images (mostly raster-scanned from paper), into a 215 GB PostgreSQL 8.2.5 database which contains the related case management data. (This separation was never \"right\", since there were links from one to the other, but was necessary unde...
[ { "msg_contents": "PostgreSQL: 8.2\n\nI am looking at the possibility of storing files in some of my database\ntables. My concern is obviously performance. I have configured\nPostgreSQL to take advantage of Linux file caching. So my PostgreSQL\ndoes not have a large setting for shared_buffers even though I h...
[ { "msg_contents": "Is it possible yet in PostgreSQL to hide the source code of functions from\nusers based on role membership? I would like to avoid converting the code\nto C to secure the source code and I don't want it obfuscated either. \n\nIn an ideal world, if a user can't modify a function, he/she shoul...
[ { "msg_contents": "> > In an ideal world, if a user can't modify a function, he/she shouldn't\n> be\n> > able to see the source code. If the user can execute the function, then\n> the\n> > user should be able to see the signature of the function but not the\n> body.\n> \n> I doubt that's going to happen. Main...
[ { "msg_contents": "PostgreSQL: 8.2\n\n \n\nMy understanding is that when one creates a large object there is no way\nto link the large object to a field in a table so that cascading delete\ncan occur. Is this correct? My understanding is that you have to\nmanually delete the large object.\n\n \n\nI also read ...
[ { "msg_contents": "I'm grooming a new server to replace one that is soon to be retired.\nMost of the data was loaded very close together, in terms of\ndatabase transaction numbers, and probably 95% of it will never be\nupdated. To assess the potential impact of a \"freeze everything in\nthe database at once\" ...
[ { "msg_contents": "\"bigtable\" has about 60M records, about 2M of which are dead at the time\nof VACUUM. Shared_buffers are about 1GB, and the machine has 4GB of\nmemory.\n\nIf I run a \"SELECT COUNT(*) FROM bigtable\", and I ktrace that (FreeBSD)\nfor 10 seconds, I see only a handful of lseek calls (33), whic...
[ { "msg_contents": "I'm not familiar at all with pg_read_file. Is it wide open so a user can\nread any file they want? Can you not lock it down like utl_file and\ndirectories in Oracle?\n\n\nJon\n> -----Original Message-----\n> From: Jonah H. Harris [mailto:jonah.harris@gmail.com]\n> Sent: Friday, December 14,...
[ { "msg_contents": "\nHello\n\ni have a python script to update 600000 rows to one table from a csv file in my\npostgres database and it takes me 5 hours to do the transaction...\n\nI'm on debian etch with 8.1 postgres server on a 64 bits quad bi opteron.\n\nI have desactived all index except the primary key who...
[ { "msg_contents": "Lo�c Marteau <okparanoid@free.fr> wrote ..\n> Steve Crawford wrote:\n> > If this\n> > is correct, I'd first investigate simply loading the csv data into a\n> > temporary table, creating appropriate indexes, and running a single \n> > query to update your other table.\n\nMy experience is that ...
[ { "msg_contents": "Hi pgsql-performance,\n\nI've a problem with the select * on a small table.\n\nSee below:\n\n\nx7=# EXPLAIN ANALYZE select * from megjelenesek;\n QUERY PLAN\n\n--------------------------------------------------------------------------------...
[ { "msg_contents": "I wrote\n> That's what I did at first, but later I found better performance with\n> a TRIGGER on the permanent table that deletes the target of an UPDATE,\n> if any, before the UPDATE. [INSERT!] That's what PG does anyway, and now I can do\n> the entire UPDATE [INSERT] in one command.\n\nIt's...
[ { "msg_contents": "Adam PAPAI <wooh@wooh.hu> wrote ..\n> Hi pgsql-performance,\n> \n> I've a problem with the select * on a small table.\n> \n\nI can think of two possibilities for such incredibly slow performance.\n\nOne: your table has not been VACUUMed for a long time and is full of dead tuples. Try VACUUM F...
[ { "msg_contents": "Alvaro Herrera pointed out that pg_read_file requires superuser access which\nthese users won't have so revoking access to the function code should be\npossible.\n\nJoshua D. Drake suggested revoking pg_proc but that isn't the source code,\nit just has the definition of the functions. \n\nIf...
[ { "msg_contents": "Hi All,\n Thanks for all the help here. Sorry for the late update but we've found our problem and fixed it already. Prior to looking at the translated code more intently, I wanted to make sure that our environmental settings were acceptable and the various emails from members have confirm...
[ { "msg_contents": "If we are talking about enhancement requests, I would propose we create a\nrole that can be granted/revoked that enables a user to see dictionary\nobjects like source code. Secondly, users should be able to see their own\ncode they write but not others unless they have been granted this dict...
[ { "msg_contents": "So you are saying I need to create a view per user to achieve this? That\nisn't practical for an enterprise level database.\n\nI'm basically suggesting row level security that would be implemented for a\nsystem table and then RLS could be used for user defined tables too.\n\n\nJon\n\n> -----...
[ { "msg_contents": "\n\nI have a query that looks like this:\n\n\tSELECT DISTINCT ON (EEFSCode)\n\t \neefsbase.company||eefsbase.department||eefsbase.branch||eefsbase.franchise||eefsbase.subledger||eefsbase.account \nAS EEFSCode,\n\t\teefsbase.company AS company_code,\n\t\teefsbase.branch AS branch_code,\n\t\tee...
[ { "msg_contents": "Hi.\n\nWe are looking at upgrading our primary servers. The final boxes will have\n128GB ram, fast disk arrays and 4 CPUs.\n\nWe currently have some eval units with 8GB ram and crappy disk to let us\nbenchmark CPU choice. One box has 4 3GHz dual core Opterons with 1MB cache,\nthe other box ha...
[ { "msg_contents": "\n> -----Original Message-----\n> From: Trevor Talbot [mailto:quension@gmail.com]\n> Sent: Wednesday, December 19, 2007 9:45 AM\n> To: Joshua D. Drake\n> Cc: Roberts, Jon; Kris Jurka; Merlin Moncure; Jonah H. Harris; Bill Moran;\n> pgsql-performance@postgresql.org\n> Subject: Re: [PERFORM] vi...
[ { "msg_contents": "I've been fighting with the common workarounds for inadequate response \ntimes on select count(*) and min(),max() on tables with tens of \nmillions of rows for quite a while now and understand the reasons for \nthe table scans.\n\nI have applications that regularly poll a table ( ideally, ...
[ { "msg_contents": "Hi,\nSorry but I couldn't find the answer to this...\n\nI would like to empty all stats (pg_stat_all_tables probably mostly)\nso I can get an idea of what's going on now. Is this possible? I\ndidn't want to just go deleting without knowing what it would do...\nThanks\nAnton\n\n-- \necho '16i[...
[ { "msg_contents": "So your suggestion is first to come up with a query that dynamically checks\npermissions and create a view for it. Secondly, change pgAdmin to reference\nthis view in place of pg_proc. Actually, it should be extended to all\nobjects in the database, not just pg_proc. If you don't have this...
[ { "msg_contents": "\n\n> -----Original Message-----\n> From: Merlin Moncure [mailto:mmoncure@gmail.com]\n> Sent: Thursday, December 20, 2007 8:30 AM\n> To: Roberts, Jon\n> Cc: Alvaro Herrera; Trevor Talbot; Joshua D. Drake; Kris Jurka; Jonah H.\n> Harris; Bill Moran; pgsql-performance@postgresql.org\n> Subject:...
[ { "msg_contents": "\n\n> -----Original Message-----\n> From: Joshua D. Drake [mailto:jd@commandprompt.com]\n> Sent: Thursday, December 20, 2007 10:40 AM\n> To: Roberts, Jon\n> Cc: 'Trevor Talbot'; Kris Jurka; Merlin Moncure; Jonah H. Harris; Bill\n> Moran; pgsql-performance@postgresql.org\n> Subject: Re: [PERFO...
[ { "msg_contents": "\n\n> -----Original Message-----\n> From: Joshua D. Drake [mailto:jd@commandprompt.com]\n> Sent: Thursday, December 20, 2007 1:54 PM\n> To: Roberts, Jon\n> Cc: 'Trevor Talbot'; Kris Jurka; Merlin Moncure; Jonah H. Harris; Bill\n> Moran; pgsql-performance@postgresql.org\n> Subject: Re: [PERFOR...
[ { "msg_contents": "\n\n> -----Original Message-----\n> From: Andrew Sullivan [mailto:ajs@crankycanuck.ca]\n> Sent: Thursday, December 20, 2007 3:04 PM\n> To: pgsql-performance@postgresql.org\n> Subject: Re: [PERFORM] viewing source code\n> \n> On Thu, Dec 20, 2007 at 01:45:08PM -0600, Roberts, Jon wrote:\n> > B...
[ { "msg_contents": "The server is running 8.2.5 FreeBSD 6.1 with 3 GB of RAM.\nI have a table with over 100M rows. I have a unique index (primary key) on\ncolumn name called aid.\nThe select count(aid) .. does a Bitmap heap scan when the right side\ncondition is above 100,000,000 (if i take one zero off it does ...
[ { "msg_contents": "On Dec 20, 2007 6:01 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:\n> \"Merlin Moncure\" <mmoncure@gmail.com> writes:\n> > I don't really agree that wrapping pl/pgsql with encryptor/decryptor\n> > is a bad idea.\n>\n> So if you want something other than endless arguments to happen,\n> come up with ...
[ { "msg_contents": "Hi all,\n\nI'm currently benchmarking the new PostgreSQL server of one of our\ncustomers with PostgreSQL 8.3 beta4. I have more or less the same\nconfiguration Stefan tested in his blog [1]:\n- Dell 2900 with two brand new X5365 processors (quad core 3.0 GHz),\n16 GB of memory\n- a RAID1 arra...
[ { "msg_contents": "Hi list,\n\nI am building kind of a poor man's database server: \n\nPentium D 945 (2 x 3 Ghz cores)\n4 GB RAM\n4 x 160 GB SATA II 7200 rpm (Intel server motherboard has only 4 SATA ports)\n\nDatabase will be about 30 GB in size initially and growing 10 GB per year.\nData is inserted overnight...
[ { "msg_contents": "Is anyone running their production PostgreSQL server on the RHEL Cluster\nsoftware? If so, how is it working for you? My linux admin is looking at\ntrying to increase the robustness of our environment and wanting to try and\neliminate as many single points of failure as possible.\n\nSo, I a...
[ { "msg_contents": "\n\tI've been looking at the performance of pg_dump in\nthe past week off and on trying to see if I can get it to\nwork a bit faster and was looking for tips on this.\n\n\tdoing a pg_dump on my 34311239 row table (1h of data btw)\nresults in a wallclock time of 187.9 seconds or ~182k rows/sec...
[ { "msg_contents": "@Albe Wrote:\n> Does the dump file keep growing or not?\nNo, it stops growing.\n\n@sanjeev\nWe are using\n\"..\\pgAdmin III\\1.6\\pg_dump.exe\" -i -h IPHOST -p 5432 -U user -F c -b -v -f \"..\\back\\myfile.backup\" db\nWe are going to try the other one.\n\n@Harald, we've used pg_dump 8.3.0.70...
[ { "msg_contents": "Hi all,\n\nwe have a PostgreSQL dedicated Linux server with 8 cores (2xX5355). We \ncame accross a strange issue: when running with all 8 cores enabled \napproximatly once a minute (period differs) the system is very busy for \na few seconds (~5-10s) and we don't know why - this issue don't s...
[ { "msg_contents": "Using Postgresql 8.1.10 every so often I get a transaction that takes a\nwhile to commit.\n\nI log everything that takes over 500ms and quite reguallly it says things\nlike\n\n707.036 ms statement: COMMIT\n\nIs there anyway to speed this up?\n\nPeter Childs\n\nUsing Postgresql 8.1.10 every so...
[ { "msg_contents": "Hi. Running postgres 8.2 on debian.\nI've noticed that concurrent inserts (archiving) of large batches data\ninto two completely unrelated tables are many times slower than the\nsame inserts done in sequence.\nIs there any way to speed them up apart from buying faster HDs/\nchanging RAID conf...
[ { "msg_contents": "Hello,\nI have a problem with my install of postgresql. I have a program that\nrequests DB by opening persistent connexions. When the program is launched,\nthe disk IO are very high until postgresql cache is good enough (a few\nhours). The problem is that when I stop the program all the conne...
[ { "msg_contents": "My set-up:\n\nPostgres 8.2.5 on AMD x86_64 compiled with GCC 3.4.4 on Gentoo Linux 2.6.17\n4 GB of RAM,\nshared_buffers = 1000\nwork_mem = 1024\n\n\nThis is regarding performance of set-returning functions in queries. I\nuse generate_series() in the following as an example. The true\nmotivat...
[ { "msg_contents": "Hi All,\n\n \n\nI have a procedure which contains only one Select statement. The\nprocedure take more time than expected to complete, the select statement\ninside the procedure was taking about 2 minutes to complete. \n\n \n\nAfter running a Vacuum Analyze on the underlying tables the select\...
[ { "msg_contents": "Hi\n\nWe recently converted to postgres (from mssql) and we're having \nperformance issues. Not all the issues are related to postgres, but \nwe're trying to sort everything out.\n\nThe server is running ubuntu Gutsy with the database stored on a IBM \nSAN. It is a Dell box with dual quad c...
[ { "msg_contents": "Hello,\n\nI have an interesting generic search task, for which I have done \ndifferent performance tests and I would like to share and discuss my \nresults on this newsgroup.\n\nSo I begin to describe the search task:\n\n=========\nYou have a set of N unique IDs. Every ID is associated with a...
[ { "msg_contents": "I cannot get the \"not exists\" clause of ANSI SQL to execute correctly.\nselect t.col11, t.col1... from table1 t where not exists (select 1 from\ntable2 where col2 = t.col1);\ntable1 has 40M + rows. if that matters.\n\nOS is FreeBSD 6.2, postgresql version 8.2.6\n\nIs it not supported or a b...
[ { "msg_contents": "Hi List;\n\nWe'll be loading a table with begining & ending I.P.'s - the table will likely \nhave upwards of 30million rows. Any thoughts on how to get the best \nperformance out of queries that want to look for IP ranges or the use of \nbetween queries? Should these be modeled as integers? ...
[ { "msg_contents": "I have the following problem:\n\nIn my table T, there are a fixed number of boolean columns, C1, .., Cn.\n\nNow, a common query is to search in this table for tuples fullfilling an \narbitrary boolean condition (however only using AND and OR), e.g.\n\nSELECT * FROM T WHERE (C1 OR C2) AND (C3...
[ { "msg_contents": "Hi,\n\nI am having a really hard time trying to figure out why my simple\ncount(*) query is taking so long. I have a table with 1,296,070 rows in\nit. There are 2 different types of information that each row has that I\ncare about:\n\n \n\nstatus : character(1)\n\nsource_id : bigint\n\n \n\nT...
[ { "msg_contents": "Tom wrote:\n>There seem to be a number of people in this thread laboring under the \n>illusion that we store a netmask as a mask. It's a bit count (think \n>/32 or /128) and occupies a whole one byte on disk. Killer overhead, \n>for sure.\n\nThere's no need to be quite so snarky. The netmas...
[ { "msg_contents": "\"James DeMichele\" <James.DeMichele@redfin.com> wrote ..\n\n> Then, I have the following index on the table:\n \n> \"this_index\" (status, source_id, <another_column>)\n\nIf you have many queries of this type, do\n\nCLUSTER this_index ON tablename;\n\nand retry the SELECT.\n\nMySQL is using ...
[ { "msg_contents": "Useing 8.1.9 I'm running into some performance issues with inheritance. \nI've abstracted the situation below because otherwise there's lots of \nspurious stuff, but I'll gladly provide the real EXPLAIN ANALYZE output if \nnecessary.\n\nI have a superclass and a dozen subclasses, of which I'v...
[ { "msg_contents": "\n\tGreetings,\n\n\tI was trying to get informations on #portgresql about a query plan I\nthink is quite strange, and I was said to post on this list. I hope my\nmail will be clear enough. I have included the query, the query plan,\nand the table definitions. I just don't understand the \"Seq...
[ { "msg_contents": "Hi,\n There will be some flames i suppose.\n Well I've a normalized database.. \n For instance:\n\n create table Y ( pk, data... );\n create table Z ( pk , data... );\n\n create table X ( char, references Y, references Z);\n\n SELECT * from X;\n\n Now I want to make a l...
[ { "msg_contents": "All,\nI have been asked to move this thread to the performance list. Below is\nthe full discussion to this point.\n\nDoug Knight\nWSI Corp\nAndover, MA\n\n-------- Forwarded Message --------\nFrom: Doug Knight <dknight@wsi.com>\nTo: munir.usama@gmail.com\nCc: pgsql-hackers@postgresql.org\nSub...
[ { "msg_contents": "Hi\n\nI've noticed a strange pattern in our logs.\n\nWe only log anything that takes longer then 5 seconds.\n\nIf I tail the logs, I see a steady stream of functions that took longer \nthen 5 seconds. But every now and then I see nothing for 3 minutes and \nafter that a whole bunch (about 20...
[ { "msg_contents": "We had the same situation, and did two things\n\n1. Reduce checkpoint timeout\n2. Reduce quantity of data going into database (nice if it's possible!)\n\n1 alone wasn't enough to eliminate the delays, but it did make each delay small enough that the user interface was only minimally affecte...
[ { "msg_contents": "We have a machine that serves as a fileserver and a database server. Our\nserver hosts a raid array of 40 disk drives, attached to two3-ware cards,\none 9640SE-24 and one 9640SE-16. We have noticed that activity on one\ncontroller blocks access on the second controller, not only for disk-IO ...
[ { "msg_contents": "\nHi,\n\nI have been having difficulty with some functions which return sets of\nrows. The functions seem to run very slowly, even though the queries\nthey run execute very quicky if I run them directly from psgl.\nTypically these queries are only returning a few hundred rows with my\nreal da...
[ { "msg_contents": "Hi,\n \nSince I moved from PostgreSQL 7.3 to 8.2 I have a query which suddenly runs very slow. In 7.3 it was really fast. It seems that the query analyser makes other choices, which I don't understand.\n \nI have the query:\n \nSELECT * FROM fpuArticle \n LEFT OUTER JOIN fpuArticleText ON ...
[ { "msg_contents": "I might completely misunderstand this feature. Shouldn't \n\"synchronous_commit = off\" improve performance?\n\nWhatever I do, I find \"synchronous_commit = off\" to degrade performance. \n\nEspecially it doesn't like the CFQ I/O scheduler, it's not so bad with \ndeadline. Synthetic load like...
[ { "msg_contents": "Hi\n\nWhich scheduler is recommended for a box that is dedicated to running \npostgres?\n\nI've asked google and found no answers.\n\n-- \nAdrian Moisey\nSystem Administrator | CareerJunction | Your Future Starts Here.\nWeb: www.careerjunction.co.za | Email: adrian@careerjunction.co.za\nPhone...
[ { "msg_contents": "Hello,\n\nI'm developing some routines that will use temporary tables and need \nadvice on how to not lose performance.\n\nI will insert data in a temporary table and use this data to generate \nnew sets that will update or add to the same temporary table.\n\nI have some questions that I'm co...
[ { "msg_contents": "Hi -performance,\n\nWhile testing 8.3, I found this query which is equally slow on 8.1 and\n8.3 and seems to be really slow for a not so complex query. The stats\nare as good as possible and the behaviour of PostgreSQL seems to be\nlogical considering the stats but I'm looking for a workaroun...
[ { "msg_contents": "\nHey folks --\n\nFor starters, I am fairly new to database tuning and I'm still learning \nthe ropes. I understand the concepts but I'm still learning the real \nworld impact of some of the configuration options for postgres.\n\nWe have an application that has been having some issues with pe...
[ { "msg_contents": "Hi Tom,\n\nOn May 9, 2007 6:40 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:\n> To return to your original comment: if you're trying to model a\n> situation with a fully cached database, I think it's sensible\n> to set random_page_cost = seq_page_cost = 0.1 or so.\n\nIs it still valid for 8.3 or is...
[ { "msg_contents": "I've got two huge tables with one-to-many relationship with complex\nkey. There's also a view, which JOINs the tables, and planner chooses\nunoptimal plan on SELECTs from this view.\n\nThe db schema is declared as: (from on now, I skip the unsignificant\ncolumns for the sake of simplicity)\n...
[ { "msg_contents": "I'm not sure what is going on but looking for some advice, knowledge.\n\nI'm running multiple postgres servers in a slon relationship. I have\nhundreds of thousands of updates, inserts a day. But what I'm seeing\nis my server appears to \"deallocate\" memory (for the lack of a better\nterm) a...
[ { "msg_contents": "hi\n\nWe have an installation of Postgres 8.1.2 (32bit on Solaris 9) with a DB\nsize of about 250GB on disk. The DB is subject to fair amount of\ninserts, deletes and updates per day. \n\nRunning VACUUM VERBOSE tells me that I should allocate around 20M pages\nto FSM (max_fsm_pages)! This loo...
[ { "msg_contents": "On a linux box (Linux db1 2.6.18.8-md #1 SMP Wed May 23 17:21:37 EDT \n2007 i686 GNU/Linux)\nI edited postgresql.conf and changed:\n\nshared_buffers = 5000 work_mem = 16384\nmax_stack_depth = 4096\n\nand then restarted postgres. The puzzling part is that postgres \nactually started...
[ { "msg_contents": "A simple update query, over roughly 17 million rows, populating a newly added column in a table, resulted in an out of memory error when the process memory usage reached 2GB. Could this be due to a poor choice of some configuration parameter, or is there a limit on how many rows I can update ...
[ { "msg_contents": "Hi,\n\nI'd appreciate some assistance in working through what would be the \noptimal configuration for the following situation.\n\nWe currently have one large DB (~1.2TB on disk), that essentially \nconsists of 1 table with somewhere in the order of 500 million rows , \nthis database has d...
[ { "msg_contents": "\nHi,\n\nI've got a pg database, and a batch process that generates some metadata to\nbe inserted into one of the tables. Every 15 minutes or so, the batch script\nre-calculates the meta data (600,000 rows), dumps it to file, and then does\na TRUNCATE table followed by a COPY to import that f...
[ { "msg_contents": "Hi\n\nI am investigating migrating from postgres 743 to postgres 826 but \nalthough the performance in postgres 826 seems to be generally better \nthere are some instances where it seems to be markedly worse, a factor \nof up to 10. The problem seems to occur when I join to more than 4 \ntab...
[ { "msg_contents": "Hi ms\n\nI have a query which runs pretty quick ( 0.82ms) but when I put it \ninside a stored procedure it takes 10 times as long (11.229ms). Is \nthis what you would expect and is there any way that I can get around \nthis time delay?\n\npostgres.conf changes.\n\nshared_buffers = 500MB\nwo...
[ { "msg_contents": "We are trying to optimize our Database server without spending a \nfortune on hardware. Here is our current setup.\n\nMain Drive array: 8x 750 GB SATA 2 Drives in a RAID 10 Configuration, \nthis stores the OS, Applications, and PostgreSQL Data drives. 3 TB \nArray, 2 TB Parition for Post...
[ { "msg_contents": "Hi All,\n\nI am experiencing a strange performance issue with Postgresql (7.4.19) \n+ PostGIS. (I posted to the PostGIS list but got no response, so am \ntrying here.)\n\nWe have a table of entries that contains latitude, longitude values \nand I have a simple query to retrieve all entries...
[ { "msg_contents": "Hi\n\nWe are looking to buy a new server and I am wondering what kind of hardware\nwe should buy and how to configure it.\n\nWe are either getting 8x 2.5\" 15k rpm sas disks or 6x 3.5\" 15k rpm sas\ndisks.\nIf we go with the 2.5\" disks I think we should run 6 disks in raid 10 for\nthe databa...
[ { "msg_contents": "Hi\n\nHow long is a piece of string?\n\nWhile we're at it, how often do I vacuum analyze?\n\nSeriously though, how do I try measure this?\n\n-- \nAdrian Moisey\nSystem Administrator | CareerJunction | Your Future Starts Here.\nWeb: www.careerjunction.co.za | Email: adrian@careerjunction.co.za...