threads listlengths 1 275 |
|---|
[
{
"msg_contents": "Hi,\n\nI thought that an index can be used for sorting.\nI'm a little confused about the following result:\n\ncreate index OperationsName on Operations(cOperationName);\nexplain SELECT * FROM Operations ORDER BY cOperationName;\n QUERY PLAN\n----------------------... |
[
{
"msg_contents": "> -----Original Message-----\n> From: Andrei Gaspar [mailto:andi@softnrg.dnttm.ro]\n> Sent: Monday, April 18, 2005 10:36 AM\n> To: pgsql-performance@postgresql.org\n> Subject: [PERFORM] Sort and index\n> \n> I thought that an index can be used for sorting.\n> I'm a little confused about the f... |
[
{
"msg_contents": "Don't you think \"optimal stripe width\" would be\na good question to research the binaries for? I'd\nthink that drives the answer, largely. (uh oh, pun alert)\n\nEG, oracle issues IO requests (this may have changed _just_ \nrecently) in 64KB chunks, regardless of what you ask for. \nSo when... |
[
{
"msg_contents": "All,\n\nA couple of questions regarding REINDEX command:\n\nRunning PostgreSQL 7.4.2 on Solaris.\n\n1) When is it necessary to run REINDEX or drop/create\nan index? All I could really find in the docs is:\n\n\"In some situations it is worthwhile to rebuild\nindexes periodically with the REIN... |
[
{
"msg_contents": "All,\n\nIf I run the command \"vacuumdb mydb\" I understand that\nit does some disk space recovery (but not as much as\n\"vacuumdb --full mydb\"). \n\nQuestion: if I run the command \"vacuumdb --analyze\nmydb\" does it still do the aforementioned disk space\nrecovery AS WELL AS update query ... |
[
{
"msg_contents": "\nWe have been using Postgresql for many years now...\nWe have always used it with the native OS it was build from, FreeBSD.\nFreeBSD is rock solid stable. Very reliable.\n\nWith so many rumors about Linux being faster especialy the 2.6.x\nkernel, I have decided to give it another try. I have... |
[
{
"msg_contents": "\n> \n> Josh Berkus <josh@agliodbs.com> writes:\n> >> 1) When is it necessary to run REINDEX or drop/create\n> >> an index? All I could really find in the docs is:\n> \n> > If you need to VACUUM FULL, you need to REINDEX as well. \n> For example, \n> > if you drop millions of rows from a ta... |
[
{
"msg_contents": "> -----Original Message-----\n> From: Alex Turner [mailto:armtuk@gmail.com]\n> Sent: Monday, April 18, 2005 5:50 PM\n> To: Bruce Momjian\n> Cc: Kevin Brown; pgsql-performance@postgresql.org\n> Subject: Re: [PERFORM] How to improve db performance with $7K?\n> \n> Does it really matter at which... |
[
{
"msg_contents": "Good question. If the SCSI system was moving the head from track 1 to 10, and a request then came in for track 5, could the system make the head stop at track 5 on its way to track 10? That is something that only the controller could do. However, I have no idea if SCSI does that.\n\n|| SC... |
[
{
"msg_contents": "Clustered file systems is the first/best example that\ncomes to mind. Host A and Host B can both request from diskfarm, eg. \n\n\n\n-----Original Message-----\nFrom: Bruce Momjian [mailto:pgman@candle.pha.pa.us] \nSent: Tuesday, April 19, 2005 12:10 PM\nTo: Mohan, Ross\nCc: pgsql-performance@... |
[
{
"msg_contents": "Well, more like they both are allowed to issue disk\nrequests and the magical \"clustered file system\" manages\nlocking, etc. \n\nIn reality, any disk is only reading/writing to one part of\nthe disk at any given time, of course, but that in the multiple\ninitiator deal, multiple streams of ... |
[
{
"msg_contents": "Folks,\n\nParams: PostgreSQL 8.0.1 on Solaris 10\nStatistics = 500\n(tablenames have been changed to protect NDA)\n\ne1=# select tablename, null_frac, correlation, n_distinct from pg_stats where \ntablename = 'clickstream1' andattname = 'session_id';\n tablename | null_frac | corr... |
[
{
"msg_contents": "> -----Original Message-----\n> From: Josh Berkus [mailto:josh@agliodbs.com]\n> Sent: Tuesday, April 19, 2005 2:09 PM\n> To: pgsql-perform\n> Subject: [PERFORM] Bad n_distinct estimation; hacks suggested?\n> \n> [...]\n> (BTW, increasing the stats to 1000 only doubles n_distinct, \n> and does... |
[
{
"msg_contents": "A friend of mine has an application where he's copying in 4000 rows at a\ntime into a table that has about 4M rows. Each row is 40-50 bytes. This\nis taking 25 seconds on a dual PIII-1GHz with 1G of RAM and a 2 disk\nSATA mirror, running FBSD 4.10-stable. There's one index on the table.\n\nWh... |
[
{
"msg_contents": "Is there a way to look at the stats tables and tell what is jamming up your \npostgres server the most? Other than seeing long running queries and watch \ntop, atop, iostat, vmstat in separate xterms...I'm wondering if postgres keeps \nsome stats on what it spends the most time doing or if t... |
[
{
"msg_contents": "We have a table with 1M rows that contain sessions with a start and\nfinish timestamps. When joining this table with a 10k table with rounded\ntimestamps, explain shows me sequential scans are used, and the join\ntakes about 6 hours (2s per seq scan on session table * 10000):\n\n Nested Loop ... |
[
{
"msg_contents": "In terms of vendor specific models -\n\nDoes anyone have any good/bad experiences/recommendations for a 4-way\nOpteron from Sun (v40z, 6 internal drives) or HP (DL585 5 internal\ndrives) models?\n\nThis is in comparison with the new Dell 6850 (it has PCIexpress, faster\nFSB 667MHz, which does... |
[
{
"msg_contents": "kewl. \n\nWell, 8k request out of PG kernel might turn into an \"X\"Kb request at\ndisk/OS level, but duly noted. \n\nDid you scan the code for this, or are you pulling this recollection from\nthe cognitive archives? :-)\n\n\n\n-----Original Message-----\nFrom: Jim C. Nasby [mailto:decibel@de... |
[
{
"msg_contents": "There have been some discussions on this list and others in general about Dell's version of RAID cards, and server support, mainly linux support.\n\nBefore I venture into having another vendor in the shop I want to know if there are any dos/don't's about 4-way Opteron offerings from Sun and H... |
[
{
"msg_contents": "right, the oracle system uses a second \"low latency\" bus to \nmanage locking information (at the block level) via a\ndistributed lock manager. (but this is slightly different\nalbeit related to a clustered file system and OS-managed\nlocking, eg) \n\n-----Original Message-----\nFrom: pgsql... |
[
{
"msg_contents": "Dear Postgres Masters:\n\n \n\nWe are using postgres 7.4 in our java application on RedHat linux. The\nJava application connects to Postgres via JDBC. The application goes\nthrough a 'discovery' phase, whereas it adds large amount of data into\npostgres. Typically, we are adding about a milli... |
[
{
"msg_contents": "> -----Original Message-----\n> From: Alex Turner [mailto:armtuk@gmail.com]\n> Sent: Wednesday, April 20, 2005 12:04 PM\n> To: Dave Held\n> Cc: pgsql-performance@postgresql.org\n> Subject: Re: [PERFORM] How to improve db performance with $7K?\n> \n> [...]\n> Lets say we invented a new protoco... |
[
{
"msg_contents": "Alex et al., \n\n\nI wonder if thats something to think about adding to Postgresql? A setting for multiblock read count like Oracle (Although \n\n|| I would think so, yea. GMTA: I was just having this micro-chat with Mr. Jim Nasby. \n\nhaving said that I believe that Oracle natively caches p... |
[
{
"msg_contents": "Stats are updated only after transaction ends. In case you have a really\nlong transaction you need something else. \n\nTo help myself I made a little Perl utility to parse strace output. It\nrecognizes read/write calls, extracts file handle, finds the file name\nusing information in /proc fi... |
[
{
"msg_contents": "Hi,\n\nI'm having a pretty serious problem with postgresql's performance. \nCurrently, I have a cron task that is set to restart and vacuumdb -faz \nevery six hours. If that doesn't happen, the disk goes from 10% full \nto 95% full within 2 days (and it's a 90GB disk...with the database \nb... |
[
{
"msg_contents": "He is running RHAS4, which is the latest 2.6.x kernel from RH. I believe\nit should have done away with the RHAS3.0 Update 3 IO issue.\n\nanjan\n\n-----Original Message-----\nFrom: Josh Berkus [mailto:josh@agliodbs.com] \nSent: Wednesday, April 20, 2005 4:23 PM\nTo: Joel Fradkin\nCc: pgsql-pe... |
[
{
"msg_contents": "Thanks for the note. Please see my responses below:\n\n-----Original Message-----\nFrom: John A Meinel [mailto:john@arbash-meinel.com] \nSent: Wednesday, April 20, 2005 3:48 PM\nTo: Shachindra Agarwal\nCc: pgsql-performance@postgresql.org\nSubject: Re: [PERFORM] postgres slowdown question\n\n... |
[
{
"msg_contents": "Hi,\n\nI have a series of tables with identical structure. Some contain a few\nthousand rows and some contain 3,000,000 rows. Another applicate writes\nthe rows and my applicate reads then just by selecting where pk >\nlast_seen_pk limit 2000.\n\nI've found that one of the tables, when sele... |
[
{
"msg_contents": "Hi everybody,\n\nOne of our clients was using SQL-Server and decided to switch to\nPostgreSQL 8.0.1.\n\nHardware: Dual processor Intel(R) Xeon(TM) CPU 3.40GHz\nOS: Enterprise Linux with 2.6.9-5 SMP kernel\nFilesystem: ext3\nSHMMAX: $ cat /proc/sys/kernel/shmmax\n6442450944 <--- beleive that... |
[
{
"msg_contents": "> John A Meinel <john@arbash-meinel.com> writes:\n> > Joel Fradkin wrote:\n> >> Postgres was on the second run\n> >> Total query runtime: 17109 ms.\n> >> Data retrieval runtime: 72188 ms.\n> >> 331640 rows retrieved.\n> \n> > How were you measuring \"data retrieval time\"?\n> \n> I suspect he... |
[
{
"msg_contents": "FWIW, ODBC has variables to tweak, as well. fetch/buffer sizes, and the like. \n\nMaybe one of the ODBC cognoscenti here can chime in more concretely....\n\n\n\n-----Original Message-----\nFrom: pgsql-performance-owner@postgresql.org [mailto:pgsql-performance-owner@postgresql.org] On Behalf O... |
[
{
"msg_contents": "Joel, thanks. A couple of things jump out there for\nme, not a problem for a routine ODBC connection, but\nperhaps in the \"lotsa stuff\" context of your current\nexplorations, it might be relevant?\n\nI am completely shooting from the hip, here, but...if\nit were my goose to cook, I'd be inv... |
[
{
"msg_contents": "All,\n\nRunning PostgreSQL 7.4.2, Solaris.\n\nClient is reporting that the size of an index is\ngreater than the number of rows in the table (1.9\nmillion vs. 1.5 million). Index was automatically\ncreated from a 'bigserial unique' column.\n\nDatabase contains several tables with exactly the... |
[
{
"msg_contents": "\n--- Josh Berkus <josh@agliodbs.com> wrote:\n> Bill,\n> \n> > What about if an out-of-the-ordinary number of\n> rows\n> > were deleted (say 75% of rows in the table, as\n> opposed\n> > to normal 5%) followed by a 'VACUUM ANALYZE'?\n> ���Could\n> > things get out of whack because of that situ... |
[
{
"msg_contents": "--- a3a18850@telus.net wrote:\n> I gather you mean, out-of-the-ordinary for most\n> apps, but not for this client?\n\nActually, no. The normal activity is to delete 3-5%\nof the rows per day, followed by a VACUUM ANALYZE. \nThen over the course of the day (in multiple\ntransactions) about th... |
[
{
"msg_contents": "\nHi folks,\n\n\nI'm doing a simple lookup in a small table by an unique id, and I'm\nwondering, why explains tells me seqscan is used instead the key.\n\nThe table looks like:\n\n id\tbigint\t\tprimary key,\n a\tvarchar,\n b\tvarchar,\n c \tvarchar\n \nand I'm quering: select ... |
[
{
"msg_contents": "If id is PK, the query shoudl return 1 row only...\n--- Enrico Weigelt <weigelt@metux.de> wrote:\n> \n> Hi folks,\n> \n> \n> I'm doing a simple lookup in a small table by an\n> unique id, and I'm\n> wondering, why explains tells me seqscan is used\n> instead the key.\n> \n> The table looks li... |
[
{
"msg_contents": "Mischa,\n\nThanks. Yes, I understand that not having a large\nenough max_fsm_pages is a problem and I think that it\nis most likely the case for the client. What I wasn't\nsure of was if the index bloat we're seeing is the\nresult of the \"bleeding\" you're talking about or\nsomething else.... |
[
{
"msg_contents": "\nHi folks,\n\n\ndo foreign keys have any influence on performance (besides slowing\ndown huge inserts) ? do they bring any performance improvement ?\n\n\nthx\n-- \n---------------------------------------------------------------------\n Enrico Weigelt == metux IT service\n\n phone: ... |
[
{
"msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-performance-owner@postgresql.org \n> [mailto:pgsql-performance-owner@postgresql.org] On Behalf Of \n> Andreas Pflug\n> Sent: 21 April 2005 14:06\n> To: Joel Fradkin\n> Cc: 'John A Meinel'; josh@agliodbs.com; \n> pgsql-performance@postgresql.org... |
[
{
"msg_contents": "I saw an interesting thought in another thread about placing database data\nin a partition that uses cylinders at the outer edge of the disk. I want\nto try this. Are the lower number cylinders closer to the edge of a SCSI\ndisk or is it the other way around? What about ATA?\n\nCheers,\n\n... |
[
{
"msg_contents": "Hi there,\n \nWe need to update a table of about 1.2GB (and about 900k rows) size. I\nwas wondering if I should let the regular cron job take care of clean up\n(vacuum db Mon-Sat, vacuum full on Sun, followed by Reindex script), or\nmanually do this on the table followed by the update.\n \nTh... |
[
{
"msg_contents": "Building a single-column index on a dual opteron with 4G of memory, data\non a 4 SATA RAID10; OS, logs and tempsace on a SATA mirror, with\nsort_mem set to 2.5G, create index is actually CPU bound for large\nportions of time. The postgresql process and system time are accounting\nfor an entir... |
[
{
"msg_contents": "\"Index Scan using ix_tblviwauditcube_clientnum on tblviwauditcube\n(cost=0.00..35895.75 rows=303982 width=708) (actual time=0.145..1320.432\nrows=316490 loops=1)\"\n\n\" Index Cond: ((clientnum)::text = 'MSI'::text)\"\n\n\"Total runtime: 1501.028 ms\"\n\n \n\nJoel Fradkin\n\n \n\nWazagua, I... |
[
{
"msg_contents": "> In practice, we have watched Windows evolve in such a fashion with\n> respect to multiuser support, and, in effect, it has never really\n> gotten it. Microsoft started by hacking something on top of MS-DOS,\n> and by the time enough applications had enough dependancies on the way\n> that w... |
[
{
"msg_contents": "> I am waiting to here back from Josh on using cursors and trying to\nflatten\n> long running views.\n> \n> I am a little disappointed I have not understood enough to get my\nanalyzer\n> to use the proper plan, we had to set seqscan off to get the select\nfrom\n> response_line to work fast an... |
[
{
"msg_contents": "If I have a freshly CLUSTERed table and queries that want to do a\nmerge join, it seems to me that quite a bit of time is spent\nunnecessarily sorting the already-sorted table. An example such\nquery I found in my log files is shown below. If I read the\nEXPLAIN ANALYZE output correctly, it's... |
[
{
"msg_contents": "> -----Original Message-----\n> From: Josh Berkus [mailto:josh@agliodbs.com]\n> Sent: Sunday, April 24, 2005 2:08 PM\n> To: Andrew Dunstan\n> Cc: Tom Lane; Greg Stark; Marko Ristola; pgsql-perform;\n> pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] [PERFORM] Bad n_distinct estimation; ... |
[
{
"msg_contents": "> -----Original Message-----\n> From: Andrew Dunstan [mailto:andrew@dunslane.net]\n> Sent: Monday, April 25, 2005 3:43 PM\n> To: josh@agliodbs.com\n> Cc: pgsql-perform; pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] [PERFORM] Bad n_distinct estimation; hacks\n> suggested?\n> \n> Josh ... |
[
{
"msg_contents": "Hi all,\n\nIa a Guy from Germany an a strong Postgres believer!\nIt is the best OpenSource Database i have ever have bee tasted and i \ntry to using\nit in any Database Environments.\n\nIt is exiting to see thadt Verison 8.0 has Tablespaces like ORACLE and DB/2,\nbut i need Partitioning on a... |
[
{
"msg_contents": "Hi all again,\n\nMy next queststion is dedicated to blobs in my Webapplication (using \nTomcat 5 and JDBC\nintegrated a the J2EE Appserver JBoss).\n\nFilesystems with many Filesystem Objects can slow down the Performance \nat opening\nand reading Data.\n\nMy Question:\nCan i speedup my Webap... |
[
{
"msg_contents": "> -----Original Message-----\n> From: Shoaib Burq (VPAC) [mailto:sab@vpac.org]\n> Sent: Tuesday, April 26, 2005 9:31 AM\n> To: Tom Lane\n> Cc: John A Meinel; Russell Smith; Jeff; \n> pgsql-performance@postgresql.org\n> Subject: Re: [PERFORM] two queries and dual cpu (perplexed)\n> \n> \n> OK ... |
[
{
"msg_contents": "Maybe he needs to spend $7K on performance improvements? \n\n;-)\n\n\n\n-----Original Message-----\nFrom: pgsql-performance-owner@postgresql.org [mailto:pgsql-performance-owner@postgresql.org] On Behalf Of Josh Berkus\nSent: Tuesday, April 26, 2005 8:00 PM\nTo: Richard Huxton\nCc: apoc9009@ya... |
[
{
"msg_contents": "On March 21, 2005 8:07 AM, Hannu Krosing wrote:\n> On L, 2005-03-19 at 23:47 -0500, Tom Lane wrote:\n> > Well, partitioning on the primary key would be Good Enough for 95% or\n> > 99% of the real problems out there. I'm not excited about adding a\n> > large chunk of complexity to cover anoth... |
[
{
"msg_contents": "I have this query that takes a little over 8 min to run:\nselect client,max(atime) as atime from usage_access where atime >=\n(select atime - '1 hour'::interval from usage_access order by atime\ndesc limit 1) group by client;\n\nI think it can go a lot faster. Any suggestions on improving thi... |
[
{
"msg_contents": "> -----Original Message-----\n> From: Gurmeet Manku [mailto:manku@CS.Stanford.EDU]\n> Sent: Tuesday, April 26, 2005 5:01 PM\n> To: Simon Riggs\n> Cc: Tom Lane; josh@agliodbs.com; Greg Stark; Marko Ristola;\n> pgsql-perform; pgsql-hackers@postgresql.org; Utkarsh Srivastava;\n> snt@iastate.edu\... |
[
{
"msg_contents": "-----Original Message-----\nFrom: pgsql-performance-owner@postgresql.org\n[mailto:pgsql-performance-owner@postgresql.org]On Behalf Of Joel Fradkin\nSent: Wednesday, April 27, 2005 9:02 AM\nTo: PostgreSQL Perform\nSubject: [PERFORM] Final decision\n\n\n\nI spent a great deal of time over the p... |
[
{
"msg_contents": "I spent a great deal of time over the past week looking seriously at\nPostgres and MYSQL.\n\nObjectively I am not seeing that much of an improvement in speed with MYSQL,\nand we have a huge investment in postgrs.\n\nSo I am planning on sticking with postgres fro our production database\n(goin... |
[
{
"msg_contents": "> -----Original Message-----\n> From: Josh Berkus [mailto:josh@agliodbs.com]\n> Sent: Wednesday, April 27, 2005 10:25 AM\n> To: Andrew Dunstan\n> Cc: Mischa Sandberg; pgsql-perform; pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] [PERFORM] Bad n_distinct estimation; hacks\n> suggested?... |
[
{
"msg_contents": "I've ported enough of my companies database to Postgres to make\nwarehousing on PG a real possibility. I thought I would toss my data\nmigration architecture ideas out for the list to shoot apart..\n\n1. Script on production server dumps the production database (MSSQL) to\na set of delimite... |
[
{
"msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-performance-owner@postgresql.org \n> [mailto:pgsql-performance-owner@postgresql.org] On Behalf Of \n> Josh Berkus\n> Sent: 27 April 2005 17:14\n> To: Joel Fradkin\n> Cc: PostgreSQL Perform\n> Subject: Re: [PERFORM] Final decision\n> \n> Actuall... |
[
{
"msg_contents": "Hello,\n\n \n\nI am trying to understand what I need to do for this system to stop\nusing swap. Maybe it's something simple, or obvious for the situation.\nI'd appreciate some thoughts/suggestions.\n\n \n\nSome background: \n\nThis is a quad XEON (yes, Dell) with 12GB of RAM, pg 7.4...pretty ... |
[
{
"msg_contents": "Sorry, I didn't attach vmstat, the system does actively swap pages. Not\nto the point where it crawls, but for some brief periods the console\nbecomes a bit unresponsive. I am taking this as a sign to prevent future\nproblems.\n\nanjan\n\n-----Original Message-----\nFrom: Jeff [mailto:thresha... |
[
{
"msg_contents": " \n\n> -----Original Message-----\n> From: Joshua D. Drake [mailto:jd@commandprompt.com] \n> Sent: 27 April 2005 17:46\n> To: Dave Page\n> Cc: Josh Berkus; Joel Fradkin; PostgreSQL Perform\n> Subject: Re: [PERFORM] Final decision\n> \n> > It is? No-one told the developers...\n> \n> We have me... |
[
{
"msg_contents": "Yes, HT is turned off (I haven't seen any recommendations to keep it\non).\n\nThis is when we were seeing 30 to 50% less traffic (users) than today -\nwe didn't want the idle connections in the pool to expire too soon\n(default 30 secs, after which it goes back to pool) and reopen it\nquickly... |
[
{
"msg_contents": "Using Resin's connection pooling. We are looking into pgpool alongside\nslony to separate some reporting functionality.\n\n-anjan\n\n-----Original Message-----\nFrom: Jeff [mailto:threshar@torgo.978.org] \nSent: Wednesday, April 27, 2005 3:29 PM\nTo: Greg Stark\nCc: Anjan Dave; pgsql-performa... |
[
{
"msg_contents": " \n\n> -----Original Message-----\n> From: Josh Berkus [mailto:josh@agliodbs.com] \n> Sent: 28 April 2005 04:09\n> To: Dave Page\n> Cc: Joshua D. Drake; Joel Fradkin; PostgreSQL Perform\n> Subject: Re: [PERFORM] Final decision\n> \n> Dave, folks,\n> \n> > Err, yes. But that's not quite the sa... |
[
{
"msg_contents": "\nHi folks,\n\n\nthere's often some talk about indices cannot be used if datatypes\ndont match. \n\nOn a larger (and long time growed) application I tend to use OID \nfor references on new tables while old stuff is using integer.\nIs the planner smart enough to see both as compatible datatype... |
[
{
"msg_contents": "Howdy!\n\nI'm converting an application to be using postgresql instead of oracle.\nThere seems to be only one issue left, batch inserts in postgresql seem\nsignificant slower than in oracle. I have about 200 batch jobs, each\nconsisting of about 14 000 inserts. Each job takes 1.3 seconds in\n... |
[
{
"msg_contents": "> > Howdy!\n> >\n> > I'm converting an application to be using postgresql instead of oracle.\n> > There seems to be only one issue left, batch inserts in postgresql seem\n> > significant slower than in oracle. I have about 200 batch jobs, each\n> > consisting of about 14 000 inserts. Each job... |
[
{
"msg_contents": "We ran into the need to use COPY, but our application is also in Java.\nWe wrote a JNI bridge to a C++ routine that uses the libpq library to do\nthe COPY. The coding is a little bit weird, but not too complicated -\nthe biggest pain in the neck is probably getting it into your build\nsystem.... |
[
{
"msg_contents": "\n\n\n\nIn our application we have tables that we regularly load with 5-10 million\nrecords daily. We *were* using INSERT (I know... Still kicking ourselves\nfor *that* design decision), and we now converting over to COPY. For the\nsake of robustness, we are planning on breaking the entire... |
[
{
"msg_contents": "Please refer to part 1 for question and query 1\n\nCheers\nJona\n----------------------------------------------------------------------------------------------------------------------- \n\nQuery 2:\nEXPLAIN ANALYZE\nSELECT DISTINCT CatType_Tbl.id, CatType_Tbl.url, Category_Tbl.name, \nMin(Sub... |
[
{
"msg_contents": "Please refer to part 1a for questions and part 2 for more queries and \nquery plans.\nWhy won't this list accept my questions and sample data in one mail???\n\n/Jona\n---------------------------------------------------------------------------------------------------- \n\nQuery 1:\nEXPLAIN ANA... |
[
{
"msg_contents": "Hi,\n\nI have postgres 8.0.2 installed on FreeBSD FreeBSD 4.11-RELEASE with 2GB \nof RAM.\n\nWhen trying to set max_connections=256 I get the following error message:\n\nFATAL: could not create semaphores: No space left on device\nDETAIL: Failed system call was semget(5432017, 17, 03600).\n... |
[
{
"msg_contents": "Problem sovled by setting:\n\nkern.ipc.semmni: 280\nkern.ipc.semmns: 300\n\nChris.\n\n\n> Mark Kirkwood wrote:\n>\n>> Chris Hebrard wrote:\n>>\n>>> kern.ipc.shmmax and kern.ipc.shmmin will not stay to what I set them \n>>> to.\n>>>\n>>> What am I doing wrong or not doing at all?\n>>>\n>>\n>> ... |
[
{
"msg_contents": "Hello,\n\nI have a table collecting stats that shows 5 Index Tuples Fetched but no Index Scans. Should there not be at least one Index Scan showing in the stats?\n\nMike\n",
"msg_date": "Wed, 4 May 2005 09:58:25 -0500",
"msg_from": "\"Mike G.\" <mike@thegodshalls.com>",
"msg_from... |
[
{
"msg_contents": "Hi\n\nI'm currently experiencing problems with long query execution times.\nWhat I believe makes these problems particularly interesting is the \ndifference in execution plans between our test server running PostGreSQL \n7.3.6 and our production server running PostGreSQL 7.3.9.\nThe test serv... |
[
{
"msg_contents": "I think we should put some notes about SELinux causing issues with \npgsql in the OS notes or FAQ.\n\nMyself and a few coworkers just spent a few hours tracking down why \npg_dump would produce no output. We'd fire it up in strace and we'd \nsee all the successful write calls, but not out... |
[
{
"msg_contents": "Good Day,\n\nI'm hoping this is the right place to send this. I have a query that's \ncausing me some grief trying to optimize it. The query cost is fine \nuntil I order the data set. Mind you after it's been ran and cached, \nsubsequent calls to it are near instant. The Query in question... |
[
{
"msg_contents": "Jeroen van Iddekinge wrote:\n> Hi,\n>\n>\n> I understand that when a table contains only a few rows it is better to\n> do a sequence scan than an index scan. But is this also for a table with\n> 99 records?\n>\n\n...\n\n> explain select * from tblFolders where id=90;\n> ... |
[
{
"msg_contents": "Sorry to bother everyone with yet another \"my query isn't using an \nindex\" problem but I am over my head on this one.. I am open to ways \nof restructuring this query to perform better.\n\nI have a table, 'ea', with 22 million rows in it. VACUUM ANALYZE has \nbeen just run on the table.\... |
[
{
"msg_contents": "Greetings,\n\nWe are working on speeding up the queries by creating indexes. We have \nqueries with searching criteria such as \"select ... where *col1='...'*\". \nThis is a simple query with only \"=\" operation. As a result I setup hash \nindex on column \"col1\". While, in postgreSQL 8 doc... |
[
{
"msg_contents": "You also want to consider any whitebox opteron system being on the\ncompatibility list of your storage vendor, as well as RedHat, etc. With\nEMC you can file an RPQ via your sales contacts to get it approved,\nthough not sure how lengthy/painful that process might be, or if it's\ngonna be wor... |
[
{
"msg_contents": "Wasn't the context switching issue occurring in specific cases only?\n\nI haven't seen any benchmarks for a 50% performance difference. Neither\nhave I seen any benchmarks of pure disk IO performance of specific\nmodels of Dell vs HP or Sun Opterons.\n\nThanks,\nAnjan\n\n-----Original Message... |
[
{
"msg_contents": "I took an unbiased look and did some tests.\nObjectively for me MYSQL was not an improvement for speed.\nI had read the benchmarks in pcmagazine from a while back as well.\n\nI did some tests using ODBC, and .net connections and also used aqua studios\n(hooks up to both data bases) and found ... |
[
{
"msg_contents": "Hello\n\nHow can i know a capacity of a pg database ?\nHow many records my table can have ?\nI saw in a message that someone have 50 000 records it's possible in a table ?\n(My table have 8 string field (length 32 car)).\nThanks for your response.\n\n\nNanou\n\n\n",
"msg_date": "Mon, 9 M... |
[
{
"msg_contents": "> -----Original Message-----\n> From: bouchia.nazha@free.fr [mailto:bouchia.nazha@free.fr]\n> Sent: Monday, May 09, 2005 2:23 PM\n> To: pgsql-performance@postgresql.org\n> Subject: [PERFORM] PGSQL Capacity\n> \n> How can i know a capacity of a pg database ?\n> How many records my table can ha... |
[
{
"msg_contents": "The DP+DC isn't available yet, from Sun. Only QP+DC is, for which the\nbid opens at 38k, that is a bit pricey -:)\n\n\n-----Original Message-----\nFrom: William Yu [mailto:wyu@talisys.com] \nSent: Monday, May 09, 2005 1:24 PM\nTo: pgsql-performance@postgresql.org\nSubject: Re: [PERFORM] Whenc... |
[
{
"msg_contents": "Seems to be only using like 360 meg out of 7 gig free (odd thing is I did\nsee some used swap 4k out of 1.9) with a bunch of users (this may be normal,\nbut it is not going overly fast so thought I would ask).\n\nItems I modified per commandprompt.coma nd watching this list etc.\n\n \n\nshare... |
[
{
"msg_contents": "I wanted to get some opinions about row prefetching. AFAIK, there is no \nprefetching done by PostgreSQL; all prefetching is delegated to the operating \nsystem. \n\nThe hardware (can't say enough good things about it):\n\nAthlon 64, dual channel\n4GB ram\n240GB usable 4 disk raid5 (ATA133)... |
[
{
"msg_contents": "Hi,\n\nI'm having problems with the query optimizer and FULL OUTER JOIN on \nPostgreSQL 7.4. I cannot get it to use my indexes with full outer joins. \nI might be naive, but I think that it should be possible?\n\nI have two BIG tables (virtually identical) with 3 NOT NULL columns \nStation_id... |
[
{
"msg_contents": "What is the status of Postgres support for any sort of multi-machine \nscaling support? What are you meant to do once you've upgraded your \nbox and tuned the conf files as much as you can? But your query load \nis just too high for a single machine?\n\nUpgrading stock Dell boxes (I know w... |
[
{
"msg_contents": "Hi,\n\nEnvironment :\n - Fedora Core 2 (kernel 2.6.10)\n - postgresql 7.4.7\n\nI am running a huge query with several joins that needs around 900\nMbytes of Memory (System RAM is 512 Mbytes).\n\nWhen the system starts to swap the postgres process, CPU consumed drops\nto around 2% (instead of ... |
[
{
"msg_contents": "I wanted to get some opinions about row prefetching. AFAIK, there is no\nprefetching done by PostgreSQL; all prefetching is delegated to the operating\nsystem.\n\nThe hardware (can't say enough good things about it):\n\nAthlon 64, dual channel\n4GB ram\n240GB usable 4 disk raid5 (ATA133)\nFe... |
[
{
"msg_contents": "\nHi Alex,\n\nActually, our product can partition data among several clustered nodes\nrunning PostgreSQL, if that is what you are looking for. Data is\ndistributed based on a designated column. Other tables can be\nreplicated to all nodes.\n\nFor SELECTs, it also knows when it can join locall... |
[
{
"msg_contents": "for time-series and \"insane fast\", nothing beats kdB, I believe\n\nwww.kx.com\n\nNot trying to Quisling-out PG here, just hoping to respond to Mr. Olson....\n\n\n\n\n\n-----Original Message-----\nFrom: pgsql-performance-owner@postgresql.org [mailto:pgsql-performance-owner@postgresql.org] On... |
[
{
"msg_contents": "Yes, that would be a sufficient (although not necessary) condition for being well and fine with kdB. \nLast time I used APL was.....pre-Gregorian, so yea, that's scary to me, too. \n\n( Of course, one can use C/ODBC or Java/JDBC to reach kdB; once there, one uses SQL92, or\nproprietary kSQL. ... |
[
{
"msg_contents": "Hi,\n\n\nI have a query that is giving the optimizer (and me) great headache. When\nits in the good mood the optimizer chooses Hash Left Join and the query\nexecutes in 13ms or so, but sometimes (more and more often) it chooses\nNested Loop Left Join and the execution time goes up to 2-30sec.... |
[
{
"msg_contents": "Hi,\n\nWe have some performances problem on a particular query.\n\nWe reproduced the problem on a 7.4.5 and on a 7.4.7 server.\n* we load the dump in a new database\n* query: it's fast (< 1ms)\n* VACUUM FULL ANALYZE;\n* query: it's really slow (130ms) and it's another plan\n* set enable_seqsc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.