threads listlengths 1 275 |
|---|
[
{
"msg_contents": "Hello all,\n\nI am trying to help the Django project by investigating if there should \nbe some default batch size limits for insert and delete queries. This is \nrealted to a couple of tickets which deal with SQLite's inability to \ndeal with more than 1000 parameters in a single query. That... |
[
{
"msg_contents": "On PostgreSQL 9.1.1, I'm experiencing extremely slow/inefficient min/max queries against a partitioned table, despite the recent improvements made in version 9.1. I haven't seen this issue discussed since 9.1 was released, so I wanted to provide an example of the inefficient execution plan in... |
[
{
"msg_contents": "Do you see any performance difference between the following approaches? The\nassumption is that most of the rows in the query will be requested often\nenough.\n\n \n\n1. SQL function.\n\nCREATE OR REPLACE FUNCTION X(IN a_id uuid, IN b_id uuid)\n\n RETURNS int\n\n STABLE\n\nAS $$\n\n S... |
[
{
"msg_contents": "Hello,\nmy example query (and explain) is:\n$ explain SELECT count(*) from (select * from users_profile order by id)\nu_p;\n QUERY PLAN\n---------------------------------------------------------------------------\n Aggregate (cost=1.06..1.07 rows=1 width=0)\n ... |
[
{
"msg_contents": "Hello,\n\nWe have a table with about 60M records, almost all of which in one of\ntwo statuses ('done', 'failed') and a few of them, usually < 1000, in\ndifferent transient statuses. We also have a partial index indexing\nthe transient items: where status not in ('done', 'failed'). Stats are\n... |
[
{
"msg_contents": "Hi folks,\n\nI have a system that racks up about 40M log lines per day. I'm able to COPY\nthe log files into a PostgreSQL table that looks like this:\n\nCREATE TABLE activity_unlogged\n(\n user_id character(24) NOT NULL,\n client_ip inet,\n hr_timestamp timestamp without time zone,\n loca... |
[
{
"msg_contents": "Hi,\n(Sorry about double post, I just registered on the performance mailing \nlist, but sent the mail from the wrong account - if anyone responds, \nplease respond to this address)\n\nAnother issue I have encountered :)\n\nQuery optimizer glitch: \"...WHERE TRUE\" condition in union results i... |
[
{
"msg_contents": "I'd be grateful for advice on specifying the new server\n\nWe presently have one main database server which is performing well. As\nour services expand we are thinking of bringing another database server\nto work with it, and back each up via Postgres 9.1 streaming replication\neach to a VM s... |
[
{
"msg_contents": "We have an optimizer problem regarding partitioned tables on 8.4.11.\n\nWe started partitioning a large table containing approx. 1 billion records.\n\nSo far, there is only the master table, called edifactmsgpart (which is empty) and 1 partition,\ncalled edifactmsgpart_pact.\nThere is a bigin... |
[
{
"msg_contents": "Where I work we are starting to look at using SSDs for database server \nstorage. Despite the higher per unit cost it is quite attractive to \nreplace 6-8 SAS drives in RAID 10 by a pair of SSD in RAID 1 that will \nprobably perform better and use less power.\n\nWhich brings up the question o... |
[
{
"msg_contents": "I've complained many times that\nselect (f()).*;\n\nwill execute f() once for each returned field of f() since the server\nessentially expands that into:\n\nselect f().a, f().b;\n\ntry it yourself, see:\ncreate function f(a out text, b out text) returns record as $$\nbegin\n perform pg_sleep... |
[
{
"msg_contents": "We are looking for advice on the RAID controller cards with battery back cache for 10K SAS disks with RAID 10. Any suggestion for the best card and settings to use for heavy write transactions.\n\nSee Sing\nWhitepages.com\n\n\n We are looking for advice on the RAID controller cards with batt... |
[
{
"msg_contents": "I've taken the liberty of reposting this message as my addendum to a\nlong thread that I started on the subject of adding a new db server to\nour existing 4-year old workhorse got lost in discussion.\n\nOur workload is several small databases totalling less than 40GB of disk\nspace. The propo... |
[
{
"msg_contents": "I just upgraded to 9.1 and downloaded EnterpriseDB Tuning wizard, but the\nlist of servers in ComboBox support only 8.2, 8.3 i 8.4 version and x86\nbuild. How can I tune 9.1, 64 bit version?\n\nIs there any workaround, other version for download... ?\n\n \n\nAny help?\n\n \n\nMichael.\n\n \n... |
[
{
"msg_contents": "It is a discussion about the transaction ID wraparound in PostgreSQL.\nHowever, what is the fundamental definition if transaction ID.\nselect * from table where ID=1:10000 \nit is consider as one transaction or 10000 transactions.\n\n--\nView this message in context: http://postgresql.10456... |
[
{
"msg_contents": "Hello,\nDue to a large database size, my weekend database backup (pg_dumpall) takes about 12 hours to complete. Additionally, I add the --no-unlogged-table-data option to skip any volatile tables. One UNLOGGED table in the database is completely regenerated every day with a TRUNCATE TABLE/INS... |
[
{
"msg_contents": "I'm using gin index for my full text search engine in production. These \ndays the gin index size grows to 20-30G and the system started to suffer \nwith periodical insert hanging. This is same as described in the 2 posts:\nhttp://postgresql.1045698.n5.nabble.com/Random-penalties-on-GIN-index... |
[
{
"msg_contents": "(from #postgresql IRC on freenode)\n\ndarkblue_b I did an interesting experiment the other day davidfetter_vmw .. davidfetter_vmw do tell \ndarkblue_b well you know I do these huge monolithic postGIS queries on an otherwise idle linux machine.. and there was a persistant thought in my head th... |
[
{
"msg_contents": "I have a table with serveral million records. they are divided into \nabout one hundred catagory(column cid). I created index includes the cid \nas the first column. I had a problem with some cids they only have few \nrecords comparing with other cids. Some of them only have serveral \nthousa... |
[
{
"msg_contents": "Hi folks;\n\nI am trying to continue profiling which in turn feeds query and index\ntuning changes for the AKCS-WWW forum software, and appear to have no\ngood way to do what I need to do -- or I've missed something obvious.\n\nThe application uses the libpq interface from \"C\" to talk to Po... |
[
{
"msg_contents": "Andy Colson wrote:\nOn 03/16/2012 05:30 PM, Kevin Grittner wrote:\n \n>> Ah, I didn't pick up on the attempts at humor; perhaps that's why\n>> you mistook something I said as an attempt at an insult.\n>\n> It wasn't you Kevin, it was me that insulted him. (Although I was\n> trying to be funn... |
[
{
"msg_contents": "Disclaimer: this is a re-post, since I wasn't subscribed the first\ntime I posted. Pardon if this is a duplicate.]\n\nThe following query is abysmally slow (e.g. 7 hours+). The goal is to\nfind \"among the users that follow user #1, who do they also follow?\"\nand to count the latter.\n\n ... |
[
{
"msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHello\n\nWe are having some performance problems with an application that uses\nprepared statement heavily.\n\nWe have found out that it creates-executes-destroys a prepared statement\n*per* statement it sends to the database (pg-9.1) via DBD-... |
[
{
"msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHello\n\nI am wondering why the time reported by \\timing in psql is not the same\nas the time reported by duration in the log file when log_duration or\nlog_min_duration_statement are on?. I can not find any information about\nthis in the doc... |
[
{
"msg_contents": "Hi,\n\nWe're running a web-based application powered by PostgreSQL. Recently,\nwe've developed a \"new\" separate Java-based standalone (daemon process)\nthreaded program that performs both read and write operations heavily on 2\n\"huge\" tables. One table has got 5.4 million records and ot... |
[
{
"msg_contents": "Hi,\n\nwe are currently seeing some strange performance issues related to our Postgresql Database. Our Setup currently contains:\n- 1 Master with 32GB Ram and 6 x 100GB SSDs in RAID10 and 2 Quad Core Intel Processors (this one has a failover Box, the data volume is shared via DRBD)\n- 2 Slave... |
[
{
"msg_contents": "Baron Swartz's recent post [1] on working set size got me to thinking.\nI'm well aware of how I can tell when my database's working set\nexceeds available memory (cache hit rate plummets, performance\ncollapses), but it's less clear how I could predict when this might\noccur.\n\nBaron's propo... |
[
{
"msg_contents": "Hi all,\n\ntoday I've noticed this link on HN: http://plasma.cs.umass.edu/emery/hoard\n\nSeems like an interesting option for systems with a lot of CPUs that are\ndoing a lot of alloc operations. Right now I don't have a suitable system\nto test it - anyone tried to benchmark it?\n\n\nTomas\n... |
[
{
"msg_contents": "Have run across some memory behavior on Linux I've never seen before.\n\nServer running RHEL6 with 96GB of RAM. \nKernel 2.6.32\nPostgreSQL 9.0\n208GB database with fairly random accesses over 50% of the database.\n\nNow, here's the weird part: even after a week of uptime, only 21 to 25GB of... |
[
{
"msg_contents": "Hi group,\n\nI have the following table with millions of rows\n\nCREATE TABLE table1\n(\n col1 text,\ncol1 text,\n doc text\n)\n\nselect col1 from table1 group by col1 limit 2;\nselect distinct on (col1) col1 from table1 limit 2;\n\n",
"msg_date": "Tue, 27 Mar 2012 13:37:51 -0700 (PDT)"... |
[
{
"msg_contents": "PostgreSQL 9.0.x\nWe have around ten different applications that use the same database. When one particular application is active it does an enormous number of inserts. Each insert is very small. During this time the database seems to slow down in general. The application in question is i... |
[
{
"msg_contents": "PostgreSQL 9.0.x\nWhen PostgreSQL storage is using a relatively large raid 5 or 6 array is there any value in having your tables distributed across multiple tablespaces if those tablespaces will exists on the same raid array? I understand the value if you were to have the tablespaces on di... |
[
{
"msg_contents": "Hi all,\n\nWe are running performance tests using PG 8.3 on a Windows 2008 R2 machine connecting locally over TCP.\nIn our tests, we have found that it takes ~3ms to update a table with ~25 columns and 60K records, with one column indexed.\nWe have reached this number after many tweaks of the... |
[
{
"msg_contents": "Hello there,\n\nI am having performance problem with new DELL server. Actually I have this\ntwo servers\n\nServer A (old - production)\n-----------------\n2xCPU Six-Core AMD Opteron 2439 SE\n64GB RAM\nRaid controller Perc6 512MB cache NV\n - 2 HD 146GB SAS 15Krpm RAID1 (SO Centos 5.4 y pg_xl... |
[
{
"msg_contents": "Hi,\n\ni've ran into a planning problem.\n\nDedicated PostgreSQL Server:\n\"PostgreSQL 9.1.3 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 4.1.2\n20080704 (Red Hat 4.1.2-46), 64-bit\"\nMemory: 8GB\n4CPUs\n\nThe problem is reduced to the following: there are 2 tables:\n-product (3millions... |
[
{
"msg_contents": "Hi All;\n\nI have a query that wants to update a table based on a join like this:\n\nupdate test_one\nset f_key = t.f_key\nfrom\n upd_temp1 t,\n test_one t2\nwhere\n t.id_number = t2.id_number\n\nupd_temp1 has 248,762 rows\ntest_one has 248,762 rows\n\ntest_one has an index on f_k... |
[
{
"msg_contents": "Howdy,\n\nWhat is/is there a replacement for pg_autovacuum in PG9.0+ ? \n\nI haven't had much luck looking for it in the docs. \n\nThanks!\n\nDave\n",
"msg_date": "Tue, 3 Apr 2012 18:36:33 -0700",
"msg_from": "David Kerr <dmk@mr-paradox.net>",
"msg_from_op": true,
"msg_subject... |
[
{
"msg_contents": "Hi All,\n\n\nI am new in using postgresSQL, I now support a system that been\nrunning on postgressql. Recently I found that the database are\nconsuming the diskspace rapidly, it starting from 9GB and it now grow\nuntil 40GB within 4-5 month.\n\nI try to do a full vacuum to the database but th... |
[
{
"msg_contents": "Hi All\n\nI have a query where the planner makes a wrong cost estimate, it looks\nlike it underestimates the cost of a \"Bitmap Heap Scan\" compared to an\n\"Index Scan\".\n\nThis it the two plans, I have also pasted them below:\n Slow (189ms): http://explain.depesz.com/s/2Wq\n Fast (21ms):... |
[
{
"msg_contents": "Hi list!\r\n\r\ni have a table which has 8500000 rows records. i write a java program to update these records. \r\ni use 100 threads to update the records. For example, thread-1 update 1~85000 records; thread-2 update 85001~170000 and so on.\r\nThe update sql's aim is remove the space in the ... |
[
{
"msg_contents": "Hello,\n\nI have an extremely bad plan for one of my colleague's query. Basically \nPostgreSQL chooses to seq scan instead of index scan. This is on:\n\nantabif=# select version();\n version\n----------------------------------------------------... |
[
{
"msg_contents": "I know this is a very general question. But if you guys had to specify\nsystem (could be one server or cluster), with sustainable transaction\nrate of 1.5M tps running postgresql, what configuration and hardware\nwould you be looking for ?\nThe transaction distribution there is 90% writes/upd... |
[
{
"msg_contents": "Hi all,\n\nI noticed a note on the 'Priorities' wiki page[1], which talked about\nthe need for having \"a C-language function 'nice_backend(prio)' that\nrenices the calling backend to \"prio\".', and suggests posting a link\nto this list. Well, here you go:\n http://pgxn.org/dist/prioritize/... |
[
{
"msg_contents": "Hello,\n\n lets say I have such theoretical situation: big database with a lot of\ntables and fields, and a lot of users with are using different queries.\nAnd the worse - I am that data base admin ;] which has to add or remove\nindexes on table columns. As I dont know what queries are coming... |
[
{
"msg_contents": "\"Lukas\" wrote:\n> \n> lets say I have such theoretical situation: big database with a lot\n> of tables and fields, and a lot of users with are using different\n> queries. And the worse - I am that data base admin ;] which has to\n> add or remove indexes on table columns. As I dont know wha... |
[
{
"msg_contents": "hi,\n\ni had a stored procedure in ms-sql server. this stored procedure gets a\nparameter (account-id), dose about 20 queries, fills some temporary tables,\nand finally, returns a few result-sets. this stored procedure converted to\nstored function in postgresql (9.1). the result-sets are bei... |
[
{
"msg_contents": "Hi all,\n\nOS: Linux 64 bit 2.6.32\nPostgreSQL 9.0.5 installed from Ubuntu packages.\n8 CPU cores\n64 GB system memory\nDatabase cluster is on raid 10 direct attached drive, using a HP p800 \ncontroller card.\n\n\nI have a system that has been having occasional performance hits, where \nthe l... |
[
{
"msg_contents": "Hi,\n\nI would like to understand why the following query execution don't use \nany fulltext indexes\nand takes more than 300s (using lot of temporary files):\n\n EXPLAIN ANALYZE SELECT hierarchy.id\n FROM hierarchy\n JOIN fulltext ON fulltext.id = hierarchy.id,\n TO_TSQUERY('whatever... |
[
{
"msg_contents": "I have a big table ~15M records called entities. I want to find top 5\nentities matching \"hockey\" in their name.\n\nI have a Full text index built for that, which is used :\ngin_ix_entity_full_text_search_name, which indexes the name.\n\nQuery\n\n SELECT \"entities\".*,\n ts_rank(to... |
[
{
"msg_contents": "hi,\n\nthanks a lot to all of you for your help.\n\n(i'm sorry i did not know how to reply to a certain message)\n\ni found that the best number of active connections is indeed 8-10. with\n8-10 active connections postgresql did ~170 \"account-id\"s. this is still\nonly half of what mssql did,... |
[
{
"msg_contents": "Tom Lane wrote:\n> Benoit Delbosc<bdelbosc@nuxeo.com> writes:\n>> On 13/04/2012 00:25, Tom Lane wrote:\n>>> Is there a reason why you're writing the query in such a\n>>> non-straightforward way, rather than just\n>>>\n>>> EXPLAIN ANALYZE SELECT hierarchy.id\n>>> FROM hierarchy\n>>> JOI... |
[
{
"msg_contents": "Hello group!\n\nI have query like this:\n\nSELECT\n employments.candidate_id AS candidate_id,\n SUM(TS_RANK(employers.search_vector, TO_TSQUERY('simple', 'One:* |\nTwo:* | Three:* | Four:*'), 2)) AS ts_rank\nFROM\n employments\nINNER JOIN\n employers ON employments.employer_id = employers... |
[
{
"msg_contents": "Hi,\n\nthanks for the suggestion, but it didn't help. We have tried it earlier.\n\n7500ms\nhttp://explain.depesz.com/s/ctn\n\nALTER TABLE product_parent ALTER COLUMN parent_name SET STATISTICS 1000;\nALTER TABLE product ALTER COLUMN parent_id SET STATISTICS 1000;\nANALYZE product_parent;\nANA... |
[
{
"msg_contents": "hi all,\n\ni ran vmstat during the test :\n\n[yb@centos08 ~]$ vmstat 1 15\nprocs -----------memory---------- ---swap-- -----io---- --system--\n-----cpu-----\n r b swpd free buff cache si so bi bo in cs us sy id\nwa st\n 0 0 0 6131400 160556 1115792 0 0 1 ... |
[
{
"msg_contents": "I'm a n00b [1] to tuning DBs so if anyone has a bit of time to provide\nfeedback, I'd sure appreciate any input the community might have on the\nplan, configuration, etc. I could very well have unintentionally left-off\ncrucial parts of my descriptions below and for that I apologize for wasti... |
[
{
"msg_contents": "Dear list,\n\nWe have a database schema, which looks the same as the attached script.\n\nWhen filling the tables with data, and skipping analyze on the table (so \npg_stats contains no records for table 'a'), the first select in the \nscript runs fast, but after an analyze the planner decides... |
[
{
"msg_contents": "Hi all:\nCan someone please guide me as to how to solve this problem? If this is the wrong forum, please let me know which one to post this one in. I am new to Postgres (about 3 months into it)\n\nI have PostGres 9.0 database in a AWS server (x-large) and a pgplsql program that does some comp... |
[
{
"msg_contents": "Here's a strange thing.\n\nPostgres 9.1.0 on a severely underpowered test machine\n\neffective_cache_size = 128M\nwork_mem = 48M\n\n\nThis query:\n\nWITH\nRECURSIVE subordinates AS (\n\tSELECT id, originator_id FROM partner_deliveries WHERE originator_id\nin (225645)\n\tUNION ALL\n\tSELECT pa... |
[
{
"msg_contents": "An update to our system means I'm going to be rewriting every row of\nsome large tables (20 million rows by 15 columns). In a situation\nlike this, can auto-vacuum take care of it, or should I plan on\nvacuum-full/reindex to clean up?\n\nThis is 8.4.4.\n\nThanks,\nCraig\n",
"msg_date": "... |
[
{
"msg_contents": "I can write a query to solve my requirement in any of the followings :-\n\n1.\nselect *\nfrom a\nwhere NOT EXISTS\n(\nselect 1\nfrom b\nwhere a.id = b.id)\nunion all\nselect *\nfrom b\n\n\n2.\nselect\n(\ncase when b.id is not null then\n b.id\n else\n a.id\n) as id\nfrom a\nleft join b\... |
[
{
"msg_contents": "hi, all.\n\nwell, i wondered why there is high rate of bo (blocks out). the procedure\nis practically read-only during the whole test. although it's not strictly\nread-only, because in a certain condition, there might be writing to a\ncertain table. but that condition can not be met during th... |
[
{
"msg_contents": "I'm trying to benchmark Postgres vs. several other databases on my workstation. My workstation is running 64 bit Windows 7. It has 12 gb of RAM and a W3550 @ 3 Ghz. I installed Postgres 9.1 using the windows installer. The data directory is on a 6Gb/s SATA SSD.\n\nMy application is multithrea... |
[
{
"msg_contents": "Hi,\n We have recently switch our product from MS SQL 2000 to Postgresql \n9.0.7. We have tuned the searches and indexes so that they are very \nclose (often better) to what sql2k was giving us. We are noticing some \ndifferences now in the time it takes for the result set to make it bac... |
[
{
"msg_contents": "We just upgraded from 9.0 to 9.1, we're using the same server configuration, that has been confirmed 3 or 4 times over. Any help would be appreciated. If I remove the \"ORDER BY\" it gets fast again because it goes back to using the user_id index, if I remove the LIMIT/OFFSET it gets fast aga... |
[
{
"msg_contents": "Hi,\n\nI am using postgresql as database for a hibernate based java oltp\nproject and as in previous projects am totally impressed by\npostgresql's robustness, performance and feature-richness. Thanks for\nthis excellent piece of software.\n\nQuite often Hibernate ends up generating queries w... |
[
{
"msg_contents": "Hi,\n\nwe want to see if we can gain better performance with our postgresql\ndatabase. In the last year the amount of data growed from ~25G to now\n~140G and we're currently developing a new feature that needs to get\ndata faster from the database. The system is both read and write heavy.\n\n... |
[
{
"msg_contents": "Hi,\n\nI'm fairly new to PostgreSQL query tuning, so please forgive me if I've overlooked something obvious.\n\nI have a query which is running slowly, and the query plan shows an unexpected sequence scan where I'd have expected the planner to use an index. Setting enable_seqscan=off causes t... |
[
{
"msg_contents": "Hi,\nI'm seeing poor query performance using partitioned tables with check\nconstraints, seems like the plan is much worse than when querying the\nindividual partitions manually.\n\nselect version(); --> PostgreSQL 9.1.1 on x86_64-unknown-linux-gnu,\ncompiled by gcc (Debian 4.4.5-8) 4.4.5, 64... |
[
{
"msg_contents": "Hello,\n\nI've heard from some people that synchronous streaming replication has \nsevere performance impact on the primary. They said that the transaction \nthroughput of TPC-C like benchmark (perhaps DBT-2) decreased by 50%. I'm \nsorry I haven't asked them about their testing environment, ... |
[
{
"msg_contents": "Hi All,\n\nIs there any max limit set on sequences that can be created on the database\n? Also would like to know if we create millions of sequences in a single db\nwhat is the downside of it.\n\nRegards\nVidhya\n\nHi All,Is there any max limit set on sequences that can be created on the data... |
[
{
"msg_contents": "<p>Learn how to make as much as $500 each day using a groundbreaking system<br><a href=\"http://www.info-guard.cba.pl/newsjournal/23StuartStewart/\">http://www.info-guard.cba.pl/newsjournal/23StuartStewart/</a></p>\n\nLearn how to make as much as $500 each day using a groundbreaking systemhtt... |
[
{
"msg_contents": "Hello, all.\n\nWe've reached to the point when we would like to try SSDs. We've got a\ncentral DB currently 414 GB in size and increasing. Working set does not\nfit into our 96GB RAM server anymore.\nSo, the main question is what to take. Here what we've got:\n1) Intel 320. Good, but slower t... |
[
{
"msg_contents": ">We've reached to the point when we would like to try SSDs. We've got a\n>central DB currently 414 GB in size and increasing. Working set does not\n>fit into our 96GB RAM server anymore.\n>So, the main question is what to take. Here what we've got:\n>1) Intel 320. Good, but slower then curren... |
[
{
"msg_contents": "This is outside of PG performance proper, but while testing pg_dump and\npg_restore performance on local-storage versus SAN storage I noticed a big\nperformance drops on in the SAN configuration. I'm told that both local\nstorage and SAN storage are 15k drives with local-storage running dual\... |
[
{
"msg_contents": "\nDear List ,\n\nWe are having scalability issues with a high end hardware\n\nThe hardware is\nCPU = 4 * opteron 6272 with 16 cores ie Total = 64 cores. \nRAM = 128 GB DDR3\nDisk = High performance RAID10 with lots of 15K spindles and a working BBU Cache.\n\nnormally the 1 min load averag... |
[
{
"msg_contents": "| \n| Load avg is the number of processes in the running queue, which can\n| be either waiting to be run or actually running.\n| \n| So if you had 100% CPU usage, then you'd most definitely have a load\n| avg of 64, which is neither good or bad. It may simply mean that\n| you're using your ha... |
[
{
"msg_contents": "Hi everyone,\n\nWe have a production database (postgresql 9.0) with more than 20,000 schemas\nand 40Gb size. In the past we had all that information in just one schema\nand pg_dump used to work just fine (2-3 hours to dump everything). Then we\ndecided to split the database into schemas, whic... |
[
{
"msg_contents": "\nDear Andy ,\n\nFollowing the discussion on load average we are now investigating on some \nother parts of the stack (other than db). \n\nEssentially we are bumping up the limits (on appserver) so that more requests \ngoes to the DB server.\n\n\n| \n| Maybe you are hitting some locks? If ... |
[
{
"msg_contents": "On Fri, May 25, 2012 at 9:04 AM, Craig James <cjames@emolecules.com> wrote:\n\n> On Fri, May 25, 2012 at 4:58 AM, Greg Spiegelberg <gspiegelberg@gmail.com>\n> wrote:\n>\n>> On Sun, May 13, 2012 at 10:01 AM, Craig James <cjames@emolecules.com>\n>> wrote:\n>>\n>>>\n>>> On Sun, May 13, 2012 at... |
[
{
"msg_contents": "Hello,\n\nI'm wondering if there is ia document describing which guarantees (if\nany) PostgreSQL makes about concurrency for various operations? Speaking\nin general (i.e. IO can handle it, number of CPU cores and client\nthreads is optimal), are fully concurrent operations (independant and\n... |
[
{
"msg_contents": "Hello,\n\nI have a SQL function (which I've pasted below) and while testing its\ncode directly (outside a function), this is the \"normal\", default plan:\n\nhttp://explain.depesz.com/s/vfP (67 ms)\n\nand this is the plain with enable_seqscan turned off:\n\nhttp://explain.depesz.com/s/EFP (27... |
[
{
"msg_contents": "Hi,\n\n¿How I can recover a row delete of a table that wasn't vacuummed?\nI have PostgreSQL 9.1 in Windows XP/7.\n\n\nThanks\nHi,¿How I can recover a row delete of a table that wasn't vacuummed?I have PostgreSQL 9.1 in Windows XP/7.Thanks",
"msg_date": "Mon, 28 May 2012 19:24:13 +0100 (BS... |
[
{
"msg_contents": "Hello,\n\ni use PostgreSQL 8.4.8 on Centos 5.x and i have some table where i load with pg_bulkload webtraffic logs, every day.\nAfter loading new data, i delete with a query 30-days older logs.\nAutovacuum is on.\n\nIn some systems, i experience a very huge slowdown of this table in queries, ... |
[
{
"msg_contents": "hi all - i'm having a bit of trouble with some queries that are\nrunning painfully slowly after migrating my database from one machine\nusing PostgreSQL 8.2 to another machine with PostgreSQL 8.4.\nas far as i can tell, the two *servers* (not the physical machines)\nare set up pretty close to... |
[
{
"msg_contents": "We are having trouble with a particular query being slow in a strange manner.\n\nThe query is a join over two large tables that are suitably indexed.\n\nselect CG.ID, CG.ISSUEID, CG.AUTHOR, CG.CREATED, CI.ID, CI.FIELDTYPE, CI.FIELD, CI.OLDVALUE, CI.OLDSTRING, CI.NEWVALUE, \nCI.NEWSTRING\n ... |
[
{
"msg_contents": "While investigating some performance issues I have been looking at slow\nqueries logged to the postgresql.log file. A strange thing that I have\nseen is a series of apparently very slow queries that just select from a\nsequence. It is as if access to a sequence is blocked for many sessions a... |
[
{
"msg_contents": "Claudio Freire wrote:\n> Stephen Frost wrote:\n>> Rajesh Kumar. Mallah (mallah@tradeindia.com) wrote:\n \n>>> we are actually also running out db max connections (also)\n>>> ( which is currently at 600) , when that happens something at\n>>> the beginning of the application stack also gets d... |
[
{
"msg_contents": "Hi everyone, \n\nI am trying to run the following query:\n\nSELECT count(1) --DISTINCT l_userqueue.queueid\n FROM e_usersessions\n JOIN l_userqueue\n ON l_userqueue.userid = e_usersessions.entityid\n JOIN a_activity\n ON a_activity.activequeueid = l_userqueue.queueid\n AND a_acti... |
[
{
"msg_contents": "Hi,\n\nI want to make a function in C for postgresql, this is the code:\n\n#define _USE_32BIT_TIME_T\n#define BUILDING_DLL 1 \n\n#include \"postgres.h\"\n#include \"fmgr.h\"\n#include \"executor\\spi.h\" /* SPI - Server Programming Interface */\n\n#if defined(_MSC_VER) || defined(__MINGW32__)... |
[
{
"msg_contents": "I'm faced with a problem running postgres 9.1.3 which seems to\nnobody else see before. Tried to search and only one relevant\npost fond (about millions of files in pgsql_tmp).\n\nSympthoms:\n\nSome postgres process size is getting abnormally big compared\nto other postgres processes. Top sho... |
[
{
"msg_contents": "Hi.\n\nWe are handling multiple concurrent clients connecting to our system - trying to get a license seat (each license has an initial capacity of seats).\nWe have a table which keeps count of the acquired seats for each license.\nWhen a client tries to acquire a seat we first make sure that... |
[
{
"msg_contents": "Could somebody confirm or refute the following statements, please?\n\n- The statistics gathered by ANALYZE are independent of the tablespace\n containing the table.\n- The tablespace containing the table has no influence on query planning\n unless seq_page_cost or random_page_cost has been ... |
[
{
"msg_contents": "Hello,\n\nI have noticed that with a SELECT query containing the following\nconstraint:\n\n column LIKE ?\n\nand an index on that column, PostgreSQL will not use the index\neven if the parameter doesn't contain special pattern characters\nsuch as %.\n\n From PG POV it might be logical, bec... |
[
{
"msg_contents": "I have a query like this:\nselect a.* from a inner join b on a.aid=b.aid where a.col1=33 a.col2=44 \nand b.bid=8\npostgresql selected the index on a.col1 then selected the index on \nb.bid. But in my situation, I know that the query will be faster if it \nchose the index on b.bid first since ... |
[
{
"msg_contents": "Rural Hunter wrote:\n> 于 2012/6/9 0:39, Kevin Grittner 写道:\n \n> name | current_setting\n \n> full_page_writes | off\n \nThere may be exceptions on some file systems, but generally turning\nthis off leaves you vulnerable to possible database corruption if you\nOS or hardware crashes.\n \n> m... |
[
{
"msg_contents": "\"Kevin Grittner\" wrote:\n \n>> shared_buffers | 60GB\n> \n> You might want to compare your performance with this setting against\n> a smaller setting. Many benchmarks have shown settings about a\n> certain point (like 8MB to 12 MB) to be counter-productive, although\n> a few have shown inc... |
[
{
"msg_contents": "Hi All;\n\nWe have a client that has a table where large blobs (bytea) are stored. \nthe table has a key column that is numbers (like 112362) but \nunfortunately it's a varchar column so the blobs are accessed via \nqueries like:\n\nselect * from bigtable where keycol = '217765'\n\nThe primar... |
[
{
"msg_contents": "What is the expected performance of cluster and what tuning parameters \nhave most effect?\n\nI have a set of 5 tables with identical structure (all inherit a common \ntable). The sizes given are total relation size. The clustering index is \na gist index on a (non null) geographic(linestring... |
[
{
"msg_contents": "Rural Hunter wrote:\n> 于 2012/6/9 22:39, Kevin Grittner 写道:\n \n>> You neglected to mention the LIMIT clause in your earlier\n>> presentation of the problem. A LIMIT can have a big impact on plan\n>> choice. Is the LIMIT 10 part of the actual query you want to\n>> optimize? Either way it wou... |
[
{
"msg_contents": "Hi, I have a table that I am clustering on an index.\nI am then dumping that table via pg_dump -Fc and loading it into another database via pg_restore.\nIt is unclear to me though if the clustering I did in the original database is preserved during the dump & restore or if I would still need ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.