threads listlengths 1 275 |
|---|
[
{
"msg_contents": "Hello again.\n\nI have to track user subscriptions to certain mailinglists, and I also\nneed to track credits users have on those mailinglists. On one side I\nhave procedures that add credits, on other side I have procedures that\nsubtract available credits. Add/subtract is pretty intensive, ... |
[
{
"msg_contents": "Good morning,\n\nI have identical postgres installations running on identical machines. Dual\nCore AMD Opteron(tm) Processor 870 , 16GB RAM, Red Hat Linux 3.2.3-20 and\n120GB worth of disk space on two drives.\n\nRecently, I have noticed that my nightly backups take longer on one machine\nth... |
[
{
"msg_contents": "Thanks Tom. I have scheduled vacuums as follows and all have run without\nerror.\n\nMon - Thu after-hours: vacuumdb -z -e -a -v On Fridays I add the -f\noption vacuumdb -z -e -a -v -f\n\nThe du . -h in $PGDATA showed PROD001 at 9.1G and Prod0002 at 8.8G so\nthey're pretty much the same,... |
[
{
"msg_contents": "I did carry it down to the subdirectory level but only included the total\nfor brevity. I'll paste the complete readout at the end of the email. I'll\ntry the \"vmstat 1\" as you suggest next time the backups run. If the Eng\nstaff finds anything I'll post the results and maybe save someon... |
[
{
"msg_contents": "Hi,\n\nIs there a command to Insert a record If It does not exists and a update \nif It exists?\n\nI do not want to do a select before a insert or update.\n\nI mean the postgres should test if a record exist before insert and if \nIt exist then the postgres must do an update instead an insert... |
[
{
"msg_contents": "Hi, \n\nIs there a command to Insert a record If It does not exists and a update if \nIt exists? \n\nI do not want to do a select before a insert or update. \n\nI mean the postgres should test if a record exist before insert and if It \nexist then the postgres must do an update instead an ins... |
[
{
"msg_contents": "Hi,\nWe just don't seem to be getting much benefit from autovacuum. Running\na manual vacuum seems to still be doing a LOT, which suggests to me\nthat I should either run a cron job and disable autovacuum, or just\nrun a cron job on top of autovacuum.\nThe problem is that if I run the same qu... |
[
{
"msg_contents": "when i try do \\d in psql on a table i get this message!\nthis happens too when i try to run pg_dump...\n\nERROR: could not access status of transaction 4294967295\nDETAIL: could not open file \"pg_clog/0FFF\": File or directory not found\n\n\nsomeone could help me?? PleasE!\n\n\n\n\n\n\n\n... |
[
{
"msg_contents": "Hi,\n\nI would like to know if my supposition is right.\n\nConsidering an environment with only one hard disk attached to a server, an\ninitial loading of the database probably is much faster using an IDE/ATA\ninterface with write-back on than using an SCSI interface. That�s because of\nthe... |
[
{
"msg_contents": "Hello,\n\nI am setting up a postgres server that will hold a critical event witin\nthe next few weeks.\nIt's national exam result (140000 students)\nthe problem is that the first few hours there will be a huge traffic,\n(last year 250K requests only the first hour)\nI do have 2 identical beas... |
[
{
"msg_contents": "On Sat, Jun 03, 2006 at 11:38:10AM +0100, fzied@planet.tn wrote:\n>> What version of PostgreSQL? (8.1 is better than 8.0 is much better than 7.4.)\n> 8.1.3 on RHEL 4\n\nOK, that sounds good.\n\n>> Have you remembered to turn HT off?\n> no !! what is it ?\n\nHT = Hyperthreading. It usually doe... |
[
{
"msg_contents": "Hi,\n\nI just noticed that psql's unformatted output uses too much\nmemory. Is it normal? It seems that psql draws all records\nof a query off the server before it displays or writes the output.\nI would expect this only with formatted output.\n\nProblem is, I have an export that produces 500... |
[
{
"msg_contents": "Hello,\n\nI've noticed some posts on hanging queries but haven't seen any\nsolutions yet so far.\n\nOur problem is that about a week and a half ago we started to get some\nqueries that would (seemingly) never return (e.g., normally run in a\ncouple minutes, but after 2.5 hours, they were stil... |
[
{
"msg_contents": "I have UTF-8 Postgres 8.1 database on W2K3\n\nQuery\n\nSELECT toode, nimetus\nFROM toode\nWHERE toode ILIKE 'x10%' ESCAPE '!'\nORDER BY UPPER(toode ),nimetus LIMIT 100\n\nruns 1 minute in first time for small table size.\n\nToode field type is CHAR(20)\n\nHow to create index on too... |
[
{
"msg_contents": "Hi,\n\nUsing postgres 8.0.1, I'm having a problem where a user-defined function \nthat executes quite quickly on its own slows down the calling query, \nwhich ignores at least one index. I don't think this should be happening.\n\nPlease forgive the long explanation below; I'm trying to be cl... |
[
{
"msg_contents": "Hello,\n\n\n\nWe have database on which continueous operations of INSERT, DELETE, UPDATE\nare going on, In the mean time irrespective of INSERT and UPDATE we want to\nALTER some filelds from the table can we do that?\n\nWould the ALTER command on heavily loaded database create any perfomance\... |
[
{
"msg_contents": "The situation is this: we're using a varchar column to store \nalphanumeric codes which are by themselves 7-bit clean. But we are \noperating under a locale which has its own special collation rules, and \nis also utf-8 encoded. Recently we've discovered a serious \"d'oh!\"-type \nbug which w... |
[
{
"msg_contents": "Hello,\n\n\n\nWe have to take a backup of database and we know the pg_dump utility of\npostgresql.\n\nBut may I know, is there any API for this pg_dump utility so that we can\ncall it from the C program? Or only script support is possible for this.\n\n\n\nI think script support is bit risky b... |
[
{
"msg_contents": "I have this table setup on a 8.1.4 server:\n\npj_info_attach(attachment_nr, some more cols) -- index, 50k rows\npj_info_attach_compressable() INHERITS (pj_info_attach) -- index, 1M rows\npj_info_attach_not_compressable() INHERITS (pj_info_attach) -- index, 0 \nrows\n\nEXPLAIN ANALYZE SELECT ... |
[
{
"msg_contents": "Why Postgres 8.1 does not use makse_kuupaev_idx index in the following query \n?\n\nHow to speed this query up ?\n\nexplain analyze select * from makse order by kuupaev desc, kellaaeg desc \nlimit 100\n\n\"Limit (cost=62907.94..62908.19 rows=100 width=876) (actual \ntime=33699.551..33701.001... |
[
{
"msg_contents": "Hello,\n\n \n\nDuring insert or update, potgresql write in pgsql_tmp directory and so\nperformance are very poor.\n\n \n\nMy configuration is:\n\nWork mem 10240\n\nEffective_cache_size 30000\n\nShared buffers 9000\n\nMax_fsm_pages 35000\n\nWal ... |
[
{
"msg_contents": "AFAIK, the reason why seperating pg_xlog from the base files provides so\nmuch performance is because the latency on pg_xlog is critical: a\ntransaction can't commit until all of it's log data is written to disk\nvia fsync, and if you're trying to fsync frequently on the same drive as\nthe da... |
[
{
"msg_contents": "Hi,\n\nI have the following quering plans:\n\n\"Seq Scan on ind_uni_100 (cost=0.00..27242.00 rows=1000000 width=104)\n(actual time=0.272..2444.667 rows=1000000 loops=1)\"\n\"Total runtime: 4229.449 ms\"\n\nand\n\n\"Bitmap Heap Scan on ind_uni_100 (cost=314.00..18181.00 rows=50000\nwidth=104)... |
[
{
"msg_contents": "My application has a function, call it \"foo()\", that requires initialization from a table of about 800 values. Rather than build these values into the C code, it seemed like a good idea to put them on a PG table and create a second function, call it \"foo_init()\", which is called for each... |
[
{
"msg_contents": "\nHi,\n\nIm having a problem with postgres 8.1.3 on a Fedora Core 3 (kernel \n2.6.9-1.667smp)\n\nI have two similar servers, one in production and another for testing \npurposes.\nDatabases are equal (with a difference of some hours)\n\nIn the testing server, an sql sentence takes arround 1 s... |
[
{
"msg_contents": "Hi all!\n\nI had an interesting discussion today w/ an Enterprise DB developer and\nsales person, and was told, twice, that the 64-bit linux version of\nEnterprise DB (which is based on the 64-bit version of PostgreSQL 8.1)\nis SIGNIFICANTLY SLOWER than the 32-bit version. Since the guys of ... |
[
{
"msg_contents": "Hi,\nI don't have a copy of the standard on hand and a collegue is claiming\nthat there must be a from clause in a select query (he is an oracle\nguy). This doesn't seem to be the case for postgres... does anyone\nknow?\nCheers\nAntoine\nps. any one of them will do...\n-- \nThis is where I sh... |
[
{
"msg_contents": "Hi,\n \nI have a database where there are three columns (name,date,data). The\nqueries are almost always something like SELECT date,data FROM table WHERE\nname=blah AND date > 1/1/2005 AND date < 1/1/2006;. I currently have three\nB-tree indexes, one for each of the columns. Is clustering ... |
[
{
"msg_contents": "Just so I don't think I'm insane:\n\nwarehouse=# explain analyze select e.event_date::date\nwarehouse-# from l_event_log e\nwarehouse-# JOIN c_event_type t ON (t.id = e.event_type_id)\nwarehouse-# WHERE e.event_date > now() - interval '2 days'\nwarehouse-# AND t.event_n... |
[
{
"msg_contents": "I have a client who is running Postgresql 7.4.x series database\n(required to use 7.4.x). They are planning an upgrade to a new server.\nThey are insistent on Dell.\n\nI have personal experience with AMD dual Opteron, but I have not seen\nany benchmarks on Intel's dual core Xeon. I've seen in... |
[
{
"msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-performance-owner@postgresql.org \n> [mailto:pgsql-performance-owner@postgresql.org] On Behalf Of \n> Joshua D. Drake\n> Sent: 13 June 2006 20:44\n> To: Scott Marlowe\n> Cc: steve.poe@gmail.com; pgsql-performance@postgresql.org\n> Subject: Re: ... |
[
{
"msg_contents": "hi\ni'm waiting for new server to arrive.\nfor the server i will get hp msa1000, with 14 discs (72g, 15000 rpm).\nwhat kind of partitioning you suggest, to get maximum performance?\nfor system things i will have separate discs, so whole array is only for\npostgresql.\n\ndata processing is olt... |
[
{
"msg_contents": "Hi,\n\nhere's my problem:\n\n# explain analyze select * from mxstrpartsbg where szam =\nround(800000*random())::integer;\n QUERY PLAN\n------------------------------------------------------------------------------------------------------------... |
[
{
"msg_contents": "-- this is the third time I've tried sending this and I never saw it get \nthrough to the list. Sorry if multiple copies show up.\n\nHi all,\n\nI've been lurking using the web archives for a while and haven't found \nan answer that seems to answer my questions about pg_dump.\n\nWe have a 206G... |
[
{
"msg_contents": "________________________________\n\n\tFrom: Scott Marlowe [mailto:smarlowe@g2switchworks.com] \n\tSent: 14 June 2006 18:04\n\tTo: Dave Page\n\tCc: Joshua D. Drake; steve.poe@gmail.com;\npgsql-performance@postgresql.org\n\tSubject: RE: [PERFORM] Which processor runs better for\nPostgresql?\n\t... |
[
{
"msg_contents": "I have a box with an app and postgresql on it. Hardware includes with 2 2.8 Ghz xeons 512KB cache, 4 GB of memory, 6 scsi disk in a software \nraid 5 on a trustix 2.2 with a 2.6.15.3 kernel. The data and indexes are on the raid array while the tx log is on disk \nwith the OS. All is well.\n\n... |
[
{
"msg_contents": " \n\n> -----Original Message-----\n> From: Scott Marlowe [mailto:smarlowe@g2switchworks.com] \n> Sent: 14 June 2006 20:52\n> To: Dave Page\n> Cc: Joshua D. Drake; steve.poe@gmail.com; \n> pgsql-performance@postgresql.org\n> Subject: RE: [PERFORM] Which processor runs better for Postgresql?\n>... |
[
{
"msg_contents": "All,\n So I thought I'd pose this question:\n\nIf I have a pg database attached to a powervault (PV) with just an \noff-the-shelf SCSI card I generally want fsync on to prevent data \ncorruption in case the PV should loose power.\nHowever, if I have it attached to a NetApp that ensures da... |
[
{
"msg_contents": "\n\n\n\nHi,\n\nIs it possible to start two instances of postgresql with different port and\ndirectory which run simultaneously?\nIf can then will this cause any problem or performance drop down?\n\nThanks.\n\n",
"msg_date": "Thu, 15 Jun 2006 13:58:20 +0800",
"msg_from": "kah_hang_ang@... |
[
{
"msg_contents": "\n\n\n\nso what is the best way to implement two databases in one machine?\nimplement with two postgresql instances with separate directory or\nimplement under one instance?\n\nif I implement two database in one instance, if one of the database crash\nwill it affect the other?\n\n\n\n ... |
[
{
"msg_contents": "\n\n\n\n\nboth of the two database are live but use for two different web app.\nmy company don't want to spend more to buy a new server, so then I think of\nto implement both under the same server and one instance..\nbut then my superior don't want to do that way.\n they want to implement two... |
[
{
"msg_contents": "\n Hello,\n\n Is it possible to somehow analyze function performance? E.g.\nwe are using function cleanup() which takes obviously too much time\nto execute but I have problems trying to figure what is slowing things\ndown.\n\n When I explain analyze function lines step by step it show quit... |
[
{
"msg_contents": "I'm not a programmer so understanding the optimizer code is WAY beyond my\nlimits.\n\nMy question, that I haven't seen answered elsewhere, is WHAT things can\naffect the choice of an index scan over a sequence scan. I understand that\nsometimes a sequence scan is faster and that you still hav... |
[
{
"msg_contents": "We have a customer who are having performance problems. They have a \nlarge (36G+) postgres 8.1.3 database installed on an 8-way opteron with \n8G RAM, attached to an EMC SAN via fibre-channel (I don't have details \nof the EMC SAN model, or the type of fibre-channel card at the moment). \nTh... |
[
{
"msg_contents": "\nHello!\n\nI am trying to delete an entire table. There are about 41,000 rows in\nthe table (based on count(*)).\n\nI am using the SQL comment: delete from table;\n\nThe operation seems to take in the order of hours, rather than seconds\nor minutes.\n\n\"Explain delete from table\" gives me:... |
[
{
"msg_contents": "I have a producer/consumer setup where various producer processes \ninsert new records into a table and consumer processes mark those \nrecords as having been handled when they have dealt with them, but \nleave the records in the table so that we can generate reports later.\n\nThe records ... |
[
{
"msg_contents": "We've seen similar results with our EMC CX200 (fully equipped) when\ncompared to a single (1) SCSI disk machine. For sequential reads/writes\n(import, export, updates on 5-10 30M+ row tables), performance is\ndownright awful. A big DB update took 5-6h in pre-prod (single SCSI),\nand 10-14?h (... |
[
{
"msg_contents": "\nI am thrill to inform you all that Sun has just donated a fully loaded \nT2000 system to the PostgreSQL community, and it's being setup by Corey \nShields at OSL (osuosl.org) and should be online probably early next \nweek. The system has\n\n* 8 cores, 4 hw threads/core @ 1.2 GHz. Solaris s... |
[
{
"msg_contents": "\nFor long involved reasons I'm hanging out late at work today, and rather \nthan doing real, productive work, I thought I'd run some benchmarks \nagainst our development PostgreSQL database server. My conclusions are \nat the end.\n\nThe purpose of the benchmarking was to find out how fast ... |
[
{
"msg_contents": "Hi,\n\nI have some speed issues with a big array in a table. I hope you can\nhelp me to tune my query. \n\nMy table looks like this:\n\nId | timestamp | map\nPrimary key | timestamp | array of real [34][28]\n\nWith an index on timestamp \n\nMy query is the following:\n\nSel... |
[
{
"msg_contents": "Hi\nI have following table:\nCREATE TABLE alias (\n alias_id BIGSERIAL PRIMARY KEY,\n mask VARCHAR(20) NOT NULL DEFAULT '',\n);\n\nwith index:\nCREATE INDEX alias_mask_ind ON alias(mask);\n\n\nand this table has about 1 million rows.\n\n\nIn DB proc... |
[
{
"msg_contents": "This might not be 100% performance compilant but i guess its better than -hackers since\nthese day's there seem to be some big consern :)\n \nSo feel free to comment\n \n[Abstract: Underlyin plpgsql should remove all public user ACL's from Function,Table Sequence,View ... ]\n \n-elz\n \n-----... |
[
{
"msg_contents": "Hello People,\n\nI'm trying to solve a 'what i feel is a' performance/configuration/query \nerror on my side. I'm fairly new to configuring PostgreSQL so, i might \nbe completely wrong with my configuration.\n\nMy database consists of 44 tables, about 20GB. Two of those tables are \n'big/huge... |
[
{
"msg_contents": "Hey - I am running into a data relation bloat problem which I believe is causing fairly significant \nslowdown of my updates. I am using version\n\n version\n-----------------------------------------------------------------------------\n PostgreSQL 8.1.4 on i... |
[
{
"msg_contents": "We just purchased a new Dell PowerEdge 2800 (dual xeon, 8GB RAM, raid 4, \nRHEL, postgres 8.1) and ported our old database over to it (single cpu, \n2GB RAM, no raid, postgres 7.4). Our apps perform great on it, however \nsome queries are super slow. One function in particular, which used to ... |
[
{
"msg_contents": "We just purchased a new Dell PowerEdge 2800 (dual xeon, 8GB RAM, raid 4, \nRHEL, postgres 8.1) and ported our old database over to it (single cpu, \n2GB RAM, no raid, postgres 7.4). Our apps perform great on it, however \nsome queries are super slow. One function in particular, which used to ... |
[
{
"msg_contents": "Howdy,\n\nDidn't see anything in the archives, so I thought I'd ask: has anyone \ndone any work to gauge the performance penalty of using DOMAINs? I'm \nthinking of something like Elein's email DOMAIN:\n\n http://www.varlena.com/GeneralBits/\n\nI figured that most simple domains that have... |
[
{
"msg_contents": "I have a really stupid question about top, what exactly is iowait CPU time?\n\nAlex\n\nI have a really stupid question about top, what exactly is iowait CPU time?Alex",
"msg_date": "Wed, 21 Jun 2006 16:46:15 -0400",
"msg_from": "\"Alex Turner\" <armtuk@gmail.com>",
"msg_from_op": ... |
[
{
"msg_contents": "We just purchased a new Dell PowerEdge 2800 (dual xeon, 8GB RAM, raid 4, \nRHEL, postgres 8.1) and ported our old database over to it (single cpu, \n2GB RAM, no raid, postgres 7.4). Our apps perform great on it, however \nsome queries are super slow. One function in particular, which used to ... |
[
{
"msg_contents": "I've recently configured a new high-performance database server:\n\t2xXeon 3.4G, 2G RAM, 4x15K SCSI disks in RAID 10, h/w RAID\n\nThis has been live for a couple of weeks.\n\nThe box is running Fedora Core 4.\n\nThe only thing running on this box is PostgreSQL 8.1.4 and some stub \napplicatio... |
[
{
"msg_contents": "Hello,\n\n\n\nI am getting following error while inserting a row into the \"abc\" table:\n\n*ERROR: fmgr_info: function 2720768: cache lookup failed*\n\n* *\n\nTable \"abc\" has one trigger called \"abct\"\n\nDefinition is as follows:\n\n\n\nBEGIN;\n\n LOCK TABLE abc IN SHARE ROW EXCLUSIVE... |
[
{
"msg_contents": "How to speed the following query? It seems to run forever.\n\nexplain SELECT\nbilkaib.DB,\nCASE WHEN dbkonto.objekt1='+' THEN bilkaib.DBOBJEKT ELSE '' END AS dbobjekt,\nCASE WHEN dbkonto.objekt2='+' THEN bilkaib.DB2OBJEKT ELSE '' END AS \ndb2objekt,\nCASE WHEN dbkonto.objekt3='+' THEN bilkaib... |
[
{
"msg_contents": "Hello,\n\n\nI see in the documentation that we can obtain the number of pages for a table with the view named pg_class.\n\nI would want if it is possible for each pages of a table to have the occupation of blocs in percentage in order to see if the page is good full or not.\n\nI don’t find a... |
[
{
"msg_contents": "Hi for all,\n \n Please,\n Normaly when some SGBD exec the algoritm Nest-Loop Join, there are diferences about the space(buffer) for outer table and inner table. So, I want know where Postgres define the number for this spaces (buffers)? And can I change it?\n \n This is very imp... |
[
{
"msg_contents": "\nHello,\n\nI´m have some problems with a temporary table, i need create a table, insert\nsome values, make a select and at end of transaction the table must droped,\nbut after i created a table there not more exist, is this normal ?\n\nHow to reproduce :\n\n\n\tCREATE TEMP TABLE cademp (\n\t... |
[
{
"msg_contents": "Here is a subtle question about SQL. I have a one-to-many pair of tables (call them \"P\" and \"C\" for parent and child). For each row of P, there are many rows in C with data, and I want to sort P on the min(c.data). The basic query is simple:\n\n select p_id, min(data) as m from c gro... |
[
{
"msg_contents": "Thank you for you quick answer i will try to see what i can do whith the file contrib/pgstattuple\n\nBest regards,\n\n> Message du 23/06/06 à 18h11\n> De : \"Tom Lane\" <tgl@sss.pgh.pa.us>\n> A : luchot@voila.fr\n> Copie à : pgsql-performance@postgresql.org\n> Objet : Re: [PERFORM] Occupation... |
[
{
"msg_contents": "Thank you for you quick answer i will try to see what i can do whith the file contrib/pgstattuple\n\nBest regards,\n\n\n> Message du 23/06/06 à 18h11\n> De : \"Tom Lane\" <tgl@sss.pgh.pa.us>\n> A : luchot@voila.fr\n> Copie à : pgsql-performance@postgresql.org\n> Objet : Re: [PERFORM] Occupati... |
[
{
"msg_contents": "\n> De : \"Tom Lane\" <tgl@sss.pgh.pa.us>\n> There is not any magic way of getting that information, but you could\n> modify contrib/pgstattuple to produce such a report.\n\nThank you for you speed answer , i will try to see what i can do in contrib/pgstattuple \n\nBest regards,\n\nLuc \n\n",... |
[
{
"msg_contents": "Hello all\n\nI have a big amount of phone calls data (280M records, 25 Gbytes).The best decision\nfor this task is partitioning and I use it now. But at first I tried put all\ndata in a single table indexed by call date&time. Because of nature of the\ndata the records clustered by date and ne... |
[
{
"msg_contents": "-- \nBest,\nGourish Singbal\n\n-- Best,Gourish Singbal",
"msg_date": "Tue, 27 Jun 2006 19:34:51 +0530",
"msg_from": "\"Gourish Singbal\" <gourish@gmail.com>",
"msg_from_op": true,
"msg_subject": "unregister"
}
] |
[
{
"msg_contents": "unregister\n\n\n\n\n\nunregister",
"msg_date": "Tue, 27 Jun 2006 13:46:56 -0300",
"msg_from": "=?iso-8859-1?Q?Leandro_Guimar=E3es_dos_Santos?= <lgsantos@contax.com.br>",
"msg_from_op": true,
"msg_subject": "unregister"
}
] |
[
{
"msg_contents": "I have SP, which has a cursor iterations. Need to call another SP for\nevery loop iteration of the cursor. The pseudo code is as follows..\n\nCreate proc1 as\nBegin\n\nVariable declrations...\n\ndeclare EffectiveDate_Cursor cursor for\nselect field1,fld2 from tab1,tab2 where tab1.effectivedat... |
[
{
"msg_contents": "Here is a question about SQL. I have a one-to-many pair of tables (call them \"P\" and \"C\" for parent and child). For each row of P, there are many rows in C with data, and I want to sort P on the min(c.data). The basic query is simple:\n\n select p_id, min(data) as m from c group by p_... |
[
{
"msg_contents": "Folks,\n\nJozsef is having trouble posting to the list, but he's receiving \nmessages fine. So reply to the list and not to me. Message follows:\n\n\n-------- Original Message -------\nThe original post:\n\nTitle: Update touches unrelated indexes!?\n\nHi Everyone,\n\nI hope someone can expl... |
[
{
"msg_contents": "Good Morning\n\nI am new to postgres and have been asked to look at a server where we \ntruncate a table then load data.\n\nThe CPU has started to hit 100% usage during this process.\n\nCan you please describe what steps I could take to investigate and solve \nthis issue?\n So far all I have ... |
[
{
"msg_contents": "I have a index question. My table has 800K rows and I a doing a basic \nquery on an indexed integer field which takes over 2 seconds to \ncomplete because it's ignoring the index for some reason. Any ideas \nas to why it's ignoring the index? I'm using postgres 8.0.2.\n\nSELECT count(*) FR... |
[
{
"msg_contents": "Hi,\n\nAlfter hours of adjusting performance of the queries in my Postgres\n7.3 database - reprogramming the queries, VACUUMing, changing value of\nenable_seqscan - I gived it up, recreated the database and transferred\nthe dump of the old database into it.\nThe queries went from 15 sec to 50... |
[
{
"msg_contents": "Hi Tom,\n\n>This surprises you why?\n\nI don't know anything about how PG stores keys along with their\nreferences to the actual rows but my assumption was that that reference\nis some sort of an index into a table that maps the reference to an\nactual disk/file address. So even if the row or... |
[
{
"msg_contents": "Is there any way to create a reverse index on string columns so that\nqueries of the form:\n\nwhere column like '%2345';\n\ncan use an index and perform as fast as searching with like '2345%'?\n\nIs the only way to create a reverse function and create an index using\nthe reverse function and ... |
[
{
"msg_contents": "I have a very slow query when enable_seqscan=on and very fast when\nenable_seqscan=off. My schema looks like this (relevant columns\nonly):\n\ncreate table organizations (\n\torganization_id serial primary key,\n\torganization varchar(200) not null,\n\torganization_location varchar(55) not nu... |
[
{
"msg_contents": "Do you really need to create one *DB* per client - that is, is one\nschema (in the same DB) per client out of the question? If not, I would\nlook into moving all reference tables (read-only data, constants and\nsuch) into a common schema (with read permission granted to each\nclient/role), th... |
[
{
"msg_contents": "> For my application there is very little info I can share. Maybe less\nthan 10 on 100 actually so I not sure it worth it ...\n\nOk, so 90% of the tables are being written to - this either means that\nyour application uses very little constants, or that it has access to\nconstans that are st... |
[
{
"msg_contents": "Hi all,\nI got this query, I'm having indexes for PropertyId and Dates columns across\nall the tables, but still it takes ages to get me the result. What indexes\nwould be proposed on this, or I'm helpless?\n\nFROM STG_Property a\n\n FULL OUTER JOIN\n STG_PropConfirmedLogs b\n ON (a.P... |
[
{
"msg_contents": "Hi,\n\nIf I run the query\n\nexplain analyze select * from ind_uni_100 where a=1 and b=1 and c=1\n\nI get the following plan:\n\nBitmap Heap Scan on ind_uni_100 (cost=942.50..1411.12 rows=125 width=104)\n(actual time=72.556..72.934 rows=116 loops=1)\n Recheck Cond: ((c = 1) AND (a = 1) AND (... |
[
{
"msg_contents": "Hello!\n\nI facing some strange problems with PostgreSQL 8.0 performance.\nI have application which handles a lot of tasks, each task is keps in separate\ntable. Those tables are dropped and created again periodically (precisely -\nwhen new task results came back from remote server). Also eac... |
[
{
"msg_contents": "We're in the process of porting from Informix 9.4 to PostgreSQL 8.1.3. \nOur PostgreSQL server is an AMD Opteron Dual Core 275 with two 2.2 Ghz \n64-bit processors. There are two internal drives and an external \nenclosure containing 14 drives (configured as 7 pairs of mirrored drives \n- fou... |
[
{
"msg_contents": "I am currently running FreeBSD 4.11 (due to IT requirements for now) and\nAdaptec's 2200S RAID controller running in RAID5. I was advised in the past\nthat the 2200S is actually a poor performing controller and obviously the\nRAID5 is less than ideal for databases. I chose to run the contro... |
[
{
"msg_contents": "Hello!\n\nI have a postgresql server serving thousands of tables. Sometime there are\nqueries which involves several tables.\n\nIn postgresql.conf I have these settings:\n\nshared_buffers = 40000\nwork_mem = 8192\nmaintenance_work_mem = 16384\nmax_stack_depth = 2048\n\nall other settings are ... |
[
{
"msg_contents": "with all these unsubscribe requests, we can only extrapolate that the\nserver has no serious performance issues left to solve. good work!\n:-)\n\nmerlin\n",
"msg_date": "Thu, 6 Jul 2006 13:53:42 -0400",
"msg_from": "\"Merlin Moncure\" <mmoncure@gmail.com>",
"msg_from_op": true,
... |
[
{
"msg_contents": "I have a problem with a query that in postgres 7.4 and 8.12 has an acceptable response time but in postgres 8.14 is very slow.\n \n \n This is the table I use:\n \n create table TEST (\n TESTID INT8 not null,\n TESTTYPE INT4 null,\n constraint P... |
[
{
"msg_contents": "I have a problem with a query that in postgres 7.4 and 8.12 has an acceptable response time but in postgres 8.14 is very slow.\n \nThis is the table I use:\n \n create table TEST (\n TESTID INT8 not null,\n TESTTYPE INT4 null,\n constraint PK_TESTID p... |
[
{
"msg_contents": "I'm using PostgreSQL 8.1.4 in a Hibernate Application and I am attempting to\nuse partitioning via Inherited tables. At first I was going to create a rule\nper sub-table based on a date range, but found out with multiple rules\npostgres will only return the affected-row count on the last rule... |
[
{
"msg_contents": "Hi, all.\n\ni'm trying to tune application which makes alots of queries\nwith semantics(find LONGEST PREFIX MATCH in a string) like:\n\nSELECT cost\nFROM tarif\nWHERE $1 LIKE prefix\nORDER BY length(prefix) DESC\nLIMIT 1\n\nfrom table like:\n\nCREATE TABLE tarif (\n id bigint NOT NULL,\n ... |
[
{
"msg_contents": "Adaptecs RAID controllers as all underwhelming.\n\nThe best commodity RAID controllers in terms of performance, size of available BBC, connectivity technologies (all of IDE, SCSI, SATA and FC are supported), etc are made by Areca.\n\nGet one of Areca's RAID controllers that hold up to 2 GB of... |
[
{
"msg_contents": "I've got a problem where Deletes on a certain table are taking very long (>5 \nsec) (PG 8.1.3, linux). Explain Analyze on the delete shows that two \n(automatically created) triggers caused by foreign keys are responsible for \n99% of the time.\n* The two tables are large (>1.5mm and >400k ro... |
[
{
"msg_contents": "Hi all!\n\nCan anyone explain to me what VACUUM does that REINDEX doesn't? We \nhave a frequently updated table on Postgres 7.4 on FC3 with about \n35000 rows which we VACUUM hourly and VACUUM FULL once per day. It \nseem like the table still slows to a crawl every few weeks. Running \na R... |
[
{
"msg_contents": "Hi,\n\nI am running PostgreSQL 7.3 on a Linux box (RHEL 2.1 - Xeon 2.8GHz\nwith 1GB of RAM) and seeing very high CPU usage (normally over 90%)\nwhen I am running the following queries, and the queries take a long\ntime to return; over an hour!\n\nCREATE TEMPORARY TABLE fttemp1600384653 AS SEL... |
[
{
"msg_contents": "There have been dozens, perhaps hundreds, of entries in the pg-admin, pg-general, and pg-performance lists regarding killing a session, but as far as I can tell, there is no Postgres solution. Did I miss something?\n\nThis raises the question: Why doesn't Postgres have a \"kill session\" com... |
[
{
"msg_contents": "Best regards,\r\nJamal\n\n",
"msg_date": "Tue, 11 Jul 2006 22:18:19 +0200",
"msg_from": "\"Jghaffou\" <Jamal.Ghaffour@elios-informatique.fr>",
"msg_from_op": true,
"msg_subject": "=?iso-8859-1?Q?Unsubscribe?="
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.