threads listlengths 1 275 |
|---|
[
{
"msg_contents": "Heya Guys n Gals,\n\nHaving been following the thread on \"go for a script! / ex: PostgreSQL vs.\nMySQL\". I thought I would throw something together in Perl. My current issue\nis that I only have access to a RH Linux box and so cannot make it\ncross-platform on my own :-(. Anyhow please find... |
[
{
"msg_contents": "----- Original Message -----\nFrom: \"Nick Barr\" <nicky@chuckie.co.uk>\nTo: <pgsql-performance@postgresql.org>\nSent: Friday, October 10, 2003 1:35 PM\nSubject: go for a script! / ex: PostgreSQL vs. MySQL\n\n\n> I will also post it on me website and as I develop it further new\nversions\n> ... |
[
{
"msg_contents": "Hi,\n\nA simple question about PostgreSQL ... I have a Pentium Xeon Quadri processors \n...\nIf I do a SQL request ... does PostgreSQL use one or more processor ?\n\nAnd if it use only one ... why ?\nCould you explain me this ;o)\n\nThanks per advance.\n-- \nHervᅵ Piedvache\n\nElma Ingᅵni... |
[
{
"msg_contents": "Hi,\n\nOne other small question ... Does PostgreSQL is scalable ?\nI mean ... is it possible to have two servers, one rack of disks connected to \nthe 2 servers to get access in same time to the same database ?\n\nOther point is there any possibilties to make servers clusters with PostgreSQL ... |
[
{
"msg_contents": "List,\n I'm creating this multi company POS database.\nMy inventory table looks like (all items are unique):\n\nid,category_id,invoice_id,x,y,z,gid,uid\n\nI have a primary key on id, and then an foreign keys on category_id and\ninvoice_id.\nGID is the group ID of the company, UID is the co... |
[
{
"msg_contents": "Hello all\n\nI have two very similar queries which I need to execute. They both have\nexactly the same from / where conditions. When I execute the first, it takes\nabout 16 seconds. The second is executed almost immediately after, it takes\n13 seconds. In short, I'd like to know why the query... |
[
{
"msg_contents": "I am running an update-query to benchmark various databases; the\npostgres version is,\n \nUPDATE user_account SET last_name = 'abc'\nWHERE user_account_id IN (SELECT user_account_id FROM commercial_entity,\ncommercial_service WHERE yw_account_id IS NULL\nAND commercial_entity.commercial_enti... |
[
{
"msg_contents": "> Date: Sun, 12 Oct 2003 13:30:45 -0700\n> From: Josh Berkus <josh@agliodbs.com>\n> To: Nick Barr <nicky@chuckie.co.uk>\n> Cc: pgsql-performance@postgresql.org\n> Subject: Re: go for a script! / ex: PostgreSQL vs. MySQL\n> Message-ID: <200310121330.45115.josh@agliodbs.com>\n>\n\n>> This ... |
[
{
"msg_contents": "Actually, even Microsoft SQL Server will do this for you (you can even\nchose if it shoudl split it up on all processors or a maximum number).\nWill do it on any types of queries, as long as they're big enough (you\ncan tweak the cost limit, but the general idea is only process\nCPU-expensive... |
[
{
"msg_contents": "Hi,\n\nI did a search in the discussion lists and found several\npointers about setting the max_fsm_relations and pages.\n\nI have a table that keeps being updated and noticed\nthat after a few days, the disk usage has growned to\nfrom just over 150 MB to like 2 GB !\n\nI followed the recomme... |
[
{
"msg_contents": "I've been having performance issues with Postgres (sequential scans vs\nindex scans in an update statement). I've read that optimizer will\nchange it's plan based on the resources it thinks are available. In\naddition, I've read alot of conflicting info on various parameters, so\nI'd like to ... |
[
{
"msg_contents": "Hello,\n\nThanks to all the previous suggestions for my previous question. I've \ndone a lot more research and playing around since then, and luckily I \nthink I have a better understanding of postgresql.\n\nI still have some queries that don't use an index, and I was wondering \nif there... |
[
{
"msg_contents": "\nOn Monday, Oct 13, 2003, at 21:24 Pacific/Honolulu, mila wrote:\n\n> Seth,\n>\n>> My system: RH9, PG 7.3.4, IDE, 1 gig RAM, celeron 1.7\n> ...\n>> Size of table: 16212 rows\n>> Params: shared_buffers = 128, effective_cache_size = 8192\n>\n> Just in case,\n> the \"shared_buffers\" value look... |
[
{
"msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nIs there any way to determine how much of the free space map is currently in \nuse?(ie. where and what it is tracking?) I vacuum on a regular basis but I \nnever hold in terms of disk space usage. I jacked up the free space map \npages but t... |
[
{
"msg_contents": " First - this is a test post to see if I am in fact able to post!\n\n I sent the usual subscribe email - but got no response. Then some\npostings from the list started to arrive.\n\n Glitch? Or something else?\n\n Regards,\n Harry.\n\n",
"msg_date": "Wed, 15 Oct 2003 11:09:... |
[
{
"msg_contents": "There's been a lot of discussion on the ADMIN list about postgresql backups\nfrom LVM snapshots:\nhttp://marc.theaimsgroup.com/?l=postgresql-admin&w=2&r=1&s=LVM+snapshot&q=b\n\nNote that the existence of the snapshot slows the original filesystem down,\nso you want to minimize the duration fo... |
[
{
"msg_contents": "It seems a simple \"vacuum\" (not full or analyze) slows down the\ndatabase dramatically. I am running vacuum every 15 minutes, but it\ntakes about 5 minutes to run even after a fresh import. Even with\nvacuuming every 15 minutes, I'm not sure vacuuming is working\nproperly.\n\nThere are a ... |
[
{
"msg_contents": "Friday, October 17, 2003 12:05, Tom Lane [mailto:tgl@sss.pgh.pa.us] wrote:\n\n>Murthy Kambhampaty <murthy.kambhampaty@goeci.com> writes:\n>> ... The script handles situations\n>> where (i) the XFS filesystem containing $PGDATA has an \n>external log and (ii)\n>> the postmaster log ($PGDATA/pg... |
[
{
"msg_contents": "Hi,\n\nI downloaded PostgreSQL 7.4beta4 and tried it out.\n\nIt turns out that the index file is still bloating even\nafter running vacuum or vacuum analyze on the table.\nStill, only reindex will claim the space back.\n\nIs the index bloating issue still not resolved in 7.4beta4 ?\n\nThanks.... |
[
{
"msg_contents": "Hi List,\n\n I got a P4 1.7Ghz , 512MB RAM , HD 7200 RPM, on RED HAT 9 running PostgreSQL \n7.3.2-3 Database.\n I have a Delphi aplication that updates the Oracle database using .dbf \nfile's information ( converting the data from the old clipper aplication ) and \nit takes about 3min an... |
[
{
"msg_contents": "It has been suggested to me that I resubmit this question to this list,\nrather than the GENERAL list it was originaly sent to.\n\n I asked earlier about ways of doing an UPDATE involving a left outer\njoin and got some very useful feedback.\n\n This has thrown up a (to me) strange anomal... |
[
{
"msg_contents": "Folks,\n\nI'm working on the demo session for our upcoming presentation at PHPCon. \n\nAs a side issue, we ended up comparing 3 versions of the same search screen:\n\n1) All in PHP with views;\n2) Using a function to build a query and count results but executing that \nquery directly and sor... |
[
{
"msg_contents": "Hi,\n\nPretty soon, a PowerEdge 6650 with 4 x 2Ghz XEONs, and 8GB Memory, with\ninternal drives on RAID5 will be delivered. Postgres will be from RH8.0.\n\nI am planning for these values for the postgres configuration - to begin\nwith:\n\nShared_buffers (25% of RAM / 8KB)) = 8589934592 * .25 ... |
[
{
"msg_contents": "From what I know, there is a cache-row-set functionality that doesn't\nexist with the newer postgres...\n\nConcurrent users will start from 1 to a high of 5000 or more, and could\nramp up rapidly. So far, with increased users, we have gone up to\nstarting the JVM (resin startup) with 1024megs... |
[
{
"msg_contents": "Josh,\n\nThe 6650 can have upto 32GB of RAM.\n\nThere are 5 drives. In future, they will be replaced by a fiber array -\nhopefully.\n\nI read an article that suggests you 'start' with 25% of memory for\nshared_buffers. Sort memory was suggested to be at 2-4%. Here's the\nlink:\nhttp://www.ca.... |
[
{
"msg_contents": "Hopefully, i am not steering this into a different direction, but is there a way to find out how much sort memory each query is taking up, so that we can scale that up with increasing users?\r\n\r\nTHanks,\r\nAnjan\r\n\r\n\t-----Original Message----- \r\n\tFrom: scott.marlowe [mailto:scott.ma... |
[
{
"msg_contents": "Josh,\r\n \r\nThe app servers are seperate dual-cpu boxes with 2GB RAM on each.\r\n \r\nYes, from all the responses i have seen, i will be reducing the numbers to what has been suggested.\r\n \r\nThanks to all,\r\nanjan\r\n\r\n\t-----Original Message----- \r\n\tFrom: Josh Berkus [mailto:josh@... |
[
{
"msg_contents": "I'm running our DBT-2 workload against PostgreSQL 7.3.4 and I'm having\nsome trouble figuring out what I should be looking for when I'm trying\nto tune the database. I have results for a decent baseline, but when I\ntry to increase the load on the database, the performance drops.\nNothing in... |
[
{
"msg_contents": "If I have a fixed amount of money to spend as a general rule is it better to buy one processor and lots of memory or two processors and less memory for a system which is transactional based (in this case it's handling reservations). I realise the answer will be a generalised one but all the ... |
[
{
"msg_contents": "Hi\n\nCurrently we are running Postgresql v7.3.2 on Redhat Linux OS v9.0. We have\nWindows2000 client machines inserting records into the Postgresql tables\nvia ODBC.\n\nAfter a few weeks of usage, when we do a \\d at the sql prompt, there was a\nduplicate object name, ie it can be a duplicat... |
[
{
"msg_contents": "\nI'm using pg 7.3.4 to do a select involving a join on 2 tables. \nThe query is taking 15 secs which seems extreme to me considering \nthe indices that exist on the two tables. EXPLAIN ANALYZE shows \nthat the indices aren't being used. I've done VACUUM ANALYZE on the \ndb with no change ... |
[
{
"msg_contents": "Folks,\n\n \n\nI���m hoping someone can give me some pointers to resolving an issue with postgres and it���s ability to utilize multiple CPUs effectively.\n\n \n\nThe issue is that no matter how much query load we throw at our server it seems almost impossible to get it to utilize more than 5... |
[
{
"msg_contents": "\n\n \n> \n> Medora,\n> \n> > I'm using pg 7.3.4 to do a select involving a join on 2 tables.\n> > The query is taking 15 secs which seems extreme to me considering\n> > the indices that exist on the two tables. EXPLAIN ANALYZE shows\n> > that the indices aren't being used. I've done VACUUM... |
[
{
"msg_contents": "\nJosh,\n\n> > So why did were the indices not used before when they yield \n> a better plan?\n> \n> Your .conf settings, most likely. I'd lower your \n> random_page_cost and raise \n> your effective_cache_size.\n\nIncreasing effective_cache_size to 10000 did it. The query now\ntakes 4 secs... |
[
{
"msg_contents": "\n\nHi\n\nThe Postgresql package came from the Redhat v9.0 CDROM.\nI have checked the version using psql --version and it showed v7.3.2\n\nHow to check the pg_dump version?\n\nThank you,\nREgards.\n\n\n\n\n ... |
[
{
"msg_contents": "\n\nHi\n\nThe Postgresql package came from the Redhat v9.0 CDROM.\nI have checked the version using psql --version and it showed v7.3.2\n\nThe duplication of table names is in the same schema.\n\nHow to check the pg_dump version?\n\n\nThank you,\nREgards.\n\n\n\n\n ... |
[
{
"msg_contents": "Greetings.\n\nI have a table that will require 100,000 rows initially.\n\nAssume the following (some of the field names have been changed for\nconfidentiality reasons):\n\nCREATE TABLE baz (\n baz_number CHAR(15) NOT NULL,\n customer_id CHAR(39),\n foobar_id INTEGER,\n is_cancelle... |
[
{
"msg_contents": "Asked and answered on the list probably a thousand times, but what else is \nthere to discuss on the performance list? :)\n\nI recently built a rather powerful machine to be used in a heavily accessed \ndatabase.. the machine is a dual AthlonMP 2800+, 2GB of PC2100 ECC, and a \n4x18GB RAID-0 ... |
[
{
"msg_contents": "On Friday 24 October 2003 02:21, you wrote:\n> Thank You Sir,....\n> I'm very Greatfull with your answer ,\n> 1. I don't use Cywig, my postgres is 7.4 , and I only\n> runs it from command prompt on windows(postmaster);\n\nDo you mean the native port from here:\nhttp://momjian.postgresql.org/m... |
[
{
"msg_contents": "Just an interesting comparison:\r\n \r\nI don't have the specifics, but a Dell 2 x 2.4GHZ/512KB L3 / 2GB RAM machine timed a query much faster than an older Sun E4000 with 6 x ~300MHZ CPUs / 2GB RAM. One on RH(8 or 9, don't remember) and one on Solaris 9.\r\n \r\n-anjan\r\n \r\n-----Original... |
[
{
"msg_contents": "Just thought i'd mention that on top of optimising postgres as much as \npossible, don't forget how much something like memcached can do for you\n\nhttp://www.danga.com/memcached/\n\nwe use it on www.last.fm - most pages only take one or two database hits, \ncompared with 30 to 40 when memcac... |
[
{
"msg_contents": "Here's the basic issue: PostgreSQL doesn't use indexes unless a query\ncriterion is of exactly the same type as the index type. This occurs\neven when a cast would enable the use of an index and greatly improve\nperformance. I understand that casting is needed to use an index and\nwill theref... |
[
{
"msg_contents": "I am in the process of adding PostgreSQL support for an application, in \naddition to Oracle and MS SQL.\nI am using PostgreSQL version 7.3.2, Red Hat 9.0 on Intel Pentium III board.\n\nI have a query that generally looks like this:\n\nSELECT t1.col1, t2.col1 FROM t1, t2 WHERE t1.x=t2.y AND ... |
[
{
"msg_contents": "Hi,\n\nWe're in the process of setting up a new database server. The\napplication is an online rss aggregator which you can see at\nwww.fastbuzz.com (still running with the old hardware).\n\nThe new machine is a dual Xeon with 2 Gigs of ram \n\nThe OS is freebsd 4.9. \n\nshared_buffers = 1000... |
[
{
"msg_contents": "Hi\n\nCurrently we are running Postgresql v7.3.2 on Redhat Linux OS v9.0. We have\nWindows2000 client machines inserting records into the Postgresql tables\nvia the Postgres ODBC v7.3.0100.\n\nAfter a few weeks of usage, when we do a \\d at the sql prompt, there was a\nduplicate object name i... |
[
{
"msg_contents": "http://fsbench.netnation.com/\n\nSeems to answer a few of the questions about which might be the best \nfilesystem...\n\nChris\n\n\n",
"msg_date": "Mon, 27 Oct 2003 23:16:05 +0800",
"msg_from": "Christopher Kings-Lynne <chriskl@familyhealth.com.au>",
"msg_from_op": true,
"msg_... |
[
{
"msg_contents": "Hi All,\n\nWe've been experiencing extremely poor batch upload performance on our \nPostgres 7.3 (and 7.3.4) database, and I've not been able to improve matters \nsignificantly using any suggestions I've gleamed off the mailing list \narchives ... so I was wondering if anyone with a bigger br... |
[
{
"msg_contents": "Folks,\n\nI'm getting this plan on 7.2.4:\n\n----------------------------------------------------------\nexplain\nselect events.event_id, events.event_name, type_name,\n\tCOALESCE(cases.case_name || '(' || cases.docket || ')', \ntrial_groups.tgroup_name) as event_case,\n\tjw_date_format(event... |
[
{
"msg_contents": "Hi,\n I'am having major performance issues with post gre 7.3.1 db. Kindly suggest all the possible means by which i can optimize the performance of this database. If not all, some ideas (even if they are common) are also welcome. There is no optimisation done to the default configuration... |
[
{
"msg_contents": "Kamalraj Singh Madhan wrote:\n\n> Hi,\n> I'am having major performance issues with post gre 7.3.1 db. Kindly suggest all the possible means by which i can optimize the performance of this database. If not all, some ideas (even if they are common) are also welcome. There is no optimisati... |
[
{
"msg_contents": "This has probably been asked before, but I'll re-ask to spark debate on it again.\n\nIs there any good reason to not have explain analyze also include information if temporary files will be required on sorts, hashes, etc. during the processing of a query. [Idea being setting your sort_mem wo... |
[
{
"msg_contents": "I recalled seeing a thread on -HACKERS about some major improvements to the speed of adding an FK to an existing table in 7.4. Naturally I was curious and decided to give it a whirl. My findings are not too good. In fact, they are bad. \n\nCould it be this patch never made it in?\n\nAnyway, h... |
[
{
"msg_contents": "Hi,\n\nsuppose, for simplicity, there is a table with index like this:\n\ncreate table TABLE1 (\n A integer\n);\ncreate index TABLE1_A on TABLE1 (A);\n\nMy question is: why psql (7.3.3) does not use index when filtering by A IS\nNULL, A IS NOT\nNULL expressions?\n\nIn fact, I need to filter ... |
[
{
"msg_contents": "I just noticed on one of my tables I have the following two indexes:\n\nIndexes: entity_watch_map_pkey primary key btree (entity_id, watch_id),\n ewm_entity_id btree (entity_id),\n\n\nI can't think of why the second index is there, as ISTM there is no\ninstance where the first index w... |
[
{
"msg_contents": "\nDear PostgreSQL gurus,\n\nI really not intend to start a flame war here but i am genuinely\nseeking help to retain PostgreSQL as my database for my RT\nsystem.\n\nFew months back i had posted regarding lowering of column names in SQL\nbeing passed to RDBMS by DBIx::SearchBuilder , looks lik... |
[
{
"msg_contents": "\nok this time it constructs a query which puts 7.3.4 on a infinite loop\nbut 7.4b5 is able to come out of it.\n\nsince it may be of interest to the pgsql people i am Ccing it to the\npgsql-performance list i hope its ok.\n\n\n\nPgsql 7.3.4 on an endless loop:\n\nSELECT DISTINCT main.* FROM (... |
[
{
"msg_contents": "\nHi\n\nWe installed our Postgresql package from the RH CDROM v9.\nThe version is v7.3.2\n\nIs there a compatibility matrix for Postgresql vs OS that I can verify?\n\nI have checked the ftp sites for Postgresql software under the binary/RPMS\nfolder and discovered that v7.3.2 is not available... |
[
{
"msg_contents": "\nHi\n \n When I do a SELECT * FROM pg_shadow, I can have more than one user with the same id. This caused the pg_dump to \n fail. ... |
[
{
"msg_contents": "\nHi\n\nI tried to delete the user from the pg_user but couldnt. This username is\nbeing duplicated so we have the same 2 records.\n\nWhat is the cause ? Is it due to memory or wrong configuration?\n\nThank you,\nREgards.\n\n\n\n\n ... |
[
{
"msg_contents": "Does xfs_freeze work on red hat 7.3?\n \nCynthia Leon\n\n-----Original Message-----\nFrom: Murthy Kambhampaty [mailto:murthy.kambhampaty@goeci.com]\nSent: Friday, October 17, 2003 11:34 AM\nTo: 'Tom Lane'; Murthy Kambhampaty\nCc: 'Jeff'; Josh Berkus; markw@osdl.org;\npgsql-performance@postgr... |
[
{
"msg_contents": "Hi,\n\nOld: Post 7.3.2, P4 1.8, 1 MB RAM, 2 x IDE SW RAID 1, RedHat 8\nNew: Post 7.3.4, Xeon 2.4, 1 MB RAM, 2 x SCSI 15k SW RAID 1, RedHat 9\n\nBoth use: Only postgresql on server. Buffers = 8192, effective cache = 100000\n\nIn old plataform the free and vmstat reports no use of swap.\nIn new... |
[
{
"msg_contents": "Yet another question.. thanks to everyone responding to all these so far.. ;)\n\nThis one is basically.. given I have a big table already in COPY format, \nabout 28 million rows, all keys guaranteed to be unique, I'm trying to find \nout which of the following will get the import finished the... |
[
{
"msg_contents": "Hello all!\n\nDo anyone have experience installing Postgres 7.3.4 on Slackware 9.1? \n\nDo exist any trouble, bug, problem... or is a good MIX?\n\nI want to \"leave\" RedHat (9) because is not \"free\" anymore and i don't \nwant to use fedora BETA TEST versions.\n\nAny suggestion? \n\nTHANKS ... |
[
{
"msg_contents": "Hi, I'm trying to set these two options to tune performance but both\nreturn 'not a valid option name'. Dumping the pg_settings table confirms\nthat they are missing. I'm using the PostgreSQL packages included with\nRedHat 9 (7.3.2) and Mandrake 9.2 Beta (7.3.4). Do I need to install the\nful... |
[
{
"msg_contents": "How do we measure the response time in postgresql?\n\nYour response would be very much appreciated.\n\nThanks and Regards,\n\nRadha\n\n\n",
"msg_date": "Tue, 4 Nov 2003 08:49:39 -0600 (CST)",
"msg_from": "<radha.manohar@ndsu.nodak.edu>",
"msg_from_op": true,
"msg_subject": "Re... |
[
{
"msg_contents": "\n\nHi all,\n\n\nI have just started with PostgreSQL on Linux and in the past I've done a \ngood bit of work on Interbase (both on Windows and Linux).\n\n\nWhat I want to know here is\n\n\nWhat do people here think of Interbase/Firebird?\n\n\nHas anybody done performance metrics or could they... |
[
{
"msg_contents": "Hello guys !\n\nI am trying to connect to pgsql using ODBC from Visual Objects\n(for the ones who don't know what is Visual Objects, it's an IDE\nwith its own object-oriented language made by Computer Associates.\nVO's roots are related to Clipper. ).\n\nThe time it takes to get the list of t... |
[
{
"msg_contents": "I have a c program called test1.pgc with some sql statements embedded in\nit. The program was preprocessed, compiled and linked. Now, I have the\nexecutable test1.\n\nWhen I run the executable it says,\n\n./test1: error while loading shared libraries: libecpg.so.3: cannot open\nshared object ... |
[
{
"msg_contents": "\nTable structure is simple:\n\nCREATE TABLE traffic_logs (\n company_id bigint,\n ip_id bigint,\n port integer,\n bytes bigint,\n runtime timestamp without time zone\n);\n\nruntime is 'day of month' ...\n\nI need to summarize the month, per company, with a query as:\n\nexplain... |
[
{
"msg_contents": "\nhere's the URL:\nhttp://techdocs.postgresql.org/techdocs/pgsqladventuresep2.php\n\nPatrick Hatcher\nMacys.Com\nLegacy Integration Developer\n415-422-1610 office\nHatcherPT - AIM\n\n\n \n Patrick ... |
[
{
"msg_contents": "After a long battle with technology,mallah@trade-india.com (Rajesh Kumar Mallah), an earthling, wrote:\n> the error mentioned in first email has been overcome\n> by running osdb on the same machine hosting the DB server.\n\nYes, it seems unrealistic to try to run the \"client\" on a separate\... |
[
{
"msg_contents": "Hi-\n\nI have a query that takes too long. I haven't been able to come up with any\nideas for speeding it up, so I'm seeking some input from the list.\n\nI'm using version 7.3.2\n\nI have three tables:\n\ncase_data (1,947,386 rows)\nactor (3,385,669 rows)\nactor_case_assignment (8,668,650 row... |
[
{
"msg_contents": "Dear Gurus,\n\nWe are planning to add more db server hardware for the apps. The\nquestion is, what makes more sense regarding\nperformance/scalability/price of the hardware...\n\nThere are a couple of apps, currently on a dual-cpu Dell server. The\nusage of the apps is going to increase quite... |
[
{
"msg_contents": "We are getting ready to spec out a new machine and are wondering about\nthe wisdom of buying a quad versus a dual processor machine. Seing as\nhow postgres in not a threaded application, and this server will only be\nused for log/transaction analysis (it will only ever have a few large\nquer... |
[
{
"msg_contents": "[I originally posted this using the wrong E-Mail account, so a double\nposting may occur if the first message gets released by the moderator later-\nsorry!]\n\nHi-\n\nI have a query that I'm trying to speed up. I haven't been able to come up\nwith any workable ideas for speeding it up, so I'm... |
[
{
"msg_contents": "Hi,\n\nI am trying the PG 7.4 RC1 and RC2 and I see a superb performance\nimprovement compared with 7.3....\n\nExplaining the querys, I see a change of planner that, in my case,\nprefer Nested Loops in 7.4 opposite to Hash or Merge Join in 7.3.\n\nTo test, I disable Hash and Merge Joins in 7.... |
[
{
"msg_contents": "I'm moving a webmail service over to use a postgresql database for\nstorage and wanted to get any tips for optimizing performance. The\nmachine will be a multiprocessor (either 2 or 4 cpu ) system with a raid\narray. What layout should be used? I was thinking using about using a\nraid 1+0 ... |
[
{
"msg_contents": "Hi,\n\nI have coded some improvements to phpPgAdmin that I think are pretty \ncool. Basicaly, once you are browsing the results of an arbitrary \nSELECT query, you can still sort by columns, regardless of the \nunderlying ORDER BY of the SELECT.\n\nI do this like this:\n\nSELECT * FROM (arbi... |
[
{
"msg_contents": "\nHi,\n\nNOT EXISTS is taking almost double time than NOT IN .\nI know IN has been optimised in 7.4 but is anything \nwrong with the NOT EXISTS?\n\nI have vaccumed , analyze and run the query many times\nstill not in is faster than exists :>\n\n\nRegds\nMallah.\n\nNOT IN PLAN\n\ntradein_clien... |
[
{
"msg_contents": "Hi all,\n\nI've one here that I cannot fathom. Any suggestions? \n\nWe have a table, call it tablename, where we're selecting by a range\nof dates and an identifier. (This is redacted, obviously):\n\n\\d tablename\n\n Column | Type | Modifiers \n---... |
[
{
"msg_contents": "On 7.4 RC2, I'm seeing a case where the query planner estimates are way\nout of line after grouping the result of a union. I've tried adjusting the\nstatistics targets up to 200, and it made no difference in the planner's\nestimates. The point of the full query this came from is that it also ... |
[
{
"msg_contents": "Folks,\n\nHow would I calculate storage space/required ram on a 50-digit NUMERIC?\n\nAnd the docs state that NUMERIC is slow. Is this just slow for calculations \n(due to the conversion to float & back) or slow for index lookups as well?\n\n-- \n-Josh Berkus\n Aglio Database Solutions\n San... |
[
{
"msg_contents": "\n\nHi , \n\nmy database seems to be taking too long for a select count(*)\ni think there are lot of dead rows. I do a vacuum full it improves\nbu again the performance drops in a short while ,\ncan anyone please tell me if anything worng with my fsm settings\ncurrent fsm=55099264 (not sure h... |
[
{
"msg_contents": "Hi Everyone,\n \nI am using PostgreSQL 7.3.2 and have used earlier versions (7.1.x onwards) \nand with all of them I noticed same problem with INSERTs when there is a\nlarge data set. Just to so you guys can compare time it takes to insert\none row into a table when there are only few rows pr... |
[
{
"msg_contents": "Heya,\n\nFYI just spotted this and thought I would pass it on, for all those who are\nlooking at new boxes.\n\nhttp://www.theinquirer.net/?article=12665\nhttp://www.promise.com/product/product_detail_eng.asp?productId=112&familyId\n=2\n\nLooks like a four-channel hot-swap IDE (SATA) hardware ... |
[
{
"msg_contents": "Dear Gurus,\n\nI have two SQL function that produce different times and I can't understand\nwhy. Here is the basic difference between them:\n\nCREATE FUNCTION test_const_1234 () RETURNS int4 AS '\n SELECT ... 1234 ... 1234 .... 1234 ...\n' LANGUAGE 'SQL';\n\nCREATE FUNCTION test_param (int4)... |
[
{
"msg_contents": "Hi-\n\nI'm seeing estimates for n_distinct that are way off for a large table\n(8,700,000 rows). They get better by setting the stats target higher, but\nare still off by a factor of 10 with the stats set to 1000. I've noticed and\nreported a similar pattern before on another table. Because t... |
[
{
"msg_contents": "Slavisa Garic wrote:\n\n> Hi Everyone,\n \n> I am using PostgreSQL 7.3.2 and have used earlier versions (7.1.x \n> onwards) \n> and with all of them I noticed same problem with INSERTs when there is \n> a\n> large data set. Just to so you guys can compare time it takes to insert\n> one row in... |
[
{
"msg_contents": "When I execute a transaction using embedded sql statements in a c program,\nI get the error,\n\nError in transaction processing. I could see from the documentation that\nit means, \"Postgres signalled to us that we cannot start, commit or\nrollback the transaction\"\n\nI don't find any mistak... |
[
{
"msg_contents": "When I execute a transaction using embedded sql statements in a c program,\nI get the error,\n\nError in transaction processing. I could see from the documentation that\nit means, \"Postgres signalled to us that we cannot start, commit or\nrollback the transaction\"\n\nI don't find any mistak... |
[
{
"msg_contents": "Hi,\n\nI understand that it is not possible to occasionally re-plan the queries in a\nPL/pgSQL function without dropping and re-creating the function.\n\nI think it would be useful if the queries in a PL/pgSQL function could be\nre-planned on-the-fly.\n\nWhen a lot of data has been added/modi... |
[
{
"msg_contents": "All,\nThis is a straight SQL question, maybe not appropriate for a performance \nlist, but...\n\nI have a simple stock holdings setup:\n\n=> select * from t1;\n nam | co | num\n-----+-----------+------\n joe | ibm | 600\n abe | ibm | 1500\n joe | cisco | 1200\n ab... |
[
{
"msg_contents": "\nHi.\n\nI'm trying to set run-time environment in pgsql7.4 so, that it prints\nall statements with duration time, but I can't understand why setting\nlog_min_duration_statement to '0' causes printing to syslog plenty of\nlines ending with 'duration: statement:', i.e. without any statement\ns... |
[
{
"msg_contents": "Shridhar,\n\nI was looking at the -V/-v and -A/-a settings in pgavd, and really don't \nunderstand how the calculation works. According to the readme, if I set -v \nto 1000 and -V to 2 (the defaults) for a table with 10,000 rows, pgavd would \nonly vacuum after 21,000 rows had been updated.... |
[
{
"msg_contents": "\nI am running RH 7.3 running Apache 1.3.27-2 and PostgreSQL 7.2.3-5.73.\nWhen having 100+ users connected to my server I notice that postmaster\nconsumes up wards of 90% of the processor and I hardly am higher than\n10% idle. I did notice that when I kill apache and postmaster that my\nidle ... |
[
{
"msg_contents": "\nI have this table:\n\ndb=> \\d object_property_value\n Table \"db.object_property_value\"\n Column | Type | Modifiers \n-----------------------+------------------------+----------------... |
[
{
"msg_contents": "On Thu, Nov 20, 2003 at 07:07:30 +0530,\n Rajesh Kumar Mallah <mallah@trade-india.com> wrote:\n> \n> If i dump and reload the performance improves and it takes < 1 sec. This\n> is what i have been doing since the upgrade. But its not a solution.\n> \n> The Vacuum full is at the end of a load... |
[
{
"msg_contents": "I'm having a problem with a queyr like: INSERT INTO FACT (x,x,x,x,x,x)\nSELECT a.key,b.key,c.key,d.key,e.key,f.key from x,a,b,c,d,e,f where x=a\nand x=b .... -- postgres7.4 is running out of memory. I'm not sure\nwhy this would happen -- does it buffer the subselect before doing the\ninse... |
[
{
"msg_contents": "I'm having a problem with a queyr like: INSERT INTO FACT (x,x,x,x,x,x)\nSELECT a.key,b.key,c.key,d.key,e.key,f.key from x,a,b,c,d,e,f where x=a\nand x=b .... -- postgres7.4 is running out of memory. I'm not sure\nwhy this would happen -- does it buffer the subselect before doing the\ninse... |
[
{
"msg_contents": "Heya,\n\nSorry for no updates on the old pg_autoconfig script thing, been rather \nbusy at work the last week or two :-( but i suppose it pays the bills. I \ndo have a few days off work now so I can spend some time on finishing \nthe first version off. The latest version can be found at\n\nht... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.