threads listlengths 1 275 |
|---|
[
{
"msg_contents": "I have a system with around 330 databases running PostgreSQL 8.4.2\n\nWhat would the expected behavior be with AutoVacuum_NapTime set to the\ndefault of 1m and autovacuum_workers set to 3?\n\nWhat I'm observing is that the system is continuously vacuuming databases.\nWould these settings mean... |
[
{
"msg_contents": "hi,\r\nSTACK_DEPTH_SLOP stands for Required daylight between max_stack_depth and the kernel limit, in bytes. \r\nWhy we need so much memory? MySql need only no more than 100K. Where these memory allocated for? \r\nCan we do something to decrease this variable? Thanks.\nhi,STACK_DEPTH_SLOP sta... |
[
{
"msg_contents": "hi,\r\nSTACK_DEPTH_SLOP stands for Required daylight between max_stack_depth and the kernel limit, in bytes. \r\nWhy we need so much memory? MySql need only no more than 100K. Where these memory allocated for? \r\nCan we do something to decrease this variable? Thanks.\nhi,STACK_DEPTH_SLOP sta... |
[
{
"msg_contents": "Thanks for your help!\r\nBut why we set STACK_DEPTH_SLOP to 512K, not 128K?\r\nWhat it according to?\nThanks for your help!But why we set STACK_DEPTH_SLOP to 512K, not 128K?What it according to?",
"msg_date": "Sun, 21 Feb 2010 13:44:57 +0800",
"msg_from": "\"=?ISO-8859-1?B?dGVycnk=?=\... |
[
{
"msg_contents": "I'm reading the docs for 8.4.2, section 18.4.1 Memory. I'm trying to figure\nout what reasonable values for my usage would be.\n\nThe doc says:\n\nshared_buffers (integer)\n\n Sets the amount of memory the database server uses for shared memory\nbuffers.\n\nWhile circular definitions are a... |
[
{
"msg_contents": "Hi,\n\nI am trying to make a select query in my plpgsql function to use an \nindex allowing an index scan instead of a seq scan.\n\nWhen running the query in the sql prompt, it works fine, but \napparently the index is not used for the same query in the plpgsql \nfunction.\n\nThe problem ... |
[
{
"msg_contents": "Hi folks\n\nI have an application which collects performance stats at time intervals, to\nwhich I am retro-fitting a table partitioning scheme in order to improve\nscalability.\n\nThe original data is keyed by a 3-ary tuple of strings .... to keep the row\nsize down, in the new data model I'm... |
[
{
"msg_contents": "Hello:\n\nI'm an ignorant in what refers to performance analysis of PostgreSQL. \nI've a doubt about how the PostgreSQL planner makes a hash join. I've \ntried to \"dig\" into the archive of this mailing list but I haven't found \nwhat I'm looking for. So I'm explaining my doubt with an examp... |
[
{
"msg_contents": "Hello:\n\nI'm an ignorant in what refers to performance analysis of PostgreSQL.\nI've a doubt about how the PostgreSQL planner makes a hash join. I've\ntried to \"dig\" into the archive of this mailing list but I haven't found\nwhat I'm looking for. So I'm explaining my doubt with an example ... |
[
{
"msg_contents": "Thanks Joe.\n\n1. In my case, I'm erring on the side of not using the limited partitioning\nsupport in PG 8.3, which we're using .... because I'm generating new tables\nall the time, I need to dynamically generate the DML anyway, and it's\nactually less code to just do my own calculation on t... |
[
{
"msg_contents": "Hi All;\n\nI have a table that has daily partitions. \n\nThe check constraints look like this:\nCHECK (timezone('EST'::text, insert_dt) >= '2010-01-01'::date \nAND timezone('EST'::text, insert_dt) < '2010-01-02'::date)\n\neach partition has this index:\n \"fact_idx1_20100101_on_cust_id\" b... |
[
{
"msg_contents": "This is a generic SQL issue and not PG specific, but I'd like to get\nan opinion from this list.\n\nConsider the following data:\n\n# \\d bar\n Table \"public.bar\"\n Column | Type | Modifiers\n--------+-----------------------------+-----------\n city |... |
[
{
"msg_contents": "Hi,\n\nI have a couple of questions about dbt2 performance.\n\n1. I tested dbt2+postgresql 8.4.2 on my server, but the NOTPM is around only\n320~390 with 10 connections and 30 warehouses. Increasing the number of\nconnections did not improve the throughput? The NOPTM number does not seem\nver... |
[
{
"msg_contents": "Okay ladies and gents and the rest of you :)\n\nIt's time I dig into another issue, and that's a curious 5 second\ndelay on connect, on occasion. Now, I believe the network to be sound\nand there are zero errors on any servers, no retrans, no runts, nada\nnada nada. However I will continue to... |
[
{
"msg_contents": "Hi,\n\nI'm using postgresql 8.4\n\nI need to install multiple postgresql dbs on one server but I have some\nquestions:\n\n-Is there any problems (performance wise or other) if I have 10 to 15 DBs on\nthe same server?\n\n-Each DB needs 10 tablespaces, so if I create 10 different tablespaces fo... |
[
{
"msg_contents": "Tory M Blue wrote:\n \n> 2010-02-25 22:53:13 PST LOG: checkpoint starting: time\n> 2010-02-25 22:53:17 PST postgres postgres [local] LOG: unexpected\n> EOF on client connection\n> 2010-02-25 22:55:43 PST LOG: checkpoint complete: wrote 34155\n> buffers (17.8%); 0 transaction log file(s) adde... |
[
{
"msg_contents": "Hi, I'm having an issue where a postgres process is taking too much\nmemory when performing many consecutive inserts and updates from a PHP\nscript (running on the command line). I would like to know what sort\nof logging I can turn on to help me determine what is causing memory\nto be consum... |
[
{
"msg_contents": "All,\n\nI'm seeing in a production database two problems with query rowcount\nestimation:\n\n(1) Estimates for the number of rows in an outer join do not take into\naccount any constraint exclusion (CE) in operation.\n\n(2) Row estimates do not take into account if the unique indexes on the\n... |
[
{
"msg_contents": "Hi, hackers:\n\nI am testing the index used by full text search recently.\n\nI have install 8.3.9 and 8.4.2 separately. \n\nIn 8.3.9, the query plan is like:\n\npostgres=# explain SELECT s.name as source , t.name as target FROM element as s, element as t WHERE to_tsvector('testcfg',s.name) @... |
[
{
"msg_contents": "Hi all,\n\nI'm quite puzzled by the following observation.\nThe behaviour is observed on a production system (Linux, PG 8.3.5)\nand also on a test system (NetBSD 5.0.2, PG 8.4.2).\n\nNormally the following Query behaves well:\n\nselect c.*, h.*\nfrom Context c, Context_Hierarchy h\nwhere c.Id... |
[
{
"msg_contents": "When I use intervals in my query e.g col1 between current_timestamp -\ninterval '10 days' and current_timestamp...the optimizer checks ALL\npartitions whereas if I use col1 between 2 hardcoded dates..only\nthe applicable partitions are scanned.\n",
"msg_date": "Mon, 1 Mar 2010 11:29:2... |
[
{
"msg_contents": "Anyone has any experience doing analytics with postgres. In particular if \n10K rpm drives are good enough vs using 15K rpm, over 24 drives. Price \ndifference is $3,000.\n\nRarely ever have more than 2 or 3 connections to the machine.\n\nSo far from what I have seen throughput is more import... |
[
{
"msg_contents": "Hi,\n\nI have a FusionIO drive to test for a few days. I already ran iozone and\nbonnie++ against it. Does anyone have more suggestions for it?\n\nIt is a single drive (unfortunately).\n\nRegards,\n-- \nDevrim GÜNDÜZ\nPostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer\nPostgreSQL RPM... |
[
{
"msg_contents": "Hi all;\n\nwe've found that partition elimination is not happening for a prepared \nstatement, however running the same statement in psql manually does give us \npartition elimination.\n\nIs this a known issue?\n\n",
"msg_date": "Mon, 8 Mar 2010 10:24:56 -0700",
"msg_from": "Kevin Kem... |
[
{
"msg_contents": "Hello,\n\nI am evaluating a materialized view implemented as partitioned table.\nAt the moment the table is partitioned yearly and contains 5\nnumeric/timestamp columns. One of the columns is ID (but it's not what\nthe table is partitioned on).\n\nPartition for one year occupies about 1200 MB... |
[
{
"msg_contents": "Hi All,\n\nWe have installed postgres 8.4.2 on production.\n\nWe have a parition table structure for one of the table.\n\nwhen i am drop the master table we get the following error.\n\ndrop table table_name cascade;\nWARNING: out of shared memory\nERROR: out of shared memory\nHINT: You mig... |
[
{
"msg_contents": "Dear PostgreSQL Creators, I am frequently using PostgreSQL server to manage the data, but I am stuck ed now with a problem of large objects deleting, namely it works too slow. E.g., deleting of 900 large objects of 1 Mb size takes around 2.31 minutes. This dataset is not largest one which I a... |
[
{
"msg_contents": "Hi group,\n\n\nWe have two related tables with event types and events. We query for a join\nbetween these two tables and experience that, when there is an\nto-be-expected very small result set, this query performs particularly\npoor. Understanding in this matter would be appreciated.\n\nSELEC... |
[
{
"msg_contents": "Hi group,\n\n\nWe have two related tables with event types and events. We query for a join\nbetween these two tables and experience that, when there is an\nto-be-expected very small result set, this query performs particularly\npoor. Understanding in this matter would be appreciated.\n\nSELEC... |
[
{
"msg_contents": "Hi folks,\n\n\nWe have two related tables with event types and events. We query for a join\nbetween these two tables and experience that, when there is an\nto-be-expected very small result set, this query performs particularly\npoor. Understanding in this matter would be appreciated.\n\nSELEC... |
[
{
"msg_contents": "Hi all,\n\nI am trying to understand why inside an EXISTS clause the query planner \n does not use the index:\n\nEXPLAIN ANALYZE SELECT 1 WHERE EXISTS (SELECT 1 FROM read_acls_cache \n WHERE users_md5 = '9bc9012eb29c0bb2ae3cc7b5e78c2acf');\n ... |
[
{
"msg_contents": "Hi there,\n\nI'm after a little bit of advice on the shared_buffers setting (I have\nread the various docs on/linked from the performance tuning wiki page,\nsome very helpful stuff there so thanks to those people).\n\nI am setting up a 64bit Linux server running Postgresql 8.3, the\nserver ha... |
[
{
"msg_contents": "Hi there,\n\nI'm after a little bit of advice on the shared_buffers setting (I have\nread the various docs on/linked from the performance tuning wiki page,\nsome very helpful stuff there so thanks to those people).\n\nI am setting up a 64bit Linux server running Postgresql 8.3, the\nserver ha... |
[
{
"msg_contents": "Hi,\n\nI am the beginner of pgpsql\n\n\nI need to select from two tables say T1,T2 by UNION\n\nwhen the value is from T1 the output should by a 1 and\nwhen the value from T2 the out put should be 2\n\nwhen T1 Hits values should be 1 and when T2 hits the value should be 2\n\n\nor when we use\n... |
[
{
"msg_contents": "Dear performance users,\n\nI am writing on the mailing list, after several unsuccessful attemts to \ncontact mailing list administrators on \"-owner\" e-mail addresses.\n\nNamely, it seems that it is not possible to subscribe to ANY Postgres \nmailing list, using e-mail addresses from newly c... |
[
{
"msg_contents": "Hi,\n\nI am using dblink to read data from a remote data base, insert these data in\nthe local database, update the red data in the remote database then continue\nto do some other work on the local database in the same transaction.\n\nMy question is : Is db link transactional; If the local tr... |
[
{
"msg_contents": "Hi all,\n\nmy posting on 2010-01-14 about the performance when writing\nbytea to disk caused a longer discussion. While the fact\nstill holds that the overall postgresql write performance is\nroughly 25% of the serial I/O disk performance this was\ncompensated for my special use case here by ... |
[
{
"msg_contents": "Evening all,\n\nMaiden post to this list. I've a performance problem for which I'm \nuncharacteristically in need of good advice.\n\nI have a read-mostly database using 51GB on an ext3 filesystem on a \nserver running Ubuntu 9.04 and PG 8.3. Forty hours ago I started a \nplain-format dump,... |
[
{
"msg_contents": "Hi people,\n\nThe whole topic of messing with stats makes my head spin but I am concerned \nabout some horridly performing queries that have had bad rows estimates and \nothers which always choose seq scans when indexes are available. Reading up \non how to improve planner estimates, I have s... |
[
{
"msg_contents": "As part of my PG East prep work, I just did a big overhaul of the \nvarious benchmarking information available on the wiki and have tagged \nall the relevant links into a separate category: \nhttp://wiki.postgresql.org/wiki/Category:Benchmarking\n\nSeveral of those were really difficult to f... |
[
{
"msg_contents": "\nHow to run vacuumdb and reindex for Postgres DB in a non-stop server? Will it\nbe made without shutting the server? If so, then what will be performance\ndegradation percentage?\n-- \nView this message in context: http://old.nabble.com/Postgres-DB-maintainenance---vacuum-and-reindex-tp27913... |
[
{
"msg_contents": "I agree with Tom, any reordering attempt is at best second guessing the\nfilesystem and underlying storage.\n\nHowever, having the ability to control the extent size would be a worthwhile\nimprovement for systems that walk and chew gum (write to lots of tables)\nconcurrently.\n\nI'm thinking ... |
[
{
"msg_contents": "Lets say I have a large table bigTable to which I would like to add\ntwo btree indexes. Is there a more efficient way to create indexes\nthan:\nCREATE INDEX idx_foo on bigTable (foo);\nCREATE INDEX idx_baz on bigTable (baz);\nOr\nCREATE INDEX CONCURRENTLY idx_foo on bigTable (foo);\nCREATE IN... |
[
{
"msg_contents": "I am running into a problem with a particular query. The execution plan \ncost shows that the Seq Scan is a better bet (cost=54020.49..54020.55) \nover the forced index 'enable_seqscan = false' \n(cost=1589703.87..1589703.93). But when I run the query both ways I get \na vastly different res... |
[
{
"msg_contents": "Hi all,\n\nI'm running quite a large social community website (250k users, 16gb \ndatabase). We are currently preparing a complete relaunch and thinking \nabout switching from mysql 5.1.37 innodb to postgresql 8.4.2. The \ndatabase server is a dual dualcore operton 2216 with 12gb ram running ... |
[
{
"msg_contents": "Hi all!\n\nWhile evaluting the pgsql query planer I found some weird behavior of \nthe query planer. I think it's plan is way too complex and could much \nfaster?\n\nCREATE TABLE friends (\n id integer NOT NULL,\n user_id integer NOT NULL,\n ref_id integer NOT NULL,\n);\n\nALTER TABL... |
[
{
"msg_contents": "Hi,\n\nPostgreSQL 8.4.2 / default_statistics_target = 300\n\nI have a strange problem for a bad choose of indexes.\n\nclient=# \\d ct13t\n Table \"public.ct13t\"\n Column | Type | Modifiers\n------------+--------------+-----------\n ct12emp04 | integer | not null\n c... |
[
{
"msg_contents": "---- Message from Corin <wakathane@gmail.com> at 03-19-2010 01:26:35 PM\n------\n\n***snip ****\nThe intention of the query is to find rows with no \"partner\" row. The\noffset and limit are just to ignore the time needed to send the result\nto the client.\n-------\nI don't understand the poi... |
[
{
"msg_contents": "Hi All,\n\nI have compiled PostgreSQL 8.4 from source code and in order to install\npgbench, I go under contrib folder and run below commands:\nmake\nmake install\nwhen I write pgbench as a command system cannot find pgbench as a command.\nAs a result I cannot use pgbench-tools because system... |
[
{
"msg_contents": "If you are really so desparate to save a couple of GB that you are resorting\nto -Z9 then I'd suggest using bzip2 instead.\n\nbzip is designed for things like installer images where there will be\nmassive amounts of downloads, so it uses a ton of cpu during compression,\nbut usually less than... |
[
{
"msg_contents": "I previously posted 'forcing index scan on query produces 16x faster' \nand it seemed that the consensus was that 8.0.x series had an issue. I \nhave upgraded to the highest practical version for our distro. But we \nseem to have the same issue.\n\nIf I force the 'enable_seqscan' off our actu... |
[
{
"msg_contents": "Here we go again!\n\nBased on recommendations made here, I got my client to migrate off of our \nWindows 2003 Server x64 box to a new Linux box.\n\n# CENTOS 5.4\n# Linux mdx_octo 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 \nx86_64 x86_64 GNU/Linux\n# pgsql 8.3.10, 8 CPUs, 48GB R... |
[
{
"msg_contents": "Hi All,\n\n \n\nWe have a postgres database in which couple of tables get bloated due to\nheavy inserts and deletes. Auto vacuum is running. My question is how\ncan I make auto vacuum more aggressive? I am thinking of enabling\nautovacuum_vacuum_cost_delay and autovacuum_vacuum_cost_limit\np... |
[
{
"msg_contents": "I would greatly appreciate any advice anyone could give me in terms of\nperformance tuning a large PL/PGSQL stored procedure. First, I should point\nout that I have read a considerable amount of information in the online\nPostgreSQL documentation and on Google about optimizing SQL queries and... |
[
{
"msg_contents": "PostgreSQL 8.4.3\n\nLinux Redhat 5.0\n\n \n\nQuestion: How much memory do I really need?\n\n \n\n From my understanding there are two primary strategies for setting up\nPostgreSQL in relationship to memory:\n\n \n\n1) Rely on Linux to cache the files. In this approach you set the\nshare... |
[
{
"msg_contents": "Hi All,\n\nCan anybody clarify on this, why wal_buffer is 64kb and what is advantages\nand disadvantages in increasing or decreasing the wal_buffer.\n\nRegards\nRaghav\n\nHi All,\n \nCan anybody clarify on this, why wal_buffer is 64kb and what is advantages and disadvantages in increasing or ... |
[
{
"msg_contents": "\nHi everyone,\n\nI've been trying to reduce both memory usage and runtime for a query. \nComments/suggestions gratefully received. Details are at\n\nhttp://bulldog.duhs.duke.edu/~faheem/snppy/opt.pdf\n\nSee particularly Section 1 - Background and Discussion.\n\nIf you want a text version, se... |
[
{
"msg_contents": "Hello,\n\nWondering what's a good value for effective_io_concurrency when dealing with FusionIO drives...anyone have any experience with this?\n\nI know that SSDs vary from 10 channels to 30, and that 1 SSD about as fast as a 4-drive RAID, but I can't seem to settle on a good value to use for... |
[
{
"msg_contents": "Hi everyone,\n\nWe've recently encountered some swapping issues on our CentOS 64GB Nehalem machine, running postgres 8.4.2. Unfortunately, I was foolish enough to set shared_buffers to 40GB. I was wondering if anyone would have any insight into why the swapping suddenly starts, but never re... |
[
{
"msg_contents": "Hi,\n\n \n\nWe're using PostgreSQL 8.2. Recently, in our production database, there was\na severe performance impact.. Even though, we're regularly doing both:\n\n1. VACUUM FULL ANALYZE once in a week during low-usage time and\n\n2. ANALYZE everyday at low-usage time\n\n \n\nAlso, w... |
[
{
"msg_contents": "You may want to consider performing more frequent vacuums a week or really considering leveraging autovacuum if it makes sense to your transactions volume. \n\nRegards,\n Husam \n\n-----Original Message-----\nFrom: Gnanakumar <gnanam@zoniac.com>\nSent: Saturday, March 27, 2010 6:06 AM\n... |
[
{
"msg_contents": "Hi,\n\nI am using pgbench for running tests on PostgreSQL.\n\nI have a few questions;\n1) For calculating time to get the TPS, is pgbench using the wall \nclock time or cpu time?\n2)How is TPS calculated?\n\nThanks in advance,\nReydan\n",
"msg_date": "Sat, 27 Mar 2010 22:05:59 +0200",
... |
[
{
"msg_contents": "Hi All,\n\nExample on optimizer\n===============\npostgres=# create table test(id int);\nCREATE TABLE\npostgres=# insert into test VALUES (1);\nINSERT 0 1\npostgres=# select * from test;\n id\n----\n 1\n(1 row)\npostgres=# explain select * from test;\n QUERY PLAN\n-----... |
[
{
"msg_contents": "We have a postgres database which accessed by clients app via PL/PGSQL \nstored procedures.\n\nFor some reasons we use about 25 temp tables \"on commit delete rows\". It \nwidely used by our SP. I can see a stramge delay at any “begin” and \n“commit”:\n\n2010-03-09 15:14:01 MSK logrus 32102 a... |
[
{
"msg_contents": "PostgreSQL 8.4.3\n\nOS: Linux Red Hat 4.x\n\n \n\nI changed my strategy with PostgreSQL recently to use a large segment of\nmemory for shared buffers with the idea of caching disk blocks. How can\nI see how much memory PostgreSQL is using for this?\n\n \n\nI tried:\n\n \n\nps aux | grep post... |
[
{
"msg_contents": "Hi,\n\nI am querying a Postgresql 8.3 database table that has approximately 22 million records. The (explain analyze) query is listed below:\n\ngdr_gbrowse_live=> explain analyze SELECT f.id,f.object,f.typeid,f.seqid,f.start,f.end,f.strand FROM feature as f, name as n WHERE (n.id=f.id AND lo... |
[
{
"msg_contents": "Hi,\n\n \n\nWe're using PostgreSQL 8.2.\n\n \n\nI have a question in connection to this question posted by me earlier:\n\nhttp://archives.postgresql.org/pgsql-performance/2010-03/msg00343.php\n\n \n\nIn our application, DML operations (INSERT/UPDATE/DELETE) are heavily\nperformed in a day.\n\... |
[
{
"msg_contents": "Hi!\nWe have a postgres database which accessed by clients app via PL/PGSQL\nstored procedures ( 8.4.1 on x86_64 ubuntu 8.04 server).\n\nFor some reasons we use about 25 temp tables \"on commit delete rows\".\nIt widely used by our SP.\n\nWhen temp tables with \"on commit delete rows\" exists... |
[
{
"msg_contents": "Hello,\n\nI am waiting for an ordered machine dedicated to PostgresSQL. It was \nexpected to have 3ware 9650SE 16 port controller. However, the vendor \nwants to replace this controller with MegaRAID SAS 84016E, because, as \nthey say, they have it on stock, while 3ware would be available in ... |
[
{
"msg_contents": "postgres 8.3.5 on RHEL4 update 6\n\nThis query starts executing at 18:41:\n\ncemdb=> select query_start,current_query from pg_stat_activity where \nprocpid=10022; query_start | \n \n current_query\n-------------------------------+-----------------------------------... |
[
{
"msg_contents": "Hi, stright to my \"problem\":\n\nexplain\nSELECT * FROM t_route\n\tWHERE t_route.route_type_fk = 1\n\tlimit 4;\n\n\"Limit (cost=0.00..0.88 rows=4 width=2640)\"\n\" -> Seq Scan on t_route (cost=0.00..118115.25 rows=538301 width=2640)\"\n\" Filter: (route_type_fk = 1)\"\n\n\n\nIf I ... |
[
{
"msg_contents": "On 03/31/2010 12:37 AM, David Wilson [david.t.wilson@gmail.com] wrote:\n> These won't necessarily get the same plan. If you want to see what plan\n> the prepared query is getting, you'll need to prepare it (\"prepare foo\n> as <query>\") and then explain *that* via \"explain execute foo\".\n>... |
[
{
"msg_contents": "Hi All,\n\nI have a table with 40GB size, it has few indexes on it. When i try to\nREINDEX on the table, its take a long time. I tried increasing the\nmaintenance_work_mem, but still i havnt find a satisfying result.\n\nQuestions\n=======\n1. What are the parameters will effect, when issuing ... |
[
{
"msg_contents": "I came across a strange problem when writing a plpgsql function.\n\nWhy won't the query planner realize it would be a lot faster to use the\n\"index_transactions_accountid_currency\" index instead of using the\n\"transactions_pkey\" index in the queries below?\nThe LIMIT 1 part of the query s... |
[
{
"msg_contents": "Hi there,\r\n\r\n \r\n\r\nAbout a year ago we setup a machine with sixteen 15k disk spindles on Solaris using ZFS. Now that Oracle has taken Sun, and is closing up Solaris, we want to move away (we are more familiar with Linux anyway).\r\n\r\n \r\n\r\nSo the plan is to move to Linux and put t... |
[
{
"msg_contents": "Does the psql executable have any ability to do a \"fetch many\", using a server-side named cursor, when returning results? It seems like it tries to retrieve the query entirely to local memory before printing to standard out.\n\nSpecifically, I've tried running the following command on my de... |
[
{
"msg_contents": "LinkedIn\n------------David Crooke requested to add you as a connection on LinkedIn:\n------------------------------------------\n\nDimi,\n\nI'd like to add you to my professional network on LinkedIn.\n\n- David Crooke\n\nAccept invitation from David Crooke\nhttp://www.linkedin.com/e/pkJZe8TY... |
[
{
"msg_contents": "Hi All,\n\nI am facing the error \"cache lookup failed for relation X\" in Postgres-8.4.2\nversion. As you all know, its a reproducable and below is the example.\n\nThis can be generated with two sessions;\nAm opening two sessions here Session A and Session B\nSession A\n=========\nstep 1 - c... |
[
{
"msg_contents": "Because You dropped/deleted the table cache in Session A. \n\nThe simplest way to look at it is Session B was lock out when the Drop table command was issued from Session A. Now when session B finally got its chance to drop/delete the table it was already gone .\n\nWhat kind error were you ex... |
[
{
"msg_contents": "Hi, I have table with just on column named url (it's not real url,\njust random string for testing purposes), type text. I have lots of\nentries in it (it's dynamic, i add and remove them on the fly), 100\n000 and more. I've created index on this table to optimize\n\"searching\". I just want ... |
[
{
"msg_contents": "The SELECT show below has been running for 30+mins and the strace output \nis alarming:\n\n[root@dione ~]# strace -p 10083\nProcess 10083 attached - interrupt to quit\ncreat(umovestr: Input/output error\n0x2, 037777777777) = 1025220608\ncreat(umovestr: Input/output error\n0x2, ... |
[
{
"msg_contents": "On 04/05/2010 09:53 PM, Craig Ringer [craig@postnewspapers.com.au] wrote:\n> Anything in `dmesg' (command) or /var/log/syslog ?\nnothing out of the ordinary. Brian\n",
"msg_date": "Mon, 05 Apr 2010 21:04:07 -0700",
"msg_from": "Brian Cox <brian.cox@ca.com>",
"msg_from_op": true,
... |
[
{
"msg_contents": "Hi Scott,\r\n\r\n \r\n\r\nThat sound like a usefull thing to do, but the big advantage of the SAN is that in case the physical machine goes down, I can quickly startup a virtual machine using the same database files to act as a fallback. It will have less memory, and less CPU's but it will do... |
[
{
"msg_contents": "On 04/06/2010 01:18 AM, Craig Ringer [craig@postnewspapers.com.au] wrote:\n> I'm wondering if the issue is with strace rather than Pg. That is to\n> say, that strace is trying to print:\nThanks, Craig: I do think that this is a strace issue.\n\n> As for what Pg is doing: creat() returns -1 on... |
[
{
"msg_contents": "I know this problem crops up all the time and I have read what I could\nfind, but I'm still not finding an answer to my problem. This is all\npostgres 8.3. Yes, I've enabled constraint_exclusion. Yes, there are\nindexes on the partitions, not just on the parent.\n\nI've got a table with 1 m... |
[
{
"msg_contents": "Actually, swapping the order of the conditions did in fact make some\ndifference, strange.\n\nI ran the query a couple of times for each variation to see if the\ndifference in speed was just a coincidence or a pattern. Looks like the\nspeed really is different.\n\nEXPLAIN ANALYZE SELECT Trans... |
[
{
"msg_contents": "Hi there!\n\nI have some mysterious slow downs with ORDER BY and LIMIT. When LIMIT\ngetting greater than some value (greater than 3 in my case), query\ntakes 4-5 secs instead of 0.25ms. All of the necessary indexes are in\nplace. I have no idea what to do, so any advices are welcome!\n\nHere ... |
[
{
"msg_contents": "Hi there,\n\nI have a function which returns setof record based on a specific query.\nI try to check the execution plan of that query, so I write EXPLAIN ANALYZE \nbefore my select, I call the function and I see the result which shows an \nactual time about 5 seconds. But when I call my funct... |
[
{
"msg_contents": "Hi,\nI am using zabbix monitoring software. The backbone database for\nzabbix is postgresql 8.1 installed od linux.\n\nDatabase server has 3GB of RAM, 1 CPU Dual Core and 2 SAS disks in RAID 1.\n\nZabbix makes a lot of inserts and updates on database. The problem is\nthat when autovaccum sta... |
[
{
"msg_contents": "Hi,\nCan anyone suggest why this query so slow.\n\nSELECT version();\n version\n--------------------------------------------------------------------------------------------------------- \n\nPostgreSQL 8.4.2 on i386-portbld-freebsd7.2, compiled by... |
[
{
"msg_contents": "Hi,\n\n \n\nAnybody have the test case of “ context-switching issue on Xeon” from Tm lane ?\n\n \n\nBest regards,\n\nRay Huang\n\n \n\n\n\n\n\n\n\n\n\n\n \nHi,\n \nAnybody have the test case of “ context-switching issue on Xeon” from\n Tm lane ?\n \nBest regards,\nRay Huang",
"msg_date":... |
[
{
"msg_contents": "I saw this in the postgres log. Anyone know what would cause this?\nThanks, Brian\n\npostgres 8.3.5 on RHEL4 update 6\n\n[3358-cemdb-admin-2010-04-09 04:00:19.029 PDT]ERROR: could not open \nrelation with OID 170592\n[3358-cemdb-admin-2010-04-09 04:00:19.029 PDT]STATEMENT: select \nlm.ts_lo... |
[
{
"msg_contents": "I've got a sql language function which does a fairly simple select from a table. If I give it one value, it performs quickly (half a ms). If I give it another value, it does not (1.1 seconds). When I run the equivalent select outside of the function, both values perform roughly the same (even... |
[
{
"msg_contents": "On 04/10/2010 12:29 AM, Tom Lane [tgl@sss.pgh.pa.us] wrote:\n> Seems a bit off-topic for pgsql-performance,\nWhat would be the appropriate forum?\n\n> but anyway: the main\n> known cause for that is if one of the tables used in the query got\n> dropped (by another session) just after the quer... |
[
{
"msg_contents": "Ľubomír Varga wrote:\n \n> SELECT * FROM t_route\n> WHERE t_route.route_type_fk = 1\n> limit 4;\n \nThis one scanned the t_route table until it found four rows that\nmatched. It apparently didn't need to look at very many rows to find\nthe four matches, so it was fast.\n \n> SELECT * FRO... |
[
{
"msg_contents": "Hi,\n\nI'm having a query where the planer chooses a very bad plan.\n\nexplain analyze SELECT * FROM \"telegrams\" WHERE ((recipient_id=508933 \nAND recipient_deleted=FALSE) OR (user_id=508933 AND user_deleted=FALSE)) \nORDER BY id DESC LIMIT 10 OFFSET 0\n\n\"Limit (cost=0.00..1557.67 rows=1... |
[
{
"msg_contents": "Try random_page_cost=100 \r\n\r\n- Luke\r\n\r\n----- Original Message -----\r\nFrom: pgsql-performance-owner@postgresql.org <pgsql-performance-owner@postgresql.org>\r\nTo: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>\r\nSent: Sun Apr 11 14:12:30 2010\nSubject: [PERFORM]... |
[
{
"msg_contents": "Hi,\n\n My database server get sluggish suddenly ,I check the vmstat as below:\n\n \n\n2010-04-07 04:03:15 procs memory swap io system cpu\n\n2010-04-07 04:03:15 r b swpd free buff cache si so bi bo in cs us sy id wa\n\... |
[
{
"msg_contents": "Andrey,\n\n - Another idea for your problem is the one Kevin gave in the message following:\n\n##########################################################################################################################\n\n> > SELECT * FROM t_route\n> > WHERE t_route.route_type_fk = 1\n> > ... |
[
{
"msg_contents": "[rearranging to put related information together]\n \nnorn \n \nSince the LIMIT 3 and LIMIT 4 queries generated exactly the same\nplan, the increased time for LIMIT 4 suggests that there are 3\nmatching rows which are near the end of the index it is scanning, but\nthe fourth one is much farth... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.