threads listlengths 1 275 |
|---|
[
{
"msg_contents": "Thankyou Alexander,\n\n\tThat has worked and appears to have fixed the issue with syslog.\n\nTheo\n\n-----Original Message-----\nFrom: Alexander Borkowski [mailto:alexander.borkowski@abri.une.edu.au] \nSent: Tuesday, 21 December 2004 10:09 AM\nTo: Theo Galanakis\nCc: 'pgsql-performance@postgr... |
[
{
"msg_contents": "I used postgresql 7.3.2-1 with RH 9 on a mechine of 2 Xeon 3.0 Ghz and ram\nof 4 Gb. Since 1 1/2 yr. when I started to use the database server after\noptimizing the postgresql.conf everything went fine until a couple of\nweeks ago , my database grew up to 3.5 Gb and there were more than 140\n... |
[
{
"msg_contents": "> > A demo I've set up for sales seems to be spending much of it's time in\n> > disk wait states.\n> >\n> >\n> > The particular system I'm working with is:\n> > Ext3 on Debian inside Microsoft VirtualPC on NTFS\n> > on WindowsXP on laptops of our sales team.\n> \n> As this is only for... |
[
{
"msg_contents": "Hello, i have a problem between V7.4.3 Cygwin and\nV8.0RC2 W2K. I have 2 systems:\n\n1. Production Machine\n - Dual P4 3000MHz\n - 2 GB RAM\n - W2K\n - PostgreSQL 7.4.3 under Cygwin\n - i connect to it over a DSL Line\n2. Develop Machine\n - P4 1800MHz\n - 760 MB RAM\n ... |
[
{
"msg_contents": "Hi,\n\nA small test with 8rc2 and BLCKSZ of 8k and 32k.\nIt seems there is a 10% increase in the number of transactions by \nsecond.\nDoes someone plan to carefully test the impact of BLCKSZ ?\n\nCordialement,\nJean-Gérard Pailloncy\n\nwith 8k:\n > /test/bin/pgbench -c 10 -t 300 test\nstartin... |
[
{
"msg_contents": "Merry Xmas!\n\nI have a query. It sometimes runs OK and sometimes\nhorrible. Here is result from explain analyze:\n\nexplain analyze\nSELECT module, sum(c1) + sum(c2) + sum(c3) + sum(c4)\n+ sum(c5) AS \"count\"\nFROM xxx\nWHERE created >= ('now'::timestamptz - '1\nday'::interval) AND custom... |
[
{
"msg_contents": "Hi,\ni recently run pgbench against different servers and got some results I \ndont quite understand.\n\nA) EV1: Dual Xenon, 2GHz, 1GB Memory, SCSI 10Krpm, RHE3\nB) Dual Pentium3 1.4ghz (Blade), SCSI Disk 10Krmp, 1GB Memory, Redhat 8\nC) P4 3.2GHz, IDE 7.2Krpm, 1GBMem, Fedora Core2\n\nAll did... |
[
{
"msg_contents": "Hi All,\n \nI have a database running on Postgres 7.3.2. I am dumping the database schema from postgres 7.4.6 to restore it on the new Postgres version. The two postgres versions are running on different machines. I did the dump and tried restoring it. I got an error message saying type \"lo\... |
[
{
"msg_contents": "Hi Everybody.\n\n I have a table in my production database which gets updated \nregularly and the stats on this table in pg_class are totally wrong. I \nused to run vacuumdb on the whole database daily once and when i posted \nthe same problem of wrong stats in the pg_class most of the... |
[
{
"msg_contents": "I took advantage of the holidays to update a production server (dual\nOpteron on win2k) from an 11/16 build (about beta5 or so) to the latest\nrelease candidate. No configuration changes were made, just a binary\nswap and a server stop/start. \n\nI was shocked to see that statement latency ... |
[
{
"msg_contents": "Dear all,\n\nWhat would be the best configure line that would suite for optimization\n\nAs I understand by eliminating unwanted modules, I would make the DB lighter\nand faster.\n\nLets say the module needed are only english module with LC_collate C\nmodule type.\n\nHow could we eliminate th... |
[
{
"msg_contents": "I try to adjust my server for a couple of weeks with some sucess but it still\nslow when the server has stress in the moring from many connection . I used\npostgresql 7.3.2-1 with RH 9 on a mechine of 2 Xeon 3.0 Ghz and ram of 4 Gb.\nSince 1 1/2 yr. when I started to use the database server a... |
[
{
"msg_contents": "Amrit --\n\n>-----Original Message-----\n>From:\tamrit@health2.moph.go.th [mailto:amrit@health2.moph.go.th]\n>Sent:\tMon 1/3/2005 12:18 AM\n>To:\tMark Kirkwood\n>Cc:\tPGsql-performance\n>Subject:\tRe: [PERFORM] Low Performance for big hospital server ..\n>> shared_buffers = 12000 will use 120... |
[
{
"msg_contents": "amrit wrote:\n> I try to adjust my server for a couple of weeks with some sucess but\nit\n> still\n> slow when the server has stress in the moring from many connection . I\n> used\n> postgresql 7.3.2-1 with RH 9 on a mechine of 2 Xeon 3.0 Ghz and ram of\n4\n> Gb.\n> Since 1 1/2 yr. when I sta... |
[
{
"msg_contents": "Hi,\n\nare there any plans for rewriting queries to preexisting materialized\nviews? I mean, rewrite a query (within the optimizer) to use a\nmaterialized view instead of the originating table?\n\nRegards,\nYann\n",
"msg_date": "Mon, 3 Jan 2005 17:55:32 +0100",
"msg_from": "Yann Mich... |
[
{
"msg_contents": "Tom Lane wrote:\n> \"Merlin Moncure\" <merlin.moncure@rcsonline.com> writes:\n> > I took advantage of the holidays to update a production server (dual\n> > Opteron on win2k) from an 11/16 build (about beta5 or so) to the\nlatest\n> > release candidate. No configuration changes were made, jus... |
[
{
"msg_contents": "I've got a table using a data type that I have created as the type for its primary key. I (hope) I have the type set up properly - it seems okay, and does not have any problem creating a b-tree index for the type. The problem I am having is that the index seems to never be chosen for use. ... |
[
{
"msg_contents": "Hi ,\n\n I am experiencing a very bad performance on my production database \nlately , all my queries are slowing down. Our application is a webbased \nsystem with lot of selects and updates. I am running \"vacuumdb\" daily on \nall the databases, are the below postgres configuration para... |
[
{
"msg_contents": "Besides the tables pg_stat_xxx, are there any stronger tools for\nPostgreSQL as the counterpart of Oracle's Statspack? Is it possible at\nall to trace and log the cpu and io cost for each committed\ntransaction?\nThanks a lot! -Stan\n\n__________________________________________________\nDo ... |
[
{
"msg_contents": "Today is the first official day of this weeks and the system run better in\nserveral points but there are still some points that need to be corrected. Some\nqueries or some tables are very slow. I think the queries inside the programe\nneed to be rewrite.\nNow I put the sort mem to a little b... |
[
{
"msg_contents": "All,\n I am currently working on a project for my company that entails\nDatabasing upwards of 300 million specific parameters. In the current\nDB Design, these parameters are mapped against two lookup tables (2\nmillion, and 1.5 million respectively) and I am having extreme issues\ngetting... |
[
{
"msg_contents": "Rod,\n I do this, PG gets forked many times, it is tough to find the max\nnumber of times I can do this, but I have a Proc::Queue Manager Perl\ndriver that handles all of the copy calls. I have a quad CPU machine.\nEach COPY only hits ones CPU for like 2.1% but anything over about 5\nkicks ... |
[
{
"msg_contents": "I have an integer column that is not needed for some rows in the table\n(whether it is necessary is a factor of other row attributes, and it \nisn't worth putting in a separate table).\n\nWhat are the performance tradeoffs (storage space, query speed) of using \nNULL versus a sentinel integer... |
[
{
"msg_contents": "Has anyone seen a benchmark on the speed difference between:\n\nSELECT * FROM item WHERE id=123;\nand\nSELECT * FROM vendor WHERE id=515;\n\nversus:\n\nSELECT * FROM item LEFT JOIN vendor ON item.vendor_id=vendor.id WHERE\nitem.id=123;\n\n\n\nI only have a laptop here so I can't really benchm... |
[
{
"msg_contents": "I'm still relatively new to Postgres. I usually just do SQL programming \nbut have found my self having to administer the DB now. I have I have \na problem on my website that when there is high amounts of traffic \ncoming from one computer to my web server. I suspect it is because of a \nvir... |
[
{
"msg_contents": "Hi there! I'm doing my first tunning on my postgreSQL, my server is for \na small app, largest table shall never exceed 10k rows, and less than 1k \ntransactions/day. So I don't think I should run out of resources. The \nmachine is a Fedora Core 3.0 with 1gb ran and kernel 2.6. I'm thinking \... |
[
{
"msg_contents": "\n> Hi there! I'm doing my first tunning on my postgreSQL, my server is\nfor\n> a small app, largest table shall never exceed 10k rows, and less than\n1k\n> transactions/day. So I don't think I should run out of resources. The\n> machine is a Fedora Core 3.0 with 1gb ran and kernel 2.6. I'm t... |
[
{
"msg_contents": "In my younger days I denormalized a database for performance reasons and\nhave been paid for it dearly with increased maintenance costs. Adding\nenhanced capabilities and new functionality will render denormalization\nworse than useless quickly. --Rick\n\n\n ... |
[
{
"msg_contents": " \tI'm looking for recent performance statistics on PostgreSQL vs. Oracle \nvs. Microsoft SQL Server. Recently someone has been trying to convince my \nclient to switch from SyBASE to Microsoft SQL Server (they originally wanted \nto go with Oracle but have since fallen in love with Micro... |
[
{
"msg_contents": "Josh Berkus wrote:\n\n>Amrit,\n>\n> \n>\n>>I use RH 9.0 with postgresql 7.3.2 and 4 Gb ram [server spec. Dual Xeon\n>>3.0] and someone mention that the hyperthreading will not help but if I let\n>>it there will it be any harm to the system?\n>>Any comment please.\n>> \n>>\n>\n>Sometimes.... |
[
{
"msg_contents": "Summary: Doing a two or three table join for a date range performs\nworse than doing the same query individually for each date in the\nrange.\n\nWhat works: Doing a query just on a single date or a date range\n(against just one table) runs quick; 'explain' says it uses an index\nscan. Doing ... |
[
{
"msg_contents": "Do large TEXT or VARCHAR entries in postgresql cause any performance\ndegradation when a query is being executed to search for data in a table\nwhere the TEXT/VARCHAR fields aren't being searched themselves?\n\nSince, according to the postgresql docs, theirs no performance\ndifference between... |
[
{
"msg_contents": "I have an integer column that is not needed for some rows in the table\n(whether it is necessary is a factor of other row attributes, and it\nisn't worth putting in a separate table).\n\nWhat are the performance tradeoffs (storage space, query speed) of using \na NULL enabled column versus a ... |
[
{
"msg_contents": "Hi,\n \nI am a recent convert to Postgresql, and am trying to tune a very slow query\nacross ten tables all with only a few rows at this stage (<20), and was\nlooking for some help to get me out of a dead-end.\n \nIt runs very slowly both on a hosted Postgresql 7.3.4 server running on\nFreeBS... |
[
{
"msg_contents": "I'm sorry if there's a URL out there answering this, but I couldn't find it.\n\nFor those of us that need the best performance possible out of a\ndedicated dual-CPU PostgreSQL server, what is recommended?\n\nAMD64/Opteron or i386/Xeon?\n\nLinux or FreeBSD or _?_\n\nI'm assuming hardware RAID ... |
[
{
"msg_contents": "Greetings to one and all,\n\n I've been trying to find some information on selecting an optimal \nfilesystem setup for a volume that will only contain a PostgreSQL Database \nCluster under Linux. Searching through the mailing list archive showed some \npromising statistics on the various f... |
[
{
"msg_contents": "> Subject: [PERFORM] which dual-CPU hardware/OS is fastest for\nPostgreSQL?\n> \n> I'm sorry if there's a URL out there answering this, but I couldn't\nfind\n> it.\n> \n> For those of us that need the best performance possible out of a\n> dedicated dual-CPU PostgreSQL server, what is recommen... |
[
{
"msg_contents": "> $4000 is not going to get you much disk - If you buy components from\n> the cheapest source I know (newegg.com) you end up around $5k with\n> 14x36gig Raptor SATA drives and a 4U chasis with a 14xSATA built in\n> back plane packing 2x9500S AMCC Escalade RAID cards, which are\n> supported in... |
[
{
"msg_contents": "Jim wrote: you'd be hard-pressed to find too many real-world examples where\nyou could do\nsomething with a PostgreSQL procedural language that you couldn't do\nwith PL/SQL.\n\nRick mumbled: You can't get it for nothing! %)\n\n\n ... |
[
{
"msg_contents": "\nAll of these recent threads about fastest hardware and \"who's better than \nwho\" has inspired me to create a new website:\n\nhttp://www.dbtuning.org\n\nI snipped a few bits from recent posts to get some pages started - hope \nthe innocent don't mind. It's a bit postgres biased at the mome... |
[
{
"msg_contents": "I wonder if I would like to increase more RAM from 4 Gb. to 6 Gb. [which I hope\nto increase more performance ] and I now I used RH 9 and Pgsql 7.3.2 ON DUAL\nXeon 3.0 server thay has the limtation of 4 Gb. ram, I should use which OS\nbetween FC 2-3 or redhat EL 3 [which was claimed to suppo... |
[
{
"msg_contents": "Hi All,\n\nHere is my test comparison between Postgres (7.3.2)\noptimizer vs Oracle (10g) optimizer. \n\nIt seems to me that Postgres optimizer is not smart \nenough.\n\nDid I miss anything?\n\nThanks,\n\nIn Postgres:\n============\ndrop table test;\ncreate table test (\n module charac... |
[
{
"msg_contents": "Hi,\n\njust want to share with all of you a wierd thing that i found when i \ntested it.\n\ni was doing a query that will call a function long2ip to convert bigint \nto ips.\n\nso the query looks something like this.\n\nselect id, long2ip(srcip), long2ip(dstip) from sometable\nwhere timestamp... |
[
{
"msg_contents": "Hi all,\n\n Is there a fast(er) way to get the sum of all integer values for a \ncertain condition over many thousands of rows? What I am currently doing \nis this (which takes ~5-10sec.):\n\nSELECT SUM (a.file_size) FROM file_info_1 a, file_set_1 b WHERE \na.file_name=b.fs_name AND a.file_... |
[
{
"msg_contents": "Hi All,\n \nI have the following query to generate a report grouped by \"states\".\n \nSELECT distinct upper(cd.state) as mystate, SUM(d.amount) as total_amount, SUM(COALESCE(d.fee,0) + COALESCE(mp.seller_fee, 0) + COALESCE(mp.buyer_fee,0)) as total_fee FROM data d left JOIN customerdata cd O... |
[
{
"msg_contents": "Please post in plaintext, not html where possible.\nYour group by clause was 'myst'...was that supposed to be mystate?\n\nHer is something you might try...use the original query form and create a function which resolves the state code from the input data...you are already doing that with uppe... |
[
{
"msg_contents": "Alex wrote:\n> Without starting too much controvesy I hope, I would seriously\n> recommend you evaluate the AMCC Escalade 9500S SATA controller. It\n> has many of the features of a SCSI controler, but works with cheaper\n> drives, and for half the price or many SCSI controlers (9500S-8MI goe... |
[
{
"msg_contents": "If I have this table, function and index in Postgres 7.3.6 ...\n\n\"\"\"\nCREATE TABLE news_stories (\n id serial primary key NOT NULL,\n pub_date timestamp with time zone NOT NULL,\n ...\n)\nCREATE OR REPLACE FUNCTION get_year_trunc(timestamp with time zone) returns \ntimestamp with... |
[
{
"msg_contents": "Greg wrote:\n> Josh Berkus <josh@agliodbs.com> writes:\n> \n> > Merlin,\n> >\n> > > I think the danger about SATA is that many SATA components are not\n> > > server quality, so you have to be more careful about what you buy.\n> For\n> > > example, you can't just assume your SATA backplane has... |
[
{
"msg_contents": "Tom,\n\nHmmm ... I'm seeing an issue with IN() optimization -- or rather the lack of \nit -- in 8.0rc5. It seems to me that this worked better in 7.4, although \nI've not been able to load this particular database and test\n\ndm=# explain\ndm-# SELECT personid FROM mr.person_attributes_old... |
[
{
"msg_contents": "Hi,\n\nI have the following problem. A week ago we've migrated from PGv7.2.3 to \n7.4.6. There were a lot of things in the apps to chenge but we made \nthem. But one query doesn't want to run. In the old PGv7.2.3 it passes \nfor 10 min. In the new one it gaves:\n \nDBD::Pg::st execute failed:... |
[
{
"msg_contents": "Hi to all, \n\nI have a query which counts how many elements I have in the database.\n\nSELECT count(o.id) FROM orders o\n INNER JOIN report r ON o.id=r.id_order\n INNER JOIN status s ON o.id_status=s.id\n INNER JOIN contact c ON o.id_ag=c.id\n INNER JOIN endkunde e ON o.i... |
[
{
"msg_contents": "Hi,\n \nI have the go ahead of a customer to do some testing on Postgresql in a\ncouple of weeks as a replacement for Oracle.\nThe reason for the test is that the number of users of the warehouse is\ngoing to increase and this will have a serious impact on licencing costs. (I\nbet that sounds... |
[
{
"msg_contents": "I just wanted to bounce off the list the best way to configure disks for a\npostgresql server. My gut feeling is as follows:\n \nKeep the OS and postgresql install on seperate disks to the postgresql /data\ndirectory?\nIs a single hard disk drive acceptable for the OS and postgresql program, ... |
[
{
"msg_contents": "Hello,\n I'm running PostgreSQL on a Solaris 8 system with 2GB of RAM and I'm \nhaving some difficulty getting PostgreSQL to use the available RAM. My RAM \nsettings in postgresql.conf are\n\nshared_buffers = 8192 # min 16, at least max_connections*2, 8KB each\nsort_mem = 131072 ... |
[
{
"msg_contents": "Hi,\n \nHas anyone had any experiance with any of the Areca SATA RAID controllers? I\nwas looking at a 3ware one but it won't fit in the 2U case we have so the\nsales guy recommended these.\n \nCheers,\n \nBenjamin Wragg\n\n-- \nNo virus found in this outgoing message.\nChecked by AVG Anti-Vi... |
[
{
"msg_contents": "Hi folks,\n\nRunning on 7.4.2, recently vacuum analysed the three tables in \nquestion.\n\nThe query plan in question changes dramatically when a WHERE clause \nchanges from ports.broken to ports.deprecated. I don't see why. \nWell, I do see why: a sequential scan of a 130,000 rows. The qu... |
[
{
"msg_contents": "Hi,\n \nI'm trying to tune a query that is taking to long to execute. I haven't done\nmuch sql tuning and have only had a little exposure to explain and explain\nanalyze but from what I've read on the list and in books the following is\ngenerally true:\n \nSeq Scans are the almost always evil... |
[
{
"msg_contents": "Hi,\n\nAnyone have tips for performance of Postgresql, running on HP-UX 11.11,\nPA-RISC (HP RP3410)? What is better compiler (GCC or HP C/ANSI), flags of\ncompilation, kernel and FS tunning?\n\nI have installed pgsql, and compiled with gcc -O2\n-fexpensive-optimizations flags only.\n\nAnother... |
[
{
"msg_contents": "This is a multi-part message in MIME format.\n\n--bound1106197232\nContent-Type: text/plain\nContent-Transfer-Encoding: 7bit\n\nLet's see if I have been paying enough attention to the SQL gurus. The planner is making a different estimate of how many deprecated<>'' versus how many broken <> ''... |
[
{
"msg_contents": "\nHi,\n\nI have the go ahead of a customer to do some testing on Postgresql in a couple of weeks as a\nreplacement for Oracle.\nThe reason for the test is that the number of users of the warehouse is going to increase and this\nwill have a serious impact on licencing costs. (I bet that sounds... |
[
{
"msg_contents": "Hello everyone,\n\nI'm having a problem with some of my tables and I'm not sure if \npostgres' behaviour is maybe even a bug. I'm (still) using 8.0rc5 at \npresent.\n\nI have a table that contains among other columns one of the sort:\n\tpurge_date timestamp\n\nmost records will have this fiel... |
[
{
"msg_contents": "Hi to all, \n\nI have the following 2 examples. Now, regarding on the offset if it is small(10) or big(>50000) what is the impact on the performance of the query?? I noticed that if I return more data's(columns) or if I make more joins then the query runs even slower if the OFFSET is bigger. ... |
[
{
"msg_contents": "Andrei:\nHi to all, \n\nI have the following 2 examples. Now, regarding on the offset if it is small(10) or big(>50000) what is the impact on the performance of the query?? I noticed that if I return more data's(columns) or if I make more joins then the query runs even slower if the OFFSET is... |
[
{
"msg_contents": "Dear community,\n\nMy company, which I actually represent, is a fervent user of PostgreSQL.\nWe used to make all our applications using PostgreSQL for more than 5 years.\nWe usually do classical client/server applications under Linux, and Web \ninterface (php, perl, C/C++). We used to manage ... |
[
{
"msg_contents": "> No please do not talk about this again ... I'm looking about a PostgreSQL\n> solution ... I know RAC ... and I'm not able to pay for a RAC certify\n> hardware configuration plus a RAC Licence.\n\nAre you totally certain you can't solve your problem with a single server solution?\n\nHow abou... |
[
{
"msg_contents": "I think maybe a SAN in conjunction with tablespaces might be the answer.\nStill need one honking server.\n\nRick\n\n\n \n Stephe... |
[
{
"msg_contents": "I'm dealing with big database [3.8 Gb] and records of 3 millions . Some of the\nquery seems to be slow eventhough just a few users in the night. I would like\nto know which parameter list below is most effective in rising the speed of\nthese queries?\n\nShmmax = 32384*8192 =265289728\nShare b... |
[
{
"msg_contents": "> I am also very interesting in this very question.. Is there any way to\n> declare a persistant cursor that remains open between pg sessions?\n> This would be better than a temp table because you would not have to\n> do the initial select and insert into a fresh table and incur those IO\n> c... |
[
{
"msg_contents": "Isn't this a prime example of when to use a servlet or something similar\nin function? It will create the cursor, maintain it, and fetch against\nit for a particular page.\n\nGreg\n\n\n-----Original Message-----\nFrom: Richard Huxton [mailto:dev@archonet.com]\nSent: Thursday, January 20, 200... |
[
{
"msg_contents": "> this will only work unchanged if the index is unique. imagine , for\n> example if you have more than 50 rows with the same value of col.\n> \n> one way to fix this is to use ORDER BY col,oid\n\nnope! oid is\n1. deprecated\n2. not guaranteed to be unique even inside a (large) table.\n\nUse ... |
[
{
"msg_contents": "> Dealing about the hardware, for the moment we have only a bi-pentium Xeon\n> 2.8Ghz with 4 Gb of RAM ... and we saw we had bad performance results ...\n> so\n> we are thinking about a new solution with maybe several servers (server\n> design may vary from one to other) ... to get a kind of ... |
[
{
"msg_contents": "Wondering ...\n\n>From a performance standpoint, is it a bad idea to use inheritance\nsimply as a tool for easy database building. That is for creating\ntables that share the same columns but otherwise are unrelated.\n\nFor example, let's say I have the following set of columns that are\ncom... |
[
{
"msg_contents": "> Now I read all the posts and I have some answers.\n> \n> Yes, I have a web aplication.\n> I HAVE to know exactly how many pages I have and I have to allow the\nuser\n> to\n> jump to a specific page(this is where I used limit and offset). We\nhave\n> this\n> feature and I cannot take it out.... |
[
{
"msg_contents": "> Uhmmm no :) There is no such thing as a select trigger. The closest\nyou\n> would get\n> is a function that is called via select which could be detected by\n> making sure\n> you are prepending with a BEGIN or START Transaction. Thus yes pgPool\n> can be made\n> to do this.\n\nTechnically, y... |
[
{
"msg_contents": "How do I profile a user-defined function so that I know which parts of the\nfunction are the ones that are taking the biggest chunk of time?\n\nWhen I run EXPLAIN on the queries within the function none of them show up\nas onerous burdens to the performance. But when they are all operating\nt... |
[
{
"msg_contents": "This is probably a lot easier than you would think. You say that your \nDB will have lots of data, lots of updates and lots of reads.\n\nVery likely the disk bottleneck is mostly index reads and writes, with \nsome critical WAL fsync() calls. In the grand scheme of things, the \nactual data... |
[
{
"msg_contents": "> >Technically, you can also set up a rule to do things on a select with\nDO\n> >ALSO. However putting update statements in there would be considered\n(at\n> >least by me) very bad form. Note that this is not a trigger because\nit\n> >does not operate at the row level [I know you knew that a... |
[
{
"msg_contents": "Randolf,\n\nYou probably won't want to hear this, but this decision likely has \nnothing to do with brands, models, performance or applications.\n\nYou are up against a pro salesman who is likely very good at what he \ndoes. Instead spewing all sorts of \"facts\" and statistics to your \ncli... |
[
{
"msg_contents": "I have a query that thinks it's going to generate a huge number of rows,\nwhen in fact it won't:\n\nINSERT INTO page_log.rrs\n ( bucket_id, page_id,project_id,other, hits,min_hits,max_hits,total_duration,min_duration,max_duration )\n SELECT a.rrs_bucket_id, page_id,project_id,other\... |
[
{
"msg_contents": "Hello everyone,\n\nFirst time poster to the mailing list here. \n\nWe have been running pgsql for about a year now at a pretty basic level (I guess) as a backend for custom web (intranet) application software. Our database so far is a \"huge\" (note sarcasm) 10 Mb containing of about 6 or so ... |
[
{
"msg_contents": "Hi,\n I have a query which is executed using ilike. The query values are\nreceived from user and it is executed using PreparedStatement.\nCurrently all queries are executed as it is using iilike irrespective\nof whether it have a pattern matching character or not. Can using =\ninstead of i... |
[
{
"msg_contents": "Russell wrote:\n> I am not sure what the effect of it being prepared will be, however\nI've\n> had much success\n> with the method above without the queries being prepared. Others may\nbe\n> able to offer advice\n> about if prepare will effect it.\n> \nThere are two general cases I tend to u... |
[
{
"msg_contents": "Alex wrote:\n> How do you create a temporary view that has only a small subset of the\n> data from the DB init? (Links to docs are fine - I can read ;). My\n> query isn't all that complex, and my number of records might be from\n> 10 to 2k depending on how I implement it.\n\nWell, you can't... |
[
{
"msg_contents": "Hi all,\n\nWe are developing some application that works with DB over JDBC. We've used\nMSSQL before and trying to migrate to PostgreSQL now. Unfortunately problems\nwith performance are found. MSSQL with default configuration looks like much\nfaster then PostgreSQL on the same hardware (Post... |
[
{
"msg_contents": "Hi,\n\nI noticed that reltuples are way off if\nI vacuum the table and analyze the table.\nAnd the data (296901) after vacuum seems \naccurate while\nthe reltuples (1.90744e+06)\nafter anlayze is too wrong.\n\nMy PG version is 7.3.2 (I know it is old).\n\nAny thought?\n\nThanks,\n\nmy_db=# an... |
[
{
"msg_contents": "This is a multi-part message in MIME format.\n\n--bound1106633891\nContent-Type: text/plain\nContent-Transfer-Encoding: 7bit\n\nI'm also an autodidact on DB design, although it's well more than a year now. If you are planning to clean up the design, I strongly suggest getting a visual tool. G... |
[
{
"msg_contents": "I help manage an animal hospital of 100-employees Linux servers. I am \nnew to database setup and tuning, I was hoping I could get some \ndirection on a setting up drive array we're considering moving our \ndatabase to.\n\nThey're currently on a two-disk Adaptec RAID1 with Postgresql 7.4.2.\n... |
[
{
"msg_contents": "Hi all,\n I am running PostgreSQL 7.3.3 on a RHL 7.0 box with PIII and 512\nMB RAM. Recenlty I upgraded the kernel from 2.2.16 to 2.4.28. Now the\nproblem is Postgres is using only half of the memory now while before\nupgrading the kernel it was using full memory plus swap. If Postgres\nus... |
[
{
"msg_contents": "My db server is running under high load recently and the number of\nconnections during the morning hours is actually very high.\n\nThis morning I found the postgres not running and the following in my log file:\n\nDETAIL: The postmaster has commanded this server process to roll back\nthe cur... |
[
{
"msg_contents": "Hi gang,\n\nI just inherited a FreeBSD box, and it is horribly sick. So we moved\neverything to a new machine (power supply failures) and finally got\nstuff running again.\n\nOk, for two days (rimshot)\n\nHere are the two problems, and for the life of me I cannot find any\ndocumentation on ei... |
[
{
"msg_contents": "Folks,\n\n\tI'm using PostgreSQL 7.4.1 on Linux, and I'm trying to figure out weather a\nquery I have is going to be slow when I have more information in my tables.\nboth tables involved will likely have ~500K rows within a year or so.\n\n\tSpecifically I can't tell if I'm causing myself futu... |
[
{
"msg_contents": "Hi,\n\nWhat you could do is create a table containing all the fields from your SELECT, plus a per-session unique ID. Then you can store the query results in there, and use SELECT with OFFSET / LIMIT on that table. The WHERE clause for this temp-results table only needs to contain the per-sess... |
[
{
"msg_contents": "Does anybody know where I can lay my hands on some guidelines to get best SQL performance\r\nout of PostgreSQL? We are about to get into a project that will be new from the ground up (and\\we are using Postgres for the first time). Would like to share some guidelines with developers on best p... |
[
{
"msg_contents": "Clarification: I am talking about SQL coding practices in Postgres (how to write queries for best \r\nresults), not tuning-related considerations (although that would be welcomed too).\r\n \r\n-----Original Message----- \r\nFrom: pgsql-performance-owner@postgresql.org on behalf of Van Ingen,... |
[
{
"msg_contents": "> The problem with this approach is TTFB (Time to first Byte). The\n> initial query is very slow, but additional requests are fast. In most\n> situations we do not want the user to have to wait a disproportionate\n> amount of time for the initial query. If this is the first time using\n> t... |
[
{
"msg_contents": "Will I have to dump and reload all my databases when migrating from\n7.4.2 to 8.0?\n \n\n____________________________________\n\n \n\nJim Gunzelman\n\nSenior Software Engineer\n\n \n\nphone: 402.361.3078 fax: 402.361.3178\n\ne-mail: JamesGunzelmane@Solutionary.com\n\n \n\nSolutionary, Inc.... |
[
{
"msg_contents": "\nShort summary... the second query runs faster, and I think\nthey should be identical queries. Should the optimizer\nhave found this optimization?\n\n\nI have two identical (or so I believe) queries; one where I \nexplicitly add a \"is not null\" comparison; and one where I \nthink it woul... |
[
{
"msg_contents": "Hi everyone.\n\nI'm new to this forum and was wondering if anyone would be kind enough to help me out with a pretty severe performance issue. I believe the problem to be rather generic, so I'll put it in generic terms. Since I'm at home and not a work (but this is really bugging me), I can'... |
[
{
"msg_contents": "Hello,\n\nif i have the following (simple) table layout:\n\ncreate table a (\n id serial primary key\n);\n\ncreate table b (\n id integer references a,\n test text\n);\n\ncreate view c as\n select a.id,b.test from a\n left join b\n on a.id = b.id;\n\nSo if i do a select * from c i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.