threads listlengths 1 275 |
|---|
[
{
"msg_contents": "Any of you chaps used this controller?\n\n\n\n ___________________________________________________________ \nRise to the challenge for Sport Relief with Yahoo! For Good \n\nhttp://uk.promotions.yahoo.com/forgood/\n\n",
"msg_date": "Fri, 14 Mar 2008 17:20:29 +0000 (GMT)",
"msg_fr... |
[
{
"msg_contents": "It often happens that a particular pieces of information is non-null for a\nsmall minority of cases. A superficially different manifestation of this is\nwhen two pieces of information are identical in all but a small minority of\ncases. This can be easily mapped to the previous description ... |
[
{
"msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\r\nHash: SHA1\r\n\r\nOn Fri, 14 Mar 2008 17:00:21 -0800\r\nVinubalaji Gopal <vgopal@abaca.com> wrote:\r\n\r\n> Hi all,\r\n> I have been searching for the best way to run maintenance scripts\r\n> which does a vacuum, analyze and deletes some old data. Whene... |
[
{
"msg_contents": "I am going to embarkon building a music library using apache,\npostgresql and php. What is the best way to store the music files?\nWhich file type should I use?\n",
"msg_date": "Sun, 16 Mar 2008 02:11:48 -0400",
"msg_from": "Rich <rhdyes@gmail.com>",
"msg_from_op": true,
"msg... |
[
{
"msg_contents": "Log Message:\n-----------\nFix TransactionIdIsCurrentTransactionId() to use binary search instead of\nlinear search when checking child-transaction XIDs. This makes for an\nimportant speedup in transactions that have large numbers of children,\nas in a recent example from Craig Ringer. We c... |
[
{
"msg_contents": "hi all,\nI want this mail to be continued about summary of performance tuning\ntools... or other postgres related tools..\n\nI ll start with saying there is a tool SCHEMASPY ( i got to know about this\nfrom this group only ), this will draw ER diagram and gives interesting\ninformations about... |
[
{
"msg_contents": "A number of weeks ago, I had posted a request for help regarding join\nestimates in pg 8.2.6. In moderately complex to very complex ad hoc queries\nin our system, we were consistently having the system massively\nunderestimate the number of rows coming out of join at a low level making\nthes... |
[
{
"msg_contents": "Hi folks,\n\nWe are running Postgres 8.2.5.\n\nI have 3 tables, call them A, B, and C\n\n \n\nTable A houses info on all emails that have ever been created for the\npurpose of being delivered to our end customers.\n\nBig table. About 23 million rows.\n\n Table B, the 'holding' table is popu... |
[
{
"msg_contents": "I have a big PG server dedicated to serve only SELECT queries.\nThe database is updated permanently using Slony.\n\nThe server has 8 Xeon cores running at 3Ghz, 24GB or RAM and the\nfollowing disk arrays:\n- one RAID1 serving the OS and the pg_xlog\n- one RAID5 serving the database and the ta... |
[
{
"msg_contents": "I posted this question to the admin group. I just realized that I\nshould have sent it here.\n\n \n\nI just read the following article:\n\n \n\nhttp://people.planetpostgresql.org/mha/index.php?/archives/162-PostgreSQ\nL-vs-64-bit-windows.html\n\n \n\nWould there be benefits in running Postgr... |
[
{
"msg_contents": "I just found out that my company is planning on migrating my databases from\nour current ISCSI storage solution to NetApps connected via NFS. I knew\nabout the NetApp migration, but always assumed (and shame on me) that I\nwould have direct attachments to the servers.\n\nWell, I am very unco... |
[
{
"msg_contents": "Hi All,\n\nI want some clarification in the following,\n\nIn a database which we are having we have nearly 100 tables, and in 75% of\nthe tables we have 6 columns ( INT ) as standard columns. What is standard\ncolumns, if you create a table in this database you should have some default\n6 col... |
[
{
"msg_contents": "Hi all,\nmaybe it�s a naive question but I was wondering if there is any \ndifference, from a performance point of view, between a view and a \nfunction performing the same task, something like:\n\nCREATE VIEW foo AS �;\nCREATE FUNCTION getfoo(int) RETURNS SETOF foo AS $$\n\tSELECT * FROM f... |
[
{
"msg_contents": "Look like the mysql people found a subquery that postgresql doesn't \nhandle as good as possible:\n\n http://s.petrunia.net/blog/\n\nIs there some deeper issue here that I fail to see or is it simply that \nit hasn't been implemented but is fairly straigt forward? In the link \nabove they d... |
[
{
"msg_contents": "Hi,\n\nI'm uning postgres 8.1 at P4 2.8GHz with 2GB RAM.\n(web server + database on the same server)\n\nPlease, how long takes your connectiong to postgres?\n\n$starttimer=time()+microtime();\n\n$dbconn = pg_connect(\"host=localhost port=5432 dbname=xxx user=xxx password=xxx\") \n or die(\... |
[
{
"msg_contents": ">\n> It takes more then 0.05s :(\n>\n> Only this function reduce server speed max to 20request per second.\n\nFirst, benchmarking using only PHP is not very accurate, you're probably\nalso measuring some work that PHP needs to do just to get started in the\nfirst place.\n\nSecond, this 20r/s ... |
[
{
"msg_contents": "Hi friends,\n\nI am using postgresql 8.1, I have shared_buffers = 50000, now i execute the\nquery, it takes 18 seconds to do sequential scan, when i reduced to 5000, it\ntakes one 10 seconds, Why.\n\nCan anyone explain what is the reason, ( any other configuration is needed\nin postgresql.con... |
[
{
"msg_contents": "\n\tHello,\n\tI am using Postgres with PHP and persistent connections.\n\tFor simple queries, parsing & preparing time is often longer than actual \nquery execution time...\n\n\tI would like to execute a bunch of PREPARE statements to prepare my most \noften used small queries on connection... |
[
{
"msg_contents": "i am using postgresql 8.1.8,\n\nFollowing configurations:\n shared_buffers = 5000\n work_mem = 65536\n maintenance_work_mem = 65536\n effective_cache_size = 16000\n random_page_cost = 0.1\n\nThe cpu is waiting percentage goes upto 50%, and... |
[
{
"msg_contents": "The owners of the animal hospital where I work at want to consider live/hot\nbackups through out the day so we're less likely to lose a whole\nday of transaction. We use Postgresql 8.0.15. We do 3AM\nbackups, using pg_dumpall, to a file when there is very little activity.\n\nThe hospital enj... |
[
{
"msg_contents": "Dear Friends,\n I have a table with 32 lakh record in it. Table size is nearly 700 MB,\nand my machine had a 1 GB + 256 MB RAM, i had created the table space in\nRAM, and then created this table in this RAM.\n\n So now everything is in RAM, if i do a count(*) on this table it returns\n... |
[
{
"msg_contents": "Ok, finally am changing my question.\n\n\nDo get quick response from postgresql what is the maximum number of records\ni can have in a table in postgresql 8.1 ???\n\nOk, finally am changing my question.Do get quick response from postgresql what is the maximum number of records i can have in a... |
[
{
"msg_contents": "Hello,\n\nwe have several indexes such as:\n\ncreate index foo1 on bla (a);\ncreate index foo2 on bla (b);\ncreate index foo3 on bla (a,b);\n\nThey are all used often by frequently used queries (according to \npg_statio_user_indexes), but we need somewhat higher INSERT/UPDATE \nperformance (h... |
[
{
"msg_contents": "Dear Sirs,\n \n I am doing this project of optimizing pg-sql query engine with compressed annealing. I would like to know if any deficiency in existing GEQO. If there are any TODO items remaining in GEQO kindly brief about the same. Awaiting discussions on this.\n \n GN\n\n \n----... |
[
{
"msg_contents": "I'm not a DBA....but I play one at my office.\nI also have a hand in system administration, development and stairwell\nsweeping.\nSmall shop...many hats per person.\n\nWe have a postgresql (v8.2.X) database with about 75 gigabytes of\ndata.....almost half of it is represented by audit tables ... |
[
{
"msg_contents": "On Wed, 26 Mar 2008 12:49:56 -0800\nVinubalaji Gopal <vgopal@abaca.com> wrote:\n\n> The big table has never been reindexed and has a primary, unique key\n> with btree index and one foreign key constraint.\n\nThe slowness is likely attributed to Vacuum's use of I/O. When vacuum\nis running wha... |
[
{
"msg_contents": "Hi\n\nI have a table with around 10 million entries The webpage rendered hits\nat most 200 records which are distributed well in the 10m with an average\nof 2 \"references\" pr. entry.\n\nIs there anyway to speed this query more up than allready. .. yes running\nit subsequenctly it is blazin... |
[
{
"msg_contents": "I have a query which is\n\nprepare s_18 as select uid from user_profile where name like \n$1::varchar and isactive=$2 order by name asc limit 250;\n\nexplain analyze execute s_18 ('atxchery%','t');\n QUERY \n PLAN\n-----... |
[
{
"msg_contents": "Hello,\n\nI need to install a new server for postgresql 8.3. It will run two \ndatabases, web server and some background programs. We already have a \nserver but it is becoming slow and we would like to have something that \nis faster. It is a cost sensitive application, and I would like to g... |
[
{
"msg_contents": "Hello,\n\nI'm sorry if this has been discussed before, I couldn't find a discussion about \nthis problem.\n\nI've done the same query on a 8.2.5 database. The first one is prepared first \nand the other is executed directly.\n\nI understand why the there is such a great difference between the... |
[
{
"msg_contents": "Hi! I've got the following statement:\n\nSELECT DISTINCT sub.os,\n COUNT(sub.os) as total\nFROM (\n SELECT split_part(system.name, ' ', 1) as os\n FROM system, attacks\n WHERE 1 = 1\n AND timestamp >= 1205708400\n AND timesta... |
[
{
"msg_contents": "(Declaration of interest: I'm researching for a publication\non OLTP system design)\n\nI have a question about file writes, particularly on POSIX.\nThis arose while considering the extent to which cache memory\nand command queueing on disk\ndrives can help improve performance.\n\nIs it correc... |
[
{
"msg_contents": "Hello,\n\nI have a typical many to many join table, in this instance it is\ncapturing the multiplicity described as \"one person can have many\nrooms and one room can have many persons\". Further the join expresses\nwhere in the room the person is sitting, a seat number. I am creating\na fu... |
[
{
"msg_contents": "Hi Martin, please CC the mailing-list, \nthen others can repply ;)\n\nCédric Villemain (13:59 2008-03-31):\n> Le Monday 31 March 2008, Martin Kjeldsen a écrit :\n> > I've done the same query on a 8.2.5 database. The first one is prepared\n> > first and the other is executed directly.\n> >\n> ... |
[
{
"msg_contents": "Hi there,\n\nI have an application accessing a postgres database, and I need to estimate \nthe following parameters:\n\n- read / write ratio\n- reads/second on typical load / peak load\n- writes/second on typical load / peak load\n\nIs there any available tool to achieve that ?\n\nTIA,\nSabin... |
[
{
"msg_contents": "Hi,\n\nthe following statement retrieves 16358 rows in a cursor by fetching\n1024 rows in bulks on a 8.2.4 server:\n\nDECLARE curs_285058224 CURSOR FOR SELECT objid, attrid, aggrid, lineid,\nobjval FROM atobjval WHERE objid IN\n(281479288456304,281479288456359,281479288456360,281479288456384,... |
[
{
"msg_contents": "Hi everyone,\n\nI am running a test with 1 thread calling a stored\nprocedure in an endless loop. The stored procedure\ninserts 1000 records in a table that does not have\nindexes or constraints.\nIn the log file I see that the time to execute the\nprocedure sometimes it jumps from 100 ms to ... |
[
{
"msg_contents": "Hi\nIam getting the below error when iam running my program.\nERROR: cannot have more than 2^32-1 commands in a transaction\nSQL state: 54000\nIf iam not wrong this error ocuurs when there are too many statements executing\nin one single transaction.\nBut this error is occuring in a function ... |
[
{
"msg_contents": "Tried harder to find info on the write cycles: found som CFs that claim \n2million\ncycles, and found the Mtron SSDs which claim to have very advanced wear\nlevelling and a suitably long lifetime as a result even with an \nassumption that\nthe underlying flash can do 100k writes only.\n\nThe ... |
[
{
"msg_contents": "Hi All,\n\nWe are using solaris 10 x86/AMD Opteron and postgresql\n8.2 on SunFire X2100 , however performance is very\nslow in contrast to linux debian in the same platform.\nIs this normal?\n\nThanks & Regards\nMahi\n\n\n _________________________________________________________________... |
[
{
"msg_contents": "Scott Marlowe wrote:\n> On Thu, Apr 3, 2008 at 4:10 AM, sathiya psql <sathiya.psql@gmail.com> wrote:\n> \n>> There is NO MAX....\n>>\n>> It is according to your hardware you have, and the db you have.\n>> \n>\n> Not entirely true. on 32 bit OS / software, the limit is just under 2\n> G... |
[
{
"msg_contents": "I'm trying to fine tune this query to return in a reasonable amount of time\nand am having difficulties getting the query to run the way I'd like. I\nhave a couple of semi-related entities that are stored in individual tables,\nsay, A and B. There is then a view created that pulls together ... |
[
{
"msg_contents": "just wondering if there's a special tweak i can do to force more usage\nof indexes to do BITMAP ands?\n\nI have a table like\n\nA int\nB int\nC int\nD int\nE int\nF int\ng int\n\nwhere A/B/C/D/E are indexes\n\nThere's ~20millions rows in the table.\n\nQuery are something like this.\n\nselect ... |
[
{
"msg_contents": "Hi List;\n\nI'm having some performance issues with a partitioned table. We have a \nVERY large table that we've partitioned by day.\n\nCurrently we have 17 partitions - each partition table contains > \n700million rows.\nOne of the things we need to query is the min date from the master \... |
[
{
"msg_contents": "Hi List;\n\nSorry if this is a dupe, my first post never showed up...\n\nI'm having some performance issues with a partitioned table. We have a \nVERY large table that we've partitioned by day.\n\nCurrently we have 17 partitions - each partition table contains > \n700million rows.\nOne of t... |
[
{
"msg_contents": "just wondering if there's a special tweak i can do to force more usage\nof indexes to do BITMAP ands?\n\nI have a table like\n\nA int\nB int\nC int\nD int\nE int\nF int\ng int\n\nwhere A/B/C/D/E are indexes\n\nThere's ~20millions rows in the table.\n\nQuery are something like this.\n\nselect ... |
[
{
"msg_contents": "We have a PostgreSQL 8.2.7 database (~230 GB) running on a machine with 8 Intel Xeon Cores and 32 GB RAM (64-bit Linux 2.6.18). Data is stored on an EMC² CLARiiON on RAID 1/0 (8 x 146 GB 15k rpm). \nWhen we do random I/O with a small test tool (reading random 8k blocks from big files in 200 t... |
[
{
"msg_contents": "Hi folks,\n\nHere is the executive summary:\n * RHEL5 (postgresql 8.1, .conf tweaked for performance [1])\n * 2x Intel E5410 @ 2.33GHz (8 cores), 8GB RAM, 15KRPM SAS disks\n * 4.9 million records in a table (IP address info)\n * composite primary key: primary key(ipFrom, ipTo)\n * ipFrom... |
[
{
"msg_contents": "Hi. I am looking for information about using table partitions in Postgres,\nin particular w.r.t. performance when querying a partitioned table.\n\nI implemented table partitioning following the documentation, which\nis quite good and easy to follow (Chapter 5.9). I am doing some\ntesting, s... |
[
{
"msg_contents": "Hi\nI have written a program that imputes(or rather corrects data) with in\nmy database.\nIam using a temporary table where in i put data from other partitoined\ntable. I then query this table to get the desired data.But the thing\nis this temporary table has to be craeted for every record th... |
[
{
"msg_contents": "The http://www.1-800-save-a-pet.com site is hosted with FreeBSD and\nPostgreSQL and as a geo-spatial search as a central feature.\n\nOne thing that made a substantial performance improvement was switching\nfrom the \"geo_distance()\" search in the earthdistance contrib, to use\nthe \"cube\" b... |
[
{
"msg_contents": "\nWhen traffic to our PostgreSQL-backed website spikes, the first resource\nwe see being exhausted is the DB slots on the master server (currently\nset to about 400).\n\nI expect that as new Apache/mod_perl children are being put to us, they\nare creating new database connections.\n\nI'm inte... |
[
{
"msg_contents": "Hi,\n\nI have a performance problem with a script that does massive bulk\ninsert in 6 tables. When the script starts the performance is really\ngood but will degrade minute after minute and take almost a day to\nfinish!\n\nI almost tried everything suggested on this list, changed our external... |
[
{
"msg_contents": "\nHi all,\n\nI need to do a bulk data loading around 704GB (log file size) at present in 8 hrs (1 am - 9am). The data file size may increase 3 to 5 times in future.\n\nUsing COPY it takes 96 hrs to finish the task.\nWhat is the best way to do it ?\n\nHARDWARE: SUN THUMPER/ RAID10\nOS : SOLAR... |
[
{
"msg_contents": "Hello everyone!!\n\nI have a table with 17 columns and it has almost\n530000 records and doing just a \n\nSELECT * FROM table\n\nwith the EXPLAIN ANALYZE I get:\n\nSeq Scan on table (cost=0.00...19452.95 rows=529395\nwidth=170) (actual time=0.155...2194.294 rows=529395\nloops=1)\ntotal runtim... |
[
{
"msg_contents": ">> SELECT \n>> (a.column1)::date, MIN(b.column2) - a.column2\n>> FROM \n>> table a\n>> inner join table b \n>> on ((a.column1)::date = (b.column1)::date amd\n>> b.column3 = 'b' and (b.column1)::time without time\n>> zone >= (a.column1)::time without time zone)\n>> WHERE \n... |
[
{
"msg_contents": ">> With all that casting, is it possible that appropriate indexes aren't\n>> being used because your WHERE / ON clauses aren't an exact type match\n>> for the index?\n> \n> You mean to put an index on date with timestamptz datatype column?...\n\n> Er ... I'm not quite sure what you mean. Do y... |
[
{
"msg_contents": "Hi, I've started my first project with Postgres (after several years of \nusing Mysql), and I'm having an odd performance problem that I was \nhoping someone might be able to explain the cause of.\n\n----My query----\n - select count(*) from gene_prediction_view where gene_ref = 523\n -... |
[
{
"msg_contents": "I'm hitting an unexpected problem with postgres 8.3 - I have some\ntables which use varchar(32) for their unique IDs which I'm attempting\nto join using some simple SQL:\n\nselect *\nfrom group_access, groups\nwhere group_access.groupid = groups.groupid and\n group_access.uid = '72753... |
[
{
"msg_contents": "Hi all,\nspecifing as shared_buffers = 26800 in 8.2.x will this value accepted like\nin the 8.1.x series and then 26800*8192 bytes = 209 MB or 26800 bytes\n(not being specified the memory unit)?\n\nRegards\nGaetano Mendola\n",
"msg_date": "Thu, 10 Apr 2008 14:39:28 +0200",
"msg_from"... |
[
{
"msg_contents": "Hello,\n\nI am creating a large database of MD5 hash values. I am a relative\nnewb with PostgreSQL (or any database for that matter). The schema and\noperation will be quite simple -- only a few tables, probably no\nstored procedures -- but I may easily end up with several hundred\nmillion ro... |
[
{
"msg_contents": "This refers to the performance problem reported in\r\nhttp://archives.postgresql.org/pgsql-performance/2008-04/msg00052.php\r\n\r\nAfter some time of trial and error we found that changing the I/O scheduling\r\nalgorithm to \"deadline\" improved I/O performance by a factor 4 (!) for\r\nthis s... |
[
{
"msg_contents": "> Well if you're caching per-connection then it doesn't really matter \n> whether\n> you do it on the client side or the server side, it's pretty much \n> exactly the\n> same problem.\n\n\tActually I thought about doing it on the server since it would then also \nwork with connection pooli... |
[
{
"msg_contents": "Hi\n\nWe currently have a 16CPU 32GB box running postgres 8.2.\n\nWhen I do a pg_dump with the following parameters \"/usr/bin/pg_dump -E \nUTF8 -F c -b\" I get a file of 14GB in size.\n\nBut the database is 110GB in size on the disk. Why the big difference \nin size? Does this have anythin... |
[
{
"msg_contents": "Hi all,\nI started to do some performance tests (using pgbench) in order to\nestimate the DRBD impact on our servers, my plan was to perform some\nbenchmarks without DRBD in order to compare the same benchmark with\nDRBD.\nI didn't perform yet the benchmark with DRBD and I'm already facing\ns... |
[
{
"msg_contents": "Hi everyone,\n\nI have some serious performance problems on a database where some \nqueries take up to 100 (or even more) times longer occasionally. The \ndatabase itself consists of one bigger table (around 3.5GB in size and \naround 2 mio rows, 4-5 additional indexes) and some really sma... |
[
{
"msg_contents": "In 8.3.0, I'm seeing some oddities with SQL functions which I thought were\nimmune to the planner data restrictions of plpgsql functions and the sort.\n Basically I have a query which executes in 5ms but when wrapped in a SQL\nfunction, takes 500ms. I've checked all the types passed in to ma... |
[
{
"msg_contents": "Hi,\n\nto save some people a headache or two: I believe we just solved our \nperformance problem in the following scenario:\n\n- Linux 2.6.24.4\n- lots of RAM (32GB)\n- enough CPU power (4 cores)\n- disks with relatively slow random writes (SATA RAID-5 / 7 disks, 128K \nstripe, ext2)\n\nOur d... |
[
{
"msg_contents": "Thinking about buying the Powervault MD3000 SAS array with 15 15k\n300GB disks for use as a postgres tablespace. Is anyone using these\n(or other LSI/Engenio rebadge jobs?). I'm interested in hearing about\nperformance of the array, and problems (if any) with Dell's SAS HBA\nthat comes bund... |
[
{
"msg_contents": "Hi....\nIam finding the following query is working a bit slow:\nEXECUTE '(SELECT ARRAY(SELECT DISTINCT date_part(''day'', measurement_start)\nFROM ' || gettablestring(dates)|| '\nWHERE lane_id IN (' || lanesidarr || ')))'\nINTO temparr;\n\nThis function is trying to find all the days in a prt... |
[
{
"msg_contents": "This week I've finished building and installing OSes on some new hardware \nat home. I have a pretty standard validation routine I go through to make \nsure PostgreSQL performance is good on any new system I work with. Found \na really strange behavior this time around that seems related to... |
[
{
"msg_contents": "Hi there,\n\nI have a table which looks similar to:\n\nCREATE TABLE accounting\n(\n id text NOT NULL,\n time timestamp with time zone,\n data1 int,\n data2 int,\n data3 int,\n data4 int,\n data5 int,\n data6 int,\n data7 int,\n data8 int,\n state int\n CONSTRAINT accounting_pkey P... |
[
{
"msg_contents": "Hi,\n\nI need to change the name of the constraint.,\n\nWhat will be the best way to do this.\n\nAm using postgres 8.1.\n\nIs it possible to do the rename constraint( like renaming a column), i don't\nknow how to do this ?\n\nOr i need to drop the constraint, and i need to create constraint w... |
[
{
"msg_contents": "Hi List;\n\nI have a large tble (playback_device) with 6million rows in it. The \naff_id_tmp1 table has 600,000 rows.\n\nI also have this query:\nselect distinct\ntmp1.affiliate_id,\ntmp1.name,\ntmp1.description,\ntmp1.create_dt,\ntmp1.playback_device_id,\npf.segment_id\nfrom\naff_id_tmp1 tm... |
[
{
"msg_contents": "I am trying to get a distinct set of rows from 2 tables.\nAfter looking at someone else's query I noticed they were doing a group by \nto obtain the unique list.\n\nAfter comparing on multiple machines with several tables, it seems using \ngroup by to obtain a distinct list is substantially f... |
[
{
"msg_contents": "This autovacuum has been hammering my server with purely random i/o\nfor half a week. The table is only 20GB and the i/o subsystem is good\nfor 250MB/s sequential and a solid 5kiops. When should I expect it to\nend (if ever)?\n\ncurrent_query: VACUUM reuters.value\nquery_start: 2008-04-15 2... |
[
{
"msg_contents": "\nHi.\n\nI have this \"message queue\" table.. currently with 8m+ records. Picking \nthe top priority messages seem to take quite long.. it is just a matter \nof searching the index.. (just as explain analyze tells me it does).\n\nCan anyone digest further optimizations out of this output? (A... |
[
{
"msg_contents": "Has there ever been any analysis regarding the redundant write overhead \nof full page writes?\n\nI'm wondering if once could regard an 8k page as being 64 off 128 byte \nparagraphs or\n32 off 256byte paragraphs, each represented by a bit in a word. And, \nwhen a pageis dirtied\nby changes s... |
[
{
"msg_contents": "Hi All!\n\nWe have a database running smoothly for months. 2 days ago I get this \nerror message. I tried a restore, a full restore (deleting the old \ndatabase and recovering from backup all the information) but we are \ngetting this error every time.\n\nIn this case I got this error when I ... |
[
{
"msg_contents": "Hi\n\n# ps -ef | grep idle | wc -l\n87\n# ps -ef | grep SELECT | wc -l\n5\n\n\nI have 2 web servers which connect to PGPool which connects to our \npostgres db. I have noticed that idle connections seem to take up CPU \nand RAM (according to top). Could this in any way cause things to slow ... |
[
{
"msg_contents": "Hi,\n\nI'm having trouble understanding the cost of the Materialize \noperator. Consider the following plan:\n\nNested Loop (cost=2783.91..33217.37 rows=78634 width=44) (actual \ntime=77.164..2478.973 rows=309 loops=1)\n Join Filter: ((rank2.pre <= rank5.pre) AND (rank5.pre <= \n... |
[
{
"msg_contents": "Hi,\n\nI'm running into an performance problem where a Postgres db is running\nat 99% CPU (4 cores) with about 500 concurrent connection doing various\nqueries from a web application. This problem started about a week ago,\nand has been steadily going downhill. I have been tweaking the config... |
[
{
"msg_contents": "Hello, i have a postgresql server running and from time to time it gets\npainfully slow. When this happens i usually connect to the server and\nrun a \"top\" command, the output i get is filled with lines like the\nfollowing\n\n71872 pgsql 1 4 0 48552K 42836K sbwait 1:41 4.... |
[
{
"msg_contents": "Hi all,\n\nI´m running a copy for a 37G CSV and receiving the following error:\n\n\"invalid string enlargement request size 65536\"\n\nThe file has about 70 million lines with 101 columns, all them varchar.\n\nWhen I run the command with the whole file i receive the error after loading\nabout... |
[
{
"msg_contents": "Hi All,\n\nThis query is being executed nearly a million times....\n SELECT 'DBD::Pg ping test'\n\nWhy this is being executed ? What is the use ?\n\nAm sure that this query is not executed explicitly.\n\nam using postgres 8.1\n\nAny idea ?\n\nHi All,This query is being executed near... |
[
{
"msg_contents": "I cannot understand why the following two queries differ so much in execution time (almost ten times)\n\nQuery A (two queries)\n\nselect distinct moment.mid from moment,timecard where parent = 45 and (pid=17 and timecard.mid = moment.mid) order by moment.mid;\nselect distinct moment.mid from ... |
[
{
"msg_contents": "On Wed, 23 Apr 2008, Justin wrote:\n\n> http://www.eweek.com/c/a/Database/CEO-Calls-MySQLs-the-Ferrari-of-Databases/\n\nI can see that, the engines from both companies make similar speed versus \nreliability trade-offs: http://www.f1technical.net/news/8507\n\n--\n* Greg Smith gsmith@gregsmith... |
[
{
"msg_contents": "I found strange issue in very simple query. Statistics for all columns\nis on the level 1000 but I also tried other levels.\n\ncreate table g (\n id bigint primary key,\n isgroup boolean not null);\n\ncreate table a (\n groupid bigint references g(id),\n id bigint,\n unique(id, groupid))... |
[
{
"msg_contents": "I've tried to communicate to the list admin address about this, so far\r\nwithout any reaction.\r\nSorry to waste bandwith here, but I don't know where else to turn:\r\n\r\nWhenever I post to the -performance list, I get spammed by a\r\nchallenge-response bot from [postmaster@infotecnica.com.... |
[
{
"msg_contents": "I have a question about index us and IO and am seeking advice.\n\nWe are running postgres 8.2. We have two big big tables. Our ~600,000,000\nrow table is changed very infrequently and is on a 12 disk software raid-6\nfor historical reasons using an LSI Logic / Symbios Logic SAS1068 PCI-X\n... |
[
{
"msg_contents": "Any idea why it wouldn't choose the right index ?\n\nThis is 8.3\n\n> # \\d battles\n> Table \"public.battles\"\n> Column | Type |\n> Modifiers\n> ---------------------+----------------------------- \n> +------------... |
[
{
"msg_contents": "Hi All,\n\nI´d like to know what´s the best practice to LOAD a 70 milion rows, 101\ncolumns table\nfrom ORACLE to PGSQL.\n\nThe current approach is to dump the data in CSV and than COPY it to\nPostgresql.\n\nAnyone has a better idea.\n\n\nRegards\nAdonias Malosso\n\nHi All,I´d like to know wh... |
[
{
"msg_contents": "But do we link oracle trigger to postgres trigger ?\n i mean :\n oracle trigger will take a note of what has been changed .\n but then how do we pass those changes to postgres trigger ?\n can u suggest any logic or algorithm ?\n Regards, \n Srikanth k Potluri \n +63 9177444783(philippines) \n... |
[
{
"msg_contents": "I run on PostgreSQL 8.3, default settings (also tried to change \nrandom_page_cost close to 1).\nWhat need I change to make the second query run as fast as the first? \nSet enable_hashjoin to off solves this problem, but it's not the way I \ncan use.\nStatistics for all columns is on the leve... |
[
{
"msg_contents": "All,\n\nWe have a table \"table1\" which get insert and updates daily in high numbers,\nbcoz of which its size is increasing and we have to vacuum it every\nalternate day. Vacuuming \"table1\" take almost 30min and during that time the\nsite is down.\n\nWe need to cut down on this downtime.So... |
[
{
"msg_contents": "So, it is time to improve performance, it is running to slow.\nAFAIK (as a novice) there are a few general areas:\n\n1) hardware\n2) rewriting my queries and table structures\n3) using more predefined queries\n4) tweek parameters in the db conf files\n\nOf these points:\n1) is nothing I can d... |
[
{
"msg_contents": "I have complete the benchmarks I have made with Postgres and I have talk about\nsome weeks ago on postgres performance mailing list (see post shared_buffers).\n\nOn the follow link you can find a doc that contains the graphs generated.\n\nhttp://www.mediafire.com/?lk4woomsxlc\n\n\n\nRegards\n... |
[
{
"msg_contents": "Hi all:\n\nWe are loading in a number (100+) of sql files that are about 100M in\nsize. It takes about three hours to load the file. There is very\nlittle load on the database other than the copy from operations.\n\nWe are running postgresql-8.1.3 under Centos 4 on a RAID 1/0 array\nwith 4 d... |
[
{
"msg_contents": "Hello,\n\n\nExecutive summary :\n\nLast year I wrote a database benchmark which simulates a forum.\nIt works on Postgres and MySQL.\nIt could be useful.\nI have no time to touch this, so it is rotting on my harddrive.\n\nWho wants to adopt it ? I will put it on pgfoundry.\nI can spend a few h... |
[
{
"msg_contents": "I recall reading posts in the past where one could query the stat tables and \nsee how well autovacuum was performing. Not finding the posts.\n\n\nI found this query:\nSELECT relname, relkind, reltuples, relpages FROM pg_class where relkind = \n'r';\n\n From the output how can I tell the numb... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.