threads listlengths 1 275 |
|---|
[
{
"msg_contents": "Assuming we have 24 73G drives is it better to make one big metalun \nand carve it up and let the SAN manage the where everything is, or is \nit better to specify which spindles are where.\n\nCurrently we would require 3 separate disk arrays.\n\none for the main database, second one for WAL... |
[
{
"msg_contents": "am I wrong or DB2 9.1 is faster on less powerfull hardware ?\n\nLe lundi 09 juillet 2007 à 11:57 -0400, Jignesh K. Shah a écrit :\n> Hello all,\n> \n> I think this result will be useful for performance discussions of \n> postgresql against other databases.\n> \n> http://www.spec.org/jAppServe... |
[
{
"msg_contents": "Setting spec for a postgresql server.\nThe hard drive distribution is going to be\n8 x 750GB Seagate on a 3ware 9650SE RAID 6\n2 x 160GB Seagate on a 3ware 2 port\n\nThe question is, would I be better off putting WAL on the second, OS, \ncontroller or in the 8 port controller? Specially since... |
[
{
"msg_contents": "\nHow can I get the time it takes a query to execute - explain analyze is\ntaking over 5 hours to complete...can I use \\timing??? I don't get any time\nwhen using the \\timing option...\n\nThanks...Marsha\n-- \nView this message in context: http://www.nabble.com/TIMING-A-QUERY-----tf4062567... |
[
{
"msg_contents": "Hi,\n\nI'm having a weird problem on a query :\nI've simplified it to get the significant part (see end of message).\nThe point is I've got a simple\nSELECT field FROM table WHERE 'condition1'\nEstimated returned rows : 5453\nThen\nSELECT field FROM table WHERE 'condition2'\nEstimated returne... |
[
{
"msg_contents": "Hi,\n I've two questions for which I not really found answers in the web.\n\n Intro:\n I've a Website with some traffic.\n 2 Million queries a day, during daylight.\n Postgres is running on a dedicated server P4 DualCore, 4 Gig Ram.\n Mainly updates on 1 tuple. And more or less c... |
[
{
"msg_contents": "Hi,\n\nOkay, i know, not really a recent version:\nPostgreSQL 8.1.4 on i386-pc-linux-gnu, compiled by GCC cc (GCC) 3.3.5 (Debian 1:3.3.5-13)\n\nI have a fresh ANALYZED table with some indexes.\n\nscholl=*# set enable_bitmapscan=1;\nSET\nscholl=*# explain analyse select sum(flaeche) from bde_m... |
[
{
"msg_contents": "Recently, I have been doing extensive profiling of a version 8.1.4 Postgres DB with about 175 \ntables and 5 GB of data (the server running on Fedora Linux and the clients on Windows XP). \nSurprisingly, one of the bottlenecks is TRUNCATE TABLE and that command is really slow as compared \nto... |
[
{
"msg_contents": "All this talk of WAL writing lately has me wondering something I haven't \nspent enough time looking at the source to figure out myself this \nweek...any good rules of thumb out there for estimating WAL volume? I'm \nused to just measuring it via benchmarking but it strikes me a formula \nwo... |
[
{
"msg_contents": "Hello.\n\nI've googled a bit but I think I can't match the keywords, so I thought\nI'll ask here:\n\nLet's say I've got a view with 100 columns and 1mln rows; some of them are\ncalculated \"on the fly\". For some reason I want only one column from\nthis view:\n\nselect col1 from huge_view;\n\... |
[
{
"msg_contents": "\nHello all,\n\nI am a bit confused...I have a database which was performing very POORLY\nselecting from a view (posted earlier) on one server but extremely fast on\nanother server...\n\nI just backed up the database from the FAST server and loaded to the SLOW\nserver and it ran just as fast ... |
[
{
"msg_contents": "Joseph wrote:\n> We just got a DELL POWEREDGE 2950. So I was tasked with putting\n> Linux Redhat and dumped our software/packages on it. Contrary to\n> common sense, I didn't bother reading the manuals that came with te\n> 2950. I went right ahead and installed Redhat server on it, then w... |
[
{
"msg_contents": "Hi,\n Something I'd like to share. \n\n I switched to postgres about 4 months ago.\n The perfomance after a while got worse.\n I posted a message here, where the result was that my IO was the \nproblem.\n\n I run vacuum every night. I never used vacuum full because it is not\n ... |
[
{
"msg_contents": "hi, all...\ni would like to replicate my dbase over LAN and VPN,could you help me please,give the tutorial or url that i can follow it step-by-step..especially about the configuration in admin conninfo...\nthank you very much,\nregards,\nBayu\n\n \n---------------------------------\nGot... |
[
{
"msg_contents": "hi, all...\ni would like to replicate my dbase over LAN and VPN,could you help me please,give the tutorial or url that i can follow it step-by-step..especially about the configuration in admin conninfo...\nthank you very much,\nregards,\nBayu\n \n---------------------------------\nWe won't te... |
[
{
"msg_contents": "Postgres configuration for 64 CPUs, 128 GB RAM...\n\nHello,\n\nWe have the oppotunity to benchmark our application on a large server. I\nhave to prepare the Postgres configuration and I'd appreciate some\ncomments on it as I am not experienced with servers of such a scale.\nMoreover the confi... |
[
{
"msg_contents": "It appears my multi-thread application (100 connections every 5 seconds) \nis stalled when working with postgresql database server. I have limited \nnumber of connections in my connection pool to postgresql to 20. At the \nbegining, connection is allocated and released from connection pool as... |
[
{
"msg_contents": "Hi\n\nI was doing some testing on \"insert\" compared to \"select into\". I \ninserted 100 000 rows (with 8 column values) into a table, which took 14 \nseconds, compared to a select into, which took 0.8 seconds.\n(fyi, the inserts where batched, autocommit was turned off and it all \nhappend... |
[
{
"msg_contents": "Hi\n\nDuring the somes I did I noticed that it does not necessarily seem to be \ntrue that one needs the fastest disks to have a pg system that is fast.\n\nIt seems to me that its more important to:\n- choose the correct methods to use for the operation\n- tune the pg memory settings\n- tune/... |
[
{
"msg_contents": "Seems Linux has IO scheduling through a program called ionice.\n\nHas anyone here experimented with using it rather than\nvacuum sleep settings?\n\nhttp://linux.die.net/man/1/ionice\n This program sets the io scheduling class and priority\n for a program. As of this writing, Linux support... |
[
{
"msg_contents": "Hi All,\n\nI am trying to find out how to use a trigger function on a table to copy any\ninserted row to a remote PG server.\n\nie:\n\nRow X is inserted into TableX in DB1 on server1....TableX trigger function\nfires and contacts DB2 on server2 and inserts the row into TableY on\nserver2.\n\n... |
[
{
"msg_contents": "Hi,\n\nIf I have a query such as:\n\nSELECT * FROM (SELECT * FROM A) UNION ALL (SELECT * FROM B) WHERE\nblah='food';\n\nAssuming the table A and B both have the same attributes and the data\nbetween the table is not partitioned in any special way, does Postgresql\nexecute WHERE blah=\"food\" ... |
[
{
"msg_contents": "We're using Postgres 8.2.4.\n\nI'm trying to decide whether it's worthwhile to implement a process that\ndoes periodic reindexing. In a few ad hoc tests, where I've tried to set up\ndata similar to how our application does it, I've noticed decent performance\nincreases after doing a reindex ... |
[
{
"msg_contents": "I am planning to add a tags (as in the \"web 2.0\" thing) feature to my web\nbased application. I would like some feedback from the experts here on\nwhat the best database design for that would be.\n\nThe possibilities I have come up with are:\n* A tags table containing the tag and id number ... |
[
{
"msg_contents": "Folks,\n\nI've run into this a number of times with various PostgreSQL users, so we \ntested it at Sun. What seems to be happening is that at some specific number \nof connections average throughput drops 30% and response time quadruples or \nworse. The amount seems to vary per machine; I'v... |
[
{
"msg_contents": "Hi all,\n\n I have a serious problem with a server. This server holds severals \nDB, the problem is thet the CPU's spend most of the time waiting:\n\nCpu0: 4.0% us, 2.3% sy, 0.0% ni, 61.5% id, 32.1% wa, 0.0% hi, 0.0% si\nCpu1: 2.3% us, 0.3% sy, 0.0% ni, 84.1% id, 13.3% wa, 0.0% hi, 0.0% si\... |
[
{
"msg_contents": "I'd like any advice you have on my postgres.conf. The machine in\nquestion is a 2.4 Ghz Xeon with 2 gigs of ram running freebsd 6.2 and\npostgres 8.24. There are 16 concurrent users. This machine is used\nonly for the database. Usage is split out pretty evenly between reads\nand writes.\n... |
[
{
"msg_contents": "Hi,\n\nOne of our end users was complaining about a report that was taking too much\ntime to execute and I�ve discovered that the following SQL statement was the\nresponsible for it.\n\nI would appreciate any suggestions to improve performance of it.\n\nThank you very much in advance!\n\n__... |
[
{
"msg_contents": "Hi, I'm trying to post the following message to the performance group but\nthe message does not appears in the list.\n\nCan someone help to solve this issue?\n\nThanks in advance!\n\n____________________________________________________________________________\n________________________________... |
[
{
"msg_contents": "Sorry for the cross-post, but this is performance and advocacy \nrelated...\n\nHas anyone benchmarked HEAD against 8.2? I'd like some numbers to use \nin my OSCon lightning talk. Numbers for both with and without HOT \nwould be even better (I know we've got HOT-specific benchmarks, but I ... |
[
{
"msg_contents": "Today, I looked at 'top' on my PG server and saw a pid that reported 270 hours \nof CPU time. Considering this is a very simple query, I was surprised to say \nthe least. I was about to just kill the pid, but I figured I'd try and see \nexactly what it was stuck doing for so long.\n\nHere's... |
[
{
"msg_contents": "I'm having this very disturbing problem. I got a table with about\n100,000 rows in it. Our software deletes the majority of these rows and\nthen bulk loads another 100,000 rows into the same table. All this is\nhappening within a single transaction. I then perform a simple \"select\ncount(*) ... |
[
{
"msg_contents": "Hello all,\n\nhow to build an multicolumn index with one column order ASCENDING and\nanother column order DESCENDING?\n\nThe use case that I have is that I use 2 column index where the first\ncolumn is kind of flag and the second column is an actual ordering\ncolumn. The flag should be always... |
[
{
"msg_contents": "http://blogs.sun.com/jkshah/entry/specjappserver2004_with_glassfish_v2_and\n\nThis time with 33% less App Server hardware but same setup for \nPostgreSQL 8.2.4 with 4.5% better score .. There has been reduction in \nCPU utilization by postgresql with the new app server which means there \nis ... |
[
{
"msg_contents": "valgog <valgog@gmail.com> wrote ..\n> On Jul 23, 7:00 pm, t...@sss.pgh.pa.us (Tom Lane) wrote:\n> > valgog <val...@gmail.com> writes:\n> > > how to build an multicolumn index with one column order ASCENDING and\n> > > another column order DESCENDING?\n> >\n> > Use 8.3 ;-)\n> >\n> > In existin... |
[
{
"msg_contents": "We're experiencing a query performance problem related to the planner and\nits ability to perform a specific type of merge.\n\n \n\nWe have created a test case (as attached, or here:\nhttp://www3.streamy.com/postgres/indextest.sql) which involves a\nhypothetical customer ordering system, with... |
[
{
"msg_contents": "I have installed pgAdmin III 1.6. In the tool when you click on a\nparticular table you can select a tab called \"Statistics\". This tab has\nall kinds of info on your table. For some reason the only info I see is\nfor table size, toast table size and indexes size. Is there a reason\nthat... |
[
{
"msg_contents": "\n\n> ------- Original Message -------\n> From: Jean-Max Reymond <jmreymond@gmail.com>\n> To: pgsql-performance@postgresql.org\n> Sent: 24/07/07, 18:23:53\n> Subject: Re: [PERFORM] Table Statistics with pgAdmin III\n> \n> Campbell, Lance a �crit :\n> > I have installed pgAdmin III 1.6. In ... |
[
{
"msg_contents": "Hi all,\n\n I've got the following two tables running on postgresql 8.1.4\n\n transactions\n Column | Type | Modifiers\n----------------------+-----------------------------+---------------\ntransaction_id | character varying(32) ... |
[
{
"msg_contents": "I've got an interesting issue here that I'm running into with 8.2.3\n\nThis is an application that has run quite well for a long time, and has \nbeen operating without significant changes (other than recompilation) \nsince back in the early 7.x Postgres days. But now we're seeing a LOT \nmor... |
[
{
"msg_contents": "I am wondering if reindexing heavily used tables can have an impact on\nvacuum times. If it does, will the impact be noticeable the next time I\nvacuum? Please note that I am doing vacuum, not vacuum full.\n\nI am on a FreeBSD 6.1 Release, Postgresql is 8.09\n\nCurrently I seeing a phenomenon... |
[
{
"msg_contents": "Hi,\n\n I am having problems with some of the Insert statements in the prod\ndatabase. Our client application is trying into insert some of the\nrecords and it is not going through , they are just hanging. They are\nrunning in a transaction and some how it is not telling us what is it\nwai... |
[
{
"msg_contents": "Hi all,\nwhats the benefits of replication by using slony in\npostgresql??\nMy office is separate in several difference place..its\nabout hundreds branch office in the difference\nplace..so any one can help me to replicate our dbase\nby using slony?? and why slony??\n\nthanks,\nAlgebra.corp\n... |
[
{
"msg_contents": "In response to \"Brandon Shalton\" <brandon@cydataservices.com>:\n\n> Hello all,\n> \n> My hard disk is filling up in the /base directory to where it has consumed \n> all 200gig of that drive.\n> \n> All the posts that i see keep saying move to a bigger drive, but at some \n> point a bigger... |
[
{
"msg_contents": "Hi,\nI have a couple questions about how update, truncate and vacuum would \nwork together.\n\n1) If I update a table foo (id int, value numeric (20, 6))\nwith\nupdate foo set value = 100 where id = 1\n\nWould a vacuum be necessary after this type of operation since the \nupdated value is a... |
[
{
"msg_contents": "1) Yes\n\nAll rows are treated the same, there are no in place updates.\n\n2) No\n\nTruncate recreates the object as a new one, releasing the space held by the old one.\n\n- Luke\n\nMsg is shrt cuz m on ma treo\n\n -----Original Message-----\nFrom: \tScott Feldstein [mailto:scott.feldstein@hy... |
[
{
"msg_contents": "Dear list,\n\n\nI am having problems selecting the 10 most recent rows from a large\ntable (4.5M rows), sorted by a date column of that table. The large\ntable has a column user_id which either should match a given user_id,\nor should match the column contact_id in a correlated table where th... |
[
{
"msg_contents": "Postgres 8.2.4.\n\nWe have a large table, let's call it \"foo\", whereby an automated process\nperiodically inserts many (hundreds of thousands or millions) rows into it\nat a time. It's essentially INSERT INTO foo SELECT FROM <another table>\nWHERE <some conditions>. Recently, for whatever... |
[
{
"msg_contents": "Tilmann Singer <tils-pgsql@tils.net> wrote ..\n> * Nis J�rgensen <nis@superlativ.dk> [20070727 20:31]:\n> > How does the \"obvious\" UNION query do - ie:\n> > \n> > SELECT * FROM (\n> > SELECT * FROM large_table lt\n> > WHERE lt.user_id = 12345\n> > \n> > UNION\n> > \n> > SELECT * FROM large_... |
[
{
"msg_contents": "Friends, \n\n \n\n \n\n \n\n Who can help me? My SELECT in a base with 1 milion register,\nusing expression index = 6seconds.\n\n \n\n \n\nPlease, I don't know how to makes it better.\n\n \n\n \n\nThanks\n\n \n\n \n\n\n\n\n\n\n\n\n\n\nFriends, \n \n \n \n Who can help ... |
[
{
"msg_contents": "As other posters have pointed out, you can overcome the ORDER BY/LIMIT restriction on UNIONs with parentheses. I think I misbalanced the parentheses in my original post, which would have caused an error if you just copied and pasted.\n\nI don't think the limitation has to do with planning--ju... |
[
{
"msg_contents": "Hello,\n\nI'm currently trying to decide on a database design for tags in my web\n2.0application. The problem I'm facing is that I have 3 separate\ntables\ni.e. cars, planes, and schools. All three tables need to interact with the\ntags, so there will only be one universal set of tags for the... |
[
{
"msg_contents": "Hi Dimitri,\n\nCan you post some experimental evidence that these settings matter?\n\nAt this point we have several hundred terabytes of PG databases running on ZFS, all of them setting speed records for data warehouses.\n\nWe did testing on these settings last year on S10U2, perhaps things h... |
[
{
"msg_contents": "In a followup to a question I put forward here on performance which I \ntraced to the \"stats\" bug (and fixed it). Now I'm trying to optimize \nthat query and....... I'm getting confused fast...\n\nI have the following (fairly complex) statement which is run with some \nfrequency:\n\nselect... |
[
{
"msg_contents": "Hello list,\n\nI have a problem with a simple count query on a pgsql 8.2.3 server.\n\nSELECT COUNT(pk_file_structure_id) FROM tbl_file_structure INNER JOIN \ntbl_file ON fk_file_id = pk_file_id WHERE lower(file_name) like lower \n('awstats%');\nUsing Explain analyze I've noticed that it make... |
[
{
"msg_contents": "Hi,\n\nI have found under\n\n http://www.physiol.ox.ac.uk/Computing/Online_Documentation/postgresql/plpgsql.html#PLPGSQL-OVERVIEW\n\n Note: The PL/pgSQL EXECUTE statement is not related to the EXECUTE\n statement supported by the PostgreSQL server. The server's EXECUTE\n ... |
[
{
"msg_contents": "\nHello,\n\nI would like to better understand the semantics of the statistics shown in PostgreSQL Logs. For example, in the report:\n\nDETAIL: ! system usage stats:\n ! 0.000100 elapsed 0.000000 user 0.000000 system sec\n ! [0.016997 user 0.006998 sys total]\n ... |
[
{
"msg_contents": "We have a complicated stored procedure that we run frequently. It\npegs one of our postmaster processes at 100% CPU utilization for a few\nhours. This has the unfortunate side effect of causing increased\nlatency for our other queries. We are currently planning a fix, but\nbecause of the c... |
[
{
"msg_contents": "I notice that I get different plans when I run the\nfollowing two queries that I thought would be\nidentical.\n\n select distinct test_col from mytable;\n select test_col from mytable group by test_col;\n\nAny reason why it favors one in one case but not the other?\n\n\n\nd=# explain analyz... |
[
{
"msg_contents": "Hello everybody,\n\nas I'm new to this list I hope that it is the right place to post this and\nalso the right format, so if I'm committing an error, I apologize in\nadvance.\n\nFirst the background of my request:\n\nI'm currently employed by an enterprise which has approx. 250 systems\ndistr... |
[
{
"msg_contents": "Hello,\n\nI have a Postgres instance (version 8.1) running on a Solaris 10\nmachine. When I run the following query\n\n \n\nSELECT * FROM PROR_ORG, ( ( ( ( (PRPT_PRT LEFT OUTER JOIN PRPT_PRTADR\nON \n\nPRPT_PRT.PRT_NRI = PRPT_PRTADR.PRT_NRI AND PRPT_PRTADR.ADR_F_DEF=true) \n\nLEFT OUTER JO... |
[
{
"msg_contents": "Hi \n\n \n\nWe currently have some databases running under 8.0 and 8.1. I have noticed\na significant difference in the time taken to restore dumps between the two\nversions, with 8.0 being much faster. For example a dump of a few MB will\ntake just seconds to load under 8.0 but the same du... |
[
{
"msg_contents": "Hello list,\n\nWe have a database keeping track of old files on different computers.\nWe have now added some search functionality to this system.\nThe problem is that on some searches it is really really slow and the \nproblem lies in the planner are using seq scans on tables with over \n20... |
[
{
"msg_contents": "Hi list,\n\nI'm having a weird acting query which simply retrieves some files \nstored in a db which are related to a specific archive and also has a \nsize lower than 1024 bytes.\nExplain analyze below. The first one is with seq-scan enabled and the \nother one with seq-scans disabled. Th... |
[
{
"msg_contents": "I have a table with 4,889,820 records in it. The\ntable also has 47 fields. I'm having problems with\nupdate performance. Just as a test, I issued the\nfollowing update:\n\nupdate valley set test='this is a test'\n\nThis took 905641 ms. Isn't that kind of slow? There\naren't any indexes,... |
[
{
"msg_contents": "\nHi folks,\n\n\nI've coded an auction crawler, which queries several auction\nplatforms for user-defined keywords. The results are then \nput into queues an sorted out from there. For example each\nauction query can be passed along with an maxprice value, \nwhich is put into the result recor... |
[
{
"msg_contents": "\nHi folks,\n\n\nI'm often using writable views as interfaces to clients, so \nthey only see \"virtual\" objects and never have to cope with\nthe actual storage, ie. to give some client an totally \ndenormalized view of certain things, containing only those \ninformation required for certain ... |
[
{
"msg_contents": "Hello Group,\n\nI'm new in PostgreSQL Business, therefore please forgive me a \"newbie\"\nQuestion. I have a table with ca. 1.250.000 Records. When I execute\na \"select count (*) from table\" (with pgAdmin III) it takes about 40\nsecs.\nI think that takes much to long. Can you please give m... |
[
{
"msg_contents": "\nHello all,\n\nI am trying to enable capturing of the submitted code via an\napplication...how do I do this in Postgres? Performance is SLOW on my\nserver and I have autovacuum enabled as well as rebuilt indexes...whatelse\nshould be looked at?\n\nThanks...Michelle\n-- \nView this message i... |
[
{
"msg_contents": "I saw an interesting topic in the archives on best bang for the buck for \n$20k.. about a year old now.\n\nSo whats the thoughts on a current combined rack/disks/cpu combo around \nthe $10k-$15k point, currently?\n\nI can configure up a Dell poweredge 2900 for $9k, but am wondering if \nI'm m... |
[
{
"msg_contents": "We have a 30 GB database (according to pg_database_size) running nicely\non a single Dell PowerEdge 2850 right now. This represents data\nspecific to 1 US state. We are in the process of planning a deployment\nthat will service all 50 US states.\n\nIf 30 GB is an accurate number per state t... |
[
{
"msg_contents": "I'm have the following view as part of a larger, aggregate query that is\nrunning slower than I'd like. There are 4 views total, each very\nsimilar to this one. Each of the views is then left joined with data\nfrom some other tables to give me the final result that I'm looking for.\n\nI'm h... |
[
{
"msg_contents": "Oops. Realized I posted the wrong SQL and EXPLAIN ANALYZE results.\nAlso forgot to mention that my \"server\" has 1.5 GB memory.\n\n\nSELECT \"PrintSamples\".\"MachineID\", \"PrintSamples\".\"PrintCopyID\",\n\"tblColors\".\"ColorID\", avg(\"ParameterValues\".\"ParameterValue\") AS\n\"Mottle_... |
[
{
"msg_contents": "These query times are the \"fully cached\" times for both, from doing a previous run of the same query. (The first one took 193.772 ms on its first run; I don't have a good \"uncached\" timing for the second one at this point.)\n \nIt seems like the first query could move the searchName filt... |
[
{
"msg_contents": "Hello All.\n\nI have a table with ca. 100.000.000 records. The main idea is make\nPartitioning for this table (1000 or 10000 tables).\nLet's take for example.\n\nCREATE TABLE test\n(\n id integer,\n data date not null default now()\n)\nWITHOUT OIDS;\n\nCREATE TABLE test00 ( CHECK ( id%100 =... |
[
{
"msg_contents": "Hi All,\n\nTomas Kovarik and I have presented at PGCon 2007 in Ottawa\nthe ideas about other possible optimizer algorithms to be used\nin PostgreSQL.\n\nWe are quite new to PostgreSQL project so it took us some\ntime to go through the sources end explore the possibilities\nhow things could be... |
[
{
"msg_contents": "Hello!\n\nHere's my test database:\n\n# table\nCREATE TABLE public.t\n(\n id integer NOT NULL,\n a integer NOT NULL,\n CONSTRAINT pk_t PRIMARY KEY (id)\n)\nCREATE INDEX idx_t_a\n ON public.t\n USING btree\n (a);\n\n# function\nCREATE OR REPLACE FUNCTION public.f()\n RETURNS inte... |
[
{
"msg_contents": "Hello!\n\nHere's my test database:\n\n# table\nCREATE TABLE public.t\n(\n id integer NOT NULL,\n a integer NOT NULL,\n CONSTRAINT pk_t PRIMARY KEY (id)\n)\nCREATE INDEX idx_t_a\n ON public.t\n USING btree\n (a);\n\n# function\nCREATE OR REPLACE FUNCTION public.f()\n RETURNS inte... |
[
{
"msg_contents": "Hello,\n\nI need to setup a web server with PostgreSQL. The heaviest application will\nbe product comparisons engine that will analyze 5-10 Million products.\n\nI have 6 SAS 15K disks, how should I set them up:\n\nRAID 10 on all 6 disks ( OS + Apache + PostgreSQL )\nRAID 1 on 2 disks ( OS + A... |
[
{
"msg_contents": "Hello,\nWhe are running PostgreSQL 8.2.0 on amd64-portbld-freebsd6.2, compiled by GCC cc (GCC) 3.4.6 [FreeBSD] 20060305.\nThe query only uses the index if we have a \"limit n\":\n\nWithout \"Limit n\"\nexplain\nselect esapcuit, esapcuil\nfrom esact00 t1\norder by esapcuit, esapcuil\n\nSort (... |
[
{
"msg_contents": "Hi\n\nI wanted to know if the integrated perc 5/i which come with Dell 2950 will\nyield maximum performance from RAID 10 ( 15K SAS ).\nOr should I ask for different card ?\n\nI read an old post that shows that RAID 10 does not work eficently under\nperc 5/i\nhttp://groups.google.com/group/pgs... |
[
{
"msg_contents": "Hello everyone,\n\nThis being my first e-mail to the mailing list, I hope my question is \nrelevant and on-topic. I'm seeing poor performance on a few queries \nwhere the planner decides to use a bitmap scan instead of using indices.\n\nI'm using a stock PostgreSQL 8.1.9 on Debian 4.0r0 (x8... |
[
{
"msg_contents": "After reading many articles which indicate the more disk spindles the \nbetter performance and separating indexes, WAL and data on different \nsets of spindles, I've come up with a couple of questions.\n\nWe am planning to buy an external raid sub-system utilizing raid 10. The \nsub-system wi... |
[
{
"msg_contents": "Hi,\nwe are using Postgres on both Solaris servers and Linux servers, and\nPostgres are much slower on Solaris servers. We have tested with different\nversions of Solaris and Postgres, but the fact remains: Postgres seems to be\nmuch faster on Linux server. Does anybody else has the same expe... |
[
{
"msg_contents": "Hi,\n\nMaybe not completely the wright place to ask but... I have this schema\ndesign question (db is postgres of course). I have a couple of classes with\nattributes. The only goal is to search the object that I want to find (which\nis stored on the harddrive).\n\nI have hundreds of classes ... |
[
{
"msg_contents": "Hi,\nthe company I'm doing work for is expecting a 20 times increase in \ndata and seeks a 10 times increase in performance. Having pushed our \ndatabase server to the limit daily for the past few months we have \ndecided we'd prefer to be database users rather than database server \nadmi... |
[
{
"msg_contents": "Andrew,\n\nI'd say that commodity systems are the fastest with postgres - many have seen big slowdowns with high end servers. 'Several orders of magnitude' is not possible by just changing the HW, you've got a SW problem to solve first. We have done 100+ times faster than both Postgres and ... |
[
{
"msg_contents": "Terminology Question:\n\nIf I use the following statement:\n\n \n\nI am backing up schema XYZ every 30 minutes.\n\n \n\nDoes this statement imply that I am only backing up the definition of\nthe data? Or does it mean that I am backing up the definition of the\ndata and the data within the sc... |
[
{
"msg_contents": "Hi,\n\nI recently inherited a very old (PostgreSQL 7.0.3) database, and have \nmigrated it to 8.2.4 but have run into a performance issue.\n\nBasically, I did a dump and import into the new database, vacuumed and \ncreated fresh indexes and everything is work great except the following \ntype... |
[
{
"msg_contents": "Is there any way to stop the autovacuum if it is running longer than 10\nmin or so? \n\n \n\nIs it good idea to kill autovacuum if it is running longer than\nexpected?\n\n \n\n \n\nIn my OLTP system, we are inserting, updating and deleting the data\nevery second. \n\n \n\nAutovacuum started a... |
[
{
"msg_contents": "Is there any data corruption/damage to the database if we forcefully\nkill autovacuum using cron job (if it is running longer than a\npredefined time frame).\n\n\nRegards\nSachchida\n\n\n-----Original Message-----\nFrom: Sachchida Ojha \nSent: Tuesday, August 21, 2007 5:46 PM\nTo: 'Michael Gl... |
[
{
"msg_contents": "I have a PostgreSQL 8.2.4 table with some seven million rows.\n\nThe psql query:\n\nselect count(rdate),rdate from reading where sensor_id in \n(1137,1138,1139) group by rdate order by rdate desc limit 1;\n\ntakes a few seconds but:\n\nselect count(rdate),rdate from reading where sensor_id in... |
[
{
"msg_contents": "Hello!\n\n We run a large (~66Gb) web-backend database on Postgresql 8.2.4 on\nLinux. The hardware is Dual Xeon 5130 with 16Gb ram, LSI Megaraid U320-2x\nscsi controller w/512Mb writeback cache and a BBU. Storage setup contains 3\nraid10 arrays (data, xlog, indexes, each on different arra... |
[
{
"msg_contents": "I have read that trigram matching (similarity()) performance degrades when \nthe matching is on longer strings such as phrases. I need to quickly match \nstrings and rate them by similiarity. The strings are typically one to seven \nwords in length - and will often include unconventional abbr... |
[
{
"msg_contents": "I see some long running transaction in my pg_activity_log table. My app\nbecomes almost unusable. My question is \nHow can I query the database to see what sql these transactions are\nrunning. \n\n\n16385;\"em_db\";20893;16386;\"em_user\";\"<IDLE> in\ntransaction\";f;\"2007-08-22 20:38:06.527... |
[
{
"msg_contents": "If I am not wrong, you must be asking about this:\n\nselect * from pg_stat_activity;\n\nIf you see <command string \n not enabled> in the query column. \n \n\nTurn on the stats_command_string option in postgresql.conf.\n\n\nRegards, \n\nFarhan \n\n\n \n\n\n\n----- Original Message ----\nFr... |
[
{
"msg_contents": "I'm testing the new asynch commit feature on various raid\nconfigurations and my early findings is that it reduces the impact of\nkeeping wal and data on the same volume. I have 10 disks to play\nwith, and am finding that it's faster to do a 10 drive raid 10 rather\nthan 8 drive raid 10 + tw... |
[
{
"msg_contents": "Should installation questions be sent here or to the admin listserv?\n\n \n\nOS: redhat linux\n\nVersion of PostgreSQL: 8.2.4\n\n \n\nI had a group that now manages our server set up a directory/partition\nfor us to put postgreSQL into. The directory is called pgsql_data. The\ndirectory is ... |
[
{
"msg_contents": "Hi List;\n\nI've just started working with a new client and they have amoung other issues \nwith their databases a particular update that basically locks out users. \n\nThe below query was running for over 6 hours this morning and the CPU load had \nclimbed to a point where new connections si... |
[
{
"msg_contents": "I am having some dead locking problem with my app system. Our dev are\ndebugging the app to find out the cause of the problem. In the mean time\nI looked at postgresql.conf file. I found that there is a parameter in\npostgresql.conf file deadlock_timeout which was set 1000 (ms). Normally\nI ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.