threads listlengths 1 275 |
|---|
[
{
"msg_contents": "We are having terrible performance issues with a production instance of \nPostgreSQL version 7.4.5, but are struggling with which parameters in \nthe postgresql.conf to change.\n\nOur database server is an Apple G5 (2 x 2GHz CPU, 2GB RAM). The \noperating system is Mac OS X 10.3.\n\nThe datab... |
[
{
"msg_contents": "Hi all, we have the following setup:\n\n- Sun V250 server\n- 2*1.3GHz Sparc IIIi CPU\n- 8GB RAM\n- 8*73GB SCSI drives\n- Solaris 10\n- Postgres 8\n\nDisks 0 and 1 are mirrored and contain the OS and the various software\npackages, disks 2-7 are configured as a 320GB concatenation mounted on\n... |
[
{
"msg_contents": "Hi,\n\nI'm about to recommend a server model to a client, and I've read a in \nmany places (including in this list) that storing indexes in one disk \nand the rest of the database in other disk might increase the overall \nperformance of the system in about 10%.\n\nMaking this only by a sym... |
[
{
"msg_contents": "I'd say it's a little early to worry about a 10% performance increase\nwhen you don't have any redundancy. You might want to consider using\nmore, cheaper SATA disks - with more spindles you may very well get\nbetter performance in addition to redundancy.\n\nAnyway, here's an optimization pr... |
[
{
"msg_contents": "�where is stored the value set by ALTER TABLE table_name ALTER COLUMN\ncolumn_name SET STATISTICS = [1-1000]?\nI've set this to 1000, and I didn't remember in which column (doh!). Is\nthere any table to look? (I did 'grep \"set stat\" $PGDATA/pg_log/*' and found\nit, but may be there is a b... |
[
{
"msg_contents": "Hi to all,\n\nI have a performace problem with the following query:\n\n BEGIN;\n DECLARE mycursor BINARY CURSOR FOR\n SELECT\n toponimo,\n wpt\n FROM wpt_comuni_view\n WHERE (\n wpt &&\n setSRID('BOX3D(4.83 36, 20.16 47.5)'::BOX3D, 4326)\n )... |
[
{
"msg_contents": "\nHi Paul, just some quick thoughts:\n\n \n> -----Original Message-----\n> From: pgsql-performance-owner@postgresql.org \n> [mailto:pgsql-performance-owner@postgresql.org] On Behalf Of \n> Paul Johnson\n> Sent: Wednesday, July 06, 2005 10:16 AM\n> To: pgsql-performance@postgresql.org\n> Subje... |
[
{
"msg_contents": "Hello,\nI was wondering if there is any way to speed up deletes on this table \n(see details below)?\nI am running few of these deletes (could become many more) inside a \ntransaction and each one takes allmost a second to complete.\nIs it because of the foreign key constraint, or is it som... |
[
{
"msg_contents": "Hi,\nThese last two days, I have some troubles with a very strange phenomena:\nI have a 400 Mb database and a stored procedure written in perl which\ncall 14 millions times spi_exec_query (thanks to Tom to fix the memory\nleak ;-) ).\nOn my laptop whith Centrino 1.6 GHz, 512 Mb RAM,\n - it is... |
[
{
"msg_contents": "Hi,\nThese last two days, I have some troubles with a very strange phenomena:\nI have a 400 Mb database and a stored procedure written in perl which\ncall 14 millions times spi_exec_query (thanks to Tom to fix the memory\nleak ;-) ).\nOn my laptop whith Centrino 1.6 GHz, 512 Mb RAM,\n- it is ... |
[
{
"msg_contents": "Hi all,\n\n I hope I am not asking too many questions. :)\n\n I have been trying to solve a performance problem in my program for a \nwhile now and, after getting an index to work which didn't speed things \nup enough, I am stumped. I am hoping someone here might have come across \na simi... |
[
{
"msg_contents": "I'm putting together a road map on how our systems can scale as our load\nincreases. As part of this, I need to look into setting up some fast read\nonly mirrors of our database. We should have more than enough RAM to fit\neverything into memory. I would like to find out if I could expect bet... |
[
{
"msg_contents": "I am beginning to look at Postgres 8, and am particularly\ninterested in cost-based vacuum/analyze. I'm hoping someone\ncan shed some light on the behavior I am seeing.\n\nSuppose there are three threads:\n\nwriter_thread\n every 1/15 second do\n BEGIN TRANSACTION\n COPY table1 FROM... |
[
{
"msg_contents": "> Stuart,\n> \n> > I'm putting together a road map on how our systems can scale as our\nload\n> > increases. As part of this, I need to look into setting up some fast\n> > read only mirrors of our database. We should have more than enough\nRAM\n> > to fit everything into memory. I would like ... |
[
{
"msg_contents": "I created a user with a password. That newly created user now have\ntables and indexes. I want to ALTER that user to exclude the password.\nHow is this accomplished without dropping and recreating the users?\n\nLarry Bailey\nSr. Oracle DBA\nFirst American Real Estate Solution\n(714) 701-3347\... |
[
{
"msg_contents": "Thanks but it is still prompting for a password. \n\n\nLarry Bailey\nSr. Oracle DBA\nFirst American Real Estate Solution\n(714) 701-3347\nlbailey@firstam.com \n-----Original Message-----\nFrom: Joshua D. Drake [mailto:jd@commandprompt.com] \nSent: Friday, July 08, 2005 5:10 PM\nTo: Bailey, La... |
[
{
"msg_contents": "The 2 queries are almost same, but ORDER BY x||t is FASTER than ORDER BY x..\n\nHow can that be possible?\n\nBtw: x and x||t are same ordered \n\nphoeniks=> explain analyze SELECT * FROM test WHERE i<20 ORDER BY x || t;\n QUERY PLAN\n\n--... |
[
{
"msg_contents": ">- Sun V250 server\n>- 2*1.3GHz Sparc IIIi CPU\n>- 8GB RAM\n>- 8*73GB SCSI drives\n>- Solaris 10\n>- Postgres 8\n>4) We moved the pg_xlog files off /data/postgres (disks 2-7) and into\n>/opt/pg_xlog (disks 0-1), but it seemed like performance decreased, \n>so we moved them back again.\nYou ha... |
[
{
"msg_contents": "In the past week, one guy of Unix Group in Colombia\nsay: \"Postgrest in production is bat, if the power off\nin any time the datas is lost why this datas is in\nplain files. Postgrest no ssupport data bases with\nmore 1 millon of records\". \nWath tell me in this respect?, is more best Infor... |
[
{
"msg_contents": "> In the past week, one guy of Unix Group in Colombia\n> say: \"Postgrest in production is bat, if the power off in any \n> time the datas is lost why this datas is in plain files. \n> Postgrest no ssupport data bases with more 1 millon of records\". \n> Wath tell me in this respect?, is more... |
[
{
"msg_contents": "As a sometimes Informix and PostgreSQL DBA, I disagree with the contentions below. We have many tables with 10s of millions of rows in Postgres. We have had (alas) power issues with our lab on more than one occasion and the afflicted servers have recovered like a champ, every time.\n\nThis pe... |
[
{
"msg_contents": "Help! After recently migrating to Postgres 8, I've\ndiscovered to my horror that I can't determine which\nqueries are poorly performing anymore because the\nlogging has drastically changed and no longer shows\ndurations for anything done through JDBC.\n\nSo I'm desperately trying to do perfo... |
[
{
"msg_contents": "Hi,\n\nWe have a couple of database that are identical (one for each customer).\nThey are all relatively small, ranging from 100k records to 1m records.\nThere's only one main table with some smaller tables, a lot of indexes \nand some functions.\n\nI would like to make an estimation of the p... |
[
{
"msg_contents": " From AMD's suit against Intel. Perhaps relevant to some PG/AMD issues. \n\n\"...125. Intel has designed its compiler purposely to degrade performance when a program\nis run on an AMD platform. To achieve this, Intel designed the compiler to compile code\nalong several alternate code paths. S... |
[
{
"msg_contents": "with my application, it seems that size of cache has great effect:\nfrom 512 Kb of L2 cache to 1Mb boost performance with a factor 3 and\n20% again from 1Mb L2 cache to 2Mb L2 cache.\nI don't understand why a 512Kb cache L2 is too small to fit the data's\ndoes it exist a tool to trace process... |
[
{
"msg_contents": "Hello\n\nI have a large database with 4 large tables (each containing at least \n200 000 rows, perhaps even 1 or 2 million) and i ask myself if it's \nbetter to split them into small tables (e.g tables of 2000 rows) to \nspeed the access and the update of those tables (considering that i will... |
[
{
"msg_contents": ">Nicolas,\n>\n>These sizes would not be considered large. I would leave them\n>as single tables.\n>\n>Ken\n\n\n\nok, i though it was large but i must confess i'm relatively new in the \ndatabase word. thank you for the answer.\n\nJust another question : what is the maximal number of rows that... |
[
{
"msg_contents": "Gurus,\n\nA table in one of my databases has just crossed the 30 million row \nmark and has begun to feel very sluggish for just about anything I do \nwith it. I keep the entire database vacuumed regularly. And, as \nlong as I'm not doing a sequential scan, things seem reasonably quick ... |
[
{
"msg_contents": "Hi,\n\nI've got a java based web application that uses PostgreSQL 8.0.2. \nPostgreSQL runs on its own machine with RHEL 3, ia32e kernel, dual Xeon \nprocessor, 4 Gb ram.\n\nThe web application runs on a seperate machine from the database. The \napplication machine has three tomcat instances c... |
[
{
"msg_contents": "VACUUM FULL ANALYZE is performed right before tests.\nUPDATE test SET t = xpath_string(x, 'movie/rating'::text); is performed also\nto make selects equal.\nXpath_string is IMMUTABLE.\n\n Table \"public.test\"\n Column | Type | Modifiers | Description\n--------+--------... |
[
{
"msg_contents": "\nThe question appeared because of strange issues with functional indexes.\nIt seems they are recalculated even where it is obviously not needed.\n\n\\d+ test:\n\n i | integer | |\n t | text | |\n x | ... |
[
{
"msg_contents": "Hi,\n\nI'm having a problem with a query that performs a sequential scan on a \ntable when it should be performing an index scan. The interesting thing \nis, when we dumped the database on another server, it performed an index \nscan on that server. The systems are running the same versions o... |
[
{
"msg_contents": "I just took delivery of a new system, and used the opportunity to\nbenchmark postgresql 8.0 performance on various filesystems. The system\nin question runs Linux 2.6.12, has one CPU and 1GB of system memory, and\n5 7200RPM SATA disks attached to an Areca hardware RAID controller\nhaving 128... |
[
{
"msg_contents": "Hi,\n\nOur application requires a number of processes to select and update rows\nfrom a very small (<10 rows) Postgres table on a regular and frequent\nbasis. These processes often run for weeks at a time, but over the\nspace of a few days we find that updates start getting painfully slow.\n... |
[
{
"msg_contents": "Is there any MS-SQL Server like 'Profiler' available for PostgreSQL? A \nprofiler is a tool that monitors the database server and outputs a detailed \ntrace of all the transactions/queries that are executed on a database during \na specified period of time. Kindly let me know if any of you kn... |
[
{
"msg_contents": "[reposted due to delivery error -jwb]\n\nI just took delivery of a new system, and used the opportunity to\nbenchmark postgresql 8.0 performance on various filesystems. The system\nin question runs Linux 2.6.12, has one CPU and 1GB of system memory, and\n5 7200RPM SATA disks attached to an A... |
[
{
"msg_contents": "It seems functional indexes are recalculated even where it is obviously not\nneeded.\n\n\\d+ test:\n\n i | integer | |\n t | text | |\n x | text | |\n \"i_i\" btree (i)\n... |
[
{
"msg_contents": "I was wondering - have you had a chance to run the same benchmarks on\nReiserFS (ideally both 3 and 4, with notail)?\n\nI'd be quite interested to see how it performs in this situation since\nit's my fs of choice for most things.\n\nThanks,\nDmitri\n\n-----Original Message-----\nFrom: pgsql-p... |
[
{
"msg_contents": "Before I ask, I don't want to start a war.\n\nCan someone here give me an honest opinion of how PostgresSQL (PG) is better \nthan Firebird on Windows?\n\nI've just recently started reading the Firebird NG and a poster over there \nhas brought up some serious issues with Firebird, but they see... |
[
{
"msg_contents": "I'm trying to improve the speed of this query:\n\nexplain select recordtext from eventactivity inner join ( select \nincidentid from k_r where id = 94 ) a using ( incidentid ) inner join \n( select incidentid from k_b where id = 107 ) b using ( incidentid );\n ... |
[
{
"msg_contents": "I am working on a system that uses postgresql 7.4.2 (can't change that\nuntil 8.1 goes stable). Just figured out that there are about 285,000\nconnections created over about 11 hours every day. That averages out to\nabout 7.2 connections per second.\n\nIs that a lot? I've never seen that many... |
[
{
"msg_contents": "Hello all\n\n I'm running a postgres 7.4.5, on a dual 2.4Ghz Athlon, 1Gig RAM and\nan 3Ware SATA raid. Currently the database is only 16G with about 2\ntables with 500000+ row, one table 200000+ row and a few small\ntables. The larger tables get updated about every two hours. The\nproblem I ... |
[
{
"msg_contents": "In our last installment, we saw that JFS provides higher pgbench\nperformance than either XFS or ext3. Using a direct-I/O patch stolen\nfrom 8.1, JFS achieved 105 tps with 100 clients.\n\nTo refresh, the machine in question has 5 7200RPM SATA disks, an Areca\nRAID controller with 128MB cache... |
[
{
"msg_contents": "\n\n\n\nPostgres Version:\n7.3.9 and 8.0.1 (different sites use different versions depending on when\nthey first installed Postgres)\n\nMigration Plans:\nAll sites on 8.n within the next 6-9 months.\n\nScenario:\nA temporary table is created via a \"SELECT blah INTO TEMPORARY TABLE blah\nFROM... |
[
{
"msg_contents": "I have a unique scenerio. My DB is under \"continual load\", meaning\nthat I am constantly using COPY to insert new data into the DB. There\nis no \"quiet period\" for the database, at least not for hours on end. \nNormally, checkpoint_segments can help absorb some of that, but my\nexperien... |
[
{
"msg_contents": "Sigh...\n\nI recently upgraded from 7.4.1 to 8.0.3. The application did not change. I'm\nnow running both database concurrently (on different ports, same machine) just\nso I could verify the problem really exists.\n\nThe application is a custom test application for testing mechanical system... |
[
{
"msg_contents": "\nIn regards to\nhttp://archives.postgresql.org/pgsql-performance/2005-07/msg00261.php\n\nTom Says:\n> ... as indeed it does according to Robert's recent reports. Still\n> awaiting the definitive test, but I'm starting to think this is another\n> case of the strange behavior Ian Westmacott e... |
[
{
"msg_contents": "Just out of curiosity, does it do any better with the following?\n\n SELECT ...\n FROM a\n JOIN b ON (a.key = b.key)\n LEFT JOIN c ON (c.key = a.key)\n LEFT JOIN d ON (d.key=a.key)\n WHERE (b.column <= 100)\n\n\n>>> \"Dario Pudlo\" <dariop@unitech.com.ar> 07/06/05 4:54 ... |
[
{
"msg_contents": "Hi,\n\nSuppose I have a table with 4 fields (f1, f2, f3, f4)\nI define 2 unique indexes u1 (f1, f2, f3) and u2 (f1, f2, f4)\n\nI have 3 records\nA, B, C, D (this will be inserted)\nA, B, C, E (this will pass u2, but not u1, thus not inserted)\nA, B, F, D (this will pass u1, but not u2, thus ... |
[
{
"msg_contents": "You might want to set join_collapse_limit high, and use the JOIN\noperators rather than the comma-separated lists. We generate the WHERE\nclause on the fly, based on user input, and this has worked well for us.\n \n-Kevin\n \n \n>>> \"Dario\" <dario_d_s@unitech.com.ar> 07/18/05 2:24 PM >>>\n... |
[
{
"msg_contents": "BTW: thank you for the idea\n\nBegin forwarded message:\n\n> From: Yves Vindevogel <yves.vindevogel@implements.be>\n> Date: Tue 19 Jul 2005 12:20:34 CEST\n> To: Richard Huxton <dev@archonet.com>\n> Subject: Re: [PERFORM] Insert performance (OT?)\n>\n>\n> On 19 Jul 2005, at 11:39, Richard Huxt... |
[
{
"msg_contents": "Hi,\nI'm running Postgres 7.4.6 on a dedicated server with about 1.5gigs of ram.\nRunning scripts locally, it takes about 1.5x longer than mysql, and the load \non the server is only about 21%.\nI upped the sort_mem to 8192 (kB), and shared_buffers and \neffective_cache_size to 65536 (512MB),... |
[
{
"msg_contents": "The thread below has the test case that we were able to use to reproduce\nthe issue.\n\n \n\nhttp://archives.postgresql.org/pgsql-performance/2004-04/msg00280.php\n\n \n\nThe last messages on this subject are from April of 2005. Has there\nbeen any successful ways to significantly reduce the... |
[
{
"msg_contents": "Hi Oliver,\n\nWe had low resource utilization and poor throughput on inserts of\nthousands of rows within a single database transaction. There were a\nlot of configuration parameters we changed, but the one which helped the\nmost was wal_buffers -- we wound up setting it to 1000. This may b... |
[
{
"msg_contents": "> We had low resource utilization and poor throughput on inserts of\n> thousands of rows within a single database transaction. There were a\n> lot of configuration parameters we changed, but the one which helped the\n> most was wal_buffers -- we wound up setting it to 1000. This may be\n> h... |
[
{
"msg_contents": "I tuned a query last week to obtain acceptable performance.\nHere is my recorded explain analyze results:\n\n-----\nLOG: duration: 826.505 ms statement: explain analyze\n SELECT\n c.id AS contact_id,\n sr.id AS sales_rep_id,\n LTRIM(RTRIM(sr.firstname || ' ' || sr.lastname)) ... |
[
{
"msg_contents": "Hi,\nI have a similar application,\nbut instead of adding new items to the db once at time,\nI retrieve new IDs from a sequence (actually only every 10'000 times) and write a csv file from perl.\nWhen finished, I load all new record in one run with Copy.\n \nhth,\n \nMarc Mamin\n\n___________... |
[
{
"msg_contents": "Hi,\n\nI do not under stand the following explain output (pgsql 8.0.3):\n\nexplain analyze\nselect b.e from b, d\nwhere b.r=516081780 and b.c=513652057 and b.e=d.e;\n\n QUERY PLAN\n--------------------------------------------------------... |
[
{
"msg_contents": "Hello,\nI'm searching for two facts:\nHow much space takes a varchar column if there is no value in it (NULL)?\nHow much space needs a index of an integer column?\nHope I post to the right list and hope anybody can help me.\nThank you\nGreetings\nAchim\n",
"msg_date": "Thu, 21 Jul 2005 12... |
[
{
"msg_contents": "Preferably via JDBC, but by C/C++ if necessary.\n\nStreaming being the operative word.\n\nTips appreciated.\n",
"msg_date": "Thu, 21 Jul 2005 11:58:57 -0400",
"msg_from": "Jeffrey Tenny <jeffrey.tenny@comcast.net>",
"msg_from_op": true,
"msg_subject": "What is best way to stre... |
[
{
"msg_contents": " \n\n\n> Subject: [PERFORM] What is best way to stream terabytes of \n> data into postgresql?\n> \n> Preferably via JDBC, but by C/C++ if necessary.\n> \n> Streaming being the operative word.\n> \n> Tips appreciated.\n> \n\nHi,\n\nWe granted our Java Loader to the Bizgres Open Source,\nhttp:/... |
[
{
"msg_contents": "Hello, I have PostgreSQL 8.0.3 running on a \"workstation\" with 768 MB\nof RAM, under FreeBSD. And I have a 47-milion row table:\n\nqnex=# explain select * from log;\n QUERY PLAN \n---------------------------------------------------... |
[
{
"msg_contents": "Hi all,\n\n I am trying to do an update on a table but so far I can't seem to \ncome up with a usable index. After my last question/thread the user \n'PFC' recommended I store whether a file was to be backed up as either \n't'(rue), 'f'(alse) or 'i'(nherit) to speed up changing files and su... |
[
{
"msg_contents": "pgsql performance gurus,\n\nI sent the following message earlier this week. I have continued\nattempting to find something on the net that would explain this\nstrange change of query plans, but nothing seems to apply.\n\nAre there any thoughts, such as possibly tweaking the database\nsomehow... |
[
{
"msg_contents": "It's likely that data is in filesystem (not database) cache the second time you run the query. See if the same thing happens when you stop and restart the postmaster (it likely wont), then do something like this to flush the filesystem cache (read a big file, can't give you a sample cmd beca... |
[
{
"msg_contents": "Lately, I've been reading a lot about these new Coraid AoE RAID \ndevices ( http://www.coraid.com ). They tout it as being fast and \ncheap and better than iSCSI due to the lack of TCP/IP over the wire. \nIs it likely that a 15-drive RAID 10 Linux software RAID would \noutperform a 4-dr... |
[
{
"msg_contents": "Shashi Kanth Boddula wrote:\n> \n> The customer is using DBmirror tool to mirror the database records of\n> primary to secondary . The customer is complaining that there is one day\n> (24 hours) delay between primary and secondray for database\n> synchronization . They have dedicated line a... |
[
{
"msg_contents": " \nI have an 8.02 postgresql database with about 180 GB in size, running on\n2.6 RedHat kernel with 32 GB of RAM and 2 CPUs. I'm running the vacuum\nfull analyze command, and has been running for at least two consecutive\ndays with no other processes running (it's an offline loading server). ... |
[
{
"msg_contents": "I need COPY via libpqxx to insert millions of rows into two tables. One\ntable has roughly have as many rows and requires half the storage. In\nproduction, the largest table will grow by ~30M rows/day. To test the\nCOPY performance I split my transactions into 10,000 rows. I insert\nrough... |
[
{
"msg_contents": " \nNothing was running except the job. The server did not look stressed out\nlooking at top and vmstat. We have seen slower query performance when\nperforming load tests, so I run the re-index on all application indexes\nand then issue a full vacuum. I ran the same thing on a staging server\n... |
[
{
"msg_contents": "I do not have any foreign keys and I need the indexes on during the\ninsert/copy b/c in production a few queries heavily dependent on the\nindexes will be issued. These queries will be infrequent, but must be\nfast when issued.\n\nI am using InnoDB with MySQL which appears to enforce true tr... |
[
{
"msg_contents": "John,\n\n(FYI: got a failed to deliver to john@arbash-meinel.com)\n\nI do not have any foreign keys and I need the indexes on during the\ninsert/copy b/c in production a few queries heavily dependent on the\nindexes will be issued. These queries will be infrequent, but must be\nfast when iss... |
[
{
"msg_contents": "I need the chunks for each table COPYed within the same transaction\nwhich is why I'm not COPYing concurrently via multiple\nthreads/processes. I will experiment w/o OID's and decreasing the\nshared_buffers and wal_buffers.\n\nThanks,\nChris\n\n-----Original Message-----\nFrom: Gavin Sherry ... |
[
{
"msg_contents": "I saw a review of a relatively inexpensive RAM disk over at \nanandtech.com, the Gigabyte i-RAM\nhttp://www.anandtech.com/storage/showdoc.aspx?i=2480\n\nBasically, it is a PCI card, which takes standard DDR RAM, and has a \nSATA port on it, so that to the system, it looks like a normal SATA d... |
[
{
"msg_contents": "I am working on a process that will be inserting tens of million rows \nand need this to be as quick as possible.\n\nThe catch is that for each row I could potentially insert, I need to \nlook and see if the relationship is already there to prevent \nmultiple entries. Currently I am doin... |
[
{
"msg_contents": "Hannu,\n\nOn 7/26/05 11:56 AM, \"Hannu Krosing\" <hannu@skype.net> wrote:\n\n> On T, 2005-07-26 at 11:46 -0700, Luke Lonergan wrote:\n> \n>> Yah - that's a typical approach, and it would be excellent if the COPY\n>> bypassed WAL for the temp table load.\n> \n> Don't *all* operations on TEMP t... |
[
{
"msg_contents": "My application is using Firebird 1.5.2\n\nI have at my database:\n- 150 Doamins\n- 318 tables\n- 141 Views\n- 365 Procedures\n- 407 Triggers\n- 75 generators\n- 161 Exceptions\n- 183 UDFs\n- 1077 Indexes\n\nMy question is:\n\nPostgre SQL will be more faster than Firebird? How much (in percent... |
[
{
"msg_contents": "Is there a way to make the query planner consider pulling inner appends \noutside joins?\n\nExample:\nnatural_person inherits from person (obviously)\n\nadmpostgres3=# explain analyze select u.name, p.name from users u, person p \nwhere p.user_id = u.id and u.name = 's_ohl';\n ... |
[
{
"msg_contents": "I am having a problem with a view on one of my db's. This view is\ntrying to sequentially can the 2 tables it is accessing. However,\nwhen I explain the view on most of my other db's (all have the same\nschema's), it is using the indexes. Can anyone please help me\nunderstand why postgres ... |
[
{
"msg_contents": "Thank you all for your great input. It sure helped. \n\n-- \n Husam \n\n-----Original Message-----\nFrom: pgsql-performance-owner@postgresql.org\n[mailto:pgsql-performance-owner@postgresql.org] On Behalf Of Jochem van\nDieten\nSent: Tuesday, July 26, 2005 2:58 AM\nTo: pgsql-performance@postgr... |
[
{
"msg_contents": "Folks,\n\nI ran a wal_buffer test series. It appears that increasing the \nwal_buffers is indeed very important for OLTP applications, potentially \nresulting in as much as a 15% average increase in transaction processing. \nWhat's interesting is that this is not just true for 8.1, it's tr... |
[
{
"msg_contents": "I'm not sure how much this has been discussed on the list, but wasn't\nable to find anything relevant in the archives.\n\nThe new Spamassassin is due out pretty soon. They are currently testing\n3.1.0pre4. One of the things I hope to get out of this release is bayes\nword stats moved to a r... |
[
{
"msg_contents": "Hi all;\n\nI have a customer who currently uses an application which had become \nslow. After doing some digging, I found the slow query:\n\nSELECT c.accno, c.description, c.link, c.category, ac.project_id, \np.projectnumber,\n a.department_id, d.description AS department\nFROM chart ... |
[
{
"msg_contents": "Hello,\n\nwe recently upgraded our dual Xeon Dell to a brand new Sun v40z with 4 \nopterons, 16GB of memory and MegaRAID with enough disks. OS is Debian \nSarge amd64, PostgreSQL is 8.0.3. Size of database is something like 80GB \nand our website performs about 600 selects and several updates... |
[
{
"msg_contents": "> I'm not sure how much this has been discussed on the list, but wasn't\n> able to find anything relevant in the archives.\n> \n> The new Spamassassin is due out pretty soon. They are currently\ntesting\n> 3.1.0pre4. One of the things I hope to get out of this release is\nbayes\n> word stat... |
[
{
"msg_contents": "Kari Lavikka wrote:\n> shared_buffers = 15000 \nyou can play around with this one but in my experience it doesn't make\nmuch difference anymore (it used to).\n\n> work_mem = 1536 # min 64, size in KB\nthis seems low. are you sure you are not getting sorts swapped to ... |
[
{
"msg_contents": "\n\n\n\nPostgres V7.3.9-2.\n\nWhile executing a query in psql, the following error was generated:\n\nvsa=# select * from vsa.dtbl_logged_event_20050318 where id=2689472;\nPANIC: open of /vsa/db/pg_clog/0FC0 failed: No such file or directory\nserver closed the connection unexpectedly\n ... |
[
{
"msg_contents": "I ran into a situation today maintaining someone else's code where the\nsum time running 2 queries seems to be faster than 1. The original code\nwas split into two queries. I thought about joining them, but\nconsidering the intelligence of my predecessor, I wanted to test it. \n\nThe question... |
[
{
"msg_contents": "work_mem = 131072 # min 64, size in KB\nshared_buffers = 16000 # min 16, at least max_connections*2, 8KB each\ncheckpoint_segments = 128 # in logfile segments, min 1, 16MB each\neffective_cache_size = 750000 # typically 8KB each\nfsync=false ... |
[
{
"msg_contents": "\nThe following bug has been logged online:\n\nBug reference: 1797\nLogged by: Magno Leite\nEmail address: magnomilk@yahoo.com.br\nPostgreSQL version: 8.0\nOperating system: Windows XP Professional Edition\nDescription: Problem using Limit in a function, seqscan\nD... |
[
{
"msg_contents": "Hi,\n\ndoes anybody have expierence with this machine (4x 875 dual core Opteron \nCPUs)? We run RHEL 3.0, 32bit and under high load it is a drag. We \nmostly run memory demanding queries. Context switches are pretty much \naround 20.000 on the average, no cs spikes when we run many processes ... |
[
{
"msg_contents": "Hi,\n\nI'm happily using ltree since a long time, but I'm recently having \ntroubles because of ltree <@ operator selectivity that is causing very \nbad planner choices.\n\nAn example of slow query is:\n\nSELECT\n batch_id,\n b.t_stamp AS t_stamp,\n objects,\n CASE WHEN sent IS NULL T... |
[
{
"msg_contents": "Tom,\n\n>> I've attached it here, sorry to the list owner for the patch inclusion /\n>> off-topic.\n> \n> This patch appears to reverse out the most recent committed changes in\n> copy.c.\n\nWhich changes do you refer to? I thought I accommodated all the recent\nchanges (I recall some changes... |
[
{
"msg_contents": "Hi all,\n\nWe're using 8.0.3 and we're seeing a problem where the planner is choosing a \nseq scan and hash join over an index scan. If I set enable_hashjoin to off, \nthen I get the plan I'm expecting and the query runs a lot faster. I've also \ntried lowering the random page cost (even to 1... |
[
{
"msg_contents": "The short question: \n\nIs there any ways to give postgresql a hint that a\nparticular SQL call should be run at lower priority? Since every db\nconnection has a pid, I can manually run \"renice\" to scheduele it by the OS\n- but of course I can't do it manually all the time.\n\nThe long sto... |
[
{
"msg_contents": "Dumping a database which contains a table with a bytea column takes\napproximately 25 hours and 45 minutes. The database has 26 tables in\nit. The other 25 tables take less than 5 minutes to dump so almost all\ntime is spent dumping the bytea table.\n\n \n\nprd1=# \\d ybnet.ebook_master;\n\n... |
[
{
"msg_contents": "I have in my possession some performance tuning documents authored by Bruce\nMomjian, Josh Berkus, and others. They give good information on utilities to\nuse (like ipcs, sar, vmstat, etc) to evaluate disk, memory, etc. performance\non Unix-based systems.\n\nProblem is, I have applications ru... |
[
{
"msg_contents": "Does postgres support indexed views/materialised views that some of the \nother databases support?\n\nThanks\nPrasanna S\n\nDoes postgres support indexed views/materialised views that some of the other databases support?\n\nThanks\nPrasanna S",
"msg_date": "Thu, 4 Aug 2005 13:54:32 +0530"... |
[
{
"msg_contents": "[[I'm posting this on behalf of my co-worker who cannot post to this \nlist at the moment]]\n\nHi,\n\nI had installed PostgreSQL on a 4-way AMD Opteron 875 (dual core) and \nthe performance isn't on the expected level.\n\nDetails:\nThe \"old\" server is a 4-way XEON MP 3.0 GHz with 4MB L3 cac... |
[
{
"msg_contents": "I've got similiar queries that I think should be evaluated (as\ndisplayed through 'explain') the same, but don't.\nHopefully this is the rigth place to send such a question and one of\nyou can help explain this to me.\n\nThe Tables:\n Connection - 1.2 million entries, about 60 megs, 3 inte... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.