threads listlengths 1 275 |
|---|
[
{
"msg_contents": "This is a wild and crazy thought which I am sure is invalid for some \ngood reason.\n\nBut why can't postgres just vacuum itself as it goes along?\n\nWhen a row is orphaned it's added to a list of possibly available rows. \nWhen a new row is needed the list of possible rows is examined and t... |
[
{
"msg_contents": "Hi all\n\nI'm having a strange problem with a query which looks like this:\n\nSELECT id FROM orders WHERE id NOT IN (SELECT order_id FROM orders_items);\n\nThe id fields are varchars (32), both indexed. The number of rows in the\ntables are about 60000.\n\nNow, the really strange part is if I... |
[
{
"msg_contents": "Hi,\n \nI�m trying to tune a linux box with a 12 GB database and 4 GB RAM. First of all I would like to stop the swapping, so the shared_buffers and sort_mem were decreased but even so it started swapping two hours after DBMS started up.\n \nI would like to know some suggestions how to disc... |
[
{
"msg_contents": "Hi,\n\nI am currently trying to speed up the insertion of bulk loads to my database. I have fiddled with all of the parameters that I have seen suggested(aka checkpoint_segments, checkpoint_timeout, maintinence_work_mem, and shared buffers) with no success. I even turned off fysnc with no eff... |
[
{
"msg_contents": "Hi again,\n\nfirst I want to say ***THANK YOU*** for everyone who kindly shared their \nthoughts on my hardware problems. I really appreciate it. I started to \nlook for a new server and I am quite sure we'll get a serious hardware \n\"update\". As suggested by some people I would like now to... |
[
{
"msg_contents": "Your HD raw IO rate seems fine, so the problem is not likely to be \nwith the HDs.\n\nThat consistent ~10x increase in how long it takes to do an import or \na select is noteworthy.\n\nThis \"smells\" like an interconnect problem. Was the Celeron locally \nconnected to the HDs while the new ... |
[
{
"msg_contents": "\nUlrich wrote:\n> Hi again,\n> \n> first I want to say ***THANK YOU*** for everyone who kindly shared\ntheir\n> thoughts on my hardware problems. I really appreciate it. I started to\n> look for a new server and I am quite sure we'll get a serious hardware\n> \"update\". As suggested by some... |
[
{
"msg_contents": "> Hi Merlin,\n> > Just a thought: have you considered having apache logs write to a\n> > process that immediately makes insert query(s) to postgresql?\n> \n> Yes we have considered that, but dismissed the idea very soon. We need\n> Apache to be as responsive as possible. It's a two server set... |
[
{
"msg_contents": "Ulrich,\n\nLuke cc'd me on his reply and you definitely should have a look at\nBizgres Clickstream. Even if the whole stack doesn't match you needs,\nthough it sounds like it would. The clickstream focused TELL and BizGres\nenhancements could make your life a little easier.\n\nBasically the s... |
[
{
"msg_contents": "Hi,\n\nI'm having performance issues with a table consisting of 2,043,133 rows. The\nschema is:\n\n\\d address\n Table \"public.address\"\n Column | Type | Modifiers \n----------------------+------------------------+-----------\n postcode_top ... |
[
{
"msg_contents": "> Table \"public.address\"\n> Column | Type | Modifiers\n> ----------------------+------------------------+-----------\n> postcode_top | character varying(2) | not null\n> postcode_middle | character varying(4) | not null\n... |
[
{
"msg_contents": "> I'm having performance issues with a table consisting of 2,043,133\nrows.\n> The\n> schema is:\n\n> locality_1 has 16650 distinct values and locality_2 has 1156 distinct\n> values.\n\nJust so you know I have a 2GHz p4 workstation with similar size (2M\nrows), several keys, and can find and ... |
[
{
"msg_contents": "> -----Original Message-----\n> From: Alvaro Herrera [mailto:alvherre@alvh.no-ip.org]\n> Sent: Thursday, September 01, 2005 3:34 PM\n> To: Merlin Moncure\n> Cc: Matthew Sackman; pgsql-performance@postgresql.org\n> Subject: Re: [PERFORM] Massive performance issues\n> \n> On Thu, Sep 01, 2005 a... |
[
{
"msg_contents": "Hi.\n\nI have an interesting problem with the JDBC drivers. When I use a \nselect like this:\n\n\"SELECT t0.aktiv, t0.id, t0.ist_teilnehmer, t0.nachname, t0.plz, \nt0.vorname FROM public.dga_dienstleister t0 WHERE t0.plz \nlike ?::varchar(256) ESCAPE '|'\" withBindings: 1:\"53111\"(plz)>\n... |
[
{
"msg_contents": "Hi all.\n In a cluster, is there any way to use the main memory of the other nodes \ninstead of the swap? If I have a query with many sub-queries and a lot of \ndata, I can easily fill all the memory in a node. The point is: is there any \nway to continue using the main memory from other node... |
[
{
"msg_contents": "\n\n\n\nHi All,\n I have an ODBC application( using postgres database) which has three\ndifferent operations. Each operation is having combination of SELECT and\nUPDATE.\n\nFor example:\nOperation A: 6 Fetch + 1 Update\nOperation B: 9 Fetch\nOperation C: ... |
[
{
"msg_contents": "unsubscribe-digest\n\n\t\n\n\t\n\t\t\n___________________________________________________________ \nGesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de\n",
"msg_date": "Fri, 02 Sep 2005 07:12:34 +0200",
"msg_from": "\"apoc9009@yahoo.de\" <... |
[
{
"msg_contents": "Hi,\n\nI'm using inherited tables to partition some data which can grow very \nlarge. Recently I discovered that a simple query that on a regular table \nwould use an index was instead using seq scans (70s vs a guessed 2s).\nThe well known query is:\n\nSELECT foo FROM bar ORDER BY foo DESC LI... |
[
{
"msg_contents": "Hi all,\n\n I have the following table:\n\nespsm_asme=# \\d statistics_sasme\n Table \"public.statistics_sasme\"\n Column | Type | \n Modifiers\n--------------------------+--------------------------+--... |
[
{
"msg_contents": "\n\n\n\nHey there folks. I'm at a loss as to how to increase the speed of this\nquery. It's something I need to run each day, but can't at the rate this\nruns. Tables are updated 1/day and is vacuum analyzed after each load.\n\nselect ddw_tran_key, r.price_type_id, t.price_type_id\nfrom\nc... |
[
{
"msg_contents": "Place\n'and date(r.site_timestamp) = h.first_order_date'\nafter WHERE\n\nBest regards,\n Alexander Kirpa\n\n",
"msg_date": "Sat, 3 Sep 2005 01:56:03 +0300",
"msg_from": "\"Alexander Kirpa\" <postgres@bilteks.com>",
"msg_from_op": true,
"msg_subject": "Re: Poor SQL performance"... |
[
{
"msg_contents": "Hi,\n \nIs there a way to improve the performance of the following query? \n \nSELECT * FROM SSIRRA where \n(YEAR = 2004 and CUSTOMER = 0000000004 and CODE = 00 and PART >= 00) or \n(YEAR = 2004 and CUSTOMER = 0000000004 and CODE > 00) or \n(YEAR = 2004 and CUSTOMER > 0000000004) or \n(YEAR >... |
[
{
"msg_contents": "Hello,\n\nWe have been experiencing poor performance of VACUUM in our production\ndatabase. Relevant details of our implementation are as follows:\n\n1. We have a database that grows to about 100GB.\n2. The database is a mixture of large and small tables.\n3. Bulk data (stored primarily i... |
[
{
"msg_contents": "Hello,\n\nMy company has decided to migrate our Oracle database to postgresql8. We\nwill aquire a new server for this, and would very much appreciate your\nadvice.\n\nNOTE: The applications accessing the database are developed and\nmaintained externally, and unfortunately, the developers have... |
[
{
"msg_contents": "Carlos wrote:\nSELECT * FROM SSIRRA where \n(YEAR = 2004 and CUSTOMER = 0000000004 and CODE = 00 and PART >= 00) or \n(YEAR = 2004 and CUSTOMER = 0000000004 and CODE > 00) or \n(YEAR = 2004 and CUSTOMER > 0000000004) or \n(YEAR > 2004)\n[snip]\n\nah, the positional query. You can always rewr... |
[
{
"msg_contents": "Hi, \n\nI usually use PostgreSQL coupled with Linux, but I have to use Windows for a \nperticular project.\n\nSo I wanted to do some tests to know if the performance will be acceptable (I \ndon't need PostgreSQL to be as fast with windows as with linux, but it has to \nbe usable...).\n\nI sta... |
[
{
"msg_contents": "> > Carlos wrote:\n> > SELECT * FROM SSIRRA where\n> > (YEAR = 2004 and CUSTOMER = 0000000004 and CODE = 00 and PART >= 00)\nor\n> > (YEAR = 2004 and CUSTOMER = 0000000004 and CODE > 00) or\n> > (YEAR = 2004 and CUSTOMER > 0000000004) or\n> > (YEAR > 2004)\n> > [snip]\n> >\n> > ah, the positi... |
[
{
"msg_contents": "> Hi,\n> \n> I usually use PostgreSQL coupled with Linux, but I have to use Windows\nfor\n> a\n> perticular project.\n> \n> So I wanted to do some tests to know if the performance will be\nacceptable\n> (I\n> don't need PostgreSQL to be as fast with windows as with linux, but it\nhas\n> to\n>... |
[
{
"msg_contents": "Hello,\n\nWe are seeing a very strange behavior from postgres. For one of our very common tasks we have to delete records from a table of around 500,000 rows. The delete is by id which is the primary key. It seems to be consistently taking around 10 minutes to preform. This is totally out of ... |
[
{
"msg_contents": "> > In my experience win32 is par with linux generally with a few gotchas on\n> > either side. Are your times with fsync=no? It's much harder to give\n> > apples-apples comparison with fsync=on for various reasons.\n> It is with fsync=off on windows, fsync=on on linux\n\nwell, inside a trans... |
[
{
"msg_contents": "> This makes me wonder if we are looking in the wrong place. Maybe the\n> problem is coming from psql? More results to follow.\n\nproblem is not coming from psql. \n\nOne thing I did notice that in a 250k insert transaction the insert time\ngrows with #recs inserted. Time to insert first ... |
[
{
"msg_contents": "Hi,\n \nWe want to discover how to improve the performance of an application and with that intention I turned on log_duration, log_statement=all and the time stamp escape character (%t) of log_line_prefix. \n \nSubtracting the time stamp of the last SQL statement from the first one I disovere... |
[
{
"msg_contents": "Andrew, Matthew, thanks to you both four your advice. I'm sorry I couldn't provide more details to the situation, I will post again as soon I get them. \n\nTime to share your insights with the colleagues :)\n\nBest Regards,\nChris\n\n-----Ursprüngliche Nachricht-----\nVon: Paul Ramsey [mailto... |
[
{
"msg_contents": "> > One thing I did notice that in a 250k insert transaction the insert\ntime\n> > grows with #recs inserted. Time to insert first 50k recs is about\n27\n> > sec and last 50 k recs is 77 sec. I also confimed that size of\ntable is\n> > not playing a role here.\n> >\n> > Marc, can you do sel... |
[
{
"msg_contents": "> On Tuesday 06 September 2005 19:11, Merlin Moncure wrote:\n> Here's the timeofday ... i'll do the gprof as soon as I can.\n> Every 50000 rows...\n> \n> Wed Sep 07 13:58:13.860378 2005 CEST\n> Wed Sep 07 13:58:20.926983 2005 CEST\n> Wed Sep 07 13:58:27.928385 2005 CEST\n> Wed Sep 07 13:58:35... |
[
{
"msg_contents": "Hello,\n\nI'm a newbie in postgresql, I've installed it on a Windows XP machine\n( I can't use linux, it's a company machine ), I'm courious why this\nquery takes so long\n\nSELECT \"Rut Cliente\"\nFROM \"Internet_Abril\"\nWHERE \"Rut Cliente\" NOT IN ((SELECT \"Rut Cliente\" FROM\n\"Intern... |
[
{
"msg_contents": "please help me ,\ncomment on postgresql (8.x.x) performance on cpu AMD, INTEL\nand why i should use 32 bit or 64 cpu ? (what the performance difference)\n\nthank you\n\n_________________________________________________________________\nExpress yourself instantly with MSN Messenger! Download t... |
[
{
"msg_contents": "I need to generate unused random id with format is ID[0-9]{4}\nso i write below query but it seems to be too slow\n\nSELECT * FROM ( \n SELECT user_id FROM (\n SELECT 'ID' || LPAD(r, 4, '0') AS user_id \n FROM generate_series(1, 9999) as r) AS s \n EXCEPT\n SELECT user_id F... |
[
{
"msg_contents": "\nWhich is faster, where the list involved is fixed? My thought is that \nsince it doesn't have to check a seperate table, the CHECK itself should \nbe the faster of the two, but I can't find anything that seems to validate \nthat theory ...\n\nThe case is where I just want to check that a v... |
[
{
"msg_contents": "All,\n\nIn the psql output below, I would expect the second query to run faster, because \nthe b-tree index on two columns knows the values of 'b' for any given value of \n'a', and hence does not need to fetch a row from the actual table. I am not \nseeing a speed-up, however, so I expect my... |
[
{
"msg_contents": "Hi.\n\nI have a performance problem with prepared statements (JDBC prepared \nstatement).\n\nThis query:\n\nPreparedStatement st = conn.prepareStatement(\"SELECT id FROM \ndga_dienstleister WHERE plz like '45257'\");\n\ndoes use an index.\n\nThis query:\n\n String plz = \"45257\";\n... |
[
{
"msg_contents": "Hi list,\n\nI don't have much experience with Postgres optimization, somehow I was\nhappily avoiding anything more difficult than simple select statement,\nand it was working all right.\n\nNow LEFT JOIN must be used, and I am not happy with the performance:\nIt takes about 5 seconds to run ve... |
[
{
"msg_contents": "Hello everyone\n\nI must be doing something very wrong here so help please! I have two tables\n\ntableA has 300,000 recs\ntableB has 20,000 recs\n\nI need to set the value of a field in table A to a value in table B depending on the existence of the record in table B. So what I have done is... |
[
{
"msg_contents": "I'm in the process of developing an application which uses PostgreSQL for \ndata storage. Our database traffic is very atypical, and as a result it has \nbeen rather challenging to figure out how to best tune PostgreSQL on what \ndevelopment hardware we have, as well as to figure out exactly ... |
[
{
"msg_contents": ">From: Brandon Black <blblack@gmail.com>\n>Sent: Sep 12, 2005 5:04 PM\n>To: pgsql-performance@postgresql.org\n>Subject: [PERFORM] Performance considerations for very heavy INSERT traffic\n\n>I'm in the process of developing an application which uses PostgreSQL for \n>data storage. Our databas... |
[
{
"msg_contents": "Hello.\n\nI would like to build a shared repository for Enterprise Architect\n(http://www.sparxsystems.com.au/ea.htm) using PostgreSQL. I have done it\nbefore with Linux and FreeBSD servers and everything was working out of the\nbox. The repository is pretty simple database with less than 100... |
[
{
"msg_contents": "Good afternoon,\nWe have an application based on opencms6 / Tomcat5. The data management of the content is kept in a PostgreSQL 8.0.2 base.\nThe pages' display is extremely slow (it can take up to several minutes per refresh). Thus, it would not be applicable in production.\nMaterial configu... |
[
{
"msg_contents": "> Hello.\n> \n> I would like to build a shared repository for Enterprise Architect\n> (http://www.sparxsystems.com.au/ea.htm) using PostgreSQL. I have done\nit\n> before with Linux and FreeBSD servers and everything was working out\nof\n> the\n> box. The repository is pretty simple database w... |
[
{
"msg_contents": "> On Tue, Sep 13, 2005 at 07:58:20AM -0400, Merlin Moncure wrote:\n> This command is executed while a model is loaded from the repository.\n> \n> The table definition is:\n> CREATE TABLE t_umlpattern (\n> \tPatternID INTEGER DEFAULT nextval('\"patternid_seq\"'::text) NOT\nNULL\n> PRIMARY KEY,... |
[
{
"msg_contents": "This is sounding suspiciously similar to behavior I've seen with other types of TCP database connections when the tcp-no-delay option is not on. Is it possible that the ODBC driver for Windows is not successfully setting this up?\n \n-Kevin\n \n \n>>> Dalibor Sramek <dali@insula.cz> 09/13/05... |
[
{
"msg_contents": "> Did you run the select remotely on a Windows server?\n\nyes.\n \n> Yes the server load is practically 0. Note the difference between\nlocal\n> and\n> remote execution of the command. I think you are right about the\nnetwork\n> problem possibility. But it is bound to PostgreSQL. MySQL on the... |
[
{
"msg_contents": "I have a database of hundreds of millions of web links (between sites)\nin Postgres. For each link, we record the url, the referer, and the\nmost recent date the link exists. I'm having some serious performance\nissues when it comes to writing new data into the database.\n\nOne machine is s... |
[
{
"msg_contents": "Hello All,\n\nWe are struggling with a specific query that is killing us. When doing \nexplain analyze on the entire query, we *seem* to be getting killed by the \nestimated number of rows on a case statement calculation.\n\nI've included a snippet from the explain analyze of the much larger... |
[
{
"msg_contents": "Hello all!\n\nOn my master course, I'm studying the PostgreSQL's optimizer.\nI don't know if anyone in this list have been participated from the \nPostgreSQL's Optimizer development, but maybe someone can help me on this \nquestion.\nPostgreSQL generates all possible plans of executing the qu... |
[
{
"msg_contents": "Hi, I've reading around there about some way to help pgsql with the data caching using memcached inside the sps in the database (not in the application), does anybody have success with that?\n\nThanks a lot!\n\n\n\n\n\n\nHi, I've reading around there about some way to \nhelp pgsql with the da... |
[
{
"msg_contents": "(1) Latency and throughput don't necessarily correlate well. When blasting\nquantities of data to test throughput, TCP_NODELAY might not matter\nmuch -- a full buffer will be sent without a delay anyway. What do you get\non a ping while running the throughput test?\n \n(2) Besides the TCP... |
[
{
"msg_contents": "> in the 10 ms range. Definitely not 800 ms. The 8.1 has the same\nproblem.\n> \n> Just for the record: the server PC is Dell Precision 330 with 3Com\n3C920\n> integrated network card. OS MS Windows Professional 2002 with service\npack\n> 2. There is Symantec Antivirus installed - which I hav... |
[
{
"msg_contents": "Folks,\n\tI'm getting a new server for our database, and I have a quick question\nabout RAID controllers with a battery backed cache. I understand that the\ncache will allow the cache to be written out if the power fails to the box,\nwhich allows it to report a write as committed safely when... |
[
{
"msg_contents": "> On Wed, Sep 14, 2005 at 11:28:43AM -0700, Jeffrey W. Baker wrote:\n> > On Wed, 2005-09-14 at 11:25 -0700, Peter Darley wrote:\n> > > \tI'm getting a new server for our database, and I have a quick\n> question\n> > > about RAID controllers with a battery backed cache. I understand\nthat\n> ... |
[
{
"msg_contents": "\nJohn A Meinel wrote:\n>The recent *cheap* version of a ramdisk had battery backup for 16 hours.\n>(Very expensive ramdisks actually have enough battery power to power a\n>small hard-drive to dump the contents into).\n\n>I'm guessing for a RAID controller, the time would be in the max 1 day\... |
[
{
"msg_contents": "Well, pg being a multi-process architecture, on a 64 bit system you get\nthe advantages of extra memory for cache all day long. I don't thing a\n2gb mem limit/backend is not a wall people are hitting very often even\non high end systems. Performance wise, 32 vs. 64 bit is a tug of war\nbetw... |
[
{
"msg_contents": "Hi Everyone\n\nThe machine is IBM x345 with ServeRAID 6i 128mb cache and 6 SCSI 15k\ndisks.\n\n2 disks are in RAID1 and hold the OS, SWAP & pg_xlog\n4 disks are in RAID10 and hold the Cluster itself.\n\nthe DB will have two major tables 1 with 10 million rows and one with\n100 million rows.\n... |
[
{
"msg_contents": "Hello all,\nMostly Postgres makes sense to me. But now and then it does something\nthat boggles my brain. Take the statements below. I have a table\n(agent) with 5300 rows. The primary key is agent_id. I can do SELECT\nagent_id FROM agent and it returns all PK values in less than half a... |
[
{
"msg_contents": "Hello,\n\nWe are using postgresql in a search engine on an intranet handling \nthrousand of documents.\nBut we ave a big problem when users use more than two search key.\n\nThere are more tables around, but the heart of the search engine is \nmade of three tables :\n\nfiches (f_id int4, f_ti... |
[
{
"msg_contents": "I have a query that looks roughly like this (I've removed irrelevant \nSELECT clause material and obfuscated names, trying to keep them \nconsistent where altered in EXPLAIN output):\n\nSELECT u.emma_member_id, h.action_ts\nFROM user as u, history as h\nWHERE u.user_id = h.user_id\nAND h.ac... |
[
{
"msg_contents": "Alex Turner wrote:\n\n> I would also recommend looking at file system. For us JFS worked signifcantly \n> faster than resier for large read loads and large write loads, so we chose JFS \n> over ext3 and reiser.\n \nhas jfs been reliable for you? there seems to be a lot of conjecture about... |
[
{
"msg_contents": "unsubscribe\n\n\n---------------------------(end of broadcast)---------------------------\nTIP 9: In versions below 8.0, the planner will ignore your desire to\n choose an index scan if your joining column's datatypes do not\n match\nNelba Sánchez R.\nServicios Tecnológicos de Ges... |
[
{
"msg_contents": "Background: We are running a web application on apache with database\nserver as PostgreSQL. The application is a expense claim application\nwith workflow. The software versions are specified below:\n\n \n\nRed Hat Linux release 7.3\n\nApache 1.3.20\n\nPostgreSQL 7.1.3\n\n \n\nProblem: When t... |
[
{
"msg_contents": "I currently have a Postgres 7.3 database running under WIN2K using cygwin\nand want to move to Postgres 8.0.3 (native windows version).\nI am finding most simple queries are significantly faster on the native\nwindows version compared to 7.3 (under cygwin).\nHowever, for a complex query, that... |
[
{
"msg_contents": "I have about 419804 rows in my article table. I have installed tsearch2 and\nits gist index correctly. \n\nMy table structure is:\n\nCREATE TABLE tbarticles\n\n(\n\n articleid int4 NOT NULL,\n\n title varchar(250),\n\n mediaid int4,\n\n datee date,\n\n content text,\n\n contentvar text,... |
[
{
"msg_contents": "> >I previously posted the following as a sequel to my SELECT DISTINCT\n> >Performance Issue question. We would most appreciate any clue or\n> >suggestions on how to overcome this show-stopping issue. We are using\n> >8.0.3 on Windows.\n> >\n> >Is it a known limitation when using a view with ... |
[
{
"msg_contents": "> >Here is a trick I use sometimes with views, etc. This may or may not\nbe\n> >effective to solve your problem but it's worth a shot. Create one\nsmall\n> >SQL function taking date, etc. and returning the values and define it\n> >immutable. Now in-query it is treated like a constant.\n> \... |
[
{
"msg_contents": "Have you tried the \"best choice\" pattern -- where you select the set of\ncandidate rows and then exclude those for which a better choice\nexists within the set? I often get better results with this pattern than\nwith the alternatives. Transmuting your query to use this patter gives:\n \ns... |
[
{
"msg_contents": "Hi,\n\nI've got many queries running much slower on 8.1 beta2 than on 8.0.1\nHere is a simplified one that takes 484 ms on 8.1 and 32 ms on 8.0.1.\n\nselect\n 0\nfrom\n Content C\n\n left outer join Supplier S\n on C.SupplierId = S.SupplierId\n\n left outer join Price P\n on C.Pr... |
[
{
"msg_contents": "Hello!\n\n\tGot a DB with traffic statictics stored. And a SELECT statement which shows traffic volume per days also divided by regions - local traffic and global.\n Thus SELECT statement returns about some (in about 10-20) rows paired like this:\n\nttype (text)| volume (int)| tdate (da... |
[
{
"msg_contents": " \nHave tried adjusting the effective_cache_size so that you don't the\nplanner may produce a better explain plan for you and not needing to set\nseqscan to off.\n\n\n-- \n Husam \n\n-----Original Message-----\nFrom: pgsql-performance-owner@postgresql.org\n[mailto:pgsql-performance-owner@post... |
[
{
"msg_contents": "----- Original Message ----- \nFrom: \"Jean-Pierre Pelletier\" <pelletier_32@sympatico.ca>\nTo: <josh@agliodbs.com>\nSent: Thursday, September 22, 2005 6:37 PM\nSubject: Re: [PERFORM] Queries 15 times slower on 8.1 beta 2 than on 8.0\n\n\n> How do I produce an \"Index scan plan\" ?\n>\n> ----... |
[
{
"msg_contents": " \nThe recommendation for effective_cache_size is about 2/3 of your\nserver's physical RAM (if the server is dedicated only for postgres).\nThis should have a significant impact on whether Postgres planner\nchooses indexes over sequential scans. \n\n-- \n Husam \n\n\n-----Original Message----... |
[
{
"msg_contents": "Hello Tom,\n\n \n\nThanks a lot for your quick response. Which version do you think is the\nmore stable one that we should upgrade to?\n\n \n\nPlease provide us with the Upgrade instructions/documentation to be\nfollowed for both red hat and PostgreSQL. \n\n \n\nThanks and Best Regards,\n\nAn... |
[
{
"msg_contents": "Hi,\n\nI must convert an old table into a new table. The conversion goes at ~\n100 records per second. Given the fact that I must convert 40 million\nrecords, it takes too much time: more hours than the 48 hour weekend I\nhave for the conversion;-).\n\nThe tables are rather simple: both table... |
[
{
"msg_contents": "I have concerns about whether we are overallocating memory for use in\nexternal sorts. (All code relating to this is in tuplesort.c)\n\nWhen we begin a sort we allocate (work_mem | maintenance_work_mem) and\nattempt to do the sort in memory. If the sort set is too big to fit in\nmemory we the... |
[
{
"msg_contents": "On Fri, 23 Sep 2005, Ahmad Fajar wrote:\n\n> Hi Oleg,\n>\n> I didn't deny on the third repeat or more, it can reach < 600 msec. It is\n> only because the result still in postgres cache, but how about in the first\n> run? I didn't dare, the values is un-acceptable. Because my table will grows\... |
[
{
"msg_contents": "> At 02:07 05/09/23, Merlin Moncure wrote:\n> > > >Here is a trick I use sometimes with views, etc. This may or may\nnot\n> be\n> > > >effective to solve your problem but it's worth a shot. Create\none\n> small\n> > > >SQL function taking date, etc. and returning the values and\ndefine it\n... |
[
{
"msg_contents": "Hi\n\n \n\nWe are experiencing consistent slowness on the database for one\napplication. This is more a reporting type of application, heavy on the\nbytea data type usage (gets rendered into PDFs in the app server). A lot\nof queries, mostly selects and a few random updates, get accumulated o... |
[
{
"msg_contents": "From: Simon Riggs <simon@2ndquadrant.com>\nSent: Sep 23, 2005 5:37 AM\nSubject: [PERFORM] Releasing memory during External sorting?\n\n>I have concerns about whether we are overallocating memory for use in\n>external sorts. (All code relating to this is in tuplesort.c)\n>\nA decent external s... |
[
{
"msg_contents": "Yep. Also, bear in mind that the lg(n!)= ~ nlgn - n lower bound on\nthe number of comparisions:\na= says nothing about the amount of data movement used.\nb= only holds for generic comparison based sorting algorithms.\n\nAs Knuth says (vol 3, p180), Distribution Counting sorts without\never c... |
[
{
"msg_contents": "From: Tom Lane <tgl@sss.pgh.pa.us>\nSent: Sep 23, 2005 2:15 PM\nSubject: Re: [PERFORM] Releasing memory during External sorting? \n\n>Mark Lewis <mark.lewis@mir3.com> writes:\n>> operations != passes. If you were clever, you could probably write a\n>> modified bubble-sort algorithm that only... |
[
{
"msg_contents": "Hello pals, I have the following table in Postgresql 8.0.1\n\nMydb# \\d geoip_block\nTable \"public.geoip_block\"\n Column | Type | Modifiers\n-------------+--------+-----------\n locid | bigint |\n start_block | inet |\n end_block | inet |\n\nmydb# explain analyze select l... |
[
{
"msg_contents": "From: Dann Corbit <DCorbit@connx.com>\nSent: Sep 23, 2005 5:38 PM\nSubject: RE: [HACKERS] [PERFORM] Releasing memory during External sorting?\n\n>_C Unleashed_ also explains how to use a callback function to perform\n>arbitrary radix sorts (you simply need a method that returns the\n>[buckets... |
[
{
"msg_contents": "It looks like a rebranded low end Adaptec 64MB PCI-X <-> SATA RAID card.\nLooks like the 64MB buffer is not upgradable.\nLooks like it's SATA, not SATA II\n\nThere are much better ways to spend your money.\n\nThese are the products with the current best price/performance ratio:\nhttp://www.ar... |
[
{
"msg_contents": "When I need to insert a few hundred or thousand things in\na table from a 3-tier application, it seems I'm much better\noff creating a big string of semicolon separated insert\nstatements rather than sending them one at a time - even\nwhen I use the obvious things like wrapping the statements... |
[
{
"msg_contents": ">> Even for RAID5 ? it uses a bit more CPU for the parity calculations.\n\n> I honestly can't speak to RAID 5. I don't (and won't) use it. RAID 5 is \n> a little brutal when under\n> heavy write load. I use either 1, or 10.\n\nYes, for RAID5 software RAID is better than HW RAID today - th... |
[
{
"msg_contents": "If I do a simple query like:\n\nSelect ids, keywords from dict where keywords='blabla' ('blabla' is a single\nword); \n\nThe table have 200 million rows, I have index the keywords field. On the\nfirst time my query seem to slow to get the result, about 15-60 sec to get\nthe result. But if I r... |
[
{
"msg_contents": "While I understand being economical, at some point one crosses the line\nto being penny wise and pound foolish.\n\nHow much is the data on this server going to be worth?\nHow much much will it cost you to recover or restore it (assuming that\nis even possible if you lose it)?\n\nIf your data ... |
[
{
"msg_contents": ">From: Ron Peacetree <rjpeace@earthlink.net>\n>Sent: Sep 24, 2005 6:30 AM\n>Subject: Re: [HACKERS] [PERFORM] Releasing memory during External sorting?\n>\n>... the amount of IO done is the most\n>important of the things that you should be optimizing for in\n>choosing an external sorting algor... |
[
{
"msg_contents": "Is there an performance benefit to using int2 (instead of int4) in cases\nwhere i know i will be well within its numeric range? I want to conserve\nstorage space and gain speed anywhere i can, but i know some apps simply end\nup casting 2byte data to 4byte (like Java int/short).\n\nThese int2... |
[
{
"msg_contents": ">From: Dann Corbit <DCorbit@connx.com>\n>Sent: Sep 26, 2005 5:13 PM\n>To: Ron Peacetree <rjpeace@earthlink.net>, pgsql-hackers@postgresql.org, \n>\tpgsql-performance@postgresql.org\n>Subject: RE: [HACKERS] [PERFORM] A Better External Sort?\n>\n>I think that the btrees are going to be O(n*log(... |
[
{
"msg_contents": "SECOND ATTEMPT AT POST. Web mailer appears to have\neaten first one. I apologize in advance if anyone gets two\nversions of this post.\n=r\n\n>From: Tom Lane <tgl@sss.pgh.pa.us>\n>Sent: Sep 26, 2005 9:42 PM\n>Subject: Re: [HACKERS] [PERFORM] A Better External Sort? \n>\n>So far, you've blit... |
[
{
"msg_contents": "Hello all,\n\n I have table ma_data, that contain above 300000 rows.\n This table has primary key id, and field alias_id.\n I create index (btree)on this field.\n Set statistic:\n\n ALTER TABLE \"public\".\"ma_data\"\n ALTER COLUMN \"alias_id\" SET STATISTICS 998;\n\n So, when I ... |
[
{
"msg_contents": "Hi All,\n\nCan anyone please tell/point me where I can get the postgresql system layout\n(I've an interest to contribute). I would also like to know the files\ninvolved for performing each task ( for eg when doing a select operation\nwhat is exactly happening in postgres along with the files)... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.