threads
listlengths
1
275
[ { "msg_contents": "Hi there.\n\nIf you just wanted PostgreSQL to go as fast as possible WITHOUT any\ncare for your data (you accept 100% dataloss and datacorruption if any\nerror should occur), what settings should you use then?\n", "msg_date": "Fri, 5 Nov 2010 11:59:43 +0100", "msg_from": "A B <gentosa...
[ { "msg_contents": "All,\n\nDomas (of Facebook/Wikipedia, MySQL geek) pointed me to this report:\n\nhttp://www.phoronix.com/scan.php?page=article&item=linux_perf_regressions&num=1\nhttp://www.phoronix.com/scan.php?page=article&item=ext4_then_now&num=6\n\nThe serious problems with this appear to be (a) that Linux...
[ { "msg_contents": "I have a postgres 8.4.5 instance on CentOS 5 (x86_64) which appears to\ngo crazy with the amount of memory it consumes.\nWhen I run the query below, in a matter of a few seconds memory\nballoons to 5.3G (virtual), 4.6G (resident) and 1840 (shared), and\neventually the oom killer is invoked, k...
[ { "msg_contents": "Question regarding the operation of the shared_buffers cache and implications of the pg_X_stat_tables|pg_X_stat_indexes stats.\n( I am also aware that this is all complicated by the kernel cache behavior, however, if, for the purpose of these questions, you wouldn't mind assuming that we don'...
[ { "msg_contents": "Hi,\nI have a table employee with 33 columns.\nThe table have 200 records now.\nSelect * from employee takes 15 seconds to fetch the data!!!\nWhich seems to be very slow.\nBut when I say select id,name from empoyee it executes in 30ms.\nSame pefromance if I say select count(*) from emloyee.\n...
[ { "msg_contents": "Hello together,\n\nI get an out of memory problem I don't understand.\nThe installed Postgres-Version is:\nPostgreSQL 8.3.7 on i486-pc-linux-gnu, compiled by GCC gcc-4.3.real \n(Debian 4.3.3-5) 4.3.3\nIt is running on a 32bit Debian machine with 4GB RAM.\n\nThanks for any help in advance\n\nT...
[ { "msg_contents": "The semi-join and anti-join have helped us quite a bit, but we have\nseen a situation where anti-join is chosen even though it is slower\nthan the \"old fashioned\" plan. I know there have been other reports\nof this, but I just wanted to go on record with my details.\n\nThe query:\n\ndelete...
[ { "msg_contents": "Hi,\n\nI have a query that is getting a pretty bad plan due to a massively\nincorrect count of expected rows. All tables in the query were vacuum\nanalyzed right before the query was tested. Disabling nested loops\ngives a significantly faster result (4s vs 292s).\nAny thoughts on what I can ...
[ { "msg_contents": "I use the postgresql in default configuration and use inheritance way to create table.\r\n \r\nMy postgresql version is:\r\n \r\nSELECT version();\r\n \r\n version \r\n \r\n-------------------------------------------------...
[ { "msg_contents": "Grzegorz Jaśkiewicz wrote:\n \n> you're joining on more than one key. That always hurts performance.\n \nThat's very clearly *not* the problem, as there is a plan which runs\nin acceptable time but the optimizer is not choosing without being\ncoerced.\n \n(1) Virtually every query we run join...
[ { "msg_contents": "Thanks for your answer! And I am sorry for trading the question as a bug, and send it to 'bugs' mailing-list. \r\n \r\nBut I doubt your answer. I think the essence of the problem is when the planner selects 'Bitmap Index Scan' and how the planner computes the cost of 'Bitmap Index Scan'. \r\n...
[ { "msg_contents": "Hello,\n\nin the last years, we have successfully manage to cope with our data\ngrowth \nusing partitioning and splitting large aggregation tasks on multiple\nthreads.\nThe partitioning is done logically by our applicationn server, thus\navoiding trigger overhead.\n\nThere are a few places in...
[ { "msg_contents": "This is my first post in this mailing list and I would like to raise an\nissue that in my opinion is causing performance issues of PostgreSQL\nespecially in a transaction processing environment. In my company we are\nusing PostgreSQL for the last 8 year for our in-house developed billing\nsys...
[ { "msg_contents": "dear pgers --\n\nconsider the following toy example (using pg 8.4.3) :\n\ncreate temporary table foo (\n ts timestamp not null,\n id integer not null,\n val double precision not null,\n primary key (ts, id)\n);\n\ni might want to return the vals, minus the averages at each timestamp. the...
[ { "msg_contents": "Hi,\n\nI have a question about the behavior of autovacuum. When I have a big\ntable A which is being processed by autovacuum, I also manually use\n(full) vacuum to clean another table B. Then I found that I always got\nsomething like “found 0 removable, 14283 nonremovable row”. However,\nif I...
[ { "msg_contents": "This is my first post in this mailing list and I would like to raise an\nissue that in my opinion is causing performance issues of PostgreSQL\nespecially in a transaction processing environment. In my company we are\nusing PostgreSQL for the last 8 year for our in-house developed billing\nsys...
[ { "msg_contents": "I was doing some testing with temporary tables using this sql:\n\nbegin;\nselect pg_sleep(30);\ncreate temporary TABLE foo (a int, b int, c int, d text);\ninsert into foo SELECT (x%1000) AS a,(x%1001) AS b, (x % 650) as c, ''\nas d FROM generate_series( 1, 1000000 ) AS x;\n-- create temporar...
[ { "msg_contents": "I have some simple query (executed with time command):\n\n \n\n \n\ntime psql -c 'explain analyze SELECT te.idt FROM t_positions AS te JOIN\nt_st AS stm ON (te.idt=stm.idt AND 4=stm.idm) WHERE te.idtr IN (347186)'\n\n \n\n \n\n ...
[ { "msg_contents": "I have 2 tables with a 200,000 rows of data 3 character/string columns ID, Question and Response. The query below compares the data between the 2 tables based on ID and Question and if the Response does not match between the left table and the right table it identifies the ID's where there is...
[ { "msg_contents": "Hi,\n\nI have to collect lots of prices from web sites and keep track of their\nchanges. What is the best option?\n\n1) one 'price' row per price change:\n\n\tcreate table price (\n\t\tid_price primary key, \n\t\tid_product integer references product,\n\t\tprice integer\n\t);\n\n2) a single '...
[ { "msg_contents": "This is not directly a PostgreSQL performance question but I'm hoping \nsome of the chaps that build high IO PostgreSQL servers on here can help.\n\nWe build file transfer acceleration s/w (and use PostgreSQL as our \ndatabase) but we need to build a test server that can handle a sustained \n...
[ { "msg_contents": "All,\n\nHaving an interesting issue on one 8.4 database. Due to poor \napplication design, the application is requesting 8-15 exclusive \n(update) locks on the same row on parallel connections pretty much \nsimultaneously (i.e. < 50ms apart).\n\nWhat's odd about this is that the resulting \"...
[ { "msg_contents": "I thought that I've seen an announcement about the SQL Server for Linux on 04/01/2005? I cannot find the link right now, but I am quite certain that there was such an announcement.\r\n\r\n________________________________\r\nFrom: pgsql-performance-owner@postgresql.org <pgsql-performance-owner...
[ { "msg_contents": "Hi,\n\nI'm experiencing extremely different response times for some complex pgsql\nfunctions. extremly different means from 20ms - 500ms and up to 20s.\nI have to say that the complete database fits in memory (64GB).\nshared_buffers is set to 16GB. the rest ist used by thefs cache and\nconect...
[ { "msg_contents": "Hello everybody,\nhaving this SQL query:\n\n--------------\nselect variable_id,float_value,ts,good_through,interval,datetime_value,string_value,int_value,blob_value,history_value_type\nfrom \"records_437954e9-e048-43de-bde3-057658966a9f\" where variable_id\nin (22727) and (ts >= '2010-10-02 1...
[ { "msg_contents": "Trying to understand why query planer changes the plan from effective\none to ineffective one when I change the offset in the LIMIT. Also,\nthankfully accepting RTFM pointers to the actual FMs.\n\nSetup is: 3 tables with 0.5M to 1.5M records\nWhile tuning indexes for the following query\n\nSE...
[ { "msg_contents": "Pavel Stehule wrote:\n> 2010/11/21 Humair Mohammed :\n \n>> shared_buffers = 2\n\n> shared_buffers = 2 ???\n \nYeah, if that's not a typo, that's a very serious misconfiguration.\n \nWith 8 GB of RAM in the machine, this should probably be set to\nsomewhere between 200 MB and 2 GB, depending...
[ { "msg_contents": "goran wrote:\n \n> Trying to understand why query planer changes the plan from\n> effective one to ineffective one when I change the offset in the\n> LIMIT. Also, thankfully accepting RTFM pointers to the actual FMs.\n \nThe query planner will consider offset and limit clauses when\nestimati...
[ { "msg_contents": "This is not a request for help but a report, in case it helps developers \nor someone in the future. The setup is:\n\nAMD64 machine, 24 GB RAM, 2x6-core Xeon CPU + HTT (24 logical CPUs)\nFreeBSD 8.1-stable, AMD64\nPostgreSQL 9.0.1, 10 GB shared buffers, using pgbench with a scale \nfactor of ...
[ { "msg_contents": "Ivan Voras wrote:\n \n> After 16 clients (which is still good since there are only 12\n> \"real\" cores in the system), the performance drops sharply\n \nYet another data point to confirm the importance of connection\npooling. :-)\n \n-Kevin\n", "msg_date": "Sun, 21 Nov 2010 19:47:09 -0...
[ { "msg_contents": "Hi,\n\nI am using Postgresql: 9.01, PostGIS 1.5 on FreeBSD 7.0. I have at\nleast one table on which SELECT's turn terribly slow from time to time.\nThis happened at least three times, also on version 8.4.\n\nThe table has only ~1400 rows. A count(*) takes more than 70 seconds.\nOther tables a...
[ { "msg_contents": "Ivan Voras <ivoras@freebsd.org> wrote:\n \n> It looks like a hack\n \nNot to everyone. In the referenced section, Hellerstein,\nStonebraker and Hamilton say:\n \n\"any good multi-user system has an admission control policy\"\n \nIn the case of PostgreSQL I understand the counter-argument,\na...
[ { "msg_contents": "Hello.\n\nI have a query which works a bit slow.\n\nIt's runned on desktop computer: AMD Athlon X2 2GHz , Win Xp sp2, 1GB ram.\nPostgres 8.4.5 with some changes in config:\n\nshared_buffers = 200MB # min 128kB\n # (change requires restart)\ntemp_...
[ { "msg_contents": "hello,\n\ni have a big performance problem with some views which would joined \n(from the third party tool crystal reports) to print a document.\n\nview1:\n\nSELECT ...\nFROM \n personen.kunde kunde, \n personen.natuerliche_person person, \n viewakteur akteur, \n personen.anschrift adress...
[ { "msg_contents": "Hello Friends,\nI have many instances of my software running on a server (Solaris SPARC). Each \nsoftware instance requires some DB tables (same DDL for all instances' tables) \nto store data.\nIt essentially means that some processes from each instance of the software \nconnect to these tabl...
[ { "msg_contents": "Hello,\nI have a very large table that I'm not too fond of. I'm revising the design\nnow.\n\nUp until now its been insert only, storing tracking codes from incoming\nwebtraffic.\n\nIt has 8m rows\nIt appears to insert fine, but simple updates using psql are hanging.\n\nupdate ONLY traffic_tr...
[ { "msg_contents": "Thanks for reply.\n\n\nFirst query:\n\nSELECT\n R.\"Osoba weryfikująca\" AS \"Osoba\",\n R.\"LP\"::text AS \"Sprawa\",\n A.\"NKA\",\n A.\"NTA\",\n Sum(A.\"Ile\")::text AS \"Ilość CDR\"\nFROM\n ONLY \"NumeryA\" A\nLEFT JOIN\n \"Rejestr stacji do naprawy\" R\nON\n A.\"NKA\" = R.\"Numer kierunk...
[ { "msg_contents": "\"Christian Elmerot @ One.com\" wrote:\n \n> Highest results comes at 32 threads:\n \nIt would be interesting to see the results if you built a version of\nPostgreSQL with LOG2_NUM_LOCK_PARTITIONS set to 6 (instead of 4).\n \n-Kevin\n\n", "msg_date": "Fri, 26 Nov 2010 11:46:18 -0600", ...
[ { "msg_contents": "The database for monitoring certain drone statuses is quite simple:\n\nCREATE TABLE samples (\n\tsample_id integer not null primary key,\n\tsample_timestamp timestamp not null default now()\n);\n\nCREATE TABLE drones (\n\tdrone_id integer not null primary key,\n\tdrone_log_notice character va...
[ { "msg_contents": "I have simple database schema, containing just three tables:\n\nsamples, drones, drones_history.\n\nNow, those tables hold data for the drones for a simulation. Each \nsimulation dataset will grow to around 10 GB in around 6 months.\n\nSince the data is not related in any way I was thinking i...
[ { "msg_contents": "Hi all,\n\nI am new to Postgres. I just wanted to know how to change the sleep time.\n\nI want to reduce the sleep time, How much will it affect other performance\nissues if sleep time is reduced.\n\nPlz help. I apologize if I am sending mail to wrong contact. Kindly suggest\nthe correct cont...
[ { "msg_contents": "aaliya zarrin wrote:\n \n> I am new to Postgres. I just wanted to know how to change the sleep\n> time.\n> \n> I want to reduce the sleep time, How much will it affect other\n> performance issues if sleep time is reduced.\n \nI don't know what sleep time you mean. It would probably be best ...
[ { "msg_contents": "explain\nSELECT crmentity.crmid, crmentity.setype, crmentity.modifiedtime,\nactivity.subject,case when ( users.user_name not like '') then\nusers.user_name else groups.groupname end as user_name, activity.date_start\nFROM crmentity INNER JOIN activity ON crmentity.crmid = activity.activityid\...
[ { "msg_contents": "\nHi,\nI am working on a performance issue with a partitioned table. Some of my sql\nstatements against this partition table is in waiting state for long time. I\nhave queried waiting=true in pg_stat_activity. Now, is there a way to find\nout which sql is making other statements to wait.\n\nT...
[ { "msg_contents": "Hello.\n\nHow to use tid scans? This below not works :-(\nAlways is used merge join.\n\n\nDROP TABLE IF EXISTS test1;\nCREATE TABLE test1 as select i,hashint4(i)::text from\ngenerate_series(1,10000) as a(i);\n\nDROP TABLE IF EXISTS test2;\nCREATE TABLE test2 as select j,j%10000 as i,null::tid...
[ { "msg_contents": "I have a query that's running an IN/Subselect that joins three different \ntables and gets a list of IDs to compare against... the subselect \nbasically looks for records through a join table based on the 3rd \ntable's name, similar to:\n\n... IN (SELECT id FROM foo, foo_bar, bar\n WH...
[ { "msg_contents": ">FWIW, it isn't going to happen anyway, because the TID scan mechanism\n>doesn't support scanning based on a join condition. That hasn't gotten\n>to the top of the to-do list because the use case is almost vanishingly\n>small. ctids generally aren't stable enough for it to be useful to\n>st...
[ { "msg_contents": "In Oracle, deferrable primary keys are enforced by non-unique indexes. \nThat seems logical, because index should tolerate duplicate values for \nthe duration of transaction:\n\n Connected to:\n Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production\n With the Partiti...
[ { "msg_contents": "Hello Postgres Users.\n\nLast days I've installed and configured new x64 release of PostgreSQL \nrunning Windows 2008 R2 with dual XEON 5530 processors (2x4xHT = 16 \nworking units). Previously the database was running on Fedora 12 x86_64 \nunder Microsoft hypervisor (HyperV) thus because of ...
[ { "msg_contents": "I've developed PostBIX, a multithread daemon to monitor Postgres SQL fully\nintegrated with zabbix, released under GPL V.3, and written in java.\n\nI hope people can find this post useful\neveryone can download Postbix from:\nhttp://www.smartmarmot.com\nsorces are available on sourceforge su...
[ { "msg_contents": "Hi everyone,\n\nI've been trialling different inheritance schemes for partitioning to a large number of tables. I am looking at ~1e9 records, totaling ~200GB.\n\nI've found that a k-ary table inheritance tree works quite well to reduce the O(n) CHECK constraint overhead [1] in the query plan...
[ { "msg_contents": "Hi all,\n\nI have a table that stores all the page loads in my web application:\n\nshs-dev=# \\d log_event\n Table \"public.log_event\"\n Column | Type |\nModifiers\n-----------------+--------------------------+----------------...
[ { "msg_contents": "Markus Schulz 11/24/10 1:02 PM >>>\n \n> if i set \"from_collapse_limit\" (to merge the views) and\n> join_collapse_limit (to explode the explicit joins) high enough\n> (approx 32), all is fine (good performance). But other queries are\n> really slow in our environment (therefore it's no opt...
[ { "msg_contents": "Manual: http://www.postgresql.org/docs/9.0/static/runtime-config-wal.html#RUNTIME-CONFIG-WAL-SETTINGS\nRecent discussion:\nhttp://www.facebook.com/notes/mysql-at-facebook/group-commit-in-postgresql/465781235932\n\nIt is my understanding that group commit in PG works without the\ncommit_delay ...
[ { "msg_contents": "hello.\n\ni tested how are distributed values xmin,xmax on pages.\nin my tables . typically there are no more than 80 records\non pages.\n\nmaybe its possible to compress xmin & xmax values to\n1 byte/per record (+table of transactions per page)?\nits reduce the space when more than 1 record ...
[ { "msg_contents": "I have encountered a problem while restoring the database. There is a \ntable that contains XML data (BLOB), ~ 3 000 000 records, ~ 5.5Gb of \ndata. pg_restore has been running for a week without any considerable \nprogress. There are plenty of lines like these in the log:\n\npg_restore: proc...
[ { "msg_contents": "We are in the process of deciding on how to proceed on a database upgrade.\nWe currently have MS SQL 2000 running on Windows 2003 (on my test server).\nI was shocked at the cost for MS SQL 2008 R2 for a new server (2 CPU\nlicense). I started comparing DB’s and came across postgresql. It see...
[ { "msg_contents": "\nPessoal, \n\nEstou com uma dúvida ao fazer Tunning no arquivo de configuração do\nPostgres. \n\nMinha aplicação tem varios acessos simultâneos, chegando picos de 2000 mil\nou até mais. Por ser uma aplicação Web fica dificil de se estipular o\n\"max_connections\", sem contar que o restante d...
[ { "msg_contents": "Can you help me understand how to optimize the following. There's a \nsubplan which in this case returns 3 rows,\nbut it is really expensive:\n\n\n\n=========================================================================\nexplain analyze SELECT contexts.context_key\nFROM contexts\n JOI...
[ { "msg_contents": "I need to build a new high performance server to replace our current production database server.\nThe current server is a SuperMicro 1U with 2 RAID-1 containers (one for data, one for log, SAS - data is 600GB, Logs 144GB), 16GB of RAM, running 2 quad core processors (E5405 @ 2GHz), Adaptec 54...
[ { "msg_contents": "Sent from my android device.\n\n-----Original Message-----\nFrom: Benjamin Krajmalnik <kraj@servoyant.com>\nTo: pgsql-performance@postgresql.org\nSent: Wed, 08 Dec 2010 17:14\nSubject: [PERFORM] Hardware recommendations\n\nReceived: from mx2.hub.org [200.46.204.254] by mail.pengdows.com with ...
[ { "msg_contents": "Sent from my android device.\n\n-----Original Message-----\nFrom: Benjamin Krajmalnik <kraj@servoyant.com>\nTo: pgsql-performance@postgresql.org\nSent: Wed, 08 Dec 2010 17:14\nSubject: [PERFORM] Hardware recommendations\n\nReceived: from mx2.hub.org [200.46.204.254] by mail.pengdows.com with ...
[ { "msg_contents": "Sent from my android device.\n\n-----Original Message-----\nFrom: Benjamin Krajmalnik <kraj@servoyant.com>\nTo: pgsql-performance@postgresql.org\nSent: Wed, 08 Dec 2010 17:14\nSubject: [PERFORM] Hardware recommendations\n\nReceived: from mx2.hub.org [200.46.204.254] by mail.pengdows.com with ...
[ { "msg_contents": "Sent from my android device.\n\n-----Original Message-----\nFrom: Benjamin Krajmalnik <kraj@servoyant.com>\nTo: pgsql-performance@postgresql.org\nSent: Wed, 08 Dec 2010 17:14\nSubject: [PERFORM] Hardware recommendations\n\nReceived: from mx2.hub.org [200.46.204.254] by mail.pengdows.com with ...
[ { "msg_contents": "Sent from my android device.\n\n-----Original Message-----\nFrom: Benjamin Krajmalnik <kraj@servoyant.com>\nTo: pgsql-performance@postgresql.org\nSent: Wed, 08 Dec 2010 17:14\nSubject: [PERFORM] Hardware recommendations\n\nReceived: from mx2.hub.org [200.46.204.254] by mail.pengdows.com with ...
[ { "msg_contents": "Sent from my android device.\n\n-----Original Message-----\nFrom: Benjamin Krajmalnik <kraj@servoyant.com>\nTo: pgsql-performance@postgresql.org\nSent: Wed, 08 Dec 2010 17:14\nSubject: [PERFORM] Hardware recommendations\n\nReceived: from mx2.hub.org [200.46.204.254] by mail.pengdows.com with ...
[ { "msg_contents": "Is there any performance penalty when I use ODBC library vs using libpq?\n\n Best Regards,\nDivakar\n\n\n\n \nIs there any performance penalty when I use ODBC library vs using libpq? Best Regards,Divakar", "msg_date": "Wed, 8 Dec 2010 20:31:30 -0800 (PST)", "msg_from": "Divakar S...
[ { "msg_contents": "Hi,\n\nI have a performance trouble with UNION query\n\n\nFirst I have this view :\n\n SELECT a,b,c FROM table1, table2 WHERE jointure AND condition\n\n Result : 150 000 records in 1~2 s\n\n\n\nThen, I adding an UNION into the same view :\n\n SELECT a,b,c FROM table1, table2 WHERE...
[ { "msg_contents": "Hi all,\n\nI notice that when restoring a DB on a laptop with an SDD, typically postgres is maxing out a CPU - even during a COPY. I wonder, what is postgres usually doing with the CPU? I would have thought the disk would usually be the bottleneck in the DB, but occasionally it's not. We'r...
[ { "msg_contents": "How can you tell when your indexes are starting to get bloated and when you need to rebuild them. I haven't seen a quick way to tell and not sure if it's being tracked.\r\n\r\n_______________________________________________________________________________________________\r\n| John W. Strange...
[ { "msg_contents": "I have a table in Postgresql 9.0.1 as folllows:\n\n Table \"public.crmentity\"\n Column | Type | Modifiers\n--------------+-----------------------------+--------------------\n crmid | integer | not null\n smcreatorid...
[ { "msg_contents": "Hi, all. I'm trying to query table:\n\nEXPLAIN SELECT \"v\".\"id\", \"v\".\"title\" FROM \"video\" AS \"v\"\nWHERE (v.active) (v.fts @@\n'dexter:A|season:A|seri:A|декстер:A|качество:A|сезон:A|серия:A'::tsquery and\nv.id <> 500563 )\nORDER BY COALESCE(ts_rank_cd( '{0.1, 0.2, 0.7, 1.0}', v.fts,...
[ { "msg_contents": "I wrote a test program in C++ using libpq. It works as follows (pseudo code):\n\nfor ( int loop = 0; loop < 1000; ++loop ) {\n PQexec(\"BEGIN\");\n const char* sql = \"INSERT INTO pg_perf_test (id, text) VALUES($1,$2)\";\n PQprepare(m_conn, \"stmtid\",sql,0,NULL);\n for ( int i = 0; i...
[ { "msg_contents": "\nIs there a way force the db to re-evaluate its execution plan for a FK \nwithout bouncing the DB?\n\n PostgreSQL 8.1.17\n\nIn our latest release our developers have implemented some new foreign \nkeys but forgot to create indexes on these keys.\n\nThe problem surfaced at one of our client ...
[ { "msg_contents": "\nDear Friends,\n I have a requirement for running more that 15000 queries per second.\nCan you please tell what all are the postgres parameters needs to be changed\nto achieve this. \n Already I have 17GB RAM and dual core processor and this machine is\ndedicated for database o...
[ { "msg_contents": "Hello Daniel,\nWe have the same scenario for the native Java arrays, so we are storing bytea and doing conversion at the client side, but for the server side SQL, plJava comes very handy:\n\nNo sure how you want to create stored procedures to convert internally but this is how we do this:\n\...
[ { "msg_contents": "Hi all,\n\nI have a table that in the typical case holds two minute sample data for a few thousand sources. Often we need to report on these data for a particular source over a particular time period and we're finding this query tends to get a bit slow.\n\nThe structure of the table:\n\n ...
[ { "msg_contents": "Tom Polak wrote:\n \nHi neighbor! (We're just up I90/I39 a bit.)\n \n> What kind of performance can I expect out of Postgres compare to\n> MSSQL?\n \nI can't speak directly to MS SQL Server 2000, but Sybase and ASE have\ncommon roots; I think MS SQL Server 2000 is still using the engine\nth...
[ { "msg_contents": "Rauan Maemirov wrote:\n \n> EXPLAIN SELECT [...]\n \nPlease show us the results of EXPLAIN ANALYZE SELECT ...\n \nAlso, please show us the table layout (including indexes), and\ndetails about your hardware and PostgreSQL configuration. See this\npage for details:\n \nhttp://wiki.postgresql....
[ { "msg_contents": "I have server computer install Windows 2008R2, PostgreSQL 9.0.1 64 bit, 8G\nRAM, RAID 10 - 4 disks, dedicated server\nHere is config of postgresql.conf after running pgtune\n\ndefault_statistics_target = 100 # pgtune wizard 2010-12-15\nmaintenance_work_mem = 480MB # pgtune wizard 2010-12-15\n...
[ { "msg_contents": "> tuanhoanganh wrote:\n \n> tps = 20.143494 (including connections establishing)\n> tps = 256.630260 (excluding connections establishing)\n> \n> Why pgbench on my server is very low or is it common value with my\n> server ?\n \nThose numbers look pretty low to me. I would start with looking...
[ { "msg_contents": "Hi,\n\nJust stumbled on the following post:\nhttp://yoshinorimatsunobu.blogspot.com/2010/10/using-mysql-as-nosql-story-for.html\n\nThe post claim that MySQL can do more qps then MemCahed or any other NoSQL\nwhen doing simple queries like: SELECT * FROM table WHERE id=num;\n\nAnd I wonder if:\...
[ { "msg_contents": "hello.\n\nI ve the table NumeryA with 3 indices. Query below uses incorrect index.\n\n\nSELECT\n A.\"NKA\",\n A.\"NTA\",\n Min(\"PołączeniaMin\") || ',' || Max(\"PołączeniaMax\") AS \"Biling\",\n Sum(\"Ile\")::text AS \"Ilość CDR\",\n R.\"LP\"::text AS \"Sprawa\",\n R.\"Osoba weryfikują...
[ { "msg_contents": "I was asked about performance of PostgreSQL on NetApp, the protocol \nshould be NFSv3. Has anybody tried it? The database in question is a DW \ntype, a bunch of documents indexed by Sphinx. Does anyone have any \ninformation?\n-- \n\n \nMladen Gogala \nSr. Oracle DBA\n1500 Broadway\nNew York...
[ { "msg_contents": "Thanks for reply.\nI tested random changes and query runs fastest after:\n\nset seq_page_cost = 0.1;\nset random_page_cost = 0.1;\ncpu_operator_cost = 0.01\n\n\n\n------------\npasman\n", "msg_date": "Wed, 22 Dec 2010 10:22:00 +0100", "msg_from": "=?ISO-8859-2?Q?pasman_pasma=F1ski?= <...
[ { "msg_contents": "Guillaume Cottenceau wrote:\n \n> If I'm correct, you're basically telling postgresql that your\n> disk is unusually fast compared to your CPU. Even if some queries\n> will run faster from a side-effect of these settings, you're\n> likely to create other random problems...\n \nIf this is set...
[ { "msg_contents": "Hi.\n\nI install auto_explain module for monitoring queries.\nBy the way, is any tool to tune planner automatically ?\n\n\n------------\npasman\n", "msg_date": "Wed, 22 Dec 2010 17:01:08 +0100", "msg_from": "=?ISO-8859-2?Q?pasman_pasma=F1ski?= <pasman.p@gmail.com>", "msg_from_op":...
[ { "msg_contents": "Hello,\n\nIs is possible to create an index on a field on a function that returns a\ndata type that contains subfields?\n\nIt is possible to do this:\ncreate index indx_test\non address\n(sp_address_text_to_template(address_text))\nwhere (sp_address_text_to_template(address_text)).city_name =...
[ { "msg_contents": "Hello,\n\nIs is possible to create an index on a field on a function that returns a\ndata type that contains subfields?\n\nIt is possible to do this:\ncreate index indx_test\non address\n(sp_address_text_to_template(address_text))\nwhere (sp_address_text_to_template(address_text)).city_name =...
[ { "msg_contents": "When testing the IO performance of ioSAN storage device from FusionIO\n(650GB MLC version) one of the things I tried is a set of IO intensive\noperations in Postgres: bulk data loads, updates, and queries calling\nfor random IO. So far I cannot make Postgres take advantage of this\ntremendous...
[ { "msg_contents": "hello --\n\ni have a schema similar to the following\n\ncreate table foo (\n id integer not null,\n val integer not null,\n s integer not null,\n e integer not null\n);\n\ncreate index foo_s_idx on foo using btree (s);\ncreate index foo_e_idx on foo using btree (e);\n\ni want to do queries li...
[ { "msg_contents": "On Dec 23, 2010, at 13:22:32, Ben Chobot wrote:\n> \n> On Dec 23, 2010, at 11:58 AM, Andy wrote:\n> >\n> > Somewhat tangential to the current topics, I've heard that FusionIO\n>uses\n> > internal cache and hence is not crash-safe, and if the cache is turned\n> > off performance will take a bi...
[ { "msg_contents": "Hi ALL:\n\n \n\nMy Database is for logs only, I almost have 30G data growth in my database.\n\nI Use partition table to store those data, those tables are partitioned by\ntime column daily.\n\nMy data only keep for three days.\n\nI will dump those data into dump file and drop the partition ta...
[ { "msg_contents": "On Mon, Dec 27, 2010 at 10:53 PM, marc.hsiao <marc.hsiao@cobrasonic.com> wrote:\n> Hi ALL:\n>\n> My Database is for logs only, I almost have 30G data growth in my database.\n>\n> I Use partition table to store those data, those tables are partitioned by\n> time column daily.\n>\n> My data onl...
[ { "msg_contents": "I have a table \"aaa\" which is not very big. It has less than 10'000\nrows. However read operations on this table is very frequent.\n\nWhenever I try to create a new table \"bbb\" with foreign key pointing\nto \"aaa\". The operation locks, and reading \"aaa\" is not possible. The\nquery also...
[ { "msg_contents": "Hi\n\nI have the problem that on our servers it happens regularly under a\ncertain workload (several times per minute) that all backend processes\nget a SIGUSR1 and spend several seconds in ProcessCatchupEvent(). At\n100-200 connections (most of them idle) this causes the system load to\nskyr...
[ { "msg_contents": "How good are certmagic.com practice exams for PostgreSQL\n exam? My friends told me they are pretty good and he has passed many\nexams with their material. Let me know guys!\n", "msg_date": "Wed, 29 Dec 2010 23:54:46 -0800 (PST)", "msg_from": "nextage Tech <natseo.tech@gmail.com>", ...
[ { "msg_contents": "Hi there, this is my first post.\n\nI have a PostgreSQL 8.3.6, compiled by Visual C++ build 1400 running on\nWindows with virtual machine, 2 GB ram, and configured the postgresql.conf\nfile to log statements duration >= 500 ms.\n\nAnd I have this query/log entry:\n2011-01-03 23:06:29 BRT LOG:...
[ { "msg_contents": "Fernando Mertins wrote:\n \n> I have a PostgreSQL 8.3.6\n \nYou should consider upgrading to the latest minor release:\n \nhttp://www.postgresql.org/support/versioning\n \nhttp://www.postgresql.org/docs/8.3/static/release.html\n \n> My question is, this same query executes many times a day a...
[ { "msg_contents": "All,\n\nOne of my coworkers just pointed this out:\n\n\"The amount of memory used in shared memory for WAL data. The default is\n64 kilobytes (64kB). The setting need only be large enough to hold the\namount of WAL data generated by one typical transaction, since the data\nis written out to d...