threads listlengths 1 275 |
|---|
[
{
"msg_contents": "Dan,\n\n> I'm doing some performance profiling with a simple two-table query:\n\nPlease send EXPLAIN ANALYZE for each query, and not just EXPLAIN. Thanks!\n\n-- \nJosh Berkus\nAglio Database Solutions\nSan Francisco\n",
"msg_date": "Wed, 17 Nov 2004 11:14:43 -0800",
"msg_from": "Jos... |
[
{
"msg_contents": "I understand that the sort_mem conf setting affects queries with order by, etc., and the doc mentions that it is used in create index. Does sort_mem affect the updating of indexes, i.e., can the sort_mem setting affect the performance of inserts?\n\n- DAP\n------------------------------------... |
[
{
"msg_contents": "Hi,\n\nin March there was an interesting discussion on the list with the \nsubject \"postgres eating CPU on HP9000\".\n\nNow I'm the same problem on a Dell dual processor machine.\n\nAnybody know if there was a solution?\n\nThanks\n\nPiergiorgio\n",
"msg_date": "Wed, 17 Nov 2004 23:13:52 ... |
[
{
"msg_contents": "French encodings vs. Cyrillic encodings? Characters coming thru the mail in some encoding that don't get translated properly.\r\n\r\nHis name is Herve Piedvache, where the 2nd 'e' in Herve is an accented character. It must somehow do weird things to your terminal when it's trying to map that ... |
[
{
"msg_contents": "Hello All,\r\n\r\nI have a setup with a Dell Poweredge 2650 with Red Hat and Postgres 7.4.5 with a database with about 27GB of data. The table in question has about 35 million rows.\r\n\r\nI am running the following query:\r\n\r\nSELECT *\r\nFROM mb_fix_message\r\nWHERE msg_client_order_id I... |
[
{
"msg_contents": "Andrew,\n\nIt seems that you could combine the subquery's WHERE clause with the main\nquery's to produce a simpler query, i.e. one without a subquery.\n\nRick\n\n\n\n\n ... |
[
{
"msg_contents": "Actually, unfortunately, that won't work. The subquery gets a list of message IDs and then the outer query gets the responses to those messages.\n\nAlso, I dumped this data and imported it all to ms sql server and then ran it there. The query ran in 2s.\n\nAndrew\n\n-----Original Message---... |
[
{
"msg_contents": "I have run ANALYZE right before running this query.\n\nI will run EXPLAIN ANALYZE when I can. I started running the query when I sent the first email and it is still running. Looke like it longer than an hour.\n\nI will post the results of EXPLAIN ANALYZE in a few hours when I get them.\n\n... |
[
{
"msg_contents": "What I think is happening with the missing pg_statistic entries:\n\nThe install of our application involves a lot of data importing (via\nJDBC) in one large transaction, which can take up to 30 minutes. (I\nrealize I left out this key piece of info in my original post...)\n\nThe pg_autovacuum... |
[
{
"msg_contents": "Can someone explain how the free space map deals with alternate database \nlocations?\n\nGiven that the free space map is global, and it is ostensibly managing \nfree disk space, how does it deal with tuples across disk locations ?\n\n\nDave\n\n-- \nDave Cramer\nhttp://www.postgresintl.com\n5... |
[
{
"msg_contents": "ALTER TABLE foo ALTER COLUMN bar SET STATISTICS n; .....\n\nI wonder what are the implications of using this statement,\nI know by using, say n=100, ANALYZE will take more time,\npg_statistics will be bigger, planner will take longer time,\non the other hand it will make better decisions... E... |
[
{
"msg_contents": "Hi,\n\nI have a query that when run on similar tables in 2 different databases \neither uses the index on the column (primary key) in the where clause or \ndoes a full table scan. The structure of the tables is the same, except \nthat the table where the index does not get used has an extra m... |
[
{
"msg_contents": "The data that we are accessing is via QLogic cards connected to an EMC Clarion. We have tried it on local SCSI disks with the same (bad) results.\r\n\r\nWhen the machine gets stuck in a 100% IOWAIT state it often crashes soon after that.\r\n\r\nThe disks are fine, have been replaced and chec... |
[
{
"msg_contents": "Hi All,\n \nI am new to Postgres.\n \nI have a query which does not use index scan unless I force postgres to use index scan. I dont want to force postgres, unless there is no way of optimizing this query.\n \nThe query :\n \nselect m.company_name,m.approved,cu.account_no,mbt.business_name,cd... |
[
{
"msg_contents": "We are using 7.4.5 on Solaris 9. \n\nWe have a couple tables (holding information about network sessions, for instance) which don't need to persist beyond the life of the server, but while the server is running they are heavily hit, insert/update/delete.\n\nTemporary tables won't work for us ... |
[
{
"msg_contents": "Oh! I sort of started paying attention to that in the middle...and\ncouldn't make head or tail out of it. Will search back to the\nbeginning....\n\nThanks.\n\n- DAP\n\n>-----Original Message-----\n>From: Josh Berkus [mailto:josh@agliodbs.com] \n>Sent: Friday, November 19, 2004 7:35 PM\n>To: p... |
[
{
"msg_contents": "But, I'm also still interested in the answer to my question: is there\nany reason you could not put an 8.0 tablespace on a RAM disk? \n\nI can imagine doing it by having an initdb run at startup somehow, with\nthe idea that having a mix of tablespaces in a database would make this\nharder, bu... |
[
{
"msg_contents": "Hello,\n\nI have the following query plan:\n\nlogigis=# explain SELECT geom, ref_in_id as ref, nref_in_id as nref, st_name as name, substr(l_postcode,1,2) as postfirst, func_class as level FROM schabi.streets WHERE cd='ca' ORDER BY l_postcode;\n QUE... |
[
{
"msg_contents": "Hello to everybody again,\n\n \n\nthought you didn't hear any news from me for a very long time, the news are\ngood :-)\n\nI'm still here and promoting PostgreSQL.\n\n \n\nI am involved in the developing of a big romanian project for the vets that\nwill put Linux & PostgreSQL on 3500 computer... |
[
{
"msg_contents": "Check the linux-dell list for more...The PERC3/Di cards are specifically\nAdaptec, not most. PERC4/DC is LSI Megaraid. Unless you buy the cheaper\nversion, most will come with battery.\n\n-anjan \n\n-----Original Message-----\nFrom: Andrew Janian [mailto:ajanian@scottrade.com] \nSent: Friday... |
[
{
"msg_contents": "Good day,\n\nI'm asking myself if there is a performance issue in using an integer\nof varchar(24) PRIMARY KEY in a product table.\n\nI've read that there is no speed issue in the query, but that the only\nperformance issue is the database size of copying the key in other\ntables that require... |
[
{
"msg_contents": "I have the following view:\n\ncreate or replace view market.p_areas as\nselect a.*\nfrom _areas a\nwhere a.area in (\n select b.area\n from _bins b, _inventories i, _offers o, _pricemembers p\n where b.bin = i.bin and\n i.inventory = o.inventory and\n o.pricegroup = p.pricegroup and\n p... |
[
{
"msg_contents": "Following is the promised writeup in performance related issues\ncomparing win32 with linux x86 and linux x86-64. Unfortunately, the 64\nbit portion of the test is not yet completed and won't be for a bit.\nHowever there are some telling things about the win32/linux comparison.\nIf you are c... |
[
{
"msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-win32-owner@postgresql.org \n> [mailto:pgsql-hackers-win32-owner@postgresql.org] On Behalf \n> Of Bruce Momjian\n> Sent: 23 November 2004 02:26\n> To: Merlin Moncure\n> Cc: pgsql-performance@postgresql.org; PostgreSQL Win32 port list\n>... |
[
{
"msg_contents": "Reini Urban wrote:\n> Merlin Moncure schrieb:\n> > A good benchmark of our application performance is the time it takes\nto\n> > read the entire bill of materials for a product. This is a\nrecursive\n> > read of about 2500 records in the typical case (2408 in the test\ncase).\n> \n> I always... |
[
{
"msg_contents": "> > > This was an intersting Win32/linux comparison. I expected \n> Linux to \n> > > scale better, but I was surprised how poorly XP scaled. It \n> > > reinforces our perception that Win32 is for low traffic servers.\n> > \n> > That's a bit harsh given the lack of any further \n> investigati... |
[
{
"msg_contents": "> Is this for Postgresql Cygwin? You surely can't mean \"for all server\n> tasks\" - if so, I would say that's *way* off. There is a difference,\nbut\n> it's more along the line of single-digit percentage in my experience -\n> provided you config your machines reasonably, of course.\n> \n> (I... |
[
{
"msg_contents": " \n\n> -----Original Message-----\n> From: Bruce Momjian [mailto:pgman@candle.pha.pa.us] \n> Sent: 23 November 2004 15:06\n> To: Dave Page\n> Cc: Merlin Moncure; pgsql-performance@postgresql.org; \n> PostgreSQL Win32 port list\n> Subject: Re: [pgsql-hackers-win32] scalability issues on win32\... |
[
{
"msg_contents": "\nHi everyone,\n\nCan anyone please explain postgres' behavior on our index.\n\nI did the following query tests on our database:\n\n====================\ndb=# create index chatlogs_date_idx on chatlogs (date);\nCREATE\ndb=# explain select date from chatlogs where date>='11/23/04';\nNOTICE: Q... |
[
{
"msg_contents": "Well you just selected a whole lot more rows... What's the total number of rows in the table?\n\nIn general, what I remember from reading on the list, is that when there's no upper bound on a query like this, the planner is more likely to choose a seq. scan than an index scan.\nTry to give yo... |
[
{
"msg_contents": "\nThanks, Tim.\n\nI tried adding an upper limit and its still the same as follows:\n\n==============\ndb=# explain analyze select date from chatlogs where date>='11/24/04';\nNOTICE: QUERY PLAN:\n\nIndex Scan using chatlogs_date_idx on chatlogs (cost=0.00..145.72 rows=37\nwidth=4) (actual ti... |
[
{
"msg_contents": "\nHi,\n\nI have installed the dspam filter\n(http://www.nuclearelephant.com/projects/dspam) on our mail server\n(RedHat 7.3 Linux with sendmail 8.13 and procmail). I have ~300 users\nwith a quite low traffic of 4000 messages/day. So it's a quite common\nplatform/environment, nothing spectacul... |
[
{
"msg_contents": "I have a table with this index:\n\n create index ARTISTS_NAME on ARTISTS (\n lower(AR_NAME)\n );\n\nTe index is over a colum with this definition:\n\n AR_NAME VARCHAR(256) null,\n\nI want to optimize this query:\n\n select * from artists where lower(ar_name) like\nlower('... |
[
{
"msg_contents": "We currently are utilizing postgresql on 2 servers with the following \nconfiguration:\n\n2 - 2.4 Ghz Xeon processors\n4GB ram\n4 36gb 10000rpm scsi drives configured for raid 10\n\nWe started out with one server and as we became IO bound we added the \nsecond. We are currently considering p... |
[
{
"msg_contents": "Hi ALL,\n\n\tIve been using postgres for 3 years and now we are having problems with its \nperformance.\n\n\tHere are some givens..\n\n\t\tWe have 260 subscription tables per Database. \n\t\tWe have 2 databases.\n\t\t\n\t\tOur main client has given us 250,000 mobile numbers to deactivate.\n\t... |
[
{
"msg_contents": "How much RAM can a single postgres backend use?\n\nI've just loaded a moderately sized dataset into postgres and was\napplying RI constraints to the tables (using pgadmin on windows). Part\nway though I noticed the (single) postgres backend had shot up to using\n300+ MB of my RAM!\n\nThe two ... |
[
{
"msg_contents": "We have a network application in which many clients will be executing a mix of select/insert/update/deletes on a central postgres 7.4.5 database, running on Solaris 9 running on dual 2.3 ghz Xeons, with 2 gig of RAM and a RAID 10 disk. The test database is about 400 meg in size.\n\nWe have tu... |
[
{
"msg_contents": "Hi. Thanks for responding.\n\nAs it happens, the client-side already has a connection pool. \n\nWe need statistics enabled so that autovacuum can run (without\nautovacuum running our updates begin to kill us pretty quickly).\n\nMoving off of Solaris 9 isn't an option, even for the purposes of... |
[
{
"msg_contents": "\nHi all,\n\nOn v7.4.5 I noticed downgrade in the planner, namely favoring\nsequential scan over index scan. The proof:\n\n create table a ( a integer);\n create index aidx on a(a);\n explain analyze select * from a where a = 0;\n -- Index Scan using aidx on a (cost=0.00..17.07 rows=... |
[
{
"msg_contents": "hello~\ni'm curious about this situation.\n\nhere is my test.\nmy zipcode table has 47705 rows,\nand schema looks like this.\n\npgsql=# \\d zipcode\n\nTable \"public.zipcode\" Column | Type | Modifiers \n---------+-----------------------+----------- zipcode | character(7) | \nnot null sido | ... |
[
{
"msg_contents": "Hi!\n\nI am using PostgreSQL with a proprietary ERP software in Brazil. The \ndatabase have around 1.600 tables (each one with +/- 50 columns).\nMy problem now is the time that takes to restore a dump. My customer \ndatabase have arount 500mb (on the disk, not the dump file) and I am \nmaking... |
[
{
"msg_contents": "Just as an update, We installed RHE Update4 beta kernel on a box and it\nseems to have solved our issues.\n\nWoody \n\n----------------------------------------\niGLASS Networks\n211-A S. Salem St\nApex NC 27502\n(919) 387-3550 x813\nwww.iglass.net\n",
"msg_date": "Wed, 1 Dec 2004 08:29:5... |
[
{
"msg_contents": "I have a query that fetches information from a log, based on an indexed \ncolumn. The timestamp in the table is with time zone, and the server \ntime zone is not GMT. However, i want all of the timestamps for a \nparticular day in GMT. If i simply use a date constant, the index is \nu... |
[
{
"msg_contents": "Folks,\n\nA lot of people have been having a devilish time with Dell hardware lately. \nIt seems like the quality control just isn't there on the Dell servers.\n\nThing is, some companies are required to use 1st-tier or at least 2nd-tier \nvendors for hardware; they won't home-build. For t... |
[
{
"msg_contents": "> Folks,\n> \n> A lot of people have been having a devilish time with Dell hardware\n> lately.\n> It seems like the quality control just isn't there on the Dell\nservers.\n> \n> Thing is, some companies are required to use 1st-tier or at least\n2nd-tier\n> vendors for hardware; they won't hom... |
[
{
"msg_contents": "Hi,\n\nI was reading a lot on the specs that was used by those who runs \npostgres. I was wondering is the a more structured method of \ndetermining what is the required hardware specs? The project that i am \ndoing can populate about few millions records a day (worst case).\n\nBased on wha... |
[
{
"msg_contents": "Josh, Steve:\n\nI have also been looking at non-dell server vendors due to\nrecent concerns about the PERC RAID Controllers. That said,\nI believe IBM just shoots itself in the foot via its sales/pricing \npractices....\n\nPrice out a PE2850 w/ 8GB RAM and 6 18GB Drives on the\nDell website ... |
[
{
"msg_contents": "Not in my experience for IBM, even for an order approaching 100k. The sales guy was rude, jumping on numbers, unable to talk about exactly what differentiates IBM from Dell (equivalent config) - other than the name and their 20K+ difference.\r\n \r\nWe use many Dell servers, no quality issue,... |
[
{
"msg_contents": "Hi all,\n \nWhich is the best available PG replication tool in market now? \n \n>From searching on the internet, I found some resources on the following tools used for replication :\n \n\n postgres ���R \n Usogres\n eRServer/Rserv/Dbmirror \n PgReplicator \n Mammoth PostgreSQL Repl... |
[
{
"msg_contents": "Hi,\n\nBefore writing this mail, I'd researched a little about this topic, and\ngot some opinions from guys like Fabien Pascal, who argues that logical\ndesign should be separated from physical design, and other sources. As\nthis is not fact, I'm writing to you guys, that make things work in ... |
[
{
"msg_contents": "Hi guys,\n\n I have 2 big databases on the same system. They are logically not \nconnected, separate.\n\n I want to keep them separate. Do you think it is better to use the same \nPostgreSQL server using a different location (on different disks) for each \none of them, or a separate Pos... |
[
{
"msg_contents": "> On Wed, Dec 01, 2004 at 05:43:10PM -0500, Merlin Moncure wrote:\n> > Also, if choice of RAID controller is an option, I'd definitely\nsuggest\n> > 3ware. They are cheap, have excellent linux support (including open\n> > source drivers)\n> \n> The drivers are open source, but the management... |
[
{
"msg_contents": "Hi ,\n\n I have a table in my production database which has 500k rows and \nfrom the pg_class it shows the number of \"relpages\" of\naround 750K for this table, the same table copied to a test database \nshows \"relpages\" as 35k. I run vacuumdb on the whole\ndatabase (not on the table in... |
[
{
"msg_contents": "> > This was an intersting Win32/linux comparison. I expected\n> > Linux to scale better, but I was surprised how poorly XP\n> > scaled. It reinforces our perception that Win32 is for low\n> > traffic servers.\n> \n> That's a bit harsh given the lack of any further investigation so far\n> is... |
[
{
"msg_contents": "Hi\n\nI see this article about DB2\nhttp://www-106.ibm.com/developerworks/db2/library/techarticle/dm \n-0411rielau/?ca=dgr-lnxw06SQL-Speed\n\nThe listing 2 example:\n1 SELECT D_TAX, D_NEXT_O_ID\n2 INTO :dist_tax , :next_o_id\n3 FROM OLD TABLE ( UPDATE DISTRICT\n4 ... |
[
{
"msg_contents": "Hi Folks,\n\n\tI have two queries that are of the form :\nselect ... from ... where ... in (list1) AND ... in (list2). The two\nqueries differ only in the size of list2 by 1, but their performances\nare quite different. Query2 runs much faster than Query1. The queries\nare:\n\nQuery 1:\nSELEC... |
[
{
"msg_contents": "Hi Folks,\n\n I have two queries that are of the form :\nselect ... from ... where ... in (list1) AND ... in (list2). The two\nqueries differ only in the size of list2 by 1, but their performances\nare quite different. Query2 runs much faster than Query1. The queries\nare:\n\nQuery 1:\... |
[
{
"msg_contents": "(Originally asked in [General], realized that it would probably be \nbetter asked in [Perform]:\n\nI am curious as to how much overhead building a dynamic query in a\ntrigger adds to the process. The example:\n\nHave a list of subcontractors, each of which gets unique pricing. There \nis a to... |
[
{
"msg_contents": "Hi !\n\nI need to insert 500.000 records on a table frequently. It´s a bulk \ninsertion from my applicatoin.\nI am with a very poor performance. PostgreSQL insert very fast until the \ntuple 200.000 and after it the insertion starts to be really slow.\nI am seeing on the log and there is a lo... |
[
{
"msg_contents": "I do mass inserts daily into PG. I drop the all indexes except my primary key and then use the COPY FROM command. This usually takes less than 30 seconds. I spend more time waiting for indexes to recreate.Patrick HatcherMacys.Com -----pgsql-performance-owner@postgresql.org wrote: -----To: ... |
[
{
"msg_contents": "Hi All,\n\nThanks for the information on replication tools!!\n \nNow, I have a question regarding locking tables and updating tables that have a relationship to the locked table.\n\nI opened up two pgsql windows logged in using same userid.\nLet's say I lock a table \"customerdata\" on one wi... |
[
{
"msg_contents": "We're working with a Postgres database that includes a fairly large table\n(100M rows, increasing at around 2M per day).\n\nIn some cases we've seen some increased performance in tests by splitting\nthe table into several smaller tables. Both 'UNION ALL' views, and the\nsuperclass/subclass s... |
[
{
"msg_contents": "Rodrigo --\n\nYou should definitely drop the indexes and any other FK constraints before loading and then rebuild them. Check your logs and see if there are warnings about checkpoint intervals -- only 3 logs seems like it might be small; if you have the disk space I would definitely consider ... |
[
{
"msg_contents": "Hi all!\nHas anyone done any performance benchmarking of postgresql 7.4 vs 8.0? \nAre there any scenarios where 8.0 can be expected to be faster? I\nwould love to get my hands on any numbers that someone might have.\nAlso does anyone know how long it will take for a stable release of\n8.0 to ... |
[
{
"msg_contents": "Hi,\n\nThis kind of long email.\n\n After searching the mailing list, have not found good answer\n for TableSpace. So, I try to post this question.\n\nMy question\nQuestion :\n 1 Which option from below scenario will be good in term of performance and\nfuture scalability?\n 2. Is it Option ... |
[
{
"msg_contents": "Postgresql is the backbone of our spam filtering system. Currently the \nperformance is OK. Wanted to know if someone could give this config a \nquick run down and see if there is anything we can adjust here to smooth \nout the performance. The IO Wait Times are outrageous, at times the load ... |
[
{
"msg_contents": "\nPostgresql is the backbone of our spam filtering system. Currently the \nperformance is OK. Wanted to know if someone could give this config a \nquick run down and see if there is anything we can adjust here to smooth \nout the performance. The IO Wait Times are outrageous, at times the loa... |
[
{
"msg_contents": "Hi Everybody,\n\n I have a performance problem with this query , it takes lot of time \non the production database. is there a way to improve it ? i do vacuumdb \non this database and do anlyze on the users table separately daily\n\n\nselect userID, fname, lname, email, phone, dateEntered... |
[
{
"msg_contents": "Folks,\n\nI'm wondering if people have had success with 7.4 and 8.0 using specific \ncompile optimizations not provided by the default PG install. Since -O2 \nand others have been built into config, I've not been doing much myself. \n\nWhat are other people's experiences in this area? ... |
[
{
"msg_contents": "Hello everyone!\n\nSince our current Postgres server, a quad Xeon system, finally can't keep up with our \nload anymore we're ready to take the next step.\n\nSo the question is: Has anyone experiences with running Postgres on systems with \nmore than 4 processors in a production environment? ... |
[
{
"msg_contents": "Hi guys,\n\nWhy would an INSERT ever be really slow? This is what I see a lot of in \nour site logs:\n\nDec 5 15:57:48 marshall postgres[19599]: [3-1] LOG: duration: \n13265.492 ms statement: INSERT INTO users_sessions (sid, cobrand_id, \nuid) VALUES ('145982ac39e1d09fec99cc8a606155e7', '... |
[
{
"msg_contents": "I tried to subscribe to pgsql-performance, but there seems to be\nsomething wrong with the majordomo, so I'm sending to general too,\nwhere I'm already subscribed.\n\nMy problem is this, using PostgreSQL 7.4.6:\n\n\nI have a table that looks like this:\n\n Table \"public.cjm_object\"\... |
[
{
"msg_contents": "First off, WOO-HOO! The lists are back and I can finally get my PG\nfix!!! Now, on to the business at hand...\n\nI have four query plans below, the first two help explain my question,\nand the last two are about a speculative alternative. The first query\nuse a subselects that are generate... |
[
{
"msg_contents": "Hi,\n\nI have two similar tables in a database, one stores persons and the\nother stores telephones. They have a similar number of records (around\n70.000), but a indexed search on the persons' table is way faster than\nin the telephones' table. I'm sending the explains atacched, and I\nbelie... |
[
{
"msg_contents": "I have a question regarding a serious performance hit taken when using a \nLIMIT clause. I am using version 7.4.6 on FreeBSD 4.10-STABLE with 2GB \nof memory. The table in question contains some 25 million rows with a \nbigserial primary key, orderdate index and a referrer index. The 2 \nsele... |
[
{
"msg_contents": "Hi All,\n \nI have a question regarding multiple inserts.\nThe following function inserts for each country found in country table, values into merchant_buyer_country.\n \n--------------------------------------------------------------------------------------------------------------------------... |
[
{
"msg_contents": "Hi,\n\nI know that it's not very polite thing re-send a question, but I don't\nhave any idea about why can this be happening. I have two almost\nidentical tables, with equivalent indexes, but their performances are\nvery different. In this case, I'm sending the queries, explains,\ntables'stru... |
[
{
"msg_contents": "Hi,\n\nI am not sure if this is the place to ask this question, but since the \nquestion is trying to improve the performance.. i guess i am not that \nfar off.\n\nMy question is if there is a query design that would query multiple \nserver simultaneously.. would that improve the performance?... |
[
{
"msg_contents": "Hello,\n\nMy experience with dblink() is that each dblink() is executed serially, in\npart I would guess, due to the plan for the query. To have each query run\nin parallel you would need to execute both dblink()'s simultaneously saving\neach result into a table. I'm not sure if the same ta... |
[
{
"msg_contents": "Are there any tricks to speeding up pg_dump aside from doing them from a\nreplicated machine?\n\nI'm using -Fc with no compression.\n\n-- \n\n",
"msg_date": "Tue, 14 Dec 2004 12:36:46 -0500",
"msg_from": "Rod Taylor <pg@rbt.ca>",
"msg_from_op": true,
"msg_subject": "Speeding u... |
[
{
"msg_contents": "Hi all, \n \nCan someone please help me optimize this query? Is there a better way to write this query? I am generating a report of transactions ordered by time and with details of the sender and receiver etc.\n \nSELECT distinct a.time::date ||'<br>'||substring(a.time::time::text,1,8) as Tim... |
[
{
"msg_contents": "Hi All,\n \nI would like to write the output of the \\d command on all tables in a database to an output file. There are more than 200 tables in the database. I am aware of \\o command to write the output to a file. But, it will be tough to do the \\d for each table manually and write the out... |
[
{
"msg_contents": "I have written a program that parses a syslog file, reading all the postgres\ntransactions. I would like to know if there is a way for postgres to log\nalso the specific database the sql statement originated from. \n\nThe only options available in the postgresql.conf are:\n#log_connections = ... |
[
{
"msg_contents": "I'm trying to port our application from MS-SQL to Postgres. We have\nimplemented all of our rather complicated application security in the\ndatabase. The query that follows takes a half of a second or less on\nMS-SQL server and around 5 seconds on Postgres. My concern is that this\ndata se... |
[
{
"msg_contents": "I have a table 'Alias' with 541162 rows. It's created as follows:\n\nCREATE TABLE alias\n(\n id int4 NOT NULL,\n person_id int4 NOT NULL,\n last_name varchar(30),\n first_name varchar(30),\n middle_name varchar(30),\n questioned_identity_flag varchar,\n CONSTRAINT alias_pkey PRIMARY K... |
[
{
"msg_contents": "Greetings,\n\nWhy does the append resulting from a inheritance take longer than one \nresulting from UNION ALL?\n\nsummary:\nAppend resulting from inheritance:\n-> Append (cost=0.00..17.43 rows=2 width=72) (actual \ntime=3.876..245.320 rows=28 loops=1)\nAppend resulting from UNION ALL:\n... |
[
{
"msg_contents": "> You might want to reduce random_page_cost a little.\n\n> Keep in mind that your test case is small enough to fit in RAM and is\n> probably not reflective of what will happen with larger tables.\n\nI am also running 8.0 rc1 for Windows. Despite many hours spent tweaking various planner cost ... |
[
{
"msg_contents": "I have a table with an tsearch2 full text index on PG 7.4.2. And a \nquery against the index is really slow.\nI try to do a \"VACUUM FULL VERBOSE ANALYZE pkpoai.metadata\" and I got \nan error.\nI monitor memory usage with top, and pg backend uses more and more \nmemory and hits the limit of ... |
[
{
"msg_contents": "Hi,\n\nI have data that I am taking from 2 tables, pulling out specific columns and inserting into one table.\n\nIs it more efficient to do:\na) insert into x\n select z from y;\n insert into x\n select z from a;\n\nb) insert into x\n select z from y\n union all\n select z... |
[
{
"msg_contents": "Hi All,\nI notice that most stat Postgres provides are per table or per process.\n Is it possible to monitor CPU time per transaction and IO per\ntransaction? If can't, is there any commercial capacity planning tools\navailable?\nThanks! \n\n\n\t\t\n__________________________________ \nDo yo... |
[
{
"msg_contents": "Hi All,\nI notice that most stat Postgres provides are per table or per process.\n Is it possible to monitor CPU time per transaction and IO per\ntransaction? If can't, is there any commercial capacity planning tools\navailable?\nThanks! \n\n\n\n\t\t\n__________________________________ \nDo ... |
[
{
"msg_contents": "\nAny advice for settings for extremely IO constrained systems?\n\nA demo I've set up for sales seems to be spending much of it's time in \ndisk wait states.\n\n\nThe particular system I'm working with is:\n Ext3 on Debian inside Microsoft VirtualPC on NTFS\n on WindowsXP on laptops of ... |
[
{
"msg_contents": "Under postgres 7.3 logging is incredibly slow!\n\nI have applied the following settings:\n\nsyslog = 2\nsyslog_facility = 'LOCAL0'\nsyslog_ident = 'postgres'\n \n log_connections = true \nlog_duration = true \nlog_pid = true \nlog_statement = true \nlog_timestamp = true \n \nThis severel... |
[
{
"msg_contents": "Starting from 7.4.1 on P4 and FreeBSD 5.x (exclude 5.0 - gcc in this \nedition have optimization error)\nI use next configure command\n----------------------------------\n./configure --prefix=/opt/postgres-7.4.1 --with-pgport=5432 \n --with-pam --enable-syslog --enable-depend... |
[
{
"msg_contents": "Hi All,\n \nThanks to everyone for helping with my previous questions. \n \nI have a test database running on Postgres 7.3.2.\n \n version \n-------------------------------------------------------------\n PostgreSQL 7.3.2 on i686-pc-linux-gnu, compiled by GCC 2.96\n\... |
[
{
"msg_contents": "Hi All,\n \nI installed slony1.0.5 and tried the example replication of pgbench database. That seemed to work. Now I need to replicate a DB running on a different server. slony1.0.5 is installed on the Fedora core 3 machine where Postgres 7.4.6 is installed. I have to replicate the 'test' dat... |
[
{
"msg_contents": "Thank-you Grega,\n\n\tI ended up using the pg_ctl -l parameter to write the output to a\nspecified file. Much quicker to do so.\n\n\tI tried the -/var/log/postgresql.log option however I noticed no\nperformance improvement. May be the fact that we use redhad linux and\nsyslog, I'm no sys-admi... |
[
{
"msg_contents": "\nHello. \nI tried performance test of version 8.0.0 beta4 by osdl-dbt-1.\nThe result is that throughput of version 8 fell to about 70 percent \ncompared with V7.4.6.\nTest result is below. (measurement was repeated 3 times)\n\n-------------------------------------------------------\nHardware... |
[
{
"msg_contents": "I have recently transfered a big database on my master node of a 4 node openSSI Cluster... The system is working fine but sometimes, I get following errors:\n\nhttp://192.168.1.100/cgi-bin/search.py\n File \"/usr/lib/python2.2/site-packages/pyPgSQL/PgSQL.py\", line 3067, in execute, referer:... |
[
{
"msg_contents": "Thank you for your attention.\nI will try again with new postgres release and\n examine access method of sql with explain command.\n kondo\n",
"msg_date": "Tue, 21 Dec 2004 14:04:08 +0900",
"msg_from": "kondo_yo@itg.hitachi.co.jp",
"msg_from_op": true,
"msg_subject": "Re: Que... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.