threads listlengths 1 275 |
|---|
[
{
"msg_contents": "Hi,\n\nI have a pretty trivial query that seems to take an excessive amount of time\nto run, and while doing so is only consuming 5-10% of CPU. It looks like the\nrest of the time is spent doing disk access (the hd is certainly grinding\naway a lot).\n\nI'm not sure whether this is able to be... |
[
{
"msg_contents": "I insert data every second in my table. Every minute I delete from the \ntable some row to keep max 10000 rows in the table.\nAt the beginning deletes consume about 20% CPU time. After 24 houts \nevery delete needs up tu 100% CPU time (updates too).\nVacuuming doesn't help.\nAfter I restart p... |
[
{
"msg_contents": "I'm just trying to improve performance on version 7 before doing some tests and hopefully upgrading to 7.3.\n\nAt the moment we have \nB=64 (no of shared buffers)\nN=32 (no of connections)\nin postmaster.opt which I take it is the equivalent of the new postgresql.conf file.\n\n From all tha... |
[
{
"msg_contents": "What would be the best value range for effective_cache_size\non Postgres 7.3.2, assuming say 1.5 GB of RAM and\nshared_buffers set to 8192, and shmmax set to 750mb?\n\nAnd what are the most important factors one should take\ninto account in determining the value?\n\n\n\n> -----Original Messag... |
[
{
"msg_contents": "Thanks.\n\nSome theoretical questions.\n\nThe documentation says that Effective Cache Size \"sets the optimizer's\nassumption\nabout the effective size of the disk cache ( that is, the portion of the\nkernel's disk \ncache that will be used for PostgreSQL data files ).\n\nWhat then will be th... |
[
{
"msg_contents": "\nOn 02/07/2003 21:04 Matthew Hixson wrote:\n> We currently have a public website that is serving customers, or at \n> least trying to. This machine is underpowered but we are going to be \n> upgrading soon. In the meantime we need to keep the current site alive.\n> We are running a Java ... |
[
{
"msg_contents": "> CREATE VIEW foo AS {complex_slow_query};\n> \n> SET random_page_cost = 1.5; EXPLAIN ANALYZE SELECT * FROM foo;\n> \n> Note the time taken. Repeat a few times to get the average.\n\nYou pulled everything off disk and tossed it into memory with the first\nrun so the results will NOT match you... |
[
{
"msg_contents": "What are the odds of going through and revamping some of the tunables\nin postgresql.conf for the 7.4 release? I was just working with\nsomeone on IRC and on their 7800 RPM IDE drives, their\nrandom_page_cost was ideally suited to be 0.32: a far cry from 4.\nDoing so has been a win across th... |
[
{
"msg_contents": "Hi,\n\nhas anybody tested PostgreSQL 7.3.x tables agains MySQL 4.0.12/13 with InnoDB?\n\n\nRegards,\nRafal \n\n",
"msg_date": "Fri, 04 Jul 2003 12:03:03 +0200",
"msg_from": "Rafal Kedziorski <rafcio@polonium.de>",
"msg_from_op": true,
"msg_subject": "PostgreSQL vs. MySQL"
},... |
[
{
"msg_contents": "On 2 Jul 2003 at 16:17, Mats Kling wrote:\n\n> \n> Hi all!\n> \n> I have a big trouble with a database and hope you can help out on how to \n> improve the time vacuum takes.\n> \n> The database grovs to ~60Gb and after a 'vacuum full' it's ~31Gb, after \n> about a week the database it up to 5... |
[
{
"msg_contents": "The problem is that people often benchmark the so called vanilla \ninstallation of PostgreSQL.\n\nI understand why the PostgreSQL team has decided to have an overly \nconservative default conf file. But no matter what the reason is or \nwho's to blame that a tester has not tuned PostgreSQL co... |
[
{
"msg_contents": "Hi all,\n\nWe're run into a rather odd problem here, and we're puzzling out\nwhat's going on. But while we do, I thought I'd see if anyone else\nhas anything similar to report.\n\nThis is for 7.2.4 on Solaris 8.\n\nWe have a query for which EXPLAIN ANALYSE on a local psql connection\nalways ... |
[
{
"msg_contents": "The only time that I have ever seen load averages of 30 or more under \nOpenBSD is when one of my scripts goes wild. However, I can say that \nI am also seeing these load averages under PostgreSQL 7.3.2 after a \nmigration to it from MySQL.\n\nMySQL Statistics:\nUptime: 1055352 Threads: 1... |
[
{
"msg_contents": "Hi all,\n\nIn addition to Tom's patch, this patch asks tuning parameters right away, \nwhile doing initdb. I have also changed the notice displayed after initdb is \ndone.\n\nJust an attempt to make defaults user friendly. I would also like to add other \nparamters to this approach, like fsyn... |
[
{
"msg_contents": "Our production database is running under 7.2.4; our test database\nrunning almost the same data is at 7.3.3. One table has about 400,000\nrows in each schema. A query against an indexed column uses an index\nscan under 7.2.4, but a sequential scan under 7.3.3. A count of the\ntable in questi... |
[
{
"msg_contents": "\nSomeone asked a hypothetical question about how to retrieve all records of a\ntable twice in SQL. It got me thinking about whether there was a way to do\nthis efficiently.\n\n\"Obviously\" if you do it using the UNION ALL approach postgres isn't going to\ndo two separate scans, doing it oth... |
[
{
"msg_contents": "Dear All\n\nPlease note: I'm using Version 7.1\n\nFollowing everyone's advice, I increased my max_connections to 64 and shared_buffers to 2000. However, the postmaster then started to issue me error messages saying\n\npg_recvbuf: unexpected EOF on client connection\n\nHelp! (Needless to ... |
[
{
"msg_contents": "As I keep looking through code to see where I can make things more \nefficient, I noticed that in some cases timestamps seem horribly \ninefficient. This leads to very long run times for certain queries.\n\nHere is an example:\n\n-- USING TIMESTAMPS TO NARROW DOWN --\n\nSELECT\n Post.PostI... |
[
{
"msg_contents": "Hi All, \n\n I'm sure some of you know me from previous questions on other lists,\nbut this one has myself and Marc completely stumped. We've got a\ndatabase that has about 89 Million rows, under PostgreSQL 7.3.3 on a\ndual PIII 1.2 with 4 GBytes of RAM on a 5 disk RAID 5 array. The dataset\n... |
[
{
"msg_contents": "About a month ago I asked the general list about plpgsql functions that\noccasionally significantly underperform their straight SQL equivalents. \nTom noted that a different query plan was almost certainly being chosen by\nthe plpgsql function:\n\nhttp://archives.postgresql.org/pgsql-general... |
[
{
"msg_contents": "Hello all!\n I'm a new to Postgresql , I have never used it before.\n I am having an issue with configure the postgresql.conf file.\n The machine itself is a 2.66GHz P4 w/ 2G memory.\n Would you mind to send me a copy of examples .(postgresql.conf)\n ... |
[
{
"msg_contents": "With 2 GB RAM I'd go for about this: (assuming you're using Linux)\n\nshared_buffers = 32768\nsort_mem = 61440\nvacuum_mem = 32768\neffective_cache_size = 64000\n\nthat should give you a start.\n\nYou might have to adjust your shmall and shmmax\nparameters, again assuming you're using linux.\... |
[
{
"msg_contents": "Hello,\n\nI am wondering if there is a way to force the use of a particular index\nwhen doing a query. I have two tables that are pretty big (each >3\nmillion rows), and when I do a join between them the performance is\ngenerally quite poor as it does not use the indexes that I think it\nsho... |
[
{
"msg_contents": "Hi,\n\nI have this machine with a 10 million records:\n* Dual Xeon 2.0 (HyperThreading enabled), 3 7200 SCSI , Adaptec 2110S,\nRAID 5 - 32k chunk size, 1 GB Ram DDR 266 ECC, RH 8.0 - 2.4.18\n\nThe database is mirrored with contrib/dbmirror in a P4 1 Gb Ram + IDE\n\nIf a disk failure occurs, I... |
[
{
"msg_contents": "Greetings,\nAll the recommendations I can locate concerning the use of (the various \nflavors of) VACUUM suggest running it at regular intervals. Is there any \nway, for a given table, to discover how many/what percentage of rows are \nlikely to be VACUUMable at a given point, so that some ki... |
[
{
"msg_contents": "Hi all,\n\nFew days back, I promised an article of postgresql tuning. It is already \npublished and I had the notification in my inbox but somwhow missed that. \n\nThe articles are available at http://www.varlena.com/GeneralBits/. I would be \nlooking forward to the feedback.\n\nAnd BTW, what... |
[
{
"msg_contents": "Upon testing queries with EXPLAIN ANALYSE, I started to notice that the \nplanner would avoid using indexes when available. Instead it would \njump to sequence scans, ignoring the index and increasing overall time \nit took to get results.\n\nI have been looking up documentation and noticed... |
[
{
"msg_contents": "Alexandre,\n\nSince you want the fastest speed I would do the 2 data\ndisks in RAID 0 (striping) not RAID 1 (mirroring).\n\nIf you would care about not loosing any transactions\nyou would keep all 3 disks in RAID 5.\n\nDon't know the answer to the Hyperthreading question. \nWhy don't you run ... |
[
{
"msg_contents": "Hi all,\n \nI'm in the process of initiating a movement in our company to move\ntowards open source software use. As part of this movement I will be\nrecommending PostgreSQL as an alternative to the currently used MSSQL.\nI'm going with PostgreSQL over MySQL because of the much more complete\... |
[
{
"msg_contents": "\nHi all! I'm new to Postgresql and I'm trying solve a problem: is there a way to know how many disk-pages are read during a query? Because I found out only how many disk-pages a relation has and I'd like to know if there is a system\ncatalog or something else that stores this information\n\n... |
[
{
"msg_contents": "I'm not an SQL or PostgreSQL expert.\n\nI'm getting abysmal performance on a nested query and\nneed some help on finding ways to improve the performance:\n\nBackground:\n RH 8.0 dual-CPU machine (1.2GHz athlon)\n Postgresql 7.2\n 1GB ram\n (... |
[
{
"msg_contents": "\n> The most important thing seems to be to increase shared_buffers. On my\n> RH7.3 machine here, Linux is configured with shmmax = 32MB which allows me\n> a value of just under 4000 for shared_buffers (3900 works, 3950 doesn't).\n> If your selects return large amounts of data, you'll probabl... |
[
{
"msg_contents": "\nI've got a simple nested query:\n\n select * from attributes where id in (select id from\n attributes where (name='obsid') and (value='oid00066'));\n\nthat performs abysmally. I've heard this described as the\n'classic WHERE IN' problem.\n\nIs there a better way to obtain the same res... |
[
{
"msg_contents": "Hello all!\n I'm a new to Postgresql , I have never used it before.\n I am having an issue with configure the postgresql.conf file.\n The machine itself is a\n CPU= 2.66GHz P4 w/\n Memory= 2G\n Maybe you can tell me how to configure these paramet... |
[
{
"msg_contents": "\nOn 13/07/2003 20:51 Balazs Wellisch wrote:\n\n> [snip]\n> > > So, does anyone here have any experience using RH AS and DB 2.1?\n> >\n> > Are RH still selling DB 2.1? I can't find it listed on their web site.\n> > --\n> \n> Yes, it's available for free download. The documentation is here:\n>... |
[
{
"msg_contents": "Tried to search the list but the search wasn't working.\n\nI have a server running strictly PostgreSQL that I'm trying to tune for performance. The specs are\n\n2 X 2.4 Athlon MP processors\n2G Reg DDR\nFreeBSD 4.8 SMP kernel complied\nPostgreSQL 7.3.3\n4 X 80G IDE Raid 5\n\nMy problem is tha... |
[
{
"msg_contents": "Greetings,\nWe have several tables (in a PG 7.3.3 database on RH Linux 7.3) with 2M+ \nrows (each row 300-400 bytes in length) that we SELECT into a JDBC \nResultSet for display to the user. We expected that the driver would not \nactually transmit data from the database until the application... |
[
{
"msg_contents": "Hi folks-\n\nFor some time, we've been running Postgres with the default configuration &\ngetting adequate performance, but the time has come to tune a bit, so I've\nbeen lurking on this list & gathering notes. Now I'm about ready to make a\nchange & would appreciate it if a few more experien... |
[
{
"msg_contents": "Hi, I have the following query - is there anything i've missed or is it \njust slow?!\n\nI have an index on meta.date that i thought might have been used but \nisn't (I know it would only be a small performance increase in the \ncurrent plan).\n\nmeta.date is between 1999 and 2003. I think ge... |
[
{
"msg_contents": "Joe,\n\n> Regarding the document at\n> http://www.varlena.com/GeneralBits/Tidbits/perf.html#maxfsmp\n>\n> In section 3.3 you say max_fsm_pages should be set to the number of pages\n> that vacuum reports. Does that apply to table pages only or both table and\n> index pages? Because I'm findi... |
[
{
"msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHi,\n I have a performance problem using postgresql when the connection is made \nvia ODBC with a windows machine using the latests ODBC drivers (Windows) and \nPostgreSQL 7.3.3 (Linux).\n\n The queries made by my Visual Basic program are ve... |
[
{
"msg_contents": "Hi all,\n\nfirst of all I'd like to thank everyone who responded to my earlier post. I have a much better understanding of postgres performance tuning now. In case anyone's interested we've decided to go with RH9 and PostgreSQL 7.3 and we'll do the OS and DB tuning ourselves. (should be a goo... |
[
{
"msg_contents": "I've got a Dell 2650 set up with 5 drives and a separate app server connecting with JDBC. Since you've only got 5 drives, my conclusion regarding the best balance of performance and redundancy was:\r\n \r\n2 drives have the OS, swap, and WAL in RAID-1\r\n3 drives have the data in RAID-5\r\n ... |
[
{
"msg_contents": "\nHi all,\n\nIm currently taking my first steps with db optimizations and am wondering \nwhats happening here and if/how i can help pg choose the better plan.\n\nThanks,\n Fabian\n\n >>>\n\npsql (PostgreSQL) 7.2.2\n\nperg_1097=# VACUUM ANALYZE ;\nVACUUM\nperg_1097=# EXPLAIN ANALYZE selec... |
[
{
"msg_contents": "Hello all,\n\nI'm putting together a database that has me wondering about the interaction of ANALYZE\nwith indices. I guess the basic question is: are indices affected by the results of\nANALYZE.\n\nThe particular application I've got is doing a batch insert of lots of records. For\nperform... |
[
{
"msg_contents": ">Adam Witney wrote:\n>> Actually I am going through the same questions myself at the \n>moment.... I\n>> would like to have a 2 disk RAID1 and a 4 disk RAID5, so \n>need at least 6\n>> disks....\n>> \n>> Anybody have any suggestions or experience with other \n>hardware manufacturers\n>> for t... |
[
{
"msg_contents": "Folks:\n\nOn my projects, I haven't found PostgreSQL's implementation of clustered \nindexes to be particularly useful ... gains of only a few percent in query \nefficiency in exchange for a substantial management task. Obviously, not \neveryone has had the same experience, or we wouldn't st... |
[
{
"msg_contents": "\n\nHi All,\n\ndata_bank.updated_profiles and public.city_master are small tables\nwith 21790 and 49303 records repectively. both have indexes on the join \ncolumn. in first one on (city,source) and in second one on (city)\n\nThe query below does not return for long durations > 10 mins.\n\nex... |
[
{
"msg_contents": "> > >Adam Witney wrote:\n> [snip]\n> > If you would go with that one, make sure to get the optional BBWC \n> > (Battery Backed Write Cache). Without it the controller \n> won't enable \n> > the write-back cache (which it really shouldn't, since it \n> wouldn't be \n> > safe without the batter... |
[
{
"msg_contents": "> Be sure to mount noatime \n\nI did \"chattr -R +A /var/lib/pgsql/data\"\nthat should do the trick as well or am I wrong?\n\nregards,\nOli\n",
"msg_date": "Fri, 18 Jul 2003 18:20:55 +0200",
"msg_from": "\"Oliver Scheit\" <oliver.scheit@REALGARANT.DE>",
"msg_from_op": true,
"m... |
[
{
"msg_contents": ">> > Be sure to mount noatime \n>> \n>> I did \"chattr -R +A /var/lib/pgsql/data\"\n>> that should do the trick as well or am I wrong?\n>> \n>\n> According to the man page it gives the same effect.\n> There are a few things you should consider though:\n> - new files won't be created with the ... |
[
{
"msg_contents": "I currently have a J2EE app that allows our users to upload files. The \nactual file gets stored on the same disk as the webserver is running \non, while the information they entered about the file gets stored in \nthe database. We now need to move the database to a different machine \nand ... |
[
{
"msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHello,\n\n\tI have an application I wrote that uses two tables heavily. The first table \nis a queue table, the second table is an archive table. The queue table is \nconstantly taking on new records at the rate of 10/second. My software pu... |
[
{
"msg_contents": "Dear Gurus,\n\nI have a query discussed here earlier that suffers heavily from \"lack of\nview flattening\" in v7.3. Following Tom's guidance, I made a conclusion to\nthat thread\n(http://archives.postgresql.org/pgsql-performance/2003-05/msg00215.php)\nand asked it to be confirmed or fixed, b... |
[
{
"msg_contents": "Hi guys,\n\nI am new to PostgreSQL and have done some \"extensive\" research already. If you could give me some advice/confirmation, I would be really grateful.\n\nI am going to build a PostgreSQL database server for a client. This database will contain many tables (over 100, maybe more), wit... |
[
{
"msg_contents": "Hi Alexander ,\n\nOn 21 Jul 2003 at 11:23, Alexander Priem wrote:\n> So the memory settings I specified are pretty much OK?\n\nAs of now yes, You need to test with these settings and make sure that they \nperform as per your requirement. That tweaking will always be there...\n\n> What would b... |
[
{
"msg_contents": "> What would you guys think of not using RAID5 in that case, but just a really\r\n> fast 15.000 rpm SCSI-320 disk?\r\n\r\n \r\nI'd say you must be able to tolerate losing all the data since your last database backup. Your battery backed cache, rotational speed, and transfer rate aren't going... |
[
{
"msg_contents": "Hello,\n\nI'm hunting for some advice on loading 50,000+ files all less than\n32KB to a 7.3.2 database. The table is simple.\n\ncreate table files (\n id int8 not null primary key,\n file text not null,\n size int8 not null,\n uid int not null,\n raw oid\n);\n\nThe script (curr... |
[
{
"msg_contents": "Folks,\n\nThere was a general consensus (I think) on this list that we want more verbose \ncomments in postgresql.conf for 7.4. Is anyone available to do the work? \nWe'll need the patch this week ...\n\n-- \n-Josh Berkus\n Aglio Database Solutions\n San Francisco\n\n",
"msg_date": "Mo... |
[
{
"msg_contents": "Folks,\n\nIs the auto-vacuum daemon a new feature for 7.4, or is there a version for \n7.3.3? It's a bit unclear from the PGAvd page ...\n\n-- \n-Josh Berkus\n Aglio Database Solutions\n San Francisco\n\n",
"msg_date": "Mon, 21 Jul 2003 13:49:19 -0700",
"msg_from": "Josh Berkus <jos... |
[
{
"msg_contents": " >Is the auto-vacuum daemon a new feature for 7.4, or is there a version \nfor \n >7.3.3? It's a bit unclear from the PGAvd page ...\n \nIt was added to CVS as of 7.4. It works perfectly well with 7.3.x\n\n-- \nlet name=\"cbbrowne\" and tld=\"libertyrms.info\" in String.concat \"@\" [name;... |
[
{
"msg_contents": "Hi all,\nI'm running Postgres7.3.3 and I'm performing this simple select:\n\nselect *\nfrom user_logs ul,\n user_data ud,\n class_default cd\nwhere\n ul.id_user = ud.id_user and\n ud.id_class = cd.id_class and\n cd.id_provider = 39;\n\nthese are the number of rows for each... |
[
{
"msg_contents": "Hi all,\n\nI'm working on a project that has a data set of approximately 6million rows\nwith about 12,000 different elements, each element has 7 columns of data.\n\nI'm wondering what would be faster from a scanning perspective (SELECT\nstatements with some calculations) for this type of set ... |
[
{
"msg_contents": "I'm trying to update a table but it's taking a very long time. I would\nappreciate any tips folks may have about ways to speed it up. \n\nThe table is paprospect2, as below:\n\n \\d paprospect2\n Column | Type | Modifiers\n -----------... |
[
{
"msg_contents": "Apologies, let me clear this up a bit (hopefully) :-)\n\nThe data structure looks like this:\n\telement\n\tdate\n\tnum1\n\tnum2\n\tnum3\n\tnum4\n\tunits\n\nThere are approx 12,000 distinct elements for a total of about 6 million\nrows of data.\n\nThe scanning technology I want to use may need... |
[
{
"msg_contents": "Thanks Joe,\n\nThis certainly helps me get going on the right path.\n\n\nLindsay Castle\nEDS Australia\nMidrange & Distributed Tools\nInfrastructure Tools AP\nPh: +61 (0)8 8464 7101\nFax: +61 (0)8 8464 2135\n\n\n-----Original Message-----\nFrom: Joe Conway [mailto:mail@joeconway.com]\nSent... |
[
{
"msg_contents": "Ok.. Unless I'm missing something, the data will be static (or near\nstatic). It also sounds as if the structure is common for elements, so\nyou probably only want 2 tables.\n\nOne with 6 million rows and any row information. The other with 6\nmillion * 12000 rows with the element data link... |
[
{
"msg_contents": "Thanks Rod \n\nMy explanations will be better next time. :-)\n\n\n-----Original Message-----\nFrom: Rod Taylor [mailto:rbt@rbt.ca]\nSent: Wednesday, 23 July 2003 11:41 AM\nTo: Castle, Lindsay\nCc: Postgresql Performance\nSubject: Re: One table or many tables for data set\n\n\nOn Tue, 2003-07-... |
[
{
"msg_contents": "I have a database which is constantly being written to. A web server's \nlog file (and extras) is being written to it. There are no deletions or \nupdates (at least I think so :).\n\nAs the web traffic increases so will the write intensity.\n\nRight now the database tables have no foreign key... |
[
{
"msg_contents": "\nHi ,\n\nI have a view which is a union of select of certain feilds from\nindentical tables. The problem is when we query a column on\nwhich index exists exists foreach of the tables does not use the\nindexes.\n\n\nBut when we query individual tables it uses indexes.\n\n\nRegds\nMallah.\n\nt... |
[
{
"msg_contents": "I have these two tables with the same data on two different\nmachines (SuSE 8.2 and Gentoo both with 7.3.2):\n\n\nschulz=> \\d rechnung\n Table \"jschulz.rechnung\"\n Column | Type | Modifiers \n----------------+----------+-----------\n system | smallint | not null\n... |
[
{
"msg_contents": "On Wed, 2003-07-23 at 10:47, Guthrie, Jeremy wrote:\n\n> Have you checked the sizes of your indexes? You may need to rebuild them...\n> \n> Multiply the relpages colum by 8192.\n\n\nSo, what does this tell me? I'm guessing that you're implying that I\nshould expect 8192 keys per page, and th... |
[
{
"msg_contents": "Look at it like this(this is how this affected me):\nI had a table that use to be the primary home for my data(6 gigs worth). I copied out and copied to another table. I purged and then I 'vacuum full''d the database. After a day things really started going to hell. SLOOOW.. like 30 minut... |
[
{
"msg_contents": "On 24 Jul 2003 at 15:54, Kasim Oztoprak wrote:\n\n> The questions for this explanation are:\n> 1 - Can we use postgresql within clustered environment?\n> 2 - if the answer is yes, in which method can we use postgresql within a cluster?\n> active - passive or active - active?... |
[
{
"msg_contents": "> Now, the second question is related to the performance of the database. Assuming we have a\r\n> dell's poweredge 6650 with 4 x 2.8 Ghz Xeon processors having 2 MB of cache for each, with the\r\n> main memory of lets say 32 GB. We can either use a small SAN from EMC or we can put all disks\r... |
[
{
"msg_contents": "| first of all I would like to learn that, any of you use the postgresql\n| within the clustered environment? Or, let me ask you the question, in\n| different manner, can we use postgresql in a cluster environment? If\n| we can do what is the support method of the postgresql for clusters?\n\n... |
[
{
"msg_contents": "On 24 Jul 2003 17:08 EEST you wrote:\n\n> On 24 Jul 2003 at 15:54, Kasim Oztoprak wrote:\n> \n> > The questions for this explanation are:\n> > 1 - Can we use postgresql within clustered environment?\n> > 2 - if the answer is yes, in which method can we use postgresql within a clus... |
[
{
"msg_contents": "On 24 Jul 2003 18:44 EEST you wrote:\n\n> > Now, the second question is related to the performance of the database. Assuming we have a\n> > dell's poweredge 6650 with 4 x 2.8 Ghz Xeon processors having 2 MB of cache for each, with the\n> > main memory of lets say 32 GB. We can either use a sm... |
[
{
"msg_contents": "On 25 Jul 2003 at 16:38, Kasim Oztoprak wrote:\n> this is kind of directory assistance application. actually the select statements are not\n> very complex. the database contain 25 million subscriber records and the operators searches \n> for the subscriber numbers or addresses. there are not ... |
[
{
"msg_contents": "On 25 Jul 2003 at 18:41, Kasim Oztoprak wrote:\n> what exactly do you mean from a pilot program?\n\nLike get a quad CPU box, load the data and ask only 10 operators to test the \nsystem..\n\nBeta testing basically..\n\nBye\n Shridhar\n\n--\nThe man on tops walks a lonely street; the \"chain\"... |
[
{
"msg_contents": "Hi everyone.\n\nI have created a simplified example of a real case, to show you what I'm\ntryng to do. I have\na table, like this:\n\nCREATE TABLE sales (\n saleId SERIAL,\n clientId INTEGER,\n branchId INTEGER,\n productId INTEGER,\n employeeId INTEGER,\n saleDate DATE,\n price... |
[
{
"msg_contents": "Hi all,\nlast week Josh Berkus point my attenction\n( see post Wrong plan or what )\nto the\nfact that in this select:\n\nselect *\nfrom user_logs ul,\n user_data ud,\n class_default cd\nwhere\n ul.id_user = ud.id_user and\n ud.id_class = cd.id_class and\n cd.id_provider =... |
[
{
"msg_contents": "SUBSCRIBE\n\n",
"msg_date": "Sat, 26 Jul 2003 14:52:37 +0500",
"msg_from": "Rauf Kuliyev <rauf@kuliyev.com>",
"msg_from_op": true,
"msg_subject": "SUBSCRIBE"
}
] |
[
{
"msg_contents": "Hallo pgsql-performance,\n\nI just wondered if there is a possibility to map my database running\non a linux system completly into memory and to only use disk\naccesses for writes.\n\nI got a nice machine around with 2 gigs of ram, and my database at\nthe moment uses about 30MB on the disks.\... |
[
{
"msg_contents": "Hallo pgsql-performance,\n\nI just wondered if there is a possibility to map my database running\non a linux system completly into memory and to only use disk\naccesses for writes.\n\nI got a nice machine around with 2 gigs of ram, and my database at\nthe moment uses about 30MB on the disks.\... |
[
{
"msg_contents": "Hi ,\n\nI am working to migrate a oracle application to pg.\nI am using pg 7.3.3 on Dual PIII, 2 GB RAM,linux RedHat 7.3.\n\nOne of my selects is working much slower as in oracle.\nIn this example I am using not many rows in tables.\nFor all the joins I have indexes.\nAll IDS or IDS_xxx are n... |
[
{
"msg_contents": "Greetings,\n\nI am trying to understand the various factors used by Postgres to optimize. I presently have a dual-866 Dell server with 1GB of memory. I've done the following:\n\nset /proc/sys/kernel/shmmax to 512000000\nshared_buffers = 32000\nsort_mem = 32000\nmax_connections=64\nfsync=false... |
[
{
"msg_contents": "Hi Everyone,\n\nI've a kind of less inserts/mostly updates table,\nwhich we vacuum every half-hour. \n\nhere is the output of vacuum analyze \n\nINFO: --Relation public.accounts--\nINFO: Index accounts_u1: Pages 1498; Tuples 515:\nDeleted 179.\n\tCPU 0.00s/0.00u sec elapsed 0.00 sec.\nINFO:... |
[
{
"msg_contents": "\nHi,\n\nFor each company_id in certain table i have to search the same table\nget certain rows sort them and pick up the top one , i tried using this\nsubselect:\n\nexplain analyze SELECT company_id , (SELECT edition FROM ONLY \npublic.branding_master b WHERE old_company_id = a.company_id OR... |
[
{
"msg_contents": "Shridhar wrote:\n>There is an auto-vacuum daemon in contrib and if I understand it correctly,\n>it is not getting much of a field testing. How about you guys installing it\n>and trying it.\n\nI'm one of those that has been running it; there are numerous test systems\naround where it has been ... |
[
{
"msg_contents": "\"Shridhar Daithankar\" <shridhar_daithankar@persistent.co.in> wrote:\n>It is called as pgavd..\n\nNo, it is called pg_autovacuum\n\n\"pgavd\" was a previous attempt at this that was being distributed on\ngborg. Its parser ussage (I don't recall if it was just lex or whether it\nalso include... |
[
{
"msg_contents": "\n I have a question regarding the performance of a function returning a \nset of a view as opposed to just selecting the view with the same \nwhere clause. Please, if this should go to the performance list instead, \nlet me know. I'm just wondering about this from the sql end of things. \n\... |
[
{
"msg_contents": "Folks,\n\nSorry for the cross-posting!\n\nSomebody approached me with the skeleton of a \"Gettting started with \nPostgreSQL\" page, and now I can't find the e-mail. Who was it? Please send \nagain!\n\n-- \nJosh Berkus\nAglio Database Solutions\nSan Francisco\n",
"msg_date": "Wed, 30 J... |
[
{
"msg_contents": "I'm looking at doing the example postgresql.conf files for the 7.4 \nrelease. So far, the catagories we have would be a matrix of:\n\n-------------- Large Machine -- Small Machine\nWebserver\nOLAP\nOLTP\nWorkstation\n\nBut likely only one entry for workstation.\n\nanyone have any advice on wh... |
[
{
"msg_contents": "On Wed, 30 Jul 2003 10:59:23 -0600 (MDT), \"scott.marlowe\" wrote:\n> \n> I'm looking at doing the example postgresql.conf files for the 7.4 \n> release. So far, the catagories we have would be a matrix of:\n> \n> -------------- Large Machine -- Small Machine\n> Webserver\n> OLAP\n> OLTP\n> W... |
[
{
"msg_contents": "I have the following schema which I have set up, and I have inserted a\nbunch of entries into it:\n\ncreate domain contact_id as integer;\ncreate sequence contact_seq;\ncreate domain street_address as character varying(64);\ncreate domain name as character varying(64);\ncreate domain country ... |
[
{
"msg_contents": "Hi,\n\nHas anyone done any benchmarks to see if PG compiled for the target\nCPU (Athlon XP, P4 Xeon, Pentium III, etc) is significantly more\nefficient than when compiled for the i386? This should also apply\nto Sparc, Alpha, etc.\n\nYes, more RAM and faster disks are extremely important, bu... |
[
{
"msg_contents": "Hi! There:\n\nI ran the same explain analyze on two similar tables. However, the table\nwith less data took much more time than the one with more data. Could anyone\ntell me what happened?\nHere is the explain analyze:\nexplain analyze select productid from tfd_catalog;\nNOTICE: QUERY PLAN:\... |
[
{
"msg_contents": "Hello,\n\nA few days ago, I asked for advice on speeding up substring queries on\nthe GENERAL mailing list. Joe Conway helpfully pointed out the ALTER\nTABLE STORAGE EXTERNAL documentation. After doing the alter,\nthe queries got slower! Here is the background:\n\nA freshly loaded database... |
[
{
"msg_contents": "Why is pgsql estimating a cost of 100000000 for retire_today in this\nquery? I analyzed it, and there's nothing very odd about it, other than\nit's a temp table.\n\nBTW, I had to set enable_seqscan=false to get this, otherwise it wants\nto seqscan ogr_results, which is rather painful since it... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.