threads listlengths 1 275 |
|---|
[
{
"msg_contents": "On 3 Apr 2004 at 21:23, Mike Nolan wrote:\n\n> > Almost any cross dbms migration shows a drop in performance. The engine\n> > effectively trains developers and administrators in what works and what\n> > doesn't. The initial migration thus compares a tuned to an untuned version.\n> \n> I think... |
[
{
"msg_contents": "Hi Aaron,\n\n> -----Original Message-----\n> From: pgsql-performance-owner@postgresql.org\n> [mailto:pgsql-performance-owner@postgresql.org]On Behalf Of \n> Aaron Werman\n> Sent: vrijdag 2 april 2004 13:57\n> \n> \n> another thing that I have all over the place is a hierarchy:\n> index on gra... |
[
{
"msg_contents": "hi list,\n\ni want to convince people to use postgresql instead of ms-sql server, so i\nset up a kind of comparission insert data / select data from postgresql /\nms-sql server\n\nthe table i use was pretty basic,\n\nid bigserial\ndist float8\nx float8\ny float8\nz float8\n\ni ... |
[
{
"msg_contents": "I think it was on this list - someone posted a message about SETOF \nbeing slower. Tom replied saying it was because it needed to create an \non-disk tuplestore.\n\nI was just looking for some clarification - a SETOF function will \nalways write the reslting tuples to disk (Not buffering in... |
[
{
"msg_contents": "\nNo point to beating a dead horse (other than the sheer joy of the thing) since postgres does not have raw device support, but ...\n\nraw devices, at least on solaris, are about 10 times as fast as cooked file systems for Informix. This might still be a gain for postgres' performance, but th... |
[
{
"msg_contents": "This is what I got...\n\n \n\nTwo servers, one debian, one fedora\n\n \n\nDebain dual 3ghz, 1 gig ram, ide, PostgreSQL 7.2.1 on i686-pc-linux-gnu,\ncompiled by GCC 2.95.4\n\n \n\n \n\nFedora: Dual 3ghz, 1 gig ram, scsi, PostgreSQL 7.3.4-RH on\ni386-redhat-linux-gnu, compiled by GCC i386-redha... |
[
{
"msg_contents": "hello,\n\n\tI have some question when I use postgresql 7.4.1 on redhat adv server 2.1 .\nI use IBM335 as server, it has 4 cpus, 1G RAM. but I got very bad performance.\nI can only do about 50 inserts per sencond. Event worse than my pc(PIII 800,256M RAM), can anyone give me some advice?\t\n\n... |
[
{
"msg_contents": "I seem to remember discussion of anticipatory vs deadline scheduler in 2.6. \nHere is what Andrew Morton (I think) says:\n\n\"The deadline scheduler has two additional scheduling queues that were not \navailable to the 2.4 IO scheduler. The two new queues are a FIFO read queue \nand a FIFO wr... |
[
{
"msg_contents": "I am trying to find an efficient way to draw a random sample from a \ncomplex query. I also want it to be easy to use within my application.\n\nSo I've defined a view that encapsulates the query. The id in the \n\"driving\" table is exposed, and I run a query like:\n\nselect * from stats_re... |
[
{
"msg_contents": "hello!\n\n\tThanks, you are right.\n\t I use \"postmaster -o \"-F\" \" to start my PG,and performance improved greatly.\n\n Best regards,\n\t\t\t huang yaqin\n\n>huang yaqin <hyq@gthome.com> writes:\n>> \tI have some question when I use postgresql 7.4.1 on redhat adv server 2.1 .\... |
[
{
"msg_contents": "hi shridhar,\n\n\n> Heiko Kehlenbrink wrote:\n>\n>> hi list,\n>>\n>> i want to convince people to use postgresql instead of ms-sql server, so i\n>> set up a kind of comparission insert data / select data from postgresql /\n>> ms-sql server\n>>\n>> the table i use was pretty basic,\n>>\n>> id ... |
[
{
"msg_contents": "Hello, Richard Huxton,\n\t\n \t\tYou said turning fsync off may cause losing data, that's terrible.\n\tI use SCSI disk, and file system is ext3. I tune postgresql.conf and can't get any improvement. So what can I do?\n\tDoes SCSI disk and IDE disk have difference?\n\n\t Regards,\n\t\t\tH... |
[
{
"msg_contents": "Rather than ask some general, unanswerable question on how to tune my database...I thought I ask where I might find an introduction to...or manual/tutorial for the depths of managing a postgres db. Books? Websites? Assume a basic to intermediate knowledge of DBs in general with a desire to... |
[
{
"msg_contents": "What the statistics are? Where can i view it? where can i find info about \nits field and why are they valuable information to performance?\n\nthanx in advance,\n\nJaime Casanova\n\n_________________________________________________________________\nProtect your PC - get McAfee.com VirusScan O... |
[
{
"msg_contents": "Hi everyone,\n\nI have done some reading on filesystems and I thought to optimize the\nsettings for my PostgreSQL system. I use the ext3 filesystem and have the\nPostgreSQL data and WAL on different physical drives. I made some\nadjustments to my /etc/fstabd file, so it looks like this :\n\n\... |
[
{
"msg_contents": "> > LABEL=/usr/local/pgsql /usr/local/pgsql ext3\n> > noatime,data=writeback 1 2\n> > LABEL=/usr/local/pgsql /usr/local/pgsql/wal ext3\n> > noatime,data=ordered 1 2\n>\n> The same label mounted on two different mount points is probably I typo?\n\n\nNo, the same label mounted on tw... |
[
{
"msg_contents": "Hello,\n\nI've followed the last discussion about the particular case of\n\"select count(*)\"s on large tables being somewhat slow.\n\nI've seen also this issue already on the todo list, so I know\nit is not a simple question.\nThis problem arises for me on very large tables, which I mean\nst... |
[
{
"msg_contents": "> > > > LABEL=/usr/local/pgsql /usr/local/pgsql ext3\n> > > > noatime,data=writeback 1 2\n> > > > LABEL=/usr/local/pgsql /usr/local/pgsql/wal ext3\n> > > > noatime,data=ordered 1 2\n> > >\n> > > The same label mounted on two different mount points is probably I \n> > > typo?\n> > ... |
[
{
"msg_contents": "Hello,\n\nI've just started using the tsearch2 system. I'm VERY impressed by the \nspeed.\n\nI've got one question about query planning. Is it understandable to \nhave the query plan estimation be off by a couple of orders of \nmagnitude? Or, is it the fact that the cost estimation is s... |
[
{
"msg_contents": "Thanks for the answer.\n\nI know the question was to primitive (it claims: i have no idea about \ndatabases).\nBut i simply didn't find the answer and if a don't ask i won't learn.\n\nSomeday i will talk with Tom Lane about how to improve the planner but until \nthat day comes i have a lot of... |
[
{
"msg_contents": "Doing an upgrade from 7.3.6 to 7.4.2 and I keep seeing the recycled\ntransaction log about every 2 mins. For future upgrades, is there\nsomething that can be set so that I don't have as many recycles? It seems\nto slow down the importing of data.\nHere's my current settings:\n\n#----------... |
[
{
"msg_contents": "Hey,\n\nHas anyone done performance tests for OpenFTS on a really large database? I \nwas speaking at PerlMongers and somebody asked.\n\n-- \n-Josh Berkus\n Aglio Database Solutions\n San Francisco\n\n",
"msg_date": "Fri, 9 Apr 2004 12:46:04 -0700",
"msg_from": "Josh Berkus <josh@agl... |
[
{
"msg_contents": "Hi,\n\nI test many times the foolowing query.\n\ndps=# explain analyze select next_index_time from url order by \nnext_index_time desc limit 1;\n \nQUERY PLAN\n--------------------------------------------------------------... |
[
{
"msg_contents": "\nGreetings,\n\nIs there any performance penalty of having too many columns in\na table in terms of read and write speeds.\n\nTo order to keep operational queries simple (avoid joins) we plan to\nadd columns in the main customer dimension table.\n\nAdding more columns also means increase in c... |
[
{
"msg_contents": "We have a large database which recently increased dramatically due to a\nchange in our insert program allowing all entries.\nPWFPM_DEV=# select relname,relfilenode,reltuples from pg_class where relname\n= 'forecastelement';\n relname | relfilenode | reltuples\n-----------------+-----... |
[
{
"msg_contents": "The index is\nIndexes:\n \"forecastelement_rwv_idx\" btree (region_id, wx_element, valid_time)\n\n-----Original Message-----\nFrom: Shea,Dan [CIS] [mailto:Dan.Shea@ec.gc.ca]\nSent: Monday, April 12, 2004 10:39 AM\nTo: Postgres Performance\nSubject: [PERFORM] Deleting certain duplicates\n\n... |
[
{
"msg_contents": "I've searched the archives and can't find an answer to this seemingly\nsimple question. Apologies if it's too common.\n \nThe table in question has ~1.3M rows. It has 85 columns, 5 of which\nhave single-column indexes.\n \nThe column in question (CID) has 183 distinct values. For these val... |
[
{
"msg_contents": "Hi,\n\n> In 7.4 a VACUUM should be sufficient ... or at least, if it isn't\nAtfer VACUUM:\ndps=# explain analyze select next_index_time from url order by \nnext_index_time desc limit 1;\n \nQUERY PLAN\n---------------------... |
[
{
"msg_contents": "I'm running 7.4.2 on an older Linux box (450MHzAMD K-6-III, 450M RAM) \nrunning kernel 2.6.5. My client is a Java/JDBC program on Windows.\n\nI'm having trouble seeing where the bottleneck in my performance is. \nThe client uses about 30% CPU. The server uses 70% CPU plus 1.5% I/O \nwait. ... |
[
{
"msg_contents": "In the process of optimizing some queries, I have found the following\nquery seems to degrade in performance the more accurate I make the\nstatistics on the table... whether by using increased alter table ...\nset statistics or by using vacuum..\n\nSELECT \n\tcount( cl.caller_id ), \n\tnpanxx... |
[
{
"msg_contents": "Folks,\n\tI have a question about views: I want to have a fairly wide view (lots of\ncolumns) where most of the columns have some heavyish calculations in them,\nbut I'm concerned that it will have to calculate every column even when I'm\nnot selecting them. So, the question is, if I have 5... |
[
{
"msg_contents": "I run the following command three times to prevent cache/disk results.\n\n[...]\ndps=> explain analyze SELECT rec_id FROM url WHERE crc32!=0 AND \ncrc32=764518963 AND status IN (200,304,206) ORDER BY rec_id LIMIT 1;\n QUERY PLAN\n-----... |
[
{
"msg_contents": "Hi\nI have .5 million rows in a table. My problem is select count(*) takes ages.\nVACUUM FULL does not help. can anyone please tell me\nhow to i enhance the performance of the setup.\n\nRegds\nmallah.\n\npostgresql.conf\n----------------------\nmax_fsm_pages = 55099264 # min ma... |
[
{
"msg_contents": "Hi,\n\nI am using pg from 3 y. and generaly I do not have big problems with it.\n\nI am searching for best pg distro to run pg (7.4.1).\nAt the moment I am using RedHat AS 3.0, but I think it have some\nperformance problems (I am not sure).\nMy configuration:\nP4 2.8 GHz\n1 GB RAM\n120 GB IDE... |
[
{
"msg_contents": "Hi,\n\nwe have a complex modperl database application using postgresql 7.4.1 on \na new Dual Xeon MP Machine with SLES8 which seems to generate too much \ncontext switches (way more than 100.000) on higher load (meaning system \nload > 2). System response times significantly slow down then. W... |
[
{
"msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nIs there a way to analyze indexes to provide updated sizes? Is a vacuum the \nonly way to determine the size of an index? Analyze updates the stats so I \ncan see table space sizes but I cannot find an alternative to vacuum for \nindexes.\n\... |
[
{
"msg_contents": "Bill, if you had alot of updates and deletions and wanted to optimize your\ntable, can you just issue the cluster command.\nWill the cluster command rewrite the table without the obsolete data that a\nvacuum flags or do you need to issue a vacuum first?\nDan.\n\n-----Original Message-----\nFr... |
[
{
"msg_contents": "Just a note, I was trying the cluster command and was short on space. I\nfigured I had enough space for the new table and index. It failed on me\ntwice.\nThe reason is that I noticed for the command to complete, it needed the\nspace of the new table and 2x the space of the new index. \nIt ... |
[
{
"msg_contents": "Anyone have any ideas why this query would be so slow?\n\nstats=# explain analyze SELECT work_units, min(raw_rank) AS rank FROM Trank_work_overall GROUP BY work_units;\n QUERY PLAN ... |
[
{
"msg_contents": "Hello all,\n\nMy apologies if this is not the right mailing list to ask this question, but \nwe are wondering about general performance tuning principles for our main db \nserver.\n\nWe have a web app with a postgres backend. Most queries have subsecond \nresponse times through the web even ... |
[
{
"msg_contents": "Note the time for the hash join step:\n\n \n------------------------------------------------------------------------------------------------------------------------------------------\n Hash Join (cost=357.62..26677.99 rows=93668 width=62) (actual time=741.159..443381.011 rows=49091 loops... |
[
{
"msg_contents": "I am using postgres 7.4.1 and have a problem with a plpgsql function. \nWhen I run the function on the production server it takes approx 33 \nminutes to run. I dumped the DB and copied it to a similarly configured \nbox and ran the function and it ran in about 10 minutes. Can anyone \noffer a... |
[
{
"msg_contents": "Thanks Mallah,\nI will keep this example in case I need it again sometime in the future.\nUnfortunately, I do not have enough free space at the moment to create a\ntemp table. \n\nDan\n\n-----Original Message-----\nFrom: Rajesh Kumar Mallah [mailto:mallah@trade-india.com]\nSent: Tuesday, Apri... |
[
{
"msg_contents": "Hi,\n\nWhen I included a subquery, the estimated rows (1240)\nis way too high as shown in the following example. \nCan someone explain why? Because of this behavior,\nsome of our queries use hash join instead of nested\nloop.\n\nThanks,\n\nselect version();\n version... |
[
{
"msg_contents": "Hi Everyone \n\nI am new to this group and relatively new to Postgres, having used MSSQL 7 \nup until now.\n\nOne table in my database in returning even the simplest of queries extremely \nslowly. The table is user table, and even the select userid from users takes \nover 20 seconds to run. T... |
[
{
"msg_contents": "\nI have a query which performs not so well:\n\nSELECT * FROM mm_mediasources ORDER BY number DESC LIMIT 20;\n\ncosts nearly a minute. The table contains over 300 000 records.\n\nThe table has two extensions, which are (a the moment) nearly empty, but\nhave something to do with this, because:... |
[
{
"msg_contents": "What about quad-XEON setups? Could that be worse? (have dual, and quad setups both) Shall we re-consider XEON-MP CPU machines with high cache (4MB+)?\r\n \r\nVery generally, what number would be considered high, especially, if it coincides with expected heavy load?\r\n \r\nNot sure a specific... |
[
{
"msg_contents": "Hello,\n\nI work for Summersault, LLC. We've been using Postgres since the days of\nPostgres 6.5. We're focused on building database-driven websites using Perl and\nPostgres. We are currently seeking help developing a search system that needs\nto perform complex queries with high performance.... |
[
{
"msg_contents": "This vacuum is running a marathon. Why will it not end and show me free\nspace map INFO? We have deleted a lot of data and I would like to be\nconfident that these deletions will be used as free space, rather than\ncreating more table files.\n\n\n\nPWFPM_DEV=# select now();vacuum verbose ... |
[
{
"msg_contents": "No, but data is constantly being inserted by userid scores. It is postgres\nrunnimg the vacuum.\nDan.\n\n-----Original Message-----\nFrom: Christopher Kings-Lynne [mailto:chriskl@familyhealth.com.au]\nSent: Tuesday, April 20, 2004 12:02 AM\nTo: Shea,Dan [CIS]\nCc: pgsql-performance@postgresq... |
[
{
"msg_contents": "I received a copy of pgbench rewritten in Pro*C, which is similar to\nembedded C. I think it was done so the same program could be tested on\nOracle and PostgreSQL.\n\nAre folks interested in this code? Should it be put on gborg or in our\n/contrib/pgbench?\n\n-- \n Bruce Momjian ... |
[
{
"msg_contents": "If this helps - \n\nQuad 2.0GHz XEON with highest load we have seen on the applications, DB performing great - \n\n procs memory swap io system cpu\n r b w swpd free buff cache si so bi bo in cs us sy id\n 1 0 0 1616 35... |
[
{
"msg_contents": "I am planning to move the pg databases from the internal RAID to\nexternal Fiber Channel over SAN.\n\n \n\nQuestion is - \n\n \n\n-With the db size being as big as, say, 30+GB, how do I move it on the\nnew logical drive? (stop postgresql, and simply move it over somehow and\nmake a link?)\n\n... |
[
{
"msg_contents": "Hi,\n\nDual Xeon P4 2.8\nlinux RedHat AS 3\nkernel 2.4.21-4-EL-smp\n2 GB ram\n\nI can see the same problem:\n\nprocs memory swap io\nsystem cpu\n r b swpd free buff cache si so bi bo in cs us sy\nid wa\n1 0 0 96212 6105... |
[
{
"msg_contents": "My first post to this list :)\n\nScenario:\nI have a database used only with search queries with only one table that\nholds about 450.000/500.000 records.\nThe table is well indexed so that most of the queries are executed with\nindex scan but since there is a big text field in the table (360... |
[
{
"msg_contents": "Hi,\n\nHas anyone had a look at:\n\nhttp://people.ac.upc.es/zgomez/\n\nI realize that MySQL & PG cannot really be compared (especially when you \nconsider the issues that MySQL has with things like data integrity) but \nstill surely PG would perform better than the stats show (i.e. #7 31.28 \... |
[
{
"msg_contents": "I just want to make sure that I am interpreting this data correctly.\n\nFrom pg_statio_user_tables, I have pulled relname, heap_blks_read, \nheap_blks_hit. I get several rows like this:\nrelname\t\t\t\theap_bkls_read\theap_blks_hit\n clmhdr \t8607161\t\t\t196547165\t\t\... |
[
{
"msg_contents": "Hello,\n\nI have a bi-PIII server with 2Gb of RAM with Debian and a PostgreSQL 7.4\nrunning on. What are the bests settings for shared buffers, sort memory and\neffective cache size?\n\nMy main database have a small/mid range size: some tables may have 1 or 2\nmillions of records.\n\nThanks\... |
[
{
"msg_contents": "\n\n---------- Forwarded Message ----------\n\nSubject: Re: [PERFORM] MySQL vs PG TPC-H benchmarks\nDate: Wed, 21 Apr 2004 13:55:21 +0100\nFrom: Paul Thomas <paul@tmsl.demon.co.uk>\nTo: Nick Barr <nicky@chuckie.co.uk>\nCc: \"pgsql-performance @ postgresql . org\" <pgsql-performance@postgres... |
[
{
"msg_contents": "Hi\n\n We are in the process of building a new machine for our production \ndatabase. Below you will see some of the harware specs for the machine. \nI need some help with setting these parameters (shared buffers, \neffective cache, sort mem) in the pg_conf file. Also can anyone explain \... |
[
{
"msg_contents": "> The planner is guessing that scanning in rec_id order will produce a\n> matching row fairly quickly (sooner than selecting all the matching \n> rows\n> and sorting them would do). It's wrong in this case, but I'm not sure\n> it could do better without very detailed cross-column statistics.... |
[
{
"msg_contents": ">> Having to recompile to run on single- vs dual-processor \n>machines doesn't\n>> seem like it would fly.\n>\n>Oh, I don't know. Many applications require compiling for a target \n>architecture; SQL Server, for example, won't use a 2nd \n>processor without \n>re-installation. I'm not sure... |
[
{
"msg_contents": "To all,\n\nEssentials: Running 7.4.1 on OSX on a loaded G5 with dual procs, 8GB \nmemory, direct attached via fibre channel to a fully optioned 3.5TB \nXRaid (14 spindles, 2 sets of 7 in RAID 5) box running RAID 50.\n\nBackground: We are loading what are essentially xml based access logs \n... |
[
{
"msg_contents": "Tested the sql on Quad 2.0GHz XEON/8GB RAM:\r\n \r\nDuring the first run, the CS shooted up more than 100k, and was randomly high/low\r\nSecond process made it consistently high 100k+\r\nThird brought it down to anaverage 80-90k\r\nFourth brought it down to an average of 50-60k/s\r\n \r\nBy c... |
[
{
"msg_contents": "I need some help. I have 5 db servers running our database servers, and they \nall are having various degrees of performance problems. The problems we are \nexperiencing are:\n\n1. General slowness\n2. High loads\n\nAll of our db's are running on Dell Poweredge 2650 with 2 P4 Xeons (2.8 -... |
[
{
"msg_contents": "\nPWFPM_DEV=# select * from pg_locks;\n relation | database | transaction | pid | mode |\ngranted\n----------+----------+-------------+-------+--------------------------+-----\n----\n 17472 | 17347 | | 2618 | ShareUpdateExclusiveLock | t\n | ... |
[
{
"msg_contents": "Hi, \n\nI have a query which I think should be using an index all of the time but \npostgres only uses the index part of the time. The index \n(ticket_crm_map_crm_id_suppid) has the where clause column (crm_id) listed \nfirst followed by the selected column (support_person_id). Wouldn't the... |
[
{
"msg_contents": "Josh, how long should a vacuum take on a 87 GB table with a 39 GB index?\n\nI do not think that the verbose option of vacuum is verbose enough.\nThe vacuum keeps redoing the index, but there is no indication as to why it\nis doing this. \n\nI see alot of activity with transaction logs being ... |
[
{
"msg_contents": "Manfred is indicating the reason it is taking so long is due to the number\nof dead tuples in my index and the vacuum_mem setting. \nThe last delete that I did before starting a vacuum had 219,177,133\ndeletions.\nDan.\n>Dan,\n\n>> Josh, how long should a vacuum take on a 87 GB table with a ... |
[
{
"msg_contents": "There were defintely 219,177,133 deletions. \nThe deletions are most likely from the beginning, it was based on the\nreception_time of the data.\nI would rather not use re-index, unless it is faster then using vacuum.\nWhat do you think would be the best way to get around this?\nIncrease vac... |
[
{
"msg_contents": "It is set at max_fsm_pages = 1500000 .\n\nWe are running a \nDELL PowerEdge 6650 with 4 CPU's\nMem: 3611320k av from top.\nThe database is on a shared device (SAN) raid5, 172 GB.\nQlogic Fibre optic cards(desc: \"QLogic Corp.|QLA2312 Fibre Channel Adapter\")\nconnected to the Dell version of... |
[
{
"msg_contents": "I am using the oid of the table as the main key and I've found that is \nnot indexed (maybe because I have declared another primary key in the table)\n\nit is a good practice to create an index like this on the oid of a table?\nCREATE INDEX idoid annuncio400 USING btree (oid);\n\n\ndoes it wo... |
[
{
"msg_contents": "Hi, \n\nI have a query which I think should be using an index all of the time but \npostgres only uses the index part of the time. The index \n(ticket_crm_map_crm_id_suppid) has the where clause column (crm_id) listed \nfirst followed by the selected column (support_person_id). Wouldn't the... |
[
{
"msg_contents": "Hi,\n\nI came across a very intriguing thing:\n\nI had to join two tables and in both tables I wanted to restrict the \nresult set by some (text/varchar) attributes.\n\nHere is an example:\n\nTable \"item\" # 147 000 entries\n\n Column | Type | Modifiers\n------------... |
[
{
"msg_contents": "Hello pgsql-performance,\n\n I discussed the whole subject for some time in DevShed and didn't\n achieve much (as for results). I wonder if any of you guys can help\n out:\n\n http://forums.devshed.com/t136202/s.html\n\nRegards,\n Vitaly Belman\n \n ICQ: 1912453\n AIM: VitalyB1984\n MSN: ... |
[
{
"msg_contents": "Bruno et al,\n\n\tAny self-repsecting lurker would know that oids as row identifiers are \ndepreciated in postgres. Can anyone provide a brief history regarding \nthe reasoning behind using them as row identifiers in the first place? \nI see a discussion of their use as various primary keys i... |
[
{
"msg_contents": "All,\nAfter I upgraded postgres from 7.3.4 to 7.4.2, one of my program got following error:\nDRROR:\tout of memory\nDETAIL:\tFail on request of size 92.\n\nany idea??\ndoes memory management have big difference between 7.3.4 and 7.4.2???\nthis program using a chunk of share memory and a lot o... |
[
{
"msg_contents": "Sccot,\n\nThank you very much, I think taht you are right about this.\nI tested a single query, there is no problem. I'll do a full test with my program.\n\nJie Liang\n\n-----Original Message-----\nFrom: scott.marlowe [mailto:scott.marlowe@ihs.com]\nSent: Wednesday, April 28, 2004 12:57 PM\nT... |
[
{
"msg_contents": "All,\nThis is old topic, when I use:\nselect url from urlinfo where url like 'http://www.lycos.de%';\nit uses the index, good!\n\nbut if I use:\nselect url from urlinfo where url like 'http://%.lycos.de';\nit won't use index at all, NOT good!\nis there any way I can force secon query use inde... |
[
{
"msg_contents": "Hi,\n\nI am building an application using postgresql to store XML-records. There is a\ndebate within the group of developers about the best way to store our data. I\nhope you can help us make a decision.\n\nThe data consists of XML-records, with a lot of XML-fields. I want to store\nthe XML a... |
[
{
"msg_contents": "> \n> Having picked out an index scan as being the highest time user I \n> concentrated on that in this case and compared the same index scan on \n> MSSQL. At least MSSQL reported it as an index scan on the same index \n> for the same number of rows. \n> \n\nI should have also pointed out t... |
[
{
"msg_contents": "I have a table that is never updated, only INSERTED into. Is there a way \nI can prevent vacuum wasting time on this table besides vacuuming each \ntable in the db by itself and omitting this table?\n\nHow feasable would it be to have a marker somewhere in pg that is \n\"updated since last va... |
[
{
"msg_contents": "How does the analyzer/planner deal with rows clustered together? Does \nit just assume that if this col is clustered on then the actual data \nwill be clustered? What if the data in the table happens to be close \ntogether because it was inserted together originally?\n",
"msg_date": "Th... |
[
{
"msg_contents": "Lets say I have two columns, A and B. They are each indexed seperately. \n If I do a query like:\nSELECT * FROM table WHERE A = 1 AND B = 2;\npostgres can only use one index.\n\nI assume that postgres uses the index data to narrow down pages in the \ntable to visit when doing its search. Th... |
[
{
"msg_contents": "Back in 2001, there was a lengthy thread on the PG Hackers list about PG \nand journaling file systems \n(http://archives.postgresql.org/pgsql-hackers/2001-05/msg00017.php), but \nthere was no decisive conclusion regarding what FS to use. At the time \nthe fly in the XFS ointment was that del... |
[
{
"msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHi!\n\nYour bug report form on the web doesn't work.\n\n\nThis is very slow:\n\nSELECT urls.id FROM urls WHERE\n(\n\turls.id <> ALL (SELECT html.urlid FROM html)\n);\n\n...while this is quite fast:\n\nSELECT urls.id FROM urls WHERE\n(\n\tNOT (... |
[
{
"msg_contents": "Hi,\n\nI test a configuration where one table is divided in 256 sub-table.\nAnd I use a RULE to offer a single view to the data.\n\nFor INSERT I have create 256 rules like:\nCREATE RULE ndicti_000 AS ON INSERT TO ndict\n WHERE (NEW.word_id & 255) = 000 DO INSTEAD\n INSERT INTO ndict_0... |
[
{
"msg_contents": "I have a big table with some int fields. I frequently need to do \nqueries like:\n\nSELECT if2, count(*) FROM table WHERE if1 = 20 GROUP BY if2;\n\nThe problem is that this is slow and frequently requires a seqscan. I'd \nlike to cache the results in a second table and update the counts with... |
[
{
"msg_contents": "Hi,\n\nI have query:\nselect pg_stat_get_numscans(76529669),\npg_stat_get_blocks_fetched(76529669), \npg_stat_get_blocks_hit(76529669);\n\nThe result is:\n pg_stat_get_numscans | pg_stat_get_blocks_fetched |\npg_stat_get_blocks_hit\n----------------------+----------------------------+--------... |
[
{
"msg_contents": "I mentioned this at the tail end of a long post in another thread, but\nI have been researching how to configure Postgres for a RAID 10 SAME \nconfiguration as described in the Oracle paper \"Optimal Storage \nConfiguration Made Easy\" \n(http://otn.oracle.com/deploy/availability/pdf/oow2000_... |
[
{
"msg_contents": "Hello all,\n\n \n\nWe are using Postgres 7.3 with JBoss 3.2.3 on a Linux Fedora 1.0 box.\n\n \n\nWhen I am looking at CPU activity with \"top\", I often see something like:\n\n \n\n PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND\n\n14154 postgres 25 0 3592 3592 ... |
[
{
"msg_contents": "On Sat, 2004-06-05 at 11:55, Carlos Eduardo Smanioto wrote:\n> What's the case of bigger database PostgreSQL (so greate and amount of\n> registers) that they know???\n\n\nYou might want to fix the month on your system time.\n\nWith respect to how big PostgreSQL databases can get in practice, ... |
[
{
"msg_contents": "All,\n\nSince I have not seen any follow up post,\nI am wondering if my question is not clear or\nwhat.\n\nAnyway, my postgres version is 7.3.2, and I\nwant to know:\n1. How to determine if some of indexes are used by\nany queries, like Oracle's:\nalter index my_index monitoring usage\n2. The... |
[
{
"msg_contents": "Hi,\n\n I am a newbie here and just starting to use postgresql. My\nproblems is how to tune up my server because it its too slow.\n\nWe just ported from DBF to postgresql.\n\n \n\nThis is my PC specs: P4, 512Ram, Linux 9\n\n \n\nBecause I am working in a statistical organization we... |
[
{
"msg_contents": "Hi.\n\n I´m new here and i´m not sure if this is the right email to solve my problem.\n\n Well, i have a very large database, with vary tables and very registers. Every day, too many operations are perfomed in that DB, with queries that insert, delete and update. Once a week some statis... |
[
{
"msg_contents": "My company is developing a PostgreSQL application. We're using 7.3.4\nbut will soon upgrade to 7.4.x. Our OS is RedHat 9. Our production\nmachines have 512 MB RAM and IDE disks. So far we've been using\ndefault configuration settings, but I have started to examine\nperformance and to modify ... |
[
{
"msg_contents": "Hi,\n\nI am curious if there are any real life production quad processor setups \nrunning postgresql out there. Since postgresql lacks a proper \nreplication/cluster solution, we have to buy a bigger machine.\n\nRight now we are running on a dual 2.4 Xeon, 3 GB Ram and U160 SCSI \nhardware-ra... |
[
{
"msg_contents": "We use XEON Quads (PowerEdge 6650s) and they work nice, provided you configure the postgres properly. Dell is the cheapest quad you can buy i think. You shouldn't be paying 30K unless you are getting high CPU-cache on each processor and tons of memory.\r\n \r\nI am actually curious, have you ... |
[
{
"msg_contents": "Did you mean to say the trigger-based clustering solution is loading the dual CPUs 60-70% right now?\r\n \r\nPerformance will not be linear with more processors, but it does help with more processes. We haven't benchmarked it, but we haven't had any problems also so far in terms of performanc... |
[
{
"msg_contents": "Hello,\n I've been having some performance issues with a DB I use. I'm trying to \ncome up with some performance recommendations to send to the \"adminstrator\".\n\nHardware:\nCPU0: Pentium III (Coppermine) 1000MHz (256k cache)\nCPU1: Pentium III (Coppermine) 1000MHz (256k cache)\nMemory: 3... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.