threads listlengths 1 275 |
|---|
[
{
"msg_contents": "My situation is this. We have a semi-production server where we \npre-process data and then upload the finished data to our production \nservers. We need the fastest possible write performance. Having the DB \ngo corrupt due to power loss/OS crash is acceptable because we can \nalways restore... |
[
{
"msg_contents": "\nI am sure there is no transaction open with the table banner_stats2.\nStill VACUUM FULL does not seems to effective in removing the\ndead rows.\n\nCan any one please help?\n\nRegds\nmallah\n\ntradein_clients=# VACUUM FULL verbose banner_stats2 ;\nINFO: vacuuming \"public.banner_stats2\"\n... |
[
{
"msg_contents": "Torsten Schulz wrote:\n\n> Yes, I know: very difficult question, but I don't know what to do now.\n> \n> Our Server:\n> Dual-CPU with 1.2 GHz\n> 1.5 GB RAM\n> \n> Our Problem: We are a Community. Between 19 and 21 o clock we have >350 \n> User in the Community. But then, the Database are very... |
[
{
"msg_contents": "I've scanned some of the archives and have learned a lot about different performance tuning practices. I will be looking into using many of these ideas but I'm not sure they address the issue I am currently experiencing.\n\nFirst, I'm a total newb with postgresql. Like many before me, I hav... |
[
{
"msg_contents": "Torsten Schulz wrote:\n> Hi,\n> \n>> You can see doing select * from pg_stat_activity the\n>> queries that are currently running on your server, and\n>> do a explain analize on it to see which one is the\n>> bottleneck. If you are running the 7.4 you can see on\n>> the log the total ammount... |
[
{
"msg_contents": "Hi all,\n\nI want to use index on the gene_symbol column in my\nquery and gene_symbol is indexed. but when I use\nlower (gene_symbol) like lower('%mif%'), the index\nis not used. While when I change to\nlower(gene_symbol) = lower('mif'), the index is used\nand index scan works, but this is no... |
[
{
"msg_contents": "Dear You all,\n\n(please tell me if this has already been discussed, I was unable to find any \nconvincing information)\n\nI'm developing a small application, tied to a PG 7.4 beta 5 (i didn't \nupgrade). The DB i use is roughly 20 tales each of them containing at most 30 \nrecords (I'm still... |
[
{
"msg_contents": "Chester Kustarz wrote:\n\n> On Mon, 24 Nov 2003, Torsten Schulz wrote:\n> \n>\n>> shared_buffers = 5000 # 2*max_connections, min 16\n>> \n>\n>\n> that looks pretty small. that would only be 40MBytes (8k/page * \n> 5000pages).\n>\n> http://www.varlena.com/GeneralBits/Tidbits/perf.htm... |
[
{
"msg_contents": "Folks,\n\nWe're seeing some odd issues with hyperthreading-capable Xeons, whether or not \nhyperthreading is enabled. Basically, when a small number of really-heavy \nduty queries hit the system and push all of the CPUs to more than 70% used \n(about 1/2 user & 1/2 kernel), the system goes ... |
[
{
"msg_contents": "I just installed v7.4 and restored a database from v7.3.4. I have an \nindex based on a function that the planner is using on the old version, \nbut doing seq scans on left joins in the new version. I have run \nanalyze on the table post restore. the query returns in less than 1 \nsecond on... |
[
{
"msg_contents": "\nversion 7.4 results:\n\nexplain analyse SELECT L.row_id FROM music.logfile L LEFT JOIN \nmusic.program P ON\nmusic.fn_mri_id_no_program(P.mri_id_no) = L.program_id\nWHERE L.station = UPPER('kabc')::VARCHAR\nAND L.air_date = '04/12/2002'::TIMESTAMP\nAND P.cutoff_date IS NULL\nORDER BY L.chr... |
[
{
"msg_contents": "Hi all, \nWhich one is better (performance/easier to use),\ntsearch2 or fulltextindex? \nthere is an example how to use fulltextindex in the\ntechdocs, but I checked the contrib/fulltextindex\npackage, there is a WARNING that fulltextindex is\nmuch slower than tsearch2. but tsearch2 seems\nco... |
[
{
"msg_contents": "I was wondering if there is something I can do that would act similar to\na index over more than one table. \n\nI have about 3 million people in my DB at the moment, they all have\nroles, and many of them have more than one name. \n\nfor example, a Judge will only have one name, but a Litigan... |
[
{
"msg_contents": "Hello All,\nWe will have a very large database to store\nmicroarray data (may exceed 80-100G some day). now\nwe have 1G RAM, 2G Hz Pentium 4, 1 CPU. and enough\nhard disk. \n\nI never touched such large database before. I ask\nseveral dbas if the hardware is ok, some said it is\nok for the q... |
[
{
"msg_contents": "Thanks for reply. Actually our database only supply\nsome scientists to use (we predict that). so there\nis no workload problem. there is only very\ninfrequent updates. the query is not complex. the\nproblem is, we have one table that store most of the\ndata ( with 200 million rows). In this ... |
[
{
"msg_contents": "I'v spent a couple days playing with this problem and searching the mailing lists and\ndocs etc but come up with nothing. Any help would be much appreciated.\n\nSetup is postgres 7.3.2 on redhat 7.1 on a 1.3GHz Athlon machine with 1G pc133 ram and\nSCSI.\n\nHere is the same query with the add... |
[
{
"msg_contents": "Hi!\n\n\nI have 4 question which probably someone can answer.\n\n1) I have a transaction during which no data was modified, does it\nmake a difference whether i send COMMIT or ROLLBACK? The effect is the\nsame, but what�s about the speed?\n\n2) Is there any general rule when the GEQO will s... |
[
{
"msg_contents": "Hi!\n\n\nI have 4 question which probably someone can answer.\n\n1) I have a transaction during which no data was modified, does it\nmake a difference whether i send COMMIT or ROLLBACK? The effect is the\nsame, but what�s about the speed?\n\n2) Is there any general rule when the GEQO will s... |
[
{
"msg_contents": "Greetings:\n\nApologies if this question has already been answered, but I was unable \nto locate a prior answer in the archives...\n\nI have a table with approximately 10 million records, called \n\"indethom\", and with an INTEGER column called \"clavis\" which is set up \nas a primary key. ... |
[
{
"msg_contents": "I am currently working on optimizing some fairly time consuming queries \non a decently large\ndataset.\n\nThe Following is the query in question.\n\nSELECT z.lat, z.lon, z.city, z.state, q.date_time, c.make, c.model, c.year\n FROM quotes AS q, zips AS z, cars AS c\n WHERE\n ... |
[
{
"msg_contents": "Hello,\nI am wondering if it is possible to use several\nmachine as cluster to boost the slow queries. Is\nthat possible? Anybody have tried that before? \n\nInitially, I was thinking to use dual CPUS instead\nof one. but it is not correct because pgsql is not\nmulti-threaded.\n\nAny suggesti... |
[
{
"msg_contents": "Folks:\n\nI´m running a query which is designed to generate a foreign key for a \ntable of approx. 10 million records (I've mentioned this in an earlier \nposting). The table is called \"indethom\", and each row contains a \nsingle word from the works of St. Thomas Aquinas, along with \n... |
[
{
"msg_contents": "xfs_freeze is a userspace program included in the xfsprogs rpm. It does run\non Redhat 7.3 (the SGI supplied kernels and userspace for RedHat 7.3 are\nsomewhat dated; I'd suggest patching the 2.4.21 kernel with XFS 1.3.1\npatches and upgrading the userspace programs from the SRPMS). Post to t... |
[
{
"msg_contents": "I took advantage of last weekend to upgrade from 7.2.4 to 7.4.0 on a\nnew faster box.\n\nNow I'm trying to implement pg_autovacuum. It seems to work ok, but\nafter about an hour or so, it does nothing. The process still is\nrunning, but nothing is sent to the log file.\n\nI'm running the da... |
[
{
"msg_contents": "Dear all\n\nWe would be recommending to our ct. on the use of Postgresql db as compared\nto MS SQL Server. We are targetting to use Redhat Linux ES v2.1, Postgresql\nv7.3.4 and Postgresql ODBC 07.03.0100.\n\nWe would like to know the minimum specs required for our below target. The\nminimum s... |
[
{
"msg_contents": "Hello!\n\nI am relative newcomer to SQL and PostgreSQL world, so please forgive me\nif this question is stupid.\n\nI am experiencing strange behaviour, where simple UPDATE of one field is\nvery slow, compared to INSERT into table with multiple indexes. I have\ntwo tables - one with raw data r... |
[
{
"msg_contents": "\nThanks to Greg Stark, Tom Lane and Stephan Szabo for their advice on \nrewriting my query... the revised query plan claims it should only take \nabout half the time my original query did.\n\nNow for a somewhat different question: How might I improve my DB \nperformance by adjusting the var... |
[
{
"msg_contents": "To all,\n\nWe are building a data warehouse composed of essentially click stream \ndata. The DB is growing fairly quickly as to be expected, currently at \n90GB for one months data. The idea is to keep 6 months detailed data on \nline and then start aggregating older data to summary tables.... |
[
{
"msg_contents": "Just wondering if anyone has done any testing on the amount of overhead\nfor insert you might gain by adding a serial column to a table. I'm \nthinking of adding a few to some tables that get an average of 30 - 40\ninserts per second, sometimes bursting over 100 inserts per second and\nwonder... |
[
{
"msg_contents": "\nDear all\n\n\nSorry for my mistake on the 15000 recs per day.\n\nIn fact, this server is planned as a OLTP database server for a retailer.\nOur intention is either to setup 1 or 2 Postgresql db in the server.\n\nThe proper sizing info for the 1st Postgresql db should be:\n\nNo. of item mast... |
[
{
"msg_contents": "I am using Asynchronous Query Processing interface from libpq library.\nAnd I got some strange results on Solaris\n\nMy test select query is 'SELECT * from pg_user;'\nand I use select system synchronous I/O multiplexer in 'C'\n\nThe first test sends 10000 select queries using 10 nonblocking c... |
[
{
"msg_contents": "(hope I'm posting this correctly)\n\nYou wrote:\n\n>First question is do we gain anything by moving the RH Enterprise\n>version of Linux in terms of performance, mainly in the IO realm as we\n>are not CPU bound at all? Second and more radical, has anyone run\n>postgreSQL on the new Apple G5 w... |
[
{
"msg_contents": "I am using Asynchronous Query Processing interface from libpq library.\nAnd I got some strange results on Solaris\n\nMy test select query is 'SELECT * from pg_user;'\nand I use select system synchronous I/O multiplexer in 'C'\n\nThe first test sends 10000 select queries using 10 nonblocking c... |
[
{
"msg_contents": "Hi, \n\nI have the following table:\nCREATE TABLE public.rights (\nid int4 DEFAULT nextval('\"rights_id_seq\"'::text) NOT NULL, \nid_user int4 NOT NULL, \nid_modull int4 NOT NULL, \nCONSTRAINT rights_pkey PRIMARY KEY (id)\n) \n\nand I created the following indexes:\n\nCREATE INDEX right_id_mo... |
[
{
"msg_contents": "Hi,\n\nsorry for duplication, I asked this on pgsql-admin first before\nrealizing it wasn't the appropriate list.\n\nI'm having trouble optimizing PostgreSQL for an admittedly heinous\nworst-case scenario load.\n\ntestbed:\ndual P3 1.3 GHz box with 2GB RAM\ntwo IDE 120G drives on separate cha... |
[
{
"msg_contents": "Hello!\n\nI am relative newcomer to SQL and PostgreSQL world, so please forgive me\nif this question is stupid.\n\nI am experiencing strange behaviour, where simple UPDATE of one field is\nvery slow, compared to INSERT into table with multiple indexes. I have\ntwo tables - one with raw data r... |
[
{
"msg_contents": "Ace's Hardware has put together a fairly comprehensive comparison \nbetween Xeon & Opteron platforms running server apps. Unfortunately, \nonly MySQL \"data mining\" benchmarks as the review crew doesn't have that \nmuch experience with OLTP-type systems but I'm gonna try to convince \nthem t... |
[
{
"msg_contents": "Hello,\nI use php as front-end to query our database. When I use System Monitor to check the usage of cpu and memory, I noticed that the cpu very easily gets up to 100%. Is that normal? if not, could someone points out possible reason? \n\n \nI am using linux7.3, pgsql 7.3.4, 1G Memory and 2G... |
[
{
"msg_contents": "\nI need some help tracking down a sudden, massive slowdown\nin inserts in one of our databases.\n\nPG: 7.2.3 (RedHat 8.0)\n\nBackground. We currently run nearly identical systems\nat two sites: Site A is a 'lab' site used for development,\nSite B is a production site.\n\nThe databases in q... |
[
{
"msg_contents": "Greetings all, \n\nI'm wondering is there a website where people can submit their pgbench\nresults along with their hardware and configuration's? If so where are they\nat? I have yet to find any. I think this could be a very useful tool not\nonly for people looking at setting up a new server ... |
[
{
"msg_contents": "has anyone else noticed a huge difference in \"DELETE TABLE <lol>\"\nvs. \"TRUNCATE <lol>\" starting w/postgres 7.4?\nputting aside details (num rows, indexes....): ca. 300 tables\n(already empty if desired...) ALL to be emptied (via batch file).\nhere's a small \"time pgsql -f kill_all\" out... |
[
{
"msg_contents": "I'm running PG 7.2.2 on RH Linux 8.0.\n\nI'd like to know why \"VACUUM ANALYZE <table>\" is extemely slow (hours) for \ncertain tables. Here's what the log file shows when I run this command on \nmy \"employees\" table, which has just 5 columns and 55 records:\n\nVACUUM ANALYZE employees\n\n... |
[
{
"msg_contents": "Hello, \nToday I met a very strange query problem, which I\nspend several hours on it but have no clue. To make\nthing clear, let me write somewhat in detail.\n\nI have two almost exactly same queries, except that\none is: lower(annotation) = lower (chip), another\nis: annotation = chip. Whil... |
[
{
"msg_contents": "This is a well-worn thread title - apologies, but these results seemed \ninteresting, and hopefully useful in the quest to get better performance \non Solaris:\n\nI was curious to see if the rather uninspiring pgbench performance \nobtained from a Sun 280R (see General: ATA Disks and RAID con... |
[
{
"msg_contents": "I have some problems on performance using postgresql v. 7.3.2 running on Linux RedHat 9. An update involving several rows (about 500000) on a table having 2800000 tuples takes in the order of 6 minutes. It is more than it takes on other plataforms (SqlServer, FOX). I think that there�s someth... |
[
{
"msg_contents": "Hello,\n\nI am facing a problem trying to put 500 concurrent users accessing\na postgresql instance. Basically, the machine begins to do a lot i/o...\nswap area increases more and more...\n\nThe vmstat began with 9200 (swpd) and after 20 minutes it was like that:\n\nVMSTAT:\n\n procs ... |
[
{
"msg_contents": "Hi list,\n\nI need to know if there is anything like hints of Oracle in \nPostgres..otherwise..I wish to find a way to force a query plan to use the \nindexes or tell the optimizer things like \"optimize based in statistics\", \"I \nwant to define the order of the a join\" , \"optimize based ... |
[
{
"msg_contents": "I am working on migrating to postgres and had some questions regarding \noptimization that I could not find references in the documentation:\n\n\n1. Is there any performance difference for declaring a primary or \nforeign key a column or table contraint? From the documentation, which \nway i... |
[
{
"msg_contents": "show\n",
"msg_date": "Thu, 11 Dec 2003 13:45:17 -0300 (GMT+3)",
"msg_from": "nbarraza@uolsinectis.com.ar",
"msg_from_op": true,
"msg_subject": "Command"
}
] |
[
{
"msg_contents": "\nHi everyone,\n\nI want to pick your brains for hardware suggestions about a \nLinux-based PostgreSQL 7.4 server. It will be a dedicated DB server \nbacking our web sites and hit by application servers (which do \nconnection pooling). I've hopefully provided all relevant \ninformation belo... |
[
{
"msg_contents": "Hi,\n\nI've got very slow insert performance on some \ntable which has trigger based on complex PL/pgSQL function.\nApparently insert is slow due some slow sql inside that function,\nsince CPU load is very high and disk usage is low during insert.\nI run Red Hat 9\nAnthlon 2.6\n1GB ram\nFast ... |
[
{
"msg_contents": "Well, now that I have the plan for my slow-running query, what do I do? Where \nshould I focus my attention?\nThanks.\n-David\n\n\nHash Join (cost=16620.59..22331.88 rows=40133 width=266) (actual \ntime=118773.28..580889.01 rows=57076 loops=1)\n\t-> Hash Join (cost=16619.49..21628.48 row... |
[
{
"msg_contents": "> Running the attached test program shows on BSD/OS 4.3:\n> \n> \twrite 0.000360\n> \twrite & fsync 0.001391\n\nI think the \"write & fsync\" pays for the previous \"write\" test (same filename).\n\n> \twrite, close & fsync 0.001308\n> \topen o_fsync, write 0.00... |
[
{
"msg_contents": "Hi List,\n \n First of all, I tried to subcribe the ODBC list but it seems that the \nsubscription's link is broken ! So here it goes:\n\n I have a delphi software use ttable components that converts dbf information \nto PostgreSQL an Oracle Databases. My problem is that PostgreSQL is ... |
[
{
"msg_contents": "> This is not very informative when you didn't show us the query nor\n> the table schemas..\n\n> BTW, what did you do with this, print and OCR it?\n\nTom,\n\nI work in a classified environment, so I had to sanitize the query plan, print \nit, and OCR it. I spent a lot of time fixing typos, b... |
[
{
"msg_contents": "Dear all ,\n\nI have created my tables without OIDS now my doubts are :\n1. Will this speed up the data insertion process\n2. Though I have not written any code in my any of the pgsql functions \nwhich depend on OIDS\n 1. Will without OIDS the functions behave internally differently\n 2. ... |
[
{
"msg_contents": "Hi everyone,\nI found that performance get worse as the size of a given table \nincreases. I mean, for example I�ve just run some scripts shown in \n\nhttp://www.potentialtech.com/wmoran/postgresql.php\n\nI understand that those scripts are designed to see the behavior of postgresql under dif... |
[
{
"msg_contents": "Some arbitrary data processing job\n\nWAL on single drive: 7.990 rec/s\nWAL on 2nd IDE drive: 8.329 rec/s\nWAL on tmpfs: 13.172 rec/s\n\nA huge jump in performance but a bit scary having a WAL that can \ndisappear at any time. I'm gonna workup a rsync script and do some \npower-off experiment... |
[
{
"msg_contents": "Hello everyone.\nCan anyone explain why this table which has never had more than a couple rows in it shows > 500k in the query planner even after running vacuum full. Its terribly slow to return 2 rows of data. The 2 rows in it are being updated a lot but I couldn't find any explanation for... |
[
{
"msg_contents": "\nHi!\n\nWe have been running a rather busy website using pg 7.3 as the database.\nPeak hitrate is something like 120 request / second without images and\nother static stuff. The site is a sort of image gallery for IRC users.\n\nI evaluated pg 7.4 on our development server and it looked just ... |
[
{
"msg_contents": "Here are my query and schema. The ERD is at http://dshadovi.f2o.org/pg_erd.jpg \n(sorry about its resolution).\n-David\n\nSELECT\n zbr.zebra_name\n , dog.dog_name\n , mnk.monkey_name\n , wrm.abbreviation || ptr.abbreviation as abbrev2\n , whg.warthog_num\n , whg.color\n , rhn.rhino_name\n ... |
[
{
"msg_contents": "Hi, I am developing a program using postgres and linux like operating\nsystem. My problem is this:\nI have a quite complicated view with roughly 10000 record. When I execute a\nsimple query like this \n\t\"select * from myview\"\npostgres respond after 50 - 55 minutes roughly. I hope that som... |
[
{
"msg_contents": "Hi-\n\nI'm trying to optimize a query that I *think* should run very fast.\nEssentially, I'm joining two tables that have very selective indexes and\nconstraining the query on an indexed field. (There's a third small lookup\ntable in the mix, but it doesn't really affect the bottom line.)\n\n... |
[
{
"msg_contents": "Hi-\n\nI'm trying to optimize a query that I *think* should run very fast.\nEssentially, I'm joining two tables that have very selective indexes and\nconstraining the query on an indexed field. (There's a third small lookup\ntable in the mix, but it doesn't really affect the bottom line.)\n\n... |
[
{
"msg_contents": "I have stored procedure written in pl/pgsql which takes about 13 seconds\nto finish. I was able to identify that the slowness is caused by one\nupdate SQL:\n\nUPDATE shopping_cart SET sc_sub_total=sc_subtotal, sc_date=now() \nWHERE sc_id=sc_id;\n\nIf I comment this sql out, the stored pro... |
[
{
"msg_contents": "Neil,\n\nThanks for the good advice. I noticed that I had some sessions for which I \ncould not account, and I think even a 2nd postmaster running. It looks like \nI've cleaned everything up, and now I can VACUUM and I can DROP an index which \nwouldn't drop.\n\nAnd I'm looking into upgradi... |
[
{
"msg_contents": "I backed up my database using pg_dump, and then restored it onto a different \nserver using psql. I see that the query \"SELECT COUNT(*) FROM myTable\" \nexecutes immediately on the new server but takes several seconds on the old \none. (The servers are identical.)\n\nWhat could account for... |
[
{
"msg_contents": "\n> Ideally that path isn't taken very often. But I'm currently having a\n> discussion off-list with a CMU student who seems to be seeing a case\n> where it happens a lot. (She reports that both WALWriteLock and\n> WALInsertLock are causes of a lot of process blockages, which seems to\n> me... |
[
{
"msg_contents": "Hi-\n\nAfter having done my best to squeeze better performance out of our\napplication by tuning within our existing resources, I'm falling back on\nadding memory as a short-term solution while we get creative for a long-term\nfix. I'm curious about what experiences others have had with the p... |
[
{
"msg_contents": "Dennis, Shridhar, and Neil,\n\nThanks for your input. Here are my responses:\n\nI ran VACUUM FULL on the table in question. Although that did reduce \"Pages\" \nand \"UnUsed\", the \"SELECT *\" query is still much slower on this installation \nthan in the new, restored one.\n\n Old server:... |
[
{
"msg_contents": "Hi,\nThis a kind of newbie-question. I've been using Postgres for a long time in a low transction environment - and it is great.\n\nNow I've got an inquiry for using Postgresql in a heavy-load on-line system. This system must handle something like 20 questions per sec with a response time at ... |
[
{
"msg_contents": "Hi,\n\nit seems to me that the optimizer parameters (like random_page_cost \netc.) could easily be calculated and adjusted dynamically be the DB \nbackend based on the planner's cost estimates and actual run times for \ndifferent queries. Perhaps the developers could comment on that?\n\nI'm n... |
[
{
"msg_contents": "Hi, \nThis a kind of newbie-question. I've been using Postgres for a long time in a low transction environment - and it is great. \n\nNow I've got an inquiry for using Postgresql in a heavy-load on-line system. This system must handle something like 20 questions per sec with a response time a... |
[
{
"msg_contents": "Hi.\n\nI have a table with 24k records and btree index on column 'id'. Is this\nnormal, that 'select max(id)' or 'select count(id)' causes a sequential\nscan? It takes over 24 seconds (on a pretty fast machine):\n\n=> explain ANALYZE select max(id) from ogloszenia;\n ... |
[
{
"msg_contents": " I just restored a database running on a solaris box to a linux box \nand queries take forever to execute. The linux box is faster and has \ntwice the memory allocated to postgresql, is there anything obvious that \nI should look at? It is using a journal file system.\n\n\n\n",
"msg_... |
[
{
"msg_contents": "\nG'day all ...\n\nDave asked me today about 'slow downs' on the search engines, so am\nlooking at the various queries generated by enabling\nlog_statement/log_duration, to get a feel for is something is \"off\" ...\nand the following seems a bit weird ...\n\nQueryA and QueryB are the same qu... |
[
{
"msg_contents": "I consider using PostgreSQL for a project we have in our company and, to\nget a better picture of the product, I started scanning its source code\nand internal documentation.\nBased on what I saw (and maybe I didn't see enough) it seems that the\noptimizer will always decide to repeatedly sca... |
[
{
"msg_contents": "I have a database where the vast majority of information that is related to\na customer never changes. However, there is a single field (i.e. balance)\nthat changes potentially tens to hundreds of times per day per customer\n(customers ranging in the 1000s to 10000s). This information is not ... |
[
{
"msg_contents": "To all,\n\nThe facts:\n\nPostgreSQL 7.4.0 running on BSD 5.1 on Dell 2650 with 4GB RAM, 5 SCSI \ndrives in hardware RAID 0 configuration. Database size with indexes is \ncurrently 122GB. Schema for the table in question is at the end of this \nemail. The DB has been vacuumed full and analy... |
[
{
"msg_contents": "I'm observing that when I have many processes doing some work on my\nsystem that the transactions run along almost in lockstep. It appears\nfrom messages posted here that the foreign keys are acquiring and\nholding locks during the transactions, which seems like it would cause\nthis behavior... |
[
{
"msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nI guess this may have come up before, but now that 7.4 has the IN with \nimproved performance, it may be time to revisit this topic.\n\nCompare these two algorithms (in plpgsql):\n\n(a)\nDELETE FROM foo WHERE ctid IN (\n\tSELECT foo.ctid\n\tFR... |
[
{
"msg_contents": "Happy new year!\n\nWhen performing\n\"pg_restore -L list --disable-triggers -d db1 -v my_archive\"\n, my hard disk for Linux box (with 96MB RAM) becomes \nextremely busy.\n\nOne example is that it takes more than 5 miniutes to restore \n for a table from 7800 rows. Each row has less than 117 ... |
[
{
"msg_contents": "I have these two tables:\n\n Table \"de.summary\"\n Column | Type | Modifiers \n--------------+-----------------------------+---------------\n isbn | character varying(10) | not null\n source | character varying(20) ... |
[
{
"msg_contents": "Hi,\n\nI have tried to tune a database that I'm using only for statistical access ... \nI mean that I'm importing a dump of my production database each night, but \npreserving some aggregat tables, and statistics ones ... (that I'm \ncalculating after the importation of the dump). This databa... |
[
{
"msg_contents": "I tried searching the archives to find something like this. The search\nfunction doesn't like me much, and believe me the feeling is mutual. So\nI'm forced to pollute your inboxes with yet another \"why the hell isn't\nthis thing using my index\" email. I apologize in advance.\n\nI have a ... |
[
{
"msg_contents": "\nI've been debating with a collegue who argues that indexing a\nboolean column is a BAD idea and that is will actually slow\ndown queries.\n\nMy plan is to have a table with many rows sharing 'versions'\n(version/archive/history) of data where the most current row\nis the one where 'is_activ... |
[
{
"msg_contents": "I have a very large table (about a million rows) which I most frequently\nwant to select a subset of rows from base on a date field. That date field\nis indexed, and when Postgres uses that index, queries are fast. But\nsometimes it decides not to use the index, resorting to a sequential sc... |
[
{
"msg_contents": "Hi,\n\nwe are new to Postgres and we are evaluating Postgres 7.4 on MacOS X as \nan alternative to FrontBase 3.6.27.\n\n From the available features Postgres is the choice #1.\n\nWe have some tests to check the performance and FrontBase is about 10 \ntimes faster than Postgres. We already pla... |
[
{
"msg_contents": "Speaking of special cases (well, I was on the admin list) there are two\nkinds that would really benefit from some attention.\n\n1. The query \"select max(foo) from bar\" where the column foo has an index.\nAren't indexes ordered? If not, an \"ordered index\" would be useful in this\nsituati... |
[
{
"msg_contents": "I have just discovered that if one does a SELECT with a LIMIT and OFFSET\n values, say\n\nSELECT myfunc(mycol) FROM table LIMIT 50 OFFSET 10000 ;\n\nThen the whole of the selection expressions, including the function calls,\nare actuall executed for every record, not just those being sele... |
[
{
"msg_contents": "I have reported this on the pgadmin-support mailing list, but Andreas Pflug \nhas asked me to post it here.\n\nWith a particular database, PgAdmin3 takes a very long time to connect to a \ndatabase. this is not a general problem with PgAdmin, but only with one \ndatabase out of many. Other da... |
[
{
"msg_contents": "\nI need to know that original number of rows that WOULD have been returned\nby a SELECT statement if the LIMIT / OFFSET where not present in the \nstatement.\nIs there a way to get this data from PG ?\n\n SELECT\n ... ;\n\n ----> returns 100,000 rows\n\nbut,\n\n SELECT\n ...\n... |
[
{
"msg_contents": "Any tips for speeding up index creation?\n\nI need to bulk load a large table with 100M rows and several indexes,\nsome of which span two columns.\n\nBy dropping all indexes prior to issuing the 'copy from' command, the\noperation completes 10x as fast (1.5h vs 15h).\n\nUnfortunately, recreat... |
[
{
"msg_contents": "\nDoes anyone have any data to support arguing for a particular stripe size in\nRAID-0? Do large stripe sizes allow drives to stream data more efficiently or\ndefeat read-ahead?\n\n-- \ngreg\n\n",
"msg_date": "07 Jan 2004 14:45:24 -0500",
"msg_from": "Greg Stark <gsstark@mit.edu>",
... |
[
{
"msg_contents": "Hi all,\n\nChris Browne (one of my colleagues here) has posted some tests in the\npast indicating that jfs may be the fastest filesystem for Postgres\nuse on Linux.\n\nWe have lately had a couple of cases where machines either locked up,\nslowed down to the point of complete unusability, or d... |
[
{
"msg_contents": "Hi,\n\nWe've set up a little test box (1GHz Athlon, 40G IDE drive, 256M RAM, \nRedhat 9) to do some basic comparisons between postgresql and firebird \n1.0.3 and 1.5rc8. Mostly the results are comparable, with one \nsignificant exception.\n\nQUERY\nselect invheadref, invprodref, sum(units)\nf... |
[
{
"msg_contents": "Hi,\n\nI searched through the archive and could not find any conclusive\ndiscussion of results on this.\n\nHas anyone compared the disk space usage between PostgreSQL\nand Oracle ?\n\nI am interested in knowing for the same tuple (i.e same\ndictionary), the disk usage between the two.\n\nThan... |
[
{
"msg_contents": "Hi there,\n\nI am quite new to postgresql, and love the explain feature. It enables \nus to predict which SQL queries needs to be optimized before we see any \nproblems. However, I've run into an issue where explain tells us a the \ncosts of a quiry are tremendous (105849017586), but the quer... |
[
{
"msg_contents": "I'm running PostgreSQL 7.4 on a quad Xeon attached to a\nbeefy disk array. However, I am begining to wonder if this is\na waste of CPU power.\n\nI think I read somewhere that PostgreSQL is NOT multi-threaded.\nBut, will it be able to take advantage of multiple CPUs? Will\nI have to run sepa... |
[
{
"msg_contents": "It would seem we're experiencing somthing similiar with our scratch\nvolume (JFS mounted with noatime). It is still much faster than our\nexperiments with ext2, ext3, and reiserfs but occasionally during\nlarge loads it will hiccup for a couple seconds but no crashes yet.\n\nI'm reluctant to... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.