threads listlengths 1 275 |
|---|
[
{
"msg_contents": "[Reposted from General section with updated information]\nPg 7.4.5\n\nI'm running an update statement on about 12 million records using the\nfollowing query:\n\nUpdate table_A\nset F1 = b.new_data\nfrom table_B b\nwhere b.keyfield = table_A.keyfield\n\nboth keyfields are indexed, all other ke... |
[
{
"msg_contents": "> Kari Lavikka <tuner@bdb.fi> writes:\n> > samples % symbol name\n> > 13513390 16.0074 AtEOXact_CatCache\n> \n> That seems quite odd --- I'm not used to seeing that function at the\ntop\n> of a profile. What is the workload being profiled, exactly?\n\nHe is running a commit_delay of... |
[
{
"msg_contents": "\n<morandell@gmail.com> writes\n>\n>\n> so, if I do a qry like \"EXPLAIN ANALYZE select * from pridecdr where\n> idsede=8977758488\" it tooks a lot of time before i get back any result:\n>\n> Index Scan using prd_id_sede on pridecdr (cost=0.00..699079.90\n> rows=181850 width=138) (actual tim... |
[
{
"msg_contents": "I thought I would send this to pg-performance since so many people \nhelped me with my speed issues recently. I was definitely IO- \nbottlenecked.\n\nSince then, I have installed 2 RAID arrays with 7 15k drives in them \nin RAID 0+1 as well as add a new controller card with 512MB of cache ... |
[
{
"msg_contents": "So, I have a table game with a timestamp attribute 'game_end', ranging from\njan-2005 to present. The game table also have an attribute state, with live\ngames beeing in state 2, and ended games beeing in state 4 (so,\ngame_end+delta>now() usually means state=4). There are also an insignifi... |
[
{
"msg_contents": "I have a web page for my customers that shows them count of records \nand some min/max date ranges in each table of a database, as this is \nhow we bill them for service. They can log in and check the counts \nat any time. I'd like for the counts to be as fresh as possible by \nkeeping ... |
[
{
"msg_contents": ">\n>hi, i got one situation here, i create one pl/pgsql function that using temp table to store temporary data.\n>wherever i execute my function, i need to delete all the data inside the temp table, but this will slow down the \n>searching function if i conitnue to run the server because old ... |
[
{
"msg_contents": "Hi everyone,\n\nI have some problems with a quite long query and the plan postgreSQL is \nchoosing. The query joins 12 tables and in the WHERE clause I use a IN \nexpression with a lot of identifiers (up to 2000). The problem is that \nthe planner is proposing a seq_scan on two tables 2M rows... |
[
{
"msg_contents": "Hi all, we're running PG8 on a Sun V250 with 8GB RAM and 2*1.3GHz SPARC\nCPUs running Solaris 10. The DB cluster is on an external fibre-attached\nSun T3 array that has 9*36GB drives configured as a single RAID5 LUN.\n\nThe system is for the sole use of a couple of data warehouse developers,\... |
[
{
"msg_contents": "Hi,\n\nI have a perfomance issue :\n\nI run PG (8.0.3) and SQLServer2000 on a Windows2000 Server (P4 1,5Ghz 512Mo)\nI have a table (3200000 rows) and I run this single query :\n\nselect cod from mytable group by cod\nI have an index on cod (char(4) - 88 different values)\n\nPG = ~ 20 sec.\nSQ... |
[
{
"msg_contents": "Hi Paul,\n\nI was passed your message... regarding DSS workload with Postgres on Solaris. (I am not in the alias).\n\nPerformance is relative to your workload. Can you actually send us what you are doing in your queries, updates etc?\n\nI have been running few tests myself and here are my rul... |
[
{
"msg_contents": "Hello all,\n\nI just was running strace in the writer process and I noticed this pattern:\n\nselect(0, NULL, NULL, NULL, {0, 200000}) = 0 (Timeout)\ngetppid() = 4240\ntime(NULL) = 1123773324\nmmap2(NULL, 528384, PROT_READ|PROT_WRITE, ... |
[
{
"msg_contents": "I'm having an odd case where my system is locking such that if I insert\ninto a table during a transaction, if I start a new connection and\ntransaction, it blocks while trying to do a similar insert until the\nfirst transaction is committed or rolled back.\n\nThe schema is rather complex (cu... |
[
{
"msg_contents": "> Actually, it seems to me that with the addition of the WAL in\nPostgreSQL\n> and the subsequent decreased need to fsync the data files themselves\n> (only during checkpoints?), that the only time a battery-backed write\n> cache would make a really large performance difference would be on th... |
[
{
"msg_contents": "I have a largely table-append-only application where most transactions \nare read-intensive and many are read-only. The transactions may span \nmany tables, and in some cases might need to pull 70 MB of data out of a \ncouple of the larger tables.\n\n\nIn 7.3, I don't seem to see any file sy... |
[
{
"msg_contents": "I have database of company data, and some of them is table of information \nabout employees. I need each employee to have access only to his own row. \nPostgre cannot do this by system of privileges, because that can give \nprivileges only to whole tables.\n\nPossibility is to create a view f... |
[
{
"msg_contents": "(Pardon my replying two two replies at once, I only get the digest and \nthis was easier).\n\nMichael Stone wrote:\n[...]\n>> Well, that's what you'd expect. But a first time 70MB fetch on a freshly rebooted system took just as long as all secondary times. (Took over a minute to fetch, whic... |
[
{
"msg_contents": "This is a multi-part message in MIME format.\n\n--bound1124085115\nContent-Type: text/plain; charset=iso-8859-1\nContent-Transfer-Encoding: 7bit\n\nOne little thing. Did you shutdown sql2000 while testing postgresql? Remember that postgresql uses system cache. Sql2000 uses a large part of mem... |
[
{
"msg_contents": "> Hi,\n> \n> I have a perfomance issue :\n> \n> I run PG (8.0.3) and SQLServer2000 on a Windows2000 Server \n> (P4 1,5Ghz 512Mo) I have a table (3200000 rows) and I run \n> this single query :\n> \n> select cod from mytable group by cod\n> I have an index on cod (char(4) - 88 different values... |
[
{
"msg_contents": "> [\"very, very offtopic\"]\n> Ok. This comparition is just as useless as the other one, \n> because it's comparing oranges with apples (It's funny \n> anyway). I was just choosing an example in which you can see \n> the best of postgresql against 'not so nice' behavior of \n> mssql2000 (no s... |
[
{
"msg_contents": "The system is a dual Xenon with 6Gig of ram and 14 73Gig 15K u320 scsi\ndrives. Plus 2 raid 1 system dives.\n\nRedHat EL ES4 is the OS. \n\n\nAny1 have any suggestions as to the configuration? The database is about\n60 Gig's. Should jump to 120 here quite soon. Mus of the searches\ninvolve pe... |
[
{
"msg_contents": "7.4 is the pg version BTW....going to switch to 8 if it's worth it.\n\n\nIngrate, n.: A man who bites the hand that feeds him, and then complains\nof indigestion.\n-- \n\"Don't say yes until I finish talking.\"\n -- Darryl F. Zanuck",
"msg_date": "Mon, 15 Aug 2005 11:29:04 ... |
[
{
"msg_contents": "7.4 is the pg version BTW....going to switch to 8 if it's worth it.\n\n\nIngrate, n.: A man who bites the hand that feeds him, and then complains\nof indigestion.\n-- \n\"Don't say yes until I finish talking.\"\n -- Darryl F. Zanuck\n-- \n\"Don't say yes until I finish talking.... |
[
{
"msg_contents": "Hi,\n\n \n\nOne simple question. For 125 or more checkpoint segments\n(checkpoint_timeout is 600 seconds, shared_buffers are at 21760 or\n170MB) on a very busy database, what is more suitable, a separate 6 disk\nRAID5 volume, or a RAID10 volume? Databases will be on separate\nspindles. Disks ... |
[
{
"msg_contents": "i have problem in database encoding with indexing\n\ncase :1\nwhen i initdb -E win874 mydb and create database with createdb -E win874 \ndbname\nand create table emp with index in empname field\n\n\ni can select sorting name correct in thai alphabet\nsuch select empName from emp order by empN... |
[
{
"msg_contents": "Hello,\n\nI would like to test the performance of my Java/PostgreSQL applications\nespecially when making full text searches.\nFor this I am looking for a database with 50 to 300 MB having text fields.\ne.g. A table with books with fields holding a comment, table of content\nor example chapte... |
[
{
"msg_contents": "Hello,\n\none of our services is click counting for on line advertising. We do \nthis by importing Apache log files every five minutes. This results in a \nlot of insert and delete statements. At the same time our customers \nshall be able to do on line reporting.\n\nWe have a box with\nLinux... |
[
{
"msg_contents": "Hi,\n\nHow much Ram do you have ?\nCould you give us your postgresql.conf ? (shared buffer parameter)\n\nIf you do lots of deletes/inserts operations you HAVE to vacuum analyze \nyour table (especially if you have indexes). \n\nI'm not sure if vacuuming locks your table with pg 7.4.2 (it doe... |
[
{
"msg_contents": "> Ulrich Wisser wrote:\r\n> >\r\n> > one of our services is click counting for on line advertising. We do\r\n> > this by importing Apache log files every five minutes. This results in a\r\n> > lot of insert and delete statements. \r\n...\r\n> If you are doing mostly inserting, make sure you a... |
[
{
"msg_contents": "Summary\n=======\nWe are writing to the db pretty much 24 hours a day.\nRecently the amount of data we write has increased, and the query speed, formerly okay, has taken a dive.\nThe query is using the indexes as expected, so I don't _think_ I have a query tuning issue, just an io problem. \n... |
[
{
"msg_contents": "Yes, that's true, though, I am a bit confused because the Clariion array\ndocument I am reading talks about how the write cache can eliminate the\nRAID5 Write Penalty for sequential and large IOs...resulting in better\nsequential write performance than RAID10.\n\nanjan\n\n\n-----Original Mess... |
[
{
"msg_contents": "I would be very cautious about ever using RAID5, despite manufacturers' claims to the contrary. The link below is authored by a very knowledgable fellow whose posts I know (and trust) from Informix land.\n\n<http://www.miracleas.com/BAARF/RAID5_versus_RAID10.txt>\n\nGreg Williamson\nDBA\nGlob... |
[
{
"msg_contents": "Thanks, everyone. I got some excellent replies, including some long explanations. Appreciate the time you guys took out for the responses.\r\n \r\nThe gist of it i take, is to use RAID10. I have 400MB+ of write cache on the controller(s), that the RAID5 LUN(s) could benefit from by filling it... |
[
{
"msg_contents": "We just moved a large production instance of ours from Oracle to\nPostgres 8.0.3 on linux. When running on Oracle the machine hummed\nalong using about 5% of the CPU easily handling the fairly constant\nload, after moving the data to Postgres the machine was pretty much\nmaxed out on CPU and... |
[
{
"msg_contents": "I think I have a solution for you.\n\nYou have posted that you presently have these RAID volumes and behaviors:\n sda: data (10 spindles, raid10)\n sdb: xlog & clog (2 spindles, raid1)\n sdc: os and other stuff\n\nUsually iostat (2 second interval) says:\navg-cpu: %user %nice %sys %i... |
[
{
"msg_contents": "That was my suspicion as well, which is why I tried the V2 protocol. \n\nI do not know of any specific queries that are causing the problem. As\nI monitor 'top' I see processes utilizing a significant amount of CPU\nrunning SELECT, UPDATE and DELETE, which would lead me to believe that\nit ... |
[
{
"msg_contents": "Hi\n I am using Postgres version \n *PostgreSQL 7.4.5 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5).* \n for an multy user desktop application using VB 6.0 as a front end toll.\n\n To connect To the PostgreSQL I am using *PostgreSQL... |
[
{
"msg_contents": "I have some questions about tuning my effective_cache_size\n\nI have a RHEL 2.1 box running with dual Xeon (2.6 GHz I believe and\nthey have HT on). The box has 8GB memory. In my postgresql.conf, I\nhave set the effective_cache_size = 530505 (~4GB).\n\nHowever, I am noticing on this machine... |
[
{
"msg_contents": "At 05:15 AM 8/17/2005, Ulrich Wisser wrote:\n>Hello,\n>\n>thanks for all your suggestions.\n>\n>I can see that the Linux system is 90% waiting for disc io.\n\nA clear indication that you need to improve your HD IO subsystem if possible.\n\n\n>At that time all my queries are *very* slow.\n\nTo... |
[
{
"msg_contents": "Hello,\nDoing some testing on upcoming 8.1 devel and am having serious issues\nwith new bitmap index scan feature. It is easy to work around (just\ndisable it) but IMO the planner is using it when a regular index scan\nshould be strongly favored. The performance of the bitmapscan in my\nusa... |
[
{
"msg_contents": "Hello all,\n\nis there a simple way to limit the number of concurrent callers to a \nstored proc?\n\nThe problem we have is about 50 clients come and perform the same \noperation at nearly the same time. Typically, this query takes a few \nseconds to run, but in the case of this thundering h... |
[
{
"msg_contents": "I just put together a system with 6GB of ram on a 14 disk raid 10 array.\nWhen I run my usual big painful queries, I get very little to know\nmemory usage. My production box (raid 5 4GB ram) hovers at 3.9GB used\nmost of the time. the new devel box sits at around 250MB. \n\nI've switched to a... |
[
{
"msg_contents": "Hello:\n\nWe are having serious performance problems using JBOSS and PGSQL.\n\nI'm sure the problem has to do with the application itself (and neither\nwith JBOSS nor PGSQL) but the fact is that we are using desktop\nequipment to run both Jboss and Postgresql (An Athlon 2600, 1 Gb Ram,\nIDE H... |
[
{
"msg_contents": "Christopher\n> You could use a 1 column/1 row table perhaps. Use some sort of\nlocking\n> mechanism.\n> \n> Also, check out contrib/userlock\n\nuserlock is definitely the way to go for this type of problem. \n\nThe are really the only way to provide locking facilities that live\noutside tra... |
[
{
"msg_contents": "Jeffrey W. Baker wrote:\n> On Tue, 2005-08-16 at 10:46 -0700, Roger Hand wrote:\n>> The disks are ext3 with journalling type of ordered, but this was later changed to writeback with no apparent change in speed.\n>> \n>> They're on a Dell poweredge 6650 with LSI raid card, setup as follows:\n>... |
[
{
"msg_contents": "Hi all,\nI bet you get tired of the same ole questions over and\nover. \n\nI'm currently working on an application that will poll\nthousands of cable modems per minute and I would like\nto use PostgreSQL to maintain state between polls of\neach device. This requires a very heavy amount of\n... |
[
{
"msg_contents": "> Kari Lavikka <tuner@bdb.fi> writes:\n> > However, those configuration changes didn't have significant effect\nto\n> > oprofile results. AtEOXact_CatCache consumes even more cycles.\n> \n> I believe I've fixed that for 8.1.\n\nRelative to 8.0, I am seeing a dramatic, almost miraculous reduct... |
[
{
"msg_contents": "Hi list,\n\nI´m using Pg 8.0.3 on Linux FC2.\n\nThis question may have a very simple answer (I hope), but I´m having lots of trouble solving it, and I counldn´t find any other post about it or anything in the pg docs.\n\nI have some very complex select statements on 4 million rows tables. Whe... |
[
{
"msg_contents": "> Cool --- we've done a fair amount of work on squeezing out internal\n> inefficiencies during this devel cycle, but it's always hard to\npredict\n> just how much anyone will notice in the real world.\n> \n> Care to do some oprofile or gprof profiles to see where it's still\nbad?\n> \n\nSince... |
[
{
"msg_contents": "Hi,\n\nWhile testing 8.1dev I came to this:\n\nCREATE TABLE t (\na int,\nb int\nPRIMARY KEY (a,b));\n\nIn that case, the index is as big as the table.\n\nMy question is is it worthwhile to have such index peformance wise.\nI understand I'd loose uniqness buthas such an index any chance to be... |
[
{
"msg_contents": "I'm reposting this because my mailer hiccuped when I sent it the \nfirst time. If this results in a double post, I apologize.\n\nAt 02:53 PM 8/20/2005, Jeremiah Jahn wrote:\n>On Fri, 2005-08-19 at 16:03 -0500, John A Meinel wrote:\n> > Jeremiah Jahn wrote:\n> > > On Fri, 2005-08-19 at 12:18 ... |
[
{
"msg_contents": "I need to improve the performance for the following\nquery.\n\nSoon after I reboot my server, the following query takes\n20 seconds the first time I run it.\nWhen I run it after that, it takes approximately 2 seconds.\nI understand the caching taking place (at the os or db\nlevel, it doesn't ... |
[
{
"msg_contents": "Hi,\n\nSay I have a table with column A, B, C, D\nA has a unique index on it (primary key)\nB and C have a normal index on it\nD has no index\n\nIf I perform a query like update tbl set D = 'whatever' ;\nthat should make no difference on the indexes on the other columns, \nright ?\n\nOr is... |
[
{
"msg_contents": "I always forget that this goes to the writer itself and not to the \ngroup.\n>\n>\n> Ok, this is a major setback in some of my procedures.\n> From time to time, I must update one field in about 10% of the records.\n> So this will take time.\n>\n> How can I work around that ?\n>\n> Some perso... |
[
{
"msg_contents": "My DB is quite simple. It holds data about printjobs that come from \nthe windows eventlog.\nThe data is shown on a website. I have one main table: tblPrintjobs.\nWe add some extra data to it. Like the applicationtype, based on rules \nwe define in other tables.\n\nWhen a rule changes, the... |
[
{
"msg_contents": "I'm resending this as it appears not to have made it to the list.\n\nAt 10:54 AM 8/21/2005, Jeremiah Jahn wrote:\n>On Sat, 2005-08-20 at 21:32 -0500, John A Meinel wrote:\n> > Ron wrote:\n> >\n> > Well, since you can get a read of the RAID at 150MB/s, that means that\n> > it is actual I/O spe... |
[
{
"msg_contents": "> Bill of Materials Traversal ( ~ 62k records).\n> \n> ISAM* pg 8.0 pg 8.1 devel delta 8.0->8.1\n> running time 63 sec 90 secs 71 secs 21%\n> cpu load 17% 45% 32% 29%\n> loadsecs** 10.71 40.5 22.72 44%\n>... |
[
{
"msg_contents": "\nHello,\n\nI am running PostgreSQL 8.0.x on Solaris 10 AMD64. My Tablesize for this \ntest is about 80G. When I run a query on a column which is not indexed, I \nget a full table scan query and that's what I am testing right now. (I am \nartificially creating that scenario to improve that c... |
[
{
"msg_contents": "> That seems quite peculiar; AFAICS the pgstat code shouldn't be any\n> slower than before. At first I thought it might be because we'd\n> increased PGSTAT_ACTIVITY_SIZE, but actually that happened before\n> 8.0 release, so it shouldn't be a factor in this comparison.\n\nJust FYI the last ti... |
[
{
"msg_contents": "I am looking for the latest pgbench and documentation.\n\nIf someone know where I can locate them it would save a lot of search time.\n\nThanks\n\nPhilip Pinkerton\nTPC-C Benchmarks Sybase\nIndependant Consultant\nRio de Janeiro, RJ, Brazil 22031-010\n\n\n",
"msg_date": "Mon, 22 Aug 2005... |
[
{
"msg_contents": "Hello all,\n\nwhat are unused item pointers and how do I get rid of them?\n\nWe have a fairly large table which is vacuumed daily and reindexed every \nweekend.\n\nNFO: vacuuming \"public.tbltimeseries\"\nINFO: index \"idx_timeseries\" now contains 26165807 row versions in \n151713 pages\nDET... |
[
{
"msg_contents": "I've read that indexes aren't used for COUNT(*) and I've noticed (7.3.x)\nwith EXPLAIN that indexes never seem to be used on empty tables - is\nthere any reason to have indexes on empty tables, or will postgresql\nnever use them.\n \nThis is not as silly as it sounds - with table inheritance ... |
[
{
"msg_contents": "Hi.\n\nThe company that I'm working for are surveying the djungle of DBMS\nsince we are due to implement the next generation of our system.\n\nThe companys buissnes is utilizing the DBMS to store data that are\naccessed trough the web at daytime (only SELECTs, sometimes with joins,\netc). The... |
[
{
"msg_contents": "Dear Gurus,\n\nSystem: Debian \"Woody\" 2.4.28\nVersion: PostgreSQL 7.4.8\n\nI have a join which causes a better hash if I provide a \"trivial\" condition:\nWHERE m.nap > '1900-01-01'::date\nThis is a date field with a minimum of '2005-06-21'. However, if I omit this \ncondition from the WHER... |
[
{
"msg_contents": "Hi all,\n\nI like to know the caching policies of Postgresql. \nWhat parameter in the postgresql.conf affects the\ncache size used by the Postgresql? As far as I have\nsearched my knowledge of the parameters are\n\n1. shared_buffers - Sets the limit on the amount of\nshared memory used. If ... |
[
{
"msg_contents": "> Does that include increasing the size of read/write blocks? I've \n> noticedthat with a large enough table it takes a while to do a \n> sequential scan,\n> even if it's cached; I wonder if the fact that it takes a million\n> read(2) calls to get through an 8G table is part of that.\n> \n\n\... |
[
{
"msg_contents": "Hello,\ni have a pg-8.0.3 running on Linux kernel 2.6.8, CPU Sempron 2600+, \n1Gb RAM on IDE HD ( which could be called a \"heavy desktop\" ), measuring \nthis performance with pgbench ( found on /contrib ) it gave me an \naverage ( after several runs ) of 170 transactions per second;\n\n... |
[
{
"msg_contents": "> Hello,\n> i have a pg-8.0.3 running on Linux kernel 2.6.8, CPU Sempron\n2600+,\n> 1Gb RAM on IDE HD ( which could be called a \"heavy desktop\" ),\nmeasuring\n> this performance with pgbench ( found on /contrib ) it gave me an\n> average ( after several runs ) of 170 transactions per se... |
[
{
"msg_contents": "Ok, there is always a lot of talk about tuning PostgreSQL on linux and\nhow PostgreSQL uses the linux kernel cache to cache the tables and\nindexes.\n\nMy question is, is there anyway to see what files linux is caching at\nthis moment?\n\nMy reasoning behind this question is:\n\nI have severa... |
[
{
"msg_contents": "> Ok, there is always a lot of talk about tuning PostgreSQL on linux and\n> how PostgreSQL uses the linux kernel cache to cache the tables and\n> indexes.\n[...]\n> \n> 1. Implement a partition type layout using views and rules - This\n> will allow me to have one table in each view with the ... |
[
{
"msg_contents": "Since Bruce referred to the \"corporate software world\" I'll chime in...\n\nIt has been a while since adding knobs and dials has been considered a good idea. Customers are almost always bad at tuning their systems, which decreases customer satisfaction. While many people assume the corpora... |
[
{
"msg_contents": "Agreed!!!\n\nBut the knowledge to Auto-tune your application comes from years of understanding of how users are using the so-called \"knobs\".. But if the \"knobs\" are not there in the first place.. how do you know what people are using?\n\nThe \"so-called\" big boys are also using their kno... |
[
{
"msg_contents": "I have a table called 'jobs' with several million rows, and the only\ncolumns that are important to this discussion are 'start_time' and\n'completion_time'.\n\nThe sort of queries I want to execute (among others) are like:\n\nSELECT * FROM jobs\nWHERE completion_time > SOMEDATE AND start_time... |
[
{
"msg_contents": "I'm looking for an external RAID array (with external controller);\neither ~8 15kRPM SCSI drives or something with more SATA drives. This\nwill be used in a test environment and could get moved between machines,\nso I'd like something with it's own RAID controller. Support for a broad\nrange ... |
[
{
"msg_contents": "Andrew,\n\nOn Thu, 2005-08-25 at 12:24 -0700, Andrew Lazarus wrote:\n> Should I temporarily increase sort_mem, vacuum_mem, neither, or both \n> when doing a CLUSTER on a large (100 million row) table where as many as \n> half of the tuples are deadwood from UPDATEs or DELETEs? I have large \n... |
[
{
"msg_contents": "Consider this setup - which is a gross simplification of parts of our\nproduction system ;-)\n\n create table c (id integer primary key);\n create table b (id integer primary key, c_id integer);\n create index b_on_c on b(c_id)\n\n insert into c (select ... lots of IDs ...);\n insert int... |
[
{
"msg_contents": ">I have a pl/pgsql function that using temp table to perform searching logic,\n>we have one server running on 512MB, Red Hat 9.0, postgresql-7.4.5.\n>the problem is the pl/pgsql function that i created will increase postmaster memory when calling to function\n>become more frequent, i did a te... |
[
{
"msg_contents": "Hi list,\n\nI'm writing an application that will aggregate records with a few \nmillion records into averages/sums/minimums etc grouped per day.\n\nClients can add filters and do lots of customization on what they want \nto see. And I've to translate that to one or more queries. Basically, I ... |
[
{
"msg_contents": "Hello all,\n\nI was hoping someone could explain the plan for a statement. \n\nWe have a table with a column of longs being used as an index. The \nquery plan in 8.0 was like this:\n\n# explain select distinct timeseriesid from tbltimeseries where \ntimeseriesid > 0 order by timeseriesid;\n... |
[
{
"msg_contents": "Mark Kirkwood\n> > The 'desc' seems to be the guy triggering the sort, e.g:\n> \n> Oh; really an accident that I didn't notice myself, I was actually\ngoing\n> to\n> remove all instances of \"desc\" in my simplification, but seems like I\n> forgot.\n\nIf desc is the problem you can push the q... |
[
{
"msg_contents": "> Hello all,\n> \n> I was hoping someone could explain the plan for a statement.\n> \n> We have a table with a column of longs being used as an index. The\n> query plan in 8.0 was like this:\n> \n> # explain select distinct timeseriesid from tbltimeseries where\n> timeseriesid > 0 order by t... |
[
{
"msg_contents": "\n I would like to know if the following kind of database client exists: I need a 'select' query to be sent to say 10 db servers simultaneously in parallel (using threading), the results should be re-sorted and returned. For example I have a query: 'select * from table where parent_clname = '... |
[
{
"msg_contents": "> Does such a solution exist now. To me this appears to be in entirety\nof\n> what should constitute a database cluster. Only the search needs to be\n> done on all the servers simultaneously at the low level. Once you get\nthe\n> results, the writing can be determined by the upper level logi... |
[
{
"msg_contents": "Well folks, I've been trying to track down why this Athlon 2800 \n(2.1ghz) has been handing my 2.5ghz G5 its cake. I have a query that \n(makes no io - the dataset can live in ram easily) takes about 700ms \non the athlon and about 10 seconds on the G5.\n\nTracking ti down a bit timestamp... |
[
{
"msg_contents": "Hopefully a quick question.\n\nIn 7.3.4, how does the planner execute a query with union alls in it?\n\nDoes it execute the unions serially, or does it launch a \"thread\" for\neach union (or maybe something else entirely).\n\nThanks,\n\nChris\n\nHere is an explain from the view I'm thinking ... |
[
{
"msg_contents": "Hello,\n\nWe are using PostgreSQL for our business application. Recently, during\ntesting of our application with large volumes of data, we faced a weird\nproblem. Our query performance dropped *dramatically* after \"VACUUM FULL\nANALYZE\" command. We have encountered a similar problem listed... |
[
{
"msg_contents": "Hello Friends,\nWe were having a database in pgsql7.4. The database was responding very\nslowly even after full vacuum (select\ncount(*) from some_table_having_18000_records was taking 18 Sec).\n\nWe took a backup of that db and restored it back. Now the same db on\nsame PC is responding fast... |
[
{
"msg_contents": "I tried to use intarray on 8.1 . It seems to give same estimates for\nanything I ask:\n\n \n\nexplain analyze select * from objects_hier where tg && array[10001] \n\nexplain analyze select * from objects_hier where tg && array[0] \n\nexplain analyze select * from objects_hier where tg @ array... |
[
{
"msg_contents": "explain analyze select * from objects_hier where tg && array[0] and id\n<10000;\n\n \n\nBitmap Heap Scan on objects_hier (cost=4.79..8.80 rows=1 width=337) (actual\ntime=0.110..0.110 rows=0 loops=1)\n\n Recheck Cond: ((tg && '{0}'::integer[]) AND (id < 10000))\n\n -> BitmapAnd (cost=4.... |
[
{
"msg_contents": "I have a query:\n\n \n\nSELECT oh.id\nFROM objects_hier oh\nwhere\noh.id < 2000 (!)\nand\noh.id in (\n SELECT id as id FROM objects_access oa\n WHERE\n oa.master IN (1,2,10001)\n AND\n oa.id < 2000 (!)\n\n)\n\n \n\nThe sense of the query is simple: I choose ids from o... |
[
{
"msg_contents": "We have been trying to pinpoint what originally seem to be a I/O \nbottleneck but which now seems to be an issue with either Postgresql or \nRHES 3.\n\nWe have the following test environment on which we can reproduce the \nproblem:\n\n1) Test System A\nDell 6650 Quad Xeon Pentium 4\n8 Gig of ... |
[
{
"msg_contents": "Hi,\n \nI�ve configured postgresql to use 1GB of shared buffers but meminfo and \"top\" are indicanting 0 shared buffers page. Why?\n \nIt�s a Linux Redhat 9 box with 4GB RAM and postgresql 7.3.\n \nThanks in advance!\n \nReimer\n\n\t\t\n---------------------------------\nYahoo! Acesso Gr... |
[
{
"msg_contents": "Tobias wrote:\n> Splendid :-) Unfortunately we will not be upgrading for some monthes\n> still,\n> but anyway I'm happy. This provides yet another good argument for\n> upgrading\n> sooner. I'm also happy to see such a perfect match:\n> \n> - A problem that can be reduced from beeing comple... |
[
{
"msg_contents": "\nTry as I might, I can't seem to get it to work ... table has >9million \nrows in it, I've created an index \"using btree ( priority ) where priority \n< 0;\", where the table distribution looks like:\n\n priority | count\n----------+---------\n -2 | 138435\n -1 | 943250\n ... |
[
{
"msg_contents": "Actually the indexes on the child table do seem to get used - I just\nwanted to make sure there was no penalty not having indexes on the empty\nparent tables.\n \nYou are right - the parent is the best way to get at the unknown\nchildren ... \n\n\n _____ \n\n\tFrom: Thomas F. O'Connell [mai... |
[
{
"msg_contents": "\n\n\n\nHi All,\n I am running an application, which connects to the postgres\ndatabase at initialization time and perform the database operations like\nSelect/Update.\nDatabase queries are very simple.\nOn analyzing my application through Quantifier( Performance analyzing\ntool), ... |
[
{
"msg_contents": "Hello,\n\nWe are about to install a new PostgreSQL server, and despite of being a \nvery humble configuration compared to the ones we see in the list, it's \nthe biggest one we've got till now.\n\nThe server is a Dual Xeon 3.0 with 2 GB RAM and two SCSI disks. Our main \ndoubt is what is the ... |
[
{
"msg_contents": "Hello Friends,\n \nWe were having a database in pgsql7.4.2 The database was responding very\nslowly even after full vacuum analyze (select count(*) from\nsome_table_having_18000_records was taking 18 Sec).\n \nWe took a backup of that db and restored it back. Now the same db on\nsame PC is re... |
[
{
"msg_contents": "I have seen references of changing the kernel io scheduler at boot time...not sure if it applies to RHEL3.0, or will help, but try setting 'elevator=deadline' during boot time or via grub.conf. Have you tried running a simple 'dd' on the LUN? The drives are in RAID10 configuration, right?\n\n... |
[
{
"msg_contents": "We have a highly active table that has virtually all\nentries updated every 5 minutes. Typical size of the\ntable is 50,000 entries, and entries have grown fat.\n\nWe are currently vaccuming hourly, and towards the end\nof the hour we are seeing degradation, when compared\nto the top of the ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.