threads listlengths 1 275 |
|---|
[
{
"msg_contents": "I've got a table with a few million rows, consisting of a single text\ncolumn. The average length is about 17 characters. For the sake of\nan experiment, I put a trigram index on that table. Unfortunately, %\nqueries without smallish LIMITs are ridiculously slow (they take\nlonger than an ... |
[
{
"msg_contents": "Does anyone here have positive experiences to relate running\nfiberchannel cards on FreeBSD on AMD64? The last time I tried it was\nwith FreeBSD 4 about 2 years ago and none of the cards I tried could\ncross the 32bit memory barrier (since they were all actually 32bit\ncards despite plugging ... |
[
{
"msg_contents": "\n \nHi,\n\n\tCan anybody tell me how can I implement data Caching in the\nshared memory using PostgreSQL.\n\n\tFor one of the projects we are using Postgres version 8.0.3 and\nwere planning to support table partitioning in order to improve the DB\nquery/update performance but, it will be ver... |
[
{
"msg_contents": "\nHi Heikki Linnakangas,\n\n\tThanks for yoru kind response. \n\n\tWe were looking on how to improve the performance of our\napplication which is using PostgreSQL as backend. If postgreSQL is\nsupporting data page caching in the shared memory then we wanted to\ndesign our application to re... |
[
{
"msg_contents": "Hi,\n\nCan anybody help me out to get following info of all the tables in a\ndatabase.\n\ntable_len\ntuple_count\ntuple_len\ntuple_percent\ndead_tuple_count\ndead_tuple_len\ndead_tuple_percent\nfree_space\nfree_percent\n\nThanks\nGauri\n\nHi,\nCan anybody help me out to get following info of ... |
[
{
"msg_contents": "Running PostgreSQL 8.2.1 on Win32. The query planner is choosing a seq\nscan over index scan even though index scan is faster (as shown by\ndisabling seqscan). Table is recently analyzed and row count estimates\nseem to be in the ballpark.\n\nAnother tidbit - I haven't done a \"vacuum full... |
[
{
"msg_contents": "Hi,\n \nWe are having 3 tables;\n1. persons <-- Base table and no data will be inserted in this table.\n2. Person1 <-- Inherited table from persons all data will be inserted in this table.\n3. PersonalInfo <-- which is storing all personal information of the persons and is having the foreign... |
[
{
"msg_contents": "Hi. I sent this email to the list last week, but for some reason I never\nsaw it show up on the list. I apologize if it appears twice now.\n \nWe recently bought two Dell PowerEdge 2900 servers each with a 2.3 Ghz 5140\nXeon, 4 Gigs of RAM, 8 15k SAS drives, and a PERC 5/i raid controller w... |
[
{
"msg_contents": "Hi,\n\n \n\nhow can I monitor the size of the transaction log files using SQL Statements?\n\n \n\nBest Regards\n\n \n\nSilvio\n\n \n\nSilvio Ziegelwanger\nResearch & Development\n\nFabalabs Software GmbH\nHonauerstraße 4\n4020 Linz\nAustria\nTel: [43] (732) 60 61 62\nFax: [43] (732) 60 61 62-... |
[
{
"msg_contents": "\nDoesn't sound like you want postgres at all.... Try mysql.\n\n\n\n-----Original Message-----\nFrom: \"Steve\" <cheetah@tanabi.org>\nTo: pgsql-performance@postgresql.org\nSent: 1/17/2007 2:41 PM\nSubject: [PERFORM] Configuration Advice\n\nHey there;\n\nI've been lurking on this list awhile, ... |
[
{
"msg_contents": "Hello List,\n\nNot sure to which list I should post (gray lines, and all that), so \npoint me in the right direction if'n it's a problem.\n\nI am in the process of learning some of the art/science of benchmarking. \n Given novnov's recent post about the comparison of MS SQL vs \nPostgresQL, ... |
[
{
"msg_contents": "Hi List,\n\nCan anybody suggest some comprehensive test for version change from 8.1.3 to\n8.2\n\n-- \nThanks in advance\nGauri\n\nHi List,\n \nCan anybody suggest some comprehensive test for version change from 8.1.3 to 8.2-- Thanks in advance\nGauri",
"msg_date": "Thu, 18 Jan 2007 10:13:... |
[
{
"msg_contents": "Hi List,\n\nCan anybody help me out with this -\n\nis autovacuum similar to vacuum full analyse verbose.\n\n-- \nRegards\nGauri\n\nHi List,\n \nCan anybody help me out with this - \n \nis autovacuum similar to vacuum full analyse verbose.\n \n-- RegardsGauri",
"msg_date": "Thu, 18 Jan 200... |
[
{
"msg_contents": "Some of my very large tables (10 million rows) need to be analyzed by\nautovacuum on a frequent basis. Rather than specifying this as a\npercentage of table size + base threshold, I wanted to specify it as an\nexplicit number of rows.\n\nI changed the table-specific settings so that the ANAL... |
[
{
"msg_contents": "Hi,\n\nI have a slow response of my PostgreSQL database 7.4 using this query below\non a table with 800000 rows:\n\nselect count(*)from tbl;\n\nPostgreSQL return result in 28 sec every time.\nalthough MS-SQL return result in 0.02 sec every time.\n\nMy server is a DELL PowerEdge 2600 with bi-p... |
[
{
"msg_contents": "Hi,\n\nI have a slow response of my PostgreSQL database 7.4 using this query below\non a table with 800000 rows:\n\nselect count(*)from tbl;\n\nPostgreSQL return result in 28 sec every time.\nalthough MS-SQL return result in 0.02 sec every time.\n\nMy server is a DELL PowerEdge 2600 with bi-p... |
[
{
"msg_contents": "Does anyone have experience with using postgres for data warehousing?\nRight, I saw one post suggestion to use mysql for a mostly read-only\ndatabase ... but anyway, I think it's not a question to change the\ndatabase platform for this project, at least not today ;-)\n\nRalph Kimball seems to... |
[
{
"msg_contents": "Hello all,\n\n I have a setup in which four client machines access\na Postgres database (8.1.1) (on a Linux box). So,\nthere are connections from each machine to the\ndatabase; hence, the Linux box has about 2 postgres\nprocesses associated with each machine.\n\n I am using the JDBC driver\... |
[
{
"msg_contents": "Hello,\n\nI discovered a query which is taking 70 seconds on 8.2.1 which used to take\nunder a second on 8.1.2. I was digging into what was causing it and I\nbelieve the problem is a view which the planner estimates will return 1 row\nwhen it actually returns 3500. When I join with the view... |
[
{
"msg_contents": "Hi,\n\nFor I can not find too much information about how to use vacuum, I want\nto ask some general information about the guideline of vacuum planning.\n\n1. How do we know if autovacuum is enough for my application, or should\n I setup a vacuum manually from cron for my application?\n\n2... |
[
{
"msg_contents": "Hi List,\n\nWhen auto vacuum is over the dead tuple are seems to get reduced, but\nphysical size of database do not decreases.\nWe are using Postgres 8.1.3 and this are the auto vacuum settings.\n\n autovacuum = on # enable autovacuum subprocess?\nautovacuum_naptime = 900 ... |
[
{
"msg_contents": "\nHi!\n \nI'm planning to move from mysql to postgresql as I believe the latter\nperforms better when it comes to complex queries. The mysql database\nthat I'm running is about 150 GB in size, with 300 million rows in the\nlargest table. We do quite a lot of statistical analysis on the data\n... |
[
{
"msg_contents": "\nHi,\n\nI find various references in the list to this issue of queries\nbeing too slow because the planner miscalculates things and\ndecides to go for a sequenctial scan when an index is available\nand would lead to better performance.\n\nIs this still an issue with the latest version? I'm... |
[
{
"msg_contents": "PostgreSQL version: 8.2.1\nOS: Windows Server 2003\n\nI have a relatively simple query where the planner chooses a \nsequential scan when using the IN operator but chooses an index scan \nwhen using logically equivalent multiple OR expressions. Here is the \ntable structure and the two ver... |
[
{
"msg_contents": "I have been researching how to improve my overall performance of\npostgres. I am a little confused on the reasoning for how work-mem is\nused in the postgresql.conf file. The way I understand the\ndocumentation is you define with work-mem how much memory you want to\nallocate per search. C... |
[
{
"msg_contents": "If I set work-mem at a particular amount of memory how do I answer the\nfollowing questions:\n\n \n\n1) How many of my queries were able to run inside the memory I\nallocated for work-mem?\n\n2) How many of my queries had to run from disk because work-mem\nwas not set high enough?... |
[
{
"msg_contents": "Hi all,\n\n I have postgresql 7.4.2 running on debian and I have the oddest\npostgresql behaviour I've ever seen.\n\nI do the following queries:\n\n\nespsm_asme=# select customer_app_config_id, customer_app_config_name\nfrom customer_app_config where customer_app_config_id = 5929 or\ncustom... |
[
{
"msg_contents": "\n\nHello,\n\nI have an authorization table that associates 1 customer IP to a service \nIP to determine a TTL (used by a radius server).\n\ntable auth\n client varchar(15);\n service varchar(15);\n ttl int4;\n\n\nclient and service are both ip addr.\n\nThe number of distinct clients can b... |
[
{
"msg_contents": "Hi All,\n\nThanks to all in this support community. You are doing a great job! \nWith all the information/support from the communities and documentations, we successfuly upgraded to 8.1 from 7.3.2 on our production environment! It was a smooth switch over. \n\nJust wanted to say thanks to eve... |
[
{
"msg_contents": "I have partitioned a table based on period (e.g., cdate >= '2007-01-01'::date and cdate<=.2007-03-31':;date).\n\nNow, I am issuing query like cdate >= CURRENT_DATE - 1 and cdate <= CURRENT_DATE, it scans all the partitions. But if I do cdate >= '2007-01-01'::date and cdate<=.2007-03-31'::date... |
[
{
"msg_contents": "Greetings!\n\nI have rather large table with about 5 millions of rows and a dozen of \ncolumns. Let's suppose that columns are named 'a', 'b', 'c' etc. I need \nto query distinct pairs of ('a';'b') from this table.\n\nI use following query:\n\nSELECT DISTINCT a, b FROM tbl;\n\nbut unfortunate... |
[
{
"msg_contents": "As I understand, there's no hashing for DISTINCT, but there is for GROUP BY. GROUP BY will choose between a hash and a sort (or maybe other options?) depending on the circumstances. So you can write\n\nSELECT a, b FROM tbl GROUP BY a,b\n\nand the sort/unique part of the query may run faster... |
[
{
"msg_contents": "Check this:\n\nquery: Delete From ceroriesgo.salarios Where numero_patrono Not In (Select \nnumero_patrono From ceroriesgo.patronos)\n\nSeq Scan on salarios (cost=51021.78..298803854359.95 rows=14240077 width=6)\n Filter: (NOT (subplan))\n SubPlan\n -> Materialize (cost=51021.78..6942... |
[
{
"msg_contents": "Following is one of the update query and it's explain plan which takes about 6 mins to execute. I am trying to find a way to execute it faster. The functions used in the update statement are if then else test and then return one value or the other.\n===========================================... |
[
{
"msg_contents": "\nHello,\n\nI'm working on setting up replication with Slony, and will soon have a\nslave that a lot of SELECT traffic will be sent to (over 500k/day).\n\nThe primary query we need to run is somewhat complex, but seems to\ncomplete on average in well under a second.\n\nHowever, every so often... |
[
{
"msg_contents": "I'm needing help determining the best all-around query for the\nfollowing situation. I have primary table that holds ip information\nand two other tables that hold event data for the specific IP in with\na one-to-many mapping between them, ie:\n\nCREATE TABLE ip_info (\n ip IP4,\n --ot... |
[
{
"msg_contents": "I'm looking to replace some old crusty hardware with some sparkling new \nhardware. In the process, I'm looking to move away from the previous \nmentality of having the Big Server for Everything to having a cluster of \nservers, each of which handles some discrete subset of data. But rackspac... |
[
{
"msg_contents": "\nWhy should these queries have different plans?\n\n\ncreate table foo (a int PRIMARY KEY);\n\nQ1: explain select max(a) from foo\n\n> Result (cost=0.04..0.05 rows=1 width=0)\n> InitPlan\n> -> Limit (cost=0.00..0.04 rows=1 width=4)\n> -> Index Scan Backward using foo_pkey on ... |
[
{
"msg_contents": "I am trying to do fairly simple joins on climate databases that \nshould return ~ 7 million rows of data. However, I'm getting an error \nmessage on a OS X (10.4 tiger server) machine that seems to imply \nthat I am running out of memory. The errors are:\n\npsql(15811) malloc: *** vm_alloc... |
[
{
"msg_contents": "Tom,\n\nI tried ulimit -d 614400, but the query ended with the same error. I \nthought then that the message:\npsql(21522) malloc: *** vm_allocate(size=8421376) failed (error code=3)\npsql(21522) malloc: *** error: can't allocate region\npsql(21522) malloc: *** set a breakpoint in szone_erro... |
[
{
"msg_contents": "Is there any way of monitoring and/or controlling disk buffer cache \nallocation and usage on Mac OS X? I'm thinking of two things: 1) being \nable to give PG a more accurate estimate of the size of the cache, and \n2) being able to more quickly flush the cache for testing the \nperformance ... |
[
{
"msg_contents": "\nHello,\n\nI'm using geo_distance() from contrib/earthdistance would like to find a\nway to spend up the geo distance calculation if possible. This is for a\nproximity search: \"Show me adoptable pets within 250 miles of this\nzipcode\".\n\nI'm researched a number of approaches to this, but ... |
[
{
"msg_contents": "I have a pl/pgsql function that is inserting 200,000 records for\ntesting purposes. What is the expected time frame for this operation\non a pc with 1/2 a gig of ram and a 7200 RPM disk? The processor is\na 2ghz cpu. So far I've been sitting here for about 2 million ms\nwaiting for it to ... |
[
{
"msg_contents": "Aqua data studio has a graphical explain built into it. It supports most\nrdbms including postgres. Its what I use to performance tune DB2.\nhttp://www.aquafold.com/\n\n\nIndex ANDing would suit you here\n\nYou have 3 tables with 3 possible indexes and it sounds like the query\nis doing table... |
[
{
"msg_contents": "what is the size of that index?\n\nHave you considered breaking the index into components, ie more than one\nindex on the table?\n\n-----Original Message-----\nFrom: pgsql-performance-owner@postgresql.org\n[mailto:pgsql-performance-owner@postgresql.org] On Behalf Of Adam Rich\nSent: Tuesday, ... |
[
{
"msg_contents": "What is your row size?\n\nHave you checked to see what your current inserts per second are?\n\n\n\n-----Original Message-----\nFrom: pgsql-performance-owner@postgresql.org\n[mailto:pgsql-performance-owner@postgresql.org] On Behalf Of Scott\nMarlowe\nSent: Tuesday, February 06, 2007 10:56 AM\n... |
[
{
"msg_contents": "Hi,\n\nWe are developing one website using ChessD in red hat environment. ChessD is\na open source which requires Postgres as its back end. When we tried to\ninstall ChessD we got the error\n\nMissing postgresql/libpq-fe.h, is libpq-dev installed?.\n\nBut this chess D is works fine in Debian ... |
[
{
"msg_contents": "Greetings,\n\nSince upgrading to 8.2.3 yesterday, the stats collector process has had \nvery high CPU utilization; it is consuming roughly 80-90% of one CPU. \nThe server seems a lot more sluggish than it was before. Is this normal \noperation for 8.2 or something I should look into correcti... |
[
{
"msg_contents": "jeff.ward@gmail.com wrote:\n> Hi all,\n> \n> I'm fairly new to SQL, so this is probably a dumb way to form this\n> query, but I don't know another.\n> \n> I want to see the usernames of all the users who have logged on\n> today. \"users\" is my table of users with id's and username's.\n> \"... |
[
{
"msg_contents": "Hi,\n\nOne of our database server is getting some very high response times and I�m\nwondering what can be responsible for this issue.\n\nA strange behaviour in this server is the saturation number iostat is\ngiving, an average of 20% for only 140 wkB/s or can I consider them normal\nnumbers... |
[
{
"msg_contents": "Hi,\n\nWe have a quite big table, which is heavily used by our online clients.\nThe table has several indexes, but no other relation to other tables.\nWe have an import process, which can fill/update this table.\nThe full import takes 1 hour, and this is very long.\nWe are thinking of doing t... |
[
{
"msg_contents": "\nWith the help of some of this list, I was able to successfully set up\nand benchmark a cube-based replacement for geo_distance() calculations.\n\nOn a development box, the cube-based variations benchmarked consistently\nrunning in about 1/3 of the time of the gel_distance() equivalents.\n\... |
[
{
"msg_contents": "shane.eckel@seattlesoftware.com wrote:\n> I have this function in my C#.NET app that goes out to find the\n> business units for each event and returns a string (for my report).\n> I'm finding that for larger reports it takes too long and times out.\n> \n> Does anyone know how I can speed this... |
[
{
"msg_contents": "All,\n I am looking to automate analyze table in my application.\n\nI have some insert only tables in my application which I need to analyze as data grows.\nSince the inserts are application controlled, I can choose to run analyze when I determine the\ndata has grown more than x% since las... |
[
{
"msg_contents": "\nThere are 1.9M rows in ts_defects and indexes on b.ts_id (primary key)\nd.ts_biz_event_id and d.ts_occur_date. Both queries below return 0 \nrows. The 1st runs fast and the 2nd > 400x slower. The 2nd query\ndiffers from the 1st only by the addition of \"limit 1\".\n\nWhy the big differen... |
[
{
"msg_contents": "Hi Heikki,\n\nThanks for your response.\n\n> Please run EXPLAIN ANALYZE on both queries, and send back the results.\n\n[bcox@athena jsp]$ PGPASSWORD=quality psql -U admin -d cemdb -h \n192.168.1.30 -c 'explain analyze select * from ts_defects d join \nts_biz_events b on b.ts_id = d.ts_biz_eve... |
[
{
"msg_contents": "Hi,\n\nI have used postgresql some years now, but only small databases and only \none database per instance and one user per database.\n\nNow we have a server reserved only for postgresql, and I'm wondering if it \nis better to set up:\n- only one instance and many databases or\n- many instan... |
[
{
"msg_contents": "Hi all,\n\nI'm currently working on optimizing a couple of queries. While\nstudying the EXPLAIN ANALYZE output of a query, I found this Bitmap\nHeap Scan node:\n\n-> Bitmap Heap Scan on lieu l (cost=12.46..63.98 rows=53 width=94)\n(actual time=35.569..97.166 rows=78 loops=1)\n Recheck Cond... |
[
{
"msg_contents": "Hi all,\n\nFollowing the work on Mark Stosberg on this list (thanks Mark!), I\noptimized our slow proximity queries by using cube, earthdistance\n(shipped with contrib) and a gist index. The result is globally very\ninteresting apart for a specific query and we'd like to be able to fix\nit to... |
[
{
"msg_contents": "Postgres 8.1\n\nLinux Redhat AS 4.X\n\n4 processor box\n\nWe have 12+ schemas in 1 database. When I do a unix \"top\" command I\nnotice one postmaster process has 100% CPU usage. This process just\nstays at 100% to 99% CPU usage. There are other postmaster processes\nthat pop up. They use ... |
[
{
"msg_contents": "Hi folks,\n\nI don't know if this is an SQL or PERFORMANCE list problem but I wanted to \ncheck here first. I've seen this discussed on the list before but I'm still \nnot sure of the solution. Maybe my query is just structured wrong.\n\nI recently visited an old project of mine that has a ... |
[
{
"msg_contents": "I am about to pull the trigger on a new machine after analyzing some\ndiscussions I posted here last year. I've been trying to spec out a reliable\nand powerfull enough machine where I won't have to replace it for some time.\nCurrently I've been using a dual Xeon 3.06ghz with 4GB of ram and ... |
[
{
"msg_contents": "Hi,\n\nI am having trouble understanding why a seqscan is chosen for this query.\n\nIn practice the seqscan is very expensive, whereas the nested loop is usually quite fast, even with several hundred rows returned from meta_keywords_url.\n\nThe server is running version 8.1.3, and both tables... |
[
{
"msg_contents": "Hello All,\nI'm a performance engineer, quite interested in getting deep into the PGSQL\nperformance enhancement effort. In that regard, I have the following\nquestions :\n1. Is there a benchmarking setup, that I can access online?\n2. What benchmarks are we running , for performance numbers?... |
[
{
"msg_contents": "Hi Tom,\n\nSorry, I didn't ask the right question. I meant to ask \"Why does it estimate a smaller cost for the seqscan?\"\n\nWith some further staring I was able to find the bad estimate and fix it by increasing the relevant statistics target.\n\nThanks,\nBrian\n\n----- Original Message ---... |
[
{
"msg_contents": "Hi,\n\nI am using PostgreSQL for benchmarking and I study the following query: \n\nSELECT *\nFROM k10_1, k10_2, k10_3, k10_4, k10_5 \nWHERE k10_1.times4 = k10_2.times4\nAND k10_2.times4 = k10_3.times4\nAND k10_3.times4 = k10_4.times4\nAND k10_4.times4 = k10_5.times4\n\nThe used schema f... |
[
{
"msg_contents": "Hi\n\nI'm using posstgresql 8.1.4 on linux 2.6\nshared_buffers = tested with 3000 and 10000\ntemp_buffers = 1000\nwork_mem = 4096\neffective_cache_size = 65536\nrandom_page_cost = 2\n\nI have a query which I think is anormaly slow with � 'OR'\n\n\nselect count(*) from client_contact\nleft j... |
[
{
"msg_contents": "Hello,\n\n\tI'm experiencing some very unusual speed problems while executing a \nparticular query. Appending an empty string to one of the fields in \nthe query speeds up the execution by a 1000 fold. According to the \nplanner this alternate query is much more costly too. Here are the... |
[
{
"msg_contents": "Hi List,\n\nI want to run a Select Query on a table. But i dont want the query to pick a\nindex defined on that table.\n\nSo can i instruct the planner not to pick that index.\n\n-- \nRegards\nGauri\n\nHi List,\n \nI want to run a Select Query on a table. But i dont want the query to pick a i... |
[
{
"msg_contents": "\n> This is very similar to the problem I posted to this list \n> yesterday. Apparently, if you append an empty string to the column \n> data in your WHERE clause it will force the planer to treat it as a \n> filter and not an index cond. It's extremely ugly, but this method \n> doesn't... |
[
{
"msg_contents": "Hi,\n\nI'm running a web application using Zope that obtains all data\nfrom a PostgreSQL 7.4 database (Debian Sarge system with package\n7.4.7-6sarge4 on an \"older\" Sparc machine, equipped with 2GB\nmemory and two processors E250 server). Once I did some performance\ntuning and found out t... |
[
{
"msg_contents": "PostgreSQL version: 8.1.6\nOS: Debian etch\n\nThe following query needs a lot of time because the query planner \nreorders the joins:\n\nselect m.message_idnr, v.headervalue, n.headername from dbmail_messages m\n join dbmail_headervalue v ON v.physmessage_id=m.physmessage_id\n join dbmail_h... |
[
{
"msg_contents": "Hello,\n\nI'm having a surprising performance problem with the following simple\n'highscore report'\n\nselect studentid, (select max(score) from\nstudentprofile prof where prof.studentid = students.studentid) from students;\n\nI have indexes on students(studentid) and studentprofile(studentid... |
[
{
"msg_contents": "I have problems with queries over tsearch index.\nI have a table of books, with 1200000 registers. I have created an GIST\nindex over the title and subtitle,\n\nCREATE INDEX \"idxts2_titsub_idx\" ON \"public\".\"libros\" USING gist\n(\"idxts2_titsub\");\n\nMy problems started when i execute m... |
[
{
"msg_contents": "I am updating from 7.4.5 to 8.2.3. I have noticed a significant\nslowdown in simple searches such as\n \"select filename from vnmr_data where seqfil = 'sems';\"\nThis returns 12 rows out of 1 million items in the table.\nOn 7.4.5, this takes about 1.5 seconds. On 8.2.3, it is taking\nab... |
[
{
"msg_contents": "Hello, I've set up 2 identical machines, hp server 1ghz p3,\n768mb ram, 18gb scsi3 drive. On the first one I've installed\nDebian/GNU 4.0 Linux, on the second FreeBSD 6.2. On both\nmachines I've installed Postgresql 8.2.3 from sources.\nNow the point :)) According to my tests postgres on Linu... |
[
{
"msg_contents": "Our application has a table that is only logged to, and infrequently\nused for reporting. There generally no deletes and updates.\n\nRecently, the shear size (an estimated 36 million rows) caused a serious\nproblem because it prevented a \"vacuum analyze\" on the whole database\nfrom finishin... |
[
{
"msg_contents": "I have a new task of automating the export of a very complex Crystal \nReport. One thing I have learned in the last 36 hours is that the \nexport process to PDF is really, really, slooww..\n\nAnyway, that is none of your concern. But, I am thinking that I can \nsomehow utilize some of PG's ... |
[
{
"msg_contents": "\nWhen I upgraded a busy database system to PostgreSQL 8.1, I was excited\nabout AutoVacuum, and promptly enabled it, and turned off the daily\nvacuum process.\n\n(\nI set the following, as well as the option to enable auto vacuuming\nstats_start_collector = true\nstats_row_level = true\n)\n\... |
[
{
"msg_contents": "Hi,\n\nI am trying to execute some queries in PostgreSQL that produce a large\nnumber of results and I do not want to display the output (redirect it\nto /dev/null). I have tried the psql client with \\o /dev/null option,\nJDBC and libpq functions, but all of them have to buffer totally the\n... |
[
{
"msg_contents": "Hello,\n\nI experience significant performance issues with postgresql and updates.\nI have a table which contains ~1M rows.\nLayout:\nTOTO=# \\d versions_9d;\n Table �public.versions_9d�\n Colonne | Type | Modificateurs\n------------+----------------------... |
[
{
"msg_contents": "Hi,\n\n \n\nHere is the situation. We are at postgres version 8.1.3.\n\n \n\nI have a table that gets many rows inserted, updated and then deleted,\nconsistently throughout the day. At any point in time this table should\nhave no more than 50 actual rows and many times a direct select again... |
[
{
"msg_contents": "Hi all,\nI'm using Postgresql 8.2.3 on a Windows XP system.\n\nI need to \nwrite and retrieve bytea data from a table.\nThe problem is that, while \ndata insertion is quite fast, bytea extraction is very slow.\nI'm trying \nto store a 250KB image into the bytea field.\nA simple select query o... |
[
{
"msg_contents": "Thanks for your reply,\n\n\n>Is it in executing the query (what does \nEXPLAIN ANALYSE show)?\n\nHere is the output of explain analyze SELECT * \nFROM \"FILE\"\n\n\"Seq Scan on \"FILE\" (cost=0.00..1.36 rows=36 width=235) \n(actual time=0.023..0.107 rows=36 loops=1)\"\n\n\n>How are you acces... |
[
{
"msg_contents": "I would like to get someone's recommendations on the best initial\nsettings for a dedicated PostgreSQL server. I do realize that there are\na lot of factors that influence how one should configure a database. I\nam just looking for a good starting point. Ideally I would like the\ndatabase ... |
[
{
"msg_contents": "\n>If you look at the \"actual time\" it's completing very quickly indeed. \nSo \n>- it must be something to do with either:\n>1. Fetching/formatting \nthe data\n>>2. Transferring the data to the client.\n\nI do agree.\n\n>What \nhappens if you only select half the rows? Does the time to run ... |
[
{
"msg_contents": ">are you getting the data from the local box or from a remote site?\n\nEverything is on the local box.\n\n>also explain analyze is showing \nnothing slow but you did not post the\n>enitre output. also, try the \n\\timing switch in psql.\n\nActually a line was missing: Total runtime: \n0.337 m... |
[
{
"msg_contents": "The postgresql.conf says that the maximum checkpoint_timeout is 1 hour.\nHowever, the following messages seem to suggest that it may be useful to\nset the value significantly higher to reduce unnecessary WAL volume:\n\nhttp://archives.postgresql.org/pgsql-hackers/2006-10/msg00527.php\nhttp://... |
[
{
"msg_contents": "I recall a reference on the list indicating that newer Xeon processors \ndon't suffer from the context switching problem reported last year.\n\nIn searching the archives, I can't find any specific info indentifying \nwhich Xeon processors don't have this problem.\n\nAnyone point me to a refer... |
[
{
"msg_contents": "\nHello List,\n\nI'm using postgresql 7.4 on FC4.\n\nWhen i run following query on postgresql prompt, it gives error.\n\nindse96=# CREATE TEMP TABLE aggregate AS ( SELECT vc_vouchno\n,vc_srno,vc_type ,vc_vouchdt,trim(''),vc_descrip, ( CASE WHEN\n(vc_dr_cr='D') THE... |
[
{
"msg_contents": "Hi List,\n\nI have a Query. So when i do explain analyse on it , it shows me many Hash\nJoins.\nSo is it possible to indicate the Query Planner not to consider Hash Join.\n\n-- \nRegards\nGauri\n\nHi List,\n \nI have a Query. So when i do explain analyse on it , it shows me many Hash Joins.\n... |
[
{
"msg_contents": "Hi List,\n\nMachine was down due to some hardware problem.\n\nAfter then when i issue this command /usr/local/pgsql/bin/psql -l\nits giving me the following error\n\npsql: could not connect to server: No such file or directory\n Is the server running locally and accepting\n conn... |
[
{
"msg_contents": "Hi,\n\n I am in the process of cleaning up one of our big table, this table\nhas 187 million records and we need to delete around 100 million of them. \n\n I am deleting around 4-5 million of them daily in order to catchup\nwith vacuum and also with the archive logs space. So far I ha... |
[
{
"msg_contents": "hi!\n\nI've been having some serious performance issues with\npostgresql8.2/hibernate/jdbc due to postgres reusing bad cached query\nplans. It doesn't look at the parameter values and therefore does not\nuse any partial indexes.\n\nAfter trying to set prepareThreshold=0 in the connection stri... |
[
{
"msg_contents": "Hi all,\n\n I am asking in this list because, at the end of the day, this is a \nperformance question.\n\n I am looking at writing a search engine of sorts for my database. I \nhave only ever written very simple search engines before which amounted \nto not much more that the query string... |
[
{
"msg_contents": "Hello,\n\nI'm trying to make sense of the memory usage reported by 'top', compared\nto what \"pg_database_size\" shows. Here's one result:\n\nselect pg_size_pretty(pg_database_size('production'));\n pg_size_pretty\n----------------\n 6573 MB\n\nNow, looking at memory use with \"top\", there... |
[
{
"msg_contents": "This is the second proposal for Dead Space Map (DSM).\nHere is the previous discussion:\nhttp://archives.postgresql.org/pgsql-hackers/2006-12/msg01188.php\n\nI'll post the next version of the Dead Space Map patch to -patches.\nI've implemented 2bits/page bitmap and new vacuum commands.\nMemor... |
[
{
"msg_contents": "We have been running Postgres on a 2U server with 2 disks configured in\nraid 1 for the os and logs and 4 disks configured in raid 10 for the\ndata. I have since been told raid 5 would have been a better option\ngiven our usage of Dell equipment and the way they handle raid 10. I\nhave just... |
[
{
"msg_contents": "Dear all,\n\nAfter many tests and doc reading, i finally try to get help from\nyou...\n\nHere is my problem. With some heavy insert into a simple BD (one\ntable, no indexes) i can't get better perf than 8000 inserts/sec. I'm\ntesting it using a simple C software which use libpq and which use:... |
[
{
"msg_contents": "Thought I'd pass this along, since the Linux vs FreeBSD performance\nquestion comes up fairly regularly...\n\nBTW, I've already asked about benchmarking with PostgreSQL, so please\ndon't go over there making trouble. :)\n\n----- Forwarded message from Kris Kennaway <kris@obsecurity.org> -----... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.