threads listlengths 1 275 |
|---|
[
{
"msg_contents": "\nI have a table which has e.g.\n\nCREATE TABLE portstats\n(\n id serial,\n logtime TIMESTAMP,\n cluster VARCHAR(40),\n element VARCHAR(40),\n port INT,\n rxOctets BIGINT,\n txOctets BIGINT\n);\n\nwhich is used for logging statistics from network equip... |
[
{
"msg_contents": "This is a follow-up to an old thread of mine, but I can't find it now \nso I'll just re-summarize.\n\nI have a ~1 million row table that I mostly want to query by date \nrange. The rows are pretty uniformly spread over a 3 year date range. \nI have an index on the date column, but it wasn't... |
[
{
"msg_contents": "I'm trying to join two tables on an inet column, where one of the\ncolumns may contain a subnet rather than a single host. Somehow the\noperation isn't completing quite fast enough, even though neither table\nis very large:\n\n table | rows\n--------------------+--------\n clien... |
[
{
"msg_contents": "EXPLAIN\nINSERT INTO public.historical_price ( security_serial_id, [7 fields of proprietary data])\nSELECT public.security_series.security_serial_id, [7 fields of data],\nFROM obsolete.datadb_fix INNER JOIN (obsolete.calcdb INNER JOIN public.security_series ON obsolete.calcdb.serial=public.se... |
[
{
"msg_contents": "\nA 7.3.4 question...\n\nI want to \"expire\" some data after 90 days, but not delete too\nmuch at once so as not to overwhelm a system with precariously\nbalanced disk I/O and on a table with millions of rows. If I \ncould say it the way I think for a simple example, it'd be\nlike this:\n\n... |
[
{
"msg_contents": "I have a query that I think should run faster. The machine is P2/400 \nwith enough ram (384MB), but still, maybe the query could be tuned up.\npostgresql.conf is stock with these values changed:\n\nfsync=false\nshared_buffers = 5000\nsort_mem = 8192\nvacuum_mem = 16384\n\nThis is a developmen... |
[
{
"msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nI've written a summary of my findings on implementing and using \nmaterialized views in PostgreSQL. I've already deployed eagerly updating \nmaterialized views on several views in a production environment for a \ncompany called RedWeek: http:/... |
[
{
"msg_contents": "",
"msg_date": "Tue, 24 Feb 2004 22:10:16 -0700",
"msg_from": "Robert Creager <Robert_Creager@LogicalChaos.org>",
"msg_from_op": true,
"msg_subject": "Speed up a function?CREATE TABLE readings ( \"when\" \n\tTIMESTAMP DEFAULT timeofday()::timestamp NOT\n\tNULL P... |
[
{
"msg_contents": "can anyone tell me what the best way to compile postgresql 7.4.1 on \nSolaris 9 (UltraSparcIII) is? I have latest gmake and gcc installed. I \nwas going to use CFLAGS=\"-O2 -fast -mcpu=ultrasparc\" based on snippets \nI've read about the place. Would using -O3 be an improvement?\n\nthanks\n"... |
[
{
"msg_contents": "Hi everybody,\n\ni'd like to know if it exists a system of cache for the results of\nqueries.\n\nWhat i'd like to do :\n\nselect whatever_things from (selection_in_cache) where special_conditions;\n\nThe interesting thing would be to have a precalculated\nselection_in_cache, especially when s... |
[
{
"msg_contents": "Hi,\n\nWe have postgres running on freebsd 4.9 with 2 Gigs of memory. As per\nrepeated advice on the mailing lists we configured effective_cache_size\n= 25520 which you get by doing `sysctl -n vfs.hibufspace` / 8192\n\nWhich results in using 200Megs for disk caching. \n\nIs there a reason not... |
[
{
"msg_contents": "I sent this to the admin list the other day and got no responses. Maybe this\nlist can give me some pointers.\n\nHello\n\n\tI am working on installing and configuring a Postgres database\nserver. I am running Redhat Enterprise ES 3.0 and Redhat Database 3.0.\n\"Postgres version 7.3.4-11\". Th... |
[
{
"msg_contents": "Hi,\n\nwhat is the most performant way to select for example the first 99 rows of a table and insert them into another table...\n\nat the moment i do this:\n\nfor userrecord in select * from table where account_id = a_account_id and counter_id = userrecord.counter_id and visitortable_id betwe... |
[
{
"msg_contents": "Hi,\n\nThere alot here, so skip to the middle from my WAL settings if you like.\n\nI'm currently investigating the performance on a large database which \nconsumes email designated as SPAM for the perusal of customers wishing \nto check. This incorporates a number of subprocesses - several de... |
[
{
"msg_contents": "All:\n \nWe have a Quad-Intel XEON 2.0GHz (1MB cache), 12GB memory, running RH9,\nPG 7.4.0. There's an internal U320, 10K RPM RAID-10 setup on 4 drives.\n \nWe are expecting a pretty high load, a few thousands of 'concurrent'\nusers executing either select, insert, update, statments.\n \nWhat... |
[
{
"msg_contents": "> All:\n> \n> We have a Quad-Intel XEON 2.0GHz (1MB cache), 12GB memory, running\nRH9, PG 7.4.0. There's \n> an internal U320, 10K RPM RAID-10 setup on 4 drives.\n> \n> We are expecting a pretty high load, a few thousands of 'concurrent'\nusers executing either \n> select, insert, update, sta... |
[
{
"msg_contents": "For the disks part - I am looking at a SAN implementation, and I will be\nplanning a separate RAID group for the WALs.\n\nThe controller is a PERC, with 128MB cache, and I think it is writeback.\n\nOther than the disks, I am curious what other people are using in terms\nof the horsepower need... |
[
{
"msg_contents": "Hi,\n\nnobody has an idea? :-(\n\n-----Urspr�ngliche Nachricht-----\nVon: pgsql-performance-owner@postgresql.org [mailto:pgsql-performance-owner@postgresql.org] Im Auftrag von postgres@countup.de\nGesendet: Freitag, 27. Februar 2004 17:53\nAn: pgsql-performance@postgresql.org\nBetreff: [PER... |
[
{
"msg_contents": "\"By lots I mean dozen(s) in a raid 10 array with a good controller.\" \n\nI believe, for RAID-10, I will need even number of drives. Currently,\nthe size of the database is about 13GB, and is not expected to grow\nexponentially with thousands of concurrent users, so total space is not\nof pa... |
[
{
"msg_contents": "That was part of my original question - whether it makes sense to go for\na mid-range SunFire machine (64bit HW, 64bit OS), which is scalable to\nhigh amounts of memory, and shouldn't have any issues addressing it all.\nI've had that kind of setup once temporarily on a V480 (quad UltraSparc,\... |
[
{
"msg_contents": "Here's what I recorded today from iostat (linux, iostat -x -k, sda3 is\nthe pg slice, logs included) during peak time on the RAID-10 array -\nWhat i see is mostly writes, and sometimes, quite a bit of writing,\nduring which the average wait times shoot up.\n\nDevice: rrqm/s wrqm/s r/s ... |
[
{
"msg_contents": "Can you describe the vendors/components of a \"cheap SAN setup?\"\n\nThanks,\nAnjan\n\n-----Original Message-----\nFrom: Rod Taylor [mailto:pg@rbt.ca] \nSent: Tuesday, March 02, 2004 5:57 PM\nTo: Scott Marlowe\nCc: Anjan Dave; Chris Ruprecht; fred@redhotpenguin.com; William Yu;\nPostgresql Pe... |
[
{
"msg_contents": "After an upgrade to 7.4.1 (from 7.3) we see a severe performance\nregression in bulk INSERTs.\n\nThis is apparently caused by constant checkpointing (every 10 to 20\nseconds). I've already increased the number of checkpoint segments to\n32, but currently, there are just 10 or 11 files in the... |
[
{
"msg_contents": "Given an index like this:\n\n CREATE UNIQUE INDEX i1 ON t1 (c1) WHERE c1 IS NOT NULL;\n\nand a query like this:\n\n SELECT * FROM t1 WHERE c1 = 123;\n\nI'd like the planner to be smart enough to use an index scan using i1. Yes,\nI can change the query to this:\n\n SELECT * FROM t1 W... |
[
{
"msg_contents": "Hello all,\n\nI have a performance issue that I cannot seem to solve and am hoping that \nsomeone might be able to make some suggestions.\n\nFirst some background information. We are using PostgreSQL 7.3.4 on Linux \nwith kernel 2.4.19. The box is a single P4 2.4Ghz proc with 1G ram and uw... |
[
{
"msg_contents": "....\nI'd look at adding more disks first. Depending on what\ntype of query\nload you get, that box sounds like it will be very\nmuch I/O bound....\n\nGiven a a 13G database on a 12G system, with a low\ngrowth rate, it is likely that there is almost no I/O\nfor most activities. The exception ... |
[
{
"msg_contents": "Great response, Thanks.\n\nRegarding 12GB memory and 13G db, and almost no I/O, one thing I don't\nunderstand is that even though the OS caches most of the memory and PG\ncan use it if it needs it, why would the system swap (not much, only\nduring peak times)? The SHMMAX is set to 512MB, shar... |
[
{
"msg_contents": "I'm guessing the answer to this is \"no\"\n\nIs there any performance advantage to using a fixed width row (with PG)?\n\nI've heard this theory a few times and I think it is based on older, \ndifferent databases and we have also some custom software here that \nuses fixed width rows to be abl... |
[
{
"msg_contents": "On 3/3/04 6:53 PM, Tom Lane wrote:\n> John Siracusa <siracusa@mindspring.com> writes:\n>> Given an index like this:\n>> CREATE UNIQUE INDEX i1 ON t1 (c1) WHERE c1 IS NOT NULL;\n>> and a query like this:\n>> SELECT * FROM t1 WHERE c1 = 123;\n>> I'd like the planner to be smart en... |
[
{
"msg_contents": "Hi,\n\n we need to optimize / speed up a simple select:\n\nexplain analyze select\n((t0.int_value-t1.int_value)*(t0.int_value-t1.int_value))\nfrom job_property t0, job_property t1\nwhere t0.id_job_profile = 5\nand t1.id_job_profile = 6\nand t1.id_job_attribute = t0.id_job_attribute\nand t1.i... |
[
{
"msg_contents": "Hi,\n\nI've recently converted a database to use bigint for the indices. Suddenly\nsimple queries like\n\nselect * from new_test_result where parent_id = 2\n\nare doing full table scans instead of using the index. The table has over 4\nmillion rows, of which only 30 or so would be selected ... |
[
{
"msg_contents": "Hi all,\n \nI've got what should be a relatively simple join between two tables that\nis taking forever and I can't work out why.\n \nVersion 7.3.4RH.\n \nIt can't be upgraded because the system is kept in sync with RedHat\nEnterprise (using up2date). Not my system otherwise I'd do that :(\n ... |
[
{
"msg_contents": "I have a few questions about cluster and vacuum.\nWe have a table that is 56 GB in size and after a purge based on dates 16GB\nwas made available as reported below.\nPWFPM_DEV=# vacuum full verbose analyze forecastelement;\nINFO: vacuuming \"public.forecastelement\"\nINFO: \"forecastelement... |
[
{
"msg_contents": "I've been waiting all day for a pg_restore to finish on a test system\nidentically configured as our production in hardware and software\nwith the exception prod is 7.3.5 and test is 7.4.1.\n\nThe file it's restoring from is about 8GB uncompressed from a\n\"pg_dump -b -F t\" and after 2 hours... |
[
{
"msg_contents": "\nGuys,\n\nI got a Java program to tune. It connects to a 7.4.1 postgresql server\nrunning Linux using JDBC.\n\nThe program needs to update a counter on a somewhat large number of\nrows, about 1200 on a ~130k rows table. The query is something like\nthe following:\n\nUPDATE table SET table.pa... |
[
{
"msg_contents": "I've been running Postgresql 7.4.1 for a couple weeks after upgrading\nfrom 7.2. I noticed today that the postmaster had been using 99% of\nthe dual CPUs (on a PowerEdge 2650) non-stop for the last couple days.\nI stopped all the clients, and it didn't abate---even with no\nconnections---so ... |
[
{
"msg_contents": "Hello there !!!\n\nI am using postgresql7.2.1 as the backend for an E.R.P system running\non Linux Redhat 7.2(Enigma)\nThe database size is around 20-25GB\nDropping of an individual table whose size is around 200Mb takes more\nthan 7 mins, and also increases the load on our System\nThe da... |
[
{
"msg_contents": "I have had a cluster failure on a table. It most likely was due to space.\nI do not not have the error message anymore, but it was indicating that it\nwas most likely a space problem. The partition was filled to 99%. The\ntable is about 56 GB and what I believe to be the new table that it ... |
[
{
"msg_contents": "\n\n\n\"Shea,Dan [CIS]\" <Dan.Shea@ec.gc.ca> writes:\n>> The problem is that it did not clean itself up properly. \n\n>Hm. It should have done so. What were the exact filenames and sizes of\n>the not-deleted files?\n361716097 to 361716097.39 are 1073741824 bytes.\n361716097.40 is 186105856... |
[
{
"msg_contents": "I have some suggestions based on my anecdotal experience.\n\n1. This is a relatively small DB -- the working set will likely be in \nRAM at any moment in time, making read I/O time mostly irrelevant.\n\n2. The killer will be write times -- specifically log writes. Small and \nheavily synchro... |
[
{
"msg_contents": "Hello people! \nI have a question, I am going to begin a project for the University in\nthe area of Data Warehousing and I want to use postgres.\nDo you have some recommendation to me? \n\nThanks!!\n\nGreetings, Pablo\n\n\n",
"msg_date": "11 Mar 2004 10:54:03 -0300",
"msg_from": "Pa... |
[
{
"msg_contents": "Hi. I have two existing tables, A and B. A has a 'varchar(1000)' field \nand B has a 'text' field, each with btree indexes defined. When I do a \njoin between these, on this field, it seems to a hash join, as opposed \nto using the indexes, as I might expect (I'm no postgres expert, btw).\n\n... |
[
{
"msg_contents": "First let me explain the situation:\n\nI came into the #postgresql irc channel talking about this problem, and \nsomeone advised me to use this mailing list (so i'm not just wasting your \ntime i hope). I'm not sure how to describe the problem fully, so I'll start \nby explaining what my dat... |
[
{
"msg_contents": "\nHello to everybody.\n\nI ask your help for a severe problem when doing a query that LEFT JOINs\none table to another ON a field, and then LEFT JOINs again to another\n\"instance\" of a table ON another field which stores the same entity, but\nwith different meaning.\n\nI include 3 EXPLAIN A... |
[
{
"msg_contents": "greetings!\non a dedicated pgsql server is putting pg_xlog\nin drive as OS almost equivalent to putting on a seperate\ndrive?\n\n\nin both case the actual data files are in a seperate\ndrive.\n\nregds\nmallah\n",
"msg_date": "Sat, 13 Mar 2004 00:42:59 +0530 (IST)",
"msg_from": "mallah... |
[
{
"msg_contents": "We upgraded from 8GB to 12GB RAM a month or so ago, but even in the\npast, I've never seen the system exhaust on it's system cache (~6GB, in\n'top'), while it's swapping.\n\nSome one had mentioned why not have the entire DB in memory? How do I\nconfigure that, for knowledge?\n\nMax connection... |
[
{
"msg_contents": "I'm trying to troubleshoot a performance issue on an application ported \nfrom Oracle to postgres. Now, I know the best way to get help is to post \nthe schema, explain analyze output, etc, etc -- unfortunately I can't do \nthat at the moment. However, maybe someone can point me in the right ... |
[
{
"msg_contents": "Hi list,\n\nI was more or less toying with an idea for a project I have, which \nincludes renumbering a primary key (don't ask, it's necessary :/ )\n\nAnyway, I was looking into the usefullness of a INSERT INTO newtable \nSELECT field, field, CASE pkey WHEN x1 THEN y1 WHEN x2 THEN y2 etc END ... |
[
{
"msg_contents": "Hi,\n\ni have 2 Functions, one ist called by page visitors (something about 2,000 times / 1 hour)\nand the other just by the admin (let say 1 time per hour or per login)\ni often get a deadlock error after calling the admin function\nyes they try to access the same table somewhere in the func... |
[
{
"msg_contents": "We're in the throes of an MS SQL to PostgreSQL migration; our databases\ninclude a number of ~5M row tables. We decided to take this opportunity\nto clean up and slightly re-normalize our schemas, given what we've\nlearned about the data over its lifetime and such, else we wouldn't be\nexper... |
[
{
"msg_contents": "This apeared on the Freebsd-perfomace list and though people here could help \nas well.\n\n\n\n---------- Forwarded Message ----------\n\nSubject: Configuring disk cache size on postgress\nDate: March 16, 2004 10:44 am\nFrom: Dror Matalon <dror@zapatec.com>\nTo: freebsd-performance@freebsd.... |
[
{
"msg_contents": "\nI sent this message to the list and although it shows up in the archives,\nI did not receive a copy of it through the list, so I'm resending as I\nsuspect others did not see it either.\n\n---------- Forwarded message ----------\nDate: Sat, 13 Mar 2004 22:48:01 -0500 (EST)\nFrom: Kris Jurka ... |
[
{
"msg_contents": "http://www.databasejournal.com/features/postgresql/article.php/3323561\n\n Shridhar\n",
"msg_date": "Wed, 17 Mar 2004 13:16:37 +0530",
"msg_from": "Shridhar Daithankar <shridhar@frodo.hserus.net>",
"msg_from_op": true,
"msg_subject": "A good article about application tuning"
... |
[
{
"msg_contents": "Hi all,\n\nwe have a question about the pagesize in PostgreSQL:\n\nUsing different pagesizes: 4K, 8K, 16K, 32K, when we store different \nrecord sizes\nsuch as in the following example:\n\nCREATE TABLE TEST_1 (\nF1 VARCHAR(10),\nF2 VARCHAR(5) );\n\nCREATE TABLE TEST_2 (\nF1 VARCHAR(10),\nF2 V... |
[
{
"msg_contents": "On Thu, 18 Mar 2004, Saleh, Amgad H (Amgad) wrote:\n\n> Stephan / Stephen\n>\n> We know about the overhead and do understand the math you've provided.\n> This is not the question we're asking. We've just provided the table definitions as\n> examples.\n>\n> The real question was, even with the... |
[
{
"msg_contents": "On Thu, 18 Mar 2004, Saleh, Amgad H (Amgad) wrote:\n\n>\n> Stephan:\n>\n> In each table we're storing the max. string length.\n>\n> For example:\n>\n> for TEST_1, we're storing 'abcdefghjk' and 'lmnop'\n> for TEST_2, we're storing 'abcdefghjk' and 'lmnopqrstu'\n> for TEST_3, we're storing '... |
[
{
"msg_contents": "\nIn porting an application from v7.2 and v7.3, I noticed that a join on a varchar column and a text column was ignoring indices that were helpful in v7.2. When I explicitly cast the text to a varchar (or set ENABLE_SEQSCAN TO false) the index is scanned and it works as efficiently as in v7.2... |
[
{
"msg_contents": "explain\nSELECT COUNT(u.ukey) FROM u, d WHERE d.ukey = u.ukey AND u.pkey = 260 \nAND (u.status = 3 ) AND NOT u.boolfield ;\n QUERY PLAN\n----------------------------------------------------------------------------------------------\n Aggregate (cost... |
[
{
"msg_contents": "I think i just sent an email out to the qrong person.. so if this ends up in \nthe list 2x i'm very sorry:\n\ni changed the query to:SELECT\nw8.wid,\nw8.variant,\nw8.num_variants,\nsum_text(w8.unicode) as unicodes,\nsum_text(w8.pinyin) as pinyins\nFROM\nwords as w0 JOIN words as w1 ON(w1.wid ... |
[
{
"msg_contents": "I also tried this (printf1 in irc suggested \"folding\" the joins) :\n\nSELECT\nw8.wid,\nw8.variant,\nw8.num_variants,\nsum_text(w8.unicode) as unicodes,\nsum_text(w8.pinyin) as pinyins\nFROM\n(words as w8 JOIN\n(words as w7 JOIN\n(words as w6 JOIN\n(words as w5 JOIN\n(words as w4 JOIN\n(word... |
[
{
"msg_contents": "Hello all,\n\nI have a question/observation about vacuum performance. I'm running \nSolaris 9, pg 7.4.1.\nThe process in questions is doing a vacuum:\n\nbash-2.05$ /usr/ucb/ps auxww | grep 4885\nfiasco 4885 19.1 3.7605896592920 ? O 19:29:44 91:38 postgres: \nfiasco fiasco [local] ... |
[
{
"msg_contents": "Hi All,\n\nWe are evaluating the options for having multiple databases vs. schemas on a\nsingle database cluster for a custom grown app that we developed. Each app\ninstalls same set of tables for each service. And the service could easily\nbe in thousands. so Is it better to have 1000 databa... |
[
{
"msg_contents": "--sorry to repost, just subscribed to the list. hopefully it gets to the\nlist this time --\n\nHi All,\n\nWe are evaluating the options for having multiple databases vs. schemas on a\nsingle database cluster for a custom grown app that we developed. Each app\ninstalls same set of tables for e... |
[
{
"msg_contents": "As anyone done benchmarking tests with postgres running on solaris and linux\n(redhat) assuming both environment has similar hardware, memory, processing\nspeed etc. By reading few posts here, i can see linux would outperform\nsolaris cause linux being very good at kernel caching than solaris... |
[
{
"msg_contents": "ok, at the advice of jurka, I will post new results:\n\nHere's the query as I have changed it now:\nSELECT\nw8.wid,\nw8.variant,\nw8.num_variants,\nsum_text(w8.unicode) as unicodes,\nsum_text(w8.pinyin) as pinyins\nFROM\n(words as w8 JOIN\n(words as w7 JOIN\n(words as w6 JOIN\n(words as w5 JO... |
[
{
"msg_contents": "Dear PostgresQL Experts,\n\nI am trying to get to the bottom of some efficiency problems and hope that\nyou can help. The difficulty seems to be with INTERSECT expressions.\n\nI have a query of the form\n select A from T where C1 intersect select A from T where C2;\nIt runs in about 100 ... |
[
{
"msg_contents": "I asked:\n> select A from T where C1 intersect select A from T where C2;\n> select A from T where C1 and C2;\n> [why isn't the first optimised into the second?]\n\nStephan Szabo answered:\n> Given a non-unique A, C1 as B>5, c2 as C>5 and the data:\n> A | B | C\n> 1 | 6 | 1\n> 1 | 1 | 6\n> The... |
[
{
"msg_contents": ">And we also created rules to allow update, delete, and insert on those \n>views so that they looked like tables. The reason we did this is \n>because we ran into issues with too many open files during pg_dump when \n>we had thousands of tables instead of about 1 hundred tables and \n>thousa... |
[
{
"msg_contents": "We are looking into Sun V210 (2 x 1 GHz cpu, 2 gig ram, 5.8Os) vs. Dell 1750\n(2 x 2.4 GHz xeon, 2 gig ram, RH3.0). database will mostly be\nwrite intensive and disks will be on raid 10. Wondering if 64bit 1 GHz to\n32bit 2.4 GHz make a big difference here. \n\nThanks!\n\n-----Original Messag... |
[
{
"msg_contents": "Hello,\n\nI am using postgres 7.4.2 as a backend for geocode data for a mapping\napplication. My question is why can't I get a consistent use of my indexes\nduring a query, I tend to get a lot of seq scan results.\n\nI use a standard query:\n\nSELECT lat, long, mac, status FROM (\n SELECT ... |
[
{
"msg_contents": "What bus speeds?\r\n \r\n533MHz on the 32-bit Intel will give you about 4.2Gbps of IO throughput...\r\n \r\nI think the Sun will be 150MHz, 64bit is 2.4Gbps of IO. Correct me if i am wrong.\r\n \r\nThanks,\r\nAnjan\r\n\r\n\t-----Original Message----- \r\n\tFrom: Subbiah, Stalin [mailto:SSubbi... |
[
{
"msg_contents": "\nHello fellow PostgreSQL users.\n\nWe've been working on this interesting issue for some time now, and we're\nhoping that someone can help.\n\nWe've recently integrated postgres into an existing mature app. Its a\ntime sensitive 24x7 system. It runs on HP9000, a K370 Dual Processor\nsystem... |
[
{
"msg_contents": "I am trying to optimize a query that does a lot of aggregation. I have a\nlarge number of columns that are part of the result, and most are\naggregates. They are acting on two temporary tables, the largest of which\nshould have at most 1 million tuples, and the smaller around 5000; the the\... |
[
{
"msg_contents": "As anyone done performance benchmark testing with solaris sparc/intel linux.\nI once read a post here, which had benchmarking test results for using\ndifferent filesystem like xfs, ext3, ext2, ufs etc. i couldn't find that\nlink anymore and google is failing on me, so anyone have the link han... |
[
{
"msg_contents": "\n\n---------- Forwarded Message ----------\n\nSubject: FreeBSD, PostgreSQL, semwait and sbwait!\nDate: March 23, 2004 12:02 pm\nFrom: \"Jason Coene\" <jcoene@gotfrag.com>\nTo: <freebsd-performance@freebsd.org>\n\nHello all,\n\nWe're having a substantial problem with our FreeBSD 5.2 databas... |
[
{
"msg_contents": "Yep. Thanks Bill.\n\n-----Original Message-----\nFrom: Bill Moran [mailto:wmoran@potentialtech.com]\nSent: Tuesday, March 23, 2004 2:10 PM\nTo: Subbiah, Stalin\nCc: pgsql-performance@postgresql.org\nSubject: Re: [PERFORM] [ADMIN] Benchmarking postgres on Solaris/Linux\n\n\nSubbiah, Stalin wro... |
[
{
"msg_contents": "Hi,\n\nI am running pg 7.4.1 on linux box.\nI have a midle size DB with many updates and after it I try to run\nvacuum full analyze.\nIt takes about 2 h.\nIf I try to dump and reload the DB it take 20 min.\n\nHow can I improve the vacuum full analyze time?\n\nMy configuration:\n\nshared_buffe... |
[
{
"msg_contents": "We've got a table containing userdata, such as a bigint column 'icq'. To\neasily check whether a user has an icq number entered, we made the following\nindex:\n\tuserinfo_icq_ne0_id_key btree (id) WHERE (icq <> 0::bigint),\n\nHowever, it doesn't seem to be used:\n\n> EXPLAIN ANALYZE SELECT i... |
[
{
"msg_contents": "I have a query which get's data from a single table.\nWhen I try to get data from for an RFQ which has around 5000 rows, it \nis breaking off at 18th row.\nIf i reduce some columns , then it returns all the rows and not so slow.\n I have tried with different sets of column and there is no pa... |
[
{
"msg_contents": "I've run into this odd planner choice which I don't quite understand.\n\nI have two tables articles, users and\narticles.article_id and users.user_id are primary keys.\n\nInsides articles there are two optional fields author_id1, author_id2\nwhich all reference users.user_id.\n\nAnd now the p... |
[
{
"msg_contents": "On Fri, 26 Mar 2004, Fabio Esposito wrote:\n\n> \n> On Fri, 26 Mar 2004, scott.marlowe wrote:\n> \n> > > It maintains 48hours of data, so its not a large database; roughly\n> > > <600mbs. We do this by running a housekeeping program in a cron job.\n> > > It deletes all data older then 48hour... |
[
{
"msg_contents": "Fabio,\n\n> I'll have to get back to you on that, but I'm 90% sure its the default out\n> of the box.\n\nRaise it, a lot. Perhaps to 30,000 or 50,000. VACUUM VERBOSE ANALYZE \nshould show you how many data pages are being reclaimed between vacuums.\n\nBecause of your very high rate of upd... |
[
{
"msg_contents": "Fabio Esposito <nfesposi@sourceweave.net> writes:\n>> Did you start from a fresh initdb, or just drop and recreate user\n>> tables? I'm wondering about index bloat on the system tables ...\n\n> I don't think I re initdb it, just dropped. We did try a reindex command\n> in the interactive ed... |
[
{
"msg_contents": "\n>Andrew,\n\n> > I used to use the connect-by patch, but have since rewritten everything\n> > to use a nested set model.\n\n>Cool! You're probably the only person I know other than me using nested \n>sets\n>in a production environment.\n\n\ncan you explain me what is a nested set?\n\n_____... |
[
{
"msg_contents": "thanx a lot\n\n_________________________________________________________________\nSTOP MORE SPAM with the new MSN 8 and get 2 months FREE* \nhttp://join.msn.com/?page=features/junkmail\n\n",
"msg_date": "Mon, 29 Mar 2004 17:29:10 +0000",
"msg_from": "\"Jaime Casanova\" <el_vigia_ec@ho... |
[
{
"msg_contents": "ok. if i don't misunderstand you (english is not my mother tongue, so i can \nbe wrong). your point is that speed is not necesarily performance, that's \nright.\n\nso, the real question is what is the best filesystem for optimal speed in \npostgresql?\n\n______________________________________... |
[
{
"msg_contents": "Hi,\n\nCan someone provide some insight for me as to why this query takes so \nlong on 6655 rows of data. I'm beginning to think something is seriously \nwrong with my config wrt to memory settings. I note vmstats (at the \nbottom) indicates no swapping so I'm not running out system wide but ... |
[
{
"msg_contents": "hi all,\n\n\ni have an amd athlon with 256 ram (i know, this is not a *real* server but \nmy tables are small)\n\ni'm using vb6 (win98) with pgsql-7.3.4 (rh8) trough the psqlodbc.\n\nwhen i do a select in took long to execute, here is an example\n\n\ntable icc_m_banco\n\nCREATE TABLE ICC_M_BA... |
[
{
"msg_contents": "Hi,\n\nShouldn't the optimizer use indices if the like condition does not have any \nwildcards?\n\nAn example:\n\ngirgen=# explain analyze select * from person where userid = 'girgen';\n QUERY PLAN \n\n---------------------------------------... |
[
{
"msg_contents": "Hi everyone,\n\nI am building a query which uses a clause like \"Where doc_description like\n'%keyword%'\". I know a normal index won't be of any use here, but since the\ntable in question will get fairly big, I do want to use an index.\n\nCan anyone give me some advise on what kind of index ... |
[
{
"msg_contents": ">\n>On Tuesday 30 March 2004 20:25, Jaime Casanova wrote:\n>>hi all,\n> >\n> >\n> > i have an amd athlon with 256 ram (i know, this is not a *real* server \n>but\n> > my tables are small)\n\n>Nothing wrong with it - it's what I still use as my development server.\n>\n> > i'm using vb6 (win98)... |
[
{
"msg_contents": "*statistics target = 100\n*INFO: index \"timeseries_tsid\" now contains *16,677,521* row versions \nin 145605 pages\nDETAIL: 76109 index pages have been deleted, 20000 are currently reusable.\nCPU 12.00s/2.83u sec elapsed 171.26 sec.\nINFO: \"timeseries\": found 0 removable, 16677521 nonr... |
[
{
"msg_contents": "Do you know if postgres made assumption on the\naccess time time stamp for the files on his\nown file sistem ? If not I'm wondering if\nmount a partition with the option \"anotime\"\ncan improve the disk i/o performance.\n\n\nRegards\nGaetano Mendola\n",
"msg_date": "Thu, 01 Apr 2004 01:2... |
[
{
"msg_contents": "Hi,\n\nI remember reading a post ages ago, maybe from Vadim, about the fact that \npeople creating indices on more than two columns will be the first to be \nput againts the wall when the revolution comes... sort of...\n\nIs it always bad to create index xx on yy (field1, field2, field3);\n\n... |
[
{
"msg_contents": "I am trying to do a spatial join between two tables each of which has a\ncolumn of type BOX called ERRBOX, with R-TREE indices created on both.\n\nThe smaller table, xmm1, has 56,711 rows,\nthe larger one, twomass, has 177,757,299 rows.\n\nThe most efficient way to join these is to do a ... |
[
{
"msg_contents": "On 2 Apr 2004 at 22:36, pgsql-performance@postgresql. wrote:\n\nOK, some more detail: \n\nBefore wiping 2.4 off my test box for the second time: \n\nSQL Statement for update: \nupdate staff_booking set time_from = r.time_from from order_reqt r where r.reqt_id = \nstaff_booking.reqt_id; \n\nEx... |
[
{
"msg_contents": "Actually it hasn't been my experience either. Most of my queries against \nthe database, large and small are either a little quicker or no real \ndifference. I have only really noticed big differences under stress when \nmemory (RAM) is being squeezed. The main winner on 2.6 seems to be \nwri... |
[
{
"msg_contents": "Sorry, I think I misread your post in my last reply. I thought you were still talking about \nthe big update....\n\nThe main thing I have noticed about SQLServer is it seems more willing to do hash or \nmerge joins than PostgreSQL. I have experimented with various postgresql.conf \nparameters... |
[
{
"msg_contents": "Thanks,\n\nI know about set showplan_text, but it is only the equivalent of explain, \nnot explain analyze. The graphical plan gives full statistics, runtime, \npercentage cost, loop execution counts etc. which is much more useful. \nI don't know of a way of getting the graphical plan content... |
[
{
"msg_contents": "Following on from Josh's response and my previous reply on SQLServer planning.\n\nThe main problem query is this one:\n\nSELECT VS.*,VL.TEL1,SC.CONTRACT_ID,SC.CONTRACT_REF, SC.MAX_HOURS, \nSC.MIN_HOURS, \n (SELECT COUNT(*) FROM TIMESHEET_DETAIL JOIN MAIN_ORDER ON \n(MAIN_ORDER.ORDER_ID = TIME... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.