threads listlengths 1 275 |
|---|
[
{
"msg_contents": "> Actually, you can if you assume you can \"temporarily materialize\" that\n> view.\n>\n> Then, you use a join on my_query to pull the bits you want:\n> \n> select [big table.details] from [big table],\n> [select * from my_query order by [something] offset 280 limit 20]\n> where [join c... |
[
{
"msg_contents": "Good morning,\n\nI have a table that links two tables and I need to flatten one.\n(Please, if I'm just not in the good forum for this, tell me. This is\na performance issue for me, but you might consider this as an SQL\nquestion. Feel free to direct me at the good mailling-list.)\n\ndesign.pr... |
[
{
"msg_contents": "Alexandre wrote:\n> Here a normal listing of design.product_department_time:\n> product_id | department_id | req_time\n> ------------+---------------+----------\n> 906 | A | 3000\n> 906 | C | 3000\n> 906 | D | 1935\n> ... |
[
{
"msg_contents": "Steve wrote:\n> Okay. Darn. While I don't write the queries for the application, I do\n> interact with the company frequently. Their considering moving the\n> queries into the database with PL/pgSQL. Currently their queries are\n> done through ProvIV development using ODBC. Will context switc... |
[
{
"msg_contents": "Alexandre wrote:\n> On Thu, 27 Jan 2005 10:44:45 -0500, Merlin Moncure\n> <merlin.moncure@rcsonline.com> wrote:\n> > Alexandre wrote:\n> > ok, you have a couple of different options here. The first thing\nthat\n> > jumps out at me is to use arrays to cheat using arrays.\n> > Let's start wi... |
[
{
"msg_contents": "Greg Stark wrote:\n \n> test=> create or replace function array_push (anyarray, anyelement)\n> returns anyarray as 'select $1 || $2' language sql immutable strict;\n> CREATE FUNCTION\n> test=> create aggregate array_aggregate (basetype=anyelement,\n> sfunc=array_push, stype=anyarray, initcond... |
[
{
"msg_contents": "Alexandre wrote:\n> > >\n> > Right. I expanding departments into columns is basically a dead\nend.\n> > First of all, SQL is not really designed to do this, and second of\nall\n> > (comments continued below)\n> \n> Ok, I got it. The basic message is to avoid making columns out of rows\n\nyes... |
[
{
"msg_contents": "quote from manual:\n--\nUnfortunately, there is no similarly trivial query\nthat can be used to improve the performance of count()\nwhen applied to the entire table\n--\n\ndoes count(1) also cause a sequential scan of the\nentire table? It should be able to just use the\nprimary keys.\n\n-Zav... |
[
{
"msg_contents": "I'm involved in an implementation of doing trigger-based counting as a \nsubstitute for count( * ) in real time in an application. My \ntrigger-based counts seem to be working fine and dramatically improve \nthe performance of the display of the counts in the application layer.\n\nThe problem... |
[
{
"msg_contents": "Hi Folks ,\n\n I am running this query on postgres 8 beta version and it is not \nusing the right index, where as if i run the same query on postgres 7.4 \nversion it uses the right index . Here are the explain analyze output \nfor both the versions. can anyone explain this ?\n\n\nt... |
[
{
"msg_contents": "I was wondering about index types. Oracle has an index type called a\n'bitmap' index. They describe this as an index for low cardinality\nfields, where only the cardinal values are indexed in a b-tree, and\nthen it uses a bitmap below that to describe rows. They say that this\ntype of inde... |
[
{
"msg_contents": "> With the right configuration you can get very serious throughput. The\n> new system is processing over 2500 insert transactions per second. We\n> don't need more RAM with this config. The disks are fast enough.\n> 2500 transaction/second is pretty damn fast.\n\nfsync on/off?\n\nMerlin\n"... |
[
{
"msg_contents": "Hi\n\n i am running a High availability Postgresql server on redhat\nlinux 9. I am using NFS mount of data directory from a shared storage. The server was running without problems for last two \nmonths. The server is connected to a dialin router where all my company units dialin and update t... |
[
{
"msg_contents": "You don't mention if you have run VACUUM or VACUUM ANALYZE lately.\nThat's generally one of the first things that folks will suggest. If you\nhave a lot of updates then VACUUM will clean up dead tuples; if you have\na lot of inserts then VACUUM ANALYZE will update statistics so that the\nplan... |
[
{
"msg_contents": "Thanks tom. I checked the client side software. The software closes connection when connected locally. But when connected through dialup,\nthis problem comes. I will check the ppp connection also.\nIs there any method of killing old pids. And also any performance tuning to be done on postgres... |
[
{
"msg_contents": "I checked to find out the cause of the problem, ppp is disconnecting properly and the user session is also closed smoothely.\nBut when a report query is run on the table containing 32500 records,\nthe memory shoots up from 50 MB to 500 MB(Total memory is 512 MB RAM).\nAfter that the memory us... |
[
{
"msg_contents": "Thanks joshua\n\n i tried running vacuum command, \nvacuum database as well as vacuum <indvidual table names>\n\nbut even after that querying the database , the memory shoots up\nas i mentioned in the previous mail and never comes down.\nAlso the old pids of connections established remains e... |
[
{
"msg_contents": "Thanks joshua\n\n i tried running vacuum command,\nvacuum database as well as vacuum <indvidual table names>\n\nbut even after that querying the database , the memory shoots up\nas i mentioned in the previous mail and never comes down.\nAlso the old pids of connections established remains ev... |
[
{
"msg_contents": "Hello, \n\nClient is seeing continual performance degradation on\nupdates and queries from a large database. Any help\nappreciated.\n\nClient is using PostgreSQL 7.4.2 on Sparcv9 650MHZ\ncpu, 2GB Ram, running Solaris.\n\nWe have the following tables:\n\nEVENT_TBL\nevt_id bigserial, uni... |
[
{
"msg_contents": "Hi all,\n\nI've been following this list for nearly a year now.\nI've always managed to get PostgreSQL 7.1.x right for the job,\nwhich in my case is a large and complex oltp system,\nrun under Pg for 6 years now.\n\nWe were already planning the switch from 7.1 to 7.4 (or even 8.0).\nThe last ... |
[
{
"msg_contents": "I have a data collector function in a PostGreSQL 7.4 DB running on Linux\nthat inserts approximately 10000 records into a table every fifteen\nminutes. The table has two macaddr columns, one varchar(50) column, two\ntimestamptz columns, five interval columns, one float8 column, and one\nint4 ... |
[
{
"msg_contents": "Hello my friends,\n\n \n\nI'd like to know (based on your experience and technical details) which OS\nis recommended for running PostgreSQL keeping in mind 3 indicators:\n\n \n\n1 - Performance (SO, Network and IO)\n\n2 - SO Stability\n\n3 - File System Integrity\n\n \n\nComparisons between S... |
[
{
"msg_contents": "Sorry, I sent this mail message with wrong account and it has been delayed\nby the mail system, so I'm resending it. \n\n \n\nHello my friends,\n\n \n\nI'd like to know (based on your experience and technical details) which OS\nis recommended for running PostgreSQL keeping in mind 3 indicator... |
[
{
"msg_contents": "Doing some rather crude comparative performance tests\nbetween PG 8.0.1 on Windows XP and SQL Server 2000, PG\nwhips SQL Server's ass on\n\ninsert into junk (select * from junk)\n\non a one column table defined as int.\nIf we start with a 1 row table and repeatedly execute\nthis command, PG c... |
[
{
"msg_contents": "> Hi all,\n> 1) What kind of performance gain can I expect switching from\n> 7.1 to 7.4 (or 8.0)? Obviously I'm doing my own testing,\n> but I'm not very impressed by 8.0 speed, may be I'm doing\n> testing on a low end server...\n\n8.0 gives you savepoints. While this may not see... |
[
{
"msg_contents": "What's the effect of different encodings on database performance? \n\n \n\nWe're looking to switch encoding of our database from SQL_ASCII to UTF-8\nto better handle international data. I expect that at least 90% of our\ndata will be in the ASCII range with a few characters that need\ndouble-... |
[
{
"msg_contents": "Hi all,\n\nI have a freshly vacuumed table with 1104379 records with a index on zipcode. Can anyone explain why the queries go as they go, and why the performance differs so much (1 second versus 64 seconds, or stated differently, 10000 records per second versus 1562 records per second) and ... |
[
{
"msg_contents": "Hi all,\nI have a big table with ~ 10 Milion rows, and is a very\npain administer it, so after years I convinced my self\nto partition it and replace the table usage ( only for reading )\nwith a view.\n\nNow my user_logs table is splitted in 4:\n\nuser_logs\nuser_logs_2002\nuser_logs_2003\nus... |
[
{
"msg_contents": "Hi,\n\nI am trying to build a function that would extend the trigger in general \ntid bits that would only track count changes for table rows.\n\nThe one i am trying to build would check which column and value should \nbe tracked.\n\ne.g. below would be the tracker.\n\nCREATE TABLE \"public\"... |
[
{
"msg_contents": "[This mail goes as X-Post to both pgsql-perform and postgis-users\nbecause postgis users may suffer from this problem, but I would prefer\nto keep the Discussion on pgsql-performance as it is a general TOAST\nproblem and not specific to PostGIS alone.]\n\nHello,\n\nRunning PostGIS 0.8.1 under... |
[
{
"msg_contents": "> By now, our system has never used \"stored procedures\" approach,\n> due to the fact that we're staying on the minimum common SQL features\n> that are supported by most db engines.\n> I realize though that it would provide an heavy performance boost.\n\nI feel your pain. Well, sometimes y... |
[
{
"msg_contents": "Hi,\n\naccording to \nhttp://www.postgresql.org/docs/8.0/interactive/limitations.html , \nconcurrent access to GiST indexes isn't possible at the moment. I \nhaven't read the thesis mentioned there, but I presume that concurrent \nread access is also impossible. Is there any workaround for th... |
[
{
"msg_contents": "Hello,\nI have a little time and I decided to improve the performance of my \nserver(s). I have found on google many 'tips' in tuning linux kernel and \npostgresql database ... but I can't decide wich 'how-to' is better ... :(\nSo the question is: where to find a 'easy' and complete documen... |
[
{
"msg_contents": "I'm hoping someone can shed some light on these results. The 'factor' \ncompares the ratios of cost to actual for different plans. Perhaps \nnested loops should be given a discount in the planner? The estimates \nseem to be out by one and a half orders of magnitude. :(\n\n========== QUERY ===... |
[
{
"msg_contents": "> > I'm hoping someone can shed some light on these results.\n> \n> Not without a lot more detail on how you *got* the results. \n> What exactly did you do to force the various plan choices? \n> (I see some ridiculous choices of indexscans, for instance, \n> suggesting improper use of enabl... |
[
{
"msg_contents": "Magnus wrote:\n> > > I'm hoping someone can shed some light on these results.\n> >\n> > Not without a lot more detail on how you *got* the results.\n> > What exactly did you do to force the various plan choices?\n> > (I see some ridiculous choices of indexscans, for instance,\n> > suggesting ... |
[
{
"msg_contents": "> Alexandre Leclerc wrote:\n> Sorry for jumping in on this thread so late -- I haven't been able to\n> select * from crosstab(\n> 'select product_id, department_id, req_time\n> from product_department_time order by 1',\n> 'select ''A'' union all select ''C'' union all select ''D'''\... |
[
{
"msg_contents": "Hi all,\n\n I am using a (MFC based) recordset to read in 25M\nrecords of a table. I use a cursor to prevent complete\nloading of all records. However, currently performance\nis limited by the number of times the odbc driver\nloads in the rows. \n\n The tuple cache is set to 5M. I am... |
[
{
"msg_contents": "\nHi,\n\nhere is a query which produces over 1G temp file in pgsql_tmp. This\nis on pgsql 7.4.2, RHEL 3.0, XEON MP machine with 32GB RAM, 300MB\nsort_mem and 320MB shared_mem.\n\nBelow is the query and results for EXPLAIN and EXPLAIN ANALYZE. All\ntables have been analyzed before.\n\nCan some... |
[
{
"msg_contents": "\nHi,\n\nhere is a query which produces over 1G temp file in pgsql_tmp. This\nis on pgsql 7.4.2, RHEL 3.0, XEON MP machine with 32GB RAM, 300MB\nsort_mem and 320MB shared_mem.\n\nBelow is the query and results for EXPLAIN and EXPLAIN ANALYZE. All\ntables have been analyzed before.\n\nCan some... |
[
{
"msg_contents": "\n\n\n\nThis is probably a very trivial question and I feel foolish in even posting\nit, but I cannot seem to get it to work.\n\nSCENARIO (abstracted):\n\nTwo tables, \"summary\" and \"detail\". The schema of summary looks like:\n\nid int serial sequential record id\ncollect_date ... |
[
{
"msg_contents": "\n\n\n\nWhile working on a previous question I posed to this group, I ran a number\nof EXPLAIN ANALYZE's to provide as examples. After sending up my last\nemail, I ran the same query *without* EXPLAIN ANALYZE. The runtimes were\nvastly different. In the following example, I ran two identic... |
[
{
"msg_contents": "\n\n-----Original Message-----\nFrom: pgsql-performance-owner@postgresql.org [mailto:pgsql-performance-owner@postgresql.org]On Behalf Of Steven Rosenstein\nSent: Sunday, February 06, 2005 8:51 PM\nTo: pgsql-performance@postgresql.org\nSubject: [PERFORM] Can the V7.3 EXPLAIN ANALYZE be trusted... |
[
{
"msg_contents": "Hi all,\n I am facing a strange problem when I run EXPLAIN against a table\nhaving more than 100000 records. The query have lot of OR conditions\nand when parts of the query is removed it is using index. To analyse\nit I created a table with a single column, inserted 100000\nrecords(random... |
[
{
"msg_contents": "Hi every one,\n\n\nWhy does this take forever (each query is sub second when done seperately)? \nIs it because I cannot open two cursors in the same transaction?\n\nbegin;\n\ndeclare SQL_CUR01 cursor for \nSELECT A.ordernummer, B.klantnummer FROM \"orders\" A LEFT OUTER JOIN \"klt_alg\" B ON ... |
[
{
"msg_contents": "Hi all,\n\nA retry of the question asked before. All tables freshly vacuumed an analized. \n\nTwo queries: one with \"set enable_seqscan = on\" , the other with \"set enable_seqscan = off\". The first query lasts 59403 ms, the second query 31 ms ( the desc order variant has the same large dif... |
[
{
"msg_contents": " \n>> The best solution is probably to put a LIMIT into the DECLARE CURSOR,\n>> so that the planner can see how much you intend to fetch.\nI assume that this limits the resultset to a LIMIT. That is not what I was hoping for. I was hoping for a way to scrolll throught the whole tables with or... |
[
{
"msg_contents": "> >> The best solution is probably to put a LIMIT into the DECLARE\nCURSOR,\n> >> so that the planner can see how much you intend to fetch.\n> I assume that this limits the resultset to a LIMIT. That is not what I\nwas\n> hoping for. I was hoping for a way to scrolll throught the whole\ntable... |
[
{
"msg_contents": "Hi all, we have an Sun E3500 running Solaris 9. It's got 6x336MHz CPU and\n10GB RAM.\n\nI would like to know what /etc/system and postgresql_conf values are\nrecommended to deliver as much system resource as possible to Postgres. We\nuse this Sun box solely for single user Postgres data wareh... |
[
{
"msg_contents": "All,\n\nWhen trying to restore my template1 database (7.3.4) I am \nexperiencing very long delays. For 600 users (pg_shadow) \nand 4 groups (pg_group) it is taking 1hr and 17 minutes to \ncomplete. All of the create user statements are processed in a \nmatter of seconds, but each alter grou... |
[
{
"msg_contents": "\"Ben Young\" <Ben.Young@etrials.com> writes:\n> template1=# VACUUM FULL VERBOSE pg_group;\n> INFO: --Relation pg_catalog.pg_group--\n> INFO: Pages 124: Changed 1, reaped 124, Empty 0, New 0; Tup 4: Vac 966, Keep/VTL 0/0, UnUsed 156, MinLen 92, MaxLen 136; Re-using: Free/Avail. Space 100836... |
[
{
"msg_contents": "Tom,\n\nIs the \"index bloat\" prevented/reduced in newer versions of Postgres?\n\nIs there a way to prevent/reduce it with the current version of Postgres I'm using?\n\nMany Thanks,\nBen\n\n\"Ben Young\" <Ben.Young@etrials.com> writes:\n> template1=# VACUUM FULL VERBOSE pg_group;\n> INFO: -... |
[
{
"msg_contents": "Hi,\nwe just got a new dual processor machine and I wonder if there is a way \nto utilize both processors.\n\nOur DB server is basically fully dedicated to postgres. (its a dual amd \nwith 4gb mem.)\n\nI have a batch job that periodically loads about 8 million records into \na table.\nfor thi... |
[
{
"msg_contents": "> Thanks John.\n> \n> Well as I mentioned. I have a Dual AMD Opteron 64 2.4ghz, 15k rpm\nSCSI\n> Disks, 4GB of memory.\n> Disks are pretty fast and memory should be more than enough. Currently\n> we dont have many concurrent connections.\n> \n> I run PG 8.0.1 on Fedora Core 3\n> \n> When I n... |
[
{
"msg_contents": "Hi,\n\nis there a way to tell Postgres which index to use when a query is \nissued in 7.4.2?\n\nI have a query for which costwise a Hash-Join and no Index-Usage is the \nbest, but timewise using the index and then do a NestedLoop join is much \nbetter (3 - 4 times).\n\nI have vacuumed before ... |
[
{
"msg_contents": "Hello All,\n\nIn contrast to what we hear from most others on this list, we find our \ndatabase servers are mostly CPU bound. We are wondering if this is because \nwe have postgres configured incorrectly in some way, or if we really need \nmore powerfull processor(s) to gain more performance... |
[
{
"msg_contents": "Folks,\n\nA lot of people have been pestering me for this stuff, so I've finally \nfinished it and put it up. \nhttp://www.powerpostgresql.com/\n\nHopefully this should help people as much as the last one did.\n\n-- \n--Josh\n\nJosh Berkus\nAglio Database Solutions\nSan Francisco\n",
"m... |
[
{
"msg_contents": "\n> Hello All,\n> \n> In contrast to what we hear from most others on this list, we find our\n> database servers are mostly CPU bound. We are wondering if this is\n> because\n> we have postgres configured incorrectly in some way, or if we really\nneed\n> more powerfull processor(s) to gain m... |
[
{
"msg_contents": "Hi guys,\n\ni'm planning try to do a comparative between some DBMS\nand postgresql (informix, oracle, m$ sql server,\nfirebird and even mysql) i'm coordinating with people\nin the irc spanish postgresql channel.\n\n1) maybe can anyone give me suggestions on this?\n2) point me to a good benchm... |
[
{
"msg_contents": "Does anyone have any idea why there be over a 4s difference between running \nthe statement directly and using explain analyze? Multiple runs give the \nsame result and I've tested on several servers.\n\ndb=# \\timing\nTiming is on.\ndb=# select count(*) from answer;\n count\n--------\n 5305... |
[
{
"msg_contents": "Hi all,\n\nA question on how to read and interpret the explain analyse statement (and what to do)\n\nI have a query \"SELECT A.ordernummer, B.klantnummer FROM orders A LEFT OUTER JOIN klt_alg B ON A.Klantnummer=B.Klantnummer ORDER BY A.klantnummer;\"\n\nBoth tables have an btree index on klan... |
[
{
"msg_contents": "Hi Tom,\n\nTom Lane schreef:\n> On the surface this looks like a reasonable plan choice. If you like\n> you can try the other two basic types of join plan by turning off\n> enable_hashjoin, which will likely drive the planner to use a merge\n> join, and then also turn off enable_mergejoin to... |
[
{
"msg_contents": "> I have never used Oracle myself, nor have I read its license\nagreement,\n> but what if you didn't name Oracle directly? ie:\n> \n> TPS\t\tDatabase\n> -------------------------------\n> 112\tMySQL\n> 120\tPgSQL\n> 90\tSybase\n> 95\t\"Other database that *may* start with a letter after N\"\n... |
[
{
"msg_contents": "Hi Tom,\n\nTom Lane schreef:\n> Well, the planner does put some emphasis on startup time when dealing\n> with a DECLARE CURSOR plan; the problem you face is just that that\n> correction isn't large enough. (From memory, I think it optimizes on\n> the assumption that 10% of the estimated rows... |
[
{
"msg_contents": "Hi,\n\nin the #postgresql-es channel someone shows me this:\n\npgsql-7.4.5 + postgis \n\n--- begin context ---\n\nCREATE TABLE calles (\n gid int4 NOT NULL DEFAULT nextval('public.callesstgo_gid_seq'::text),\n nombre varchar,\n inicio int4,\n termino int4,\n comuna varchar,\n ciudad var... |
[
{
"msg_contents": "Hi,\n\nI am just wondering, by default, autocommit is enabled for every client \nconnection. The documentations states that we have to use BEGIN\nand END or COMMIT so to increase performance by not using autocommit. \nMy question is, when we use the BEGIN and END statements, is autocommit \... |
[
{
"msg_contents": "Is there a way to use indexes for queries like:\n\nselect field from table where field like 'abc%'\n\n(i.e. filter for string fields that begin with something) ?\n",
"msg_date": "Mon, 14 Feb 2005 20:57:27 +0100",
"msg_from": "Ivan Voras <ivoras@fer.hr>",
"msg_from_op": true,
"... |
[
{
"msg_contents": "Hi All,\n\nI have boiled my situation down to the following simple case: (postgres \nversion 7.3)\n\n* Query 1 is doing a sequential scan over a table (courtesy of field \nILIKE 'foo%') and index joins to a few others\n* Query 2 is doing a functional index scan over the same table \n(lower(fi... |
[
{
"msg_contents": "Hi,\n\n \n\nI have 3 tables in the database with 80G of data, one of them is almost 40G\nand the remaining 2 tables has 20G each.\n\nWe use this database mainly for query and updating is done only quarterly\nand the database perform well. My problem\n\nis after updating and then run VACCUM FU... |
[
{
"msg_contents": "> It seems inevitable that Postgres will eventually eliminate that\nredundant\n> layer of buffering. Since mmap is not workable, that means using\nO_DIRECT\n> to\n> read table and index data.\n\nWhat about going the other way and simply letting the o/s do all the\ncaching? How bad (or good) ... |
[
{
"msg_contents": "Josh Berkus wrote:\n> Now you can see why other DBMSs don't use the OS disk cache. There's\n> other\n> issues as well; for example, as long as we use the OS disk cache, we\ncan't\n> eliminate checkpoint spikes, at least on Linux. No matter what we do\nwith\n> the bgwriter, fsyncing the OS d... |
[
{
"msg_contents": ">Josh Berkus wrote:\n>> Now you can see why other DBMSs don't use the OS disk cache. There's\n>> other\n>> issues as well; for example, as long as we use the OS disk cache, we\n>can't\n>> eliminate checkpoint spikes, at least on Linux. No matter what we do\n>with\n>> the bgwriter, fsyncing ... |
[
{
"msg_contents": "With three databases running the same query, I am receiving greatly\ndiffering results from 2 of the query planners.\n\n-db2 and db3 are slonied copies of db1. The servers have identical\npostgresql.conf files but the server hardware differs.\n-all appropriate columns are indexed\n-vacuum ana... |
[
{
"msg_contents": "Hi,\n\n\tI was wondering if there would be a proper configuration for a PG database \nused for a forum.. hmm phpBB to be exact..\n\n\tIt seems that postgres on phpBB is kinda slow..\n\n\nTIA,\n\n",
"msg_date": "Thu, 17 Feb 2005 21:29:01 +0800",
"msg_from": "JM <jerome@gmanmi.tv>",
... |
[
{
"msg_contents": "Certain queries on my database get slower after\nrunning a VACUUM ANALYZE. Why would this happen, and\nhow can I fix it?\n\nI am running PostgreSQL 7.4.2 (I also seen this\nproblem on v. 7.3 and 8.0)\n\nHere is a sample query that exhibits this behaviour\n(here the query goes from 1 second be... |
[
{
"msg_contents": "Hi ALL,\n\n\tI was wondering if there is a DB performance reduction if there are a lot of \nIDLE processes.\n\n30786 ? S 0:00 postgres: user1 gmadb 10.10.10.1 idle\n32504 ? S 0:00 postgres: user1 gmadb 10.10.10.1 idle\n32596 ? S 0:00 postgres: user1 gmadb 1... |
[
{
"msg_contents": "On Fri, Feb 18, 2005 at 11:54:34AM -0300, Rodrigo Moreno wrote:\n> 00 23 * * 1-5 /usr/local/pgsql/bin/psql supre -c \"vacuum analyze;\"\n>>>/dev/null 2>&1\n\nIsn't vacuum once a day a bit too little with heavy activity? You should\nprobably consider autovacuum.\n\n> 00 23 * * 6 /usr/local/pgs... |
[
{
"msg_contents": "Magnus prepared a trivial patch which added the O_SYNC flag for windows\nand mapped it to FILE_FLAG_WRITE_THROUGH in win32_open.c. We pg_benched\nit and here are the results of our test on my WinXP workstation on a 10k\nraptor:\n\nSettings were pgbench -t 100 -c 10.\n\nfsync = off: \n~ 280 t... |
[
{
"msg_contents": "I am running postgreSQL 8.0.1 under the Windows 2000. I want to use COPY\nFROM STDIN function from Java application, but it doesn't work, it\nthrows:\n\n\"org.postgresql.util.PSQLException: Unknown Response Type G\" error.\n\nPlease help me!\n\nNote: COPY FROM filename works properly.\n\n \n... |
[
{
"msg_contents": "Hi all,\nI'm stuck in a select that use the hash join where should not:\n6 seconds vs 0.3 ms !!\n\nIf you need other info in order to improve the planner,\nlet me know.\n\nRegards\nGaetano Mendola\n\n\n\n\nempdb=# explain analyze SELECT id_sat_request\nempdb-# FROM sat_request sr,\nempdb-#... |
[
{
"msg_contents": "I newly installed the postgresql 7.4.5 and FC 3 in my server and transfer the\ndata from 7.3.2 with just a few problems. After I use the webmin 1.8 to config\nthe grant previllage to the users ,I found that there is an error in the grant\nprevilege .\npostgresql --> Grant Previlege --> error\... |
[
{
"msg_contents": ">> I don't think that's correct either. Scatter/Gather I/O is \n>used to SQL\n>> Server can issue reads for several blocks from disks into it's own\n>> buffer cache with a single syscall even if these buffers are not\n>> sequential. It did make significant performance improvements \n>when the... |
[
{
"msg_contents": "> Magnus Hagander wrote:\n> > I don't think that's correct either. Scatter/Gather I/O is used to\nSQL\n> > Server can issue reads for several blocks from disks into it's own\n> > buffer cache with a single syscall even if these buffers are not\n> > sequential. It did make significant performa... |
[
{
"msg_contents": "Hi -\n\nThis is based on a discussion I was having with neilc on IRC. He \nsuggested I post it here. Sorry for the length - I'm including \neverything he requested.\n\nI'm comparing the speeds of the following two queries. I was curious \nwhy query 1 was faster than query 2:\n\nquery 1:... |
[
{
"msg_contents": "Hi -\n\nThis is based on a discussion I was having with neilc on IRC. He \nsuggested I post it here. Sorry for the length - I'm including \neverything he requested\n\nI'm comparing the speeds of the following two queries on 7.4.5. I was \ncurious why query 1 was faster than query 2:\n\n... |
[
{
"msg_contents": "Hi,\n\nI've downloaded the latest release (PostgreSQL 8.0) for windows.\nInstallation was OK, but I have tried to restore a database.\nIt had more than ~100.000 records. Usually I use PostgreSQL\nunder Linux, and it used to be done under 10 minutes.\n\nUnder W2k und XP it took 3 hours(!) Why ... |
[
{
"msg_contents": "\n\n\nHi,\n\nI've downloaded the latest release (PostgreSQL 8.0) for windows.\nInstallation was OK, but I have tried to restore a database.\nIt had more than ~100.000 records. Usually I use PostgreSQL\nunder Linux, and it used to be done under 10 minutes.\n\nUnder W2k und XP it took 3 hours(!... |
[
{
"msg_contents": "\n>I've downloaded the latest release (PostgreSQL 8.0) for windows.\n>Installation was OK, but I have tried to restore a database.\n>It had more than ~100.000 records. Usually I use PostgreSQL\n>under Linux, and it used to be done under 10 minutes.\n>\n>Under W2k und XP it took 3 hours(!) Why... |
[
{
"msg_contents": "Hi all,\nI'm running since one week without use any vacuum full,\nI'm using ony pg_autovacuum. I expect that disk usage will reach\na steady state but is not. PG engine: 7.4.5\n\nExample:\n\nThe message table is touched by pg_autvacuum at least 2 time a day:\n\n$ cat pg_autovacuum.log | grep... |
[
{
"msg_contents": "The following query plans both result from the very same query run on\ndifferent servers. They obviously differ drastically, but I don't why\nas one db is a slonied copy of the other with identical postgresql.conf\nfiles.\nBoth databases are vacuum analyzed nightly.\n\nHere is the query:\n---... |
[
{
"msg_contents": "I've got 2 tables defined as follows:\n\nCREATE TABLE \"cluster\"\n(\n id int8 NOT NULL DEFAULT nextval('serial'::text),\n clusterid varchar(255) NOT NULL,\n ...\n CONSTRAINT pk_cluster PRIMARY KEY (id)\n) \n\nCREATE TABLE sensorreport\n(\n id int8 NOT NULL DEFAULT nextval('serial'::text... |
[
{
"msg_contents": "Hi,\n\nI changed fsync to false. It took 8 minutes to restore the full database.\nThat is 26 times faster than before. :-/ (aprox. 200 tps)\nWith background writer it took 12 minutes. :-(\n\nThe funny thing is, I had a VMWARE emulation on the same Windows mashine,\nrunning Red Hat, with fsync... |
[
{
"msg_contents": " \n\n> -----Original Message-----\n> From: Richard Huxton [mailto:dev@archonet.com] \n> Sent: Wednesday, February 23, 2005 3:40 AM\n> To: Butkus_Charles@emc.com\n> Cc: pgsql-performance@postgresql.org\n> Subject: Re: [PERFORM] Joins, Deletes and Indexes\n> \n> Butkus_Charles@emc.com wrote:\n>... |
[
{
"msg_contents": "> > You can *never* get above 80 without using write cache, \n> regardless of \n> > your OS, if you have a single disk.\n> \n> Why? Even with, say, a 15K RPM disk? Or the ability to \n> fsync() multiple concurrently-committing transactions at once?\n\nUh. What I meant was a single *IDE* disk.... |
[
{
"msg_contents": "> Hi,\n> \n> I changed fsync to false. It took 8 minutes to restore the \n> full database.\n> That is 26 times faster than before. :-/ (aprox. 200 tps) \n> With background writer it took 12 minutes. :-(\n\nThat seems reasonable.\n\n\n> The funny thing is, I had a VMWARE emulation on the same ... |
[
{
"msg_contents": "Hello All\n\n I am setting up a hardware clustering solution. My hardware is Dual \nOpteron 550 with 8GB ram. My external storage is a Kingston Fibre \nchannel Infostation. With 14 15000'k 36GB drives. The OS we are running \nis Redhat ES 3.0. Clustering using Redhat Cluster Suite. Postgr... |
[
{
"msg_contents": "Sorry, just a fool tip, cause I haven't seen that you already done the pg_ctl stop && pg_ctl start ...\n\n(I mean, did you reload your conf settings?)\n\nRegards,\nGuido\n\n> > > I used you perl script and found the error =>\n> > > [root@samba tmp]# perl relacl.pl\n> > > DBI connect('dbname=t... |
[
{
"msg_contents": "Hi,\n\nRAID1 (mirroring) and RAID1+0 (striping and mirroring) seems to\nbe a good choice. (RAID 5 is for saving money, but it doesn't have a\ngood performance) \n\nI suggest you to make a different array for:\n- Operating system\n- db logs\n- each database\n\nIt is a little bit of \"wasting\... |
[
{
"msg_contents": "Hello Again\n\nIn the below statement you mention putting each database on its own raid \nmirror.\n\n\"However, sticking with your arrangement, it would seem that you might be\nable to get some extra performance if each database is on it's own raid,\nsince you are fairly likely to have 2 tran... |
[
{
"msg_contents": "Our dual opteron has been performing well for many weeks now (after some simple tuning) when all of a sudden the queries have slowed right down!\n\nie:\n\nDUAL 246 OPTERON:\n\nselect count(*) from job_archieve; - Time: 107.24 ms\n\nexplain analyse select count(*) from job_archieve;\nAggregate... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.