threads listlengths 1 275 |
|---|
[
{
"msg_contents": "Hi. We are running Postgres 8.3.7 on an eight-processor Linux system.\nBecause the machine has very little local disk, the database files are on\na file system running GPFS.\n\nThe machine is mostly dedicated to processing images. After the images\nare processed, the image attributes and pr... |
[
{
"msg_contents": "\nI have a partitioned table with a multi-column unique index. The table is partitioned on a timestamp with time zone column. (I realize this has nothing to do with the unique index.) The original unique index was in the order (timestamptz, varchar, text, text) and most queries against it ... |
[
{
"msg_contents": "Hello, all.\n\nI'm finding that write performance of a certain stored procedure is\nabysmal. I need to be able to sustain approximately 20 calls to this\nprocedure per second, but am finding that, on the average, each call\ntakes 2 seconds in itself, in addition to pegging a single processor\... |
[
{
"msg_contents": "I have a table about 50 million rows. There are a few writers to pump\ndata into the table at the rate of 40000 row/hours. Most the time, the\nSELECT is less than 100 ms. However sometime it is very slow, from 30\nseconds to 500 seconds. The database is vacuum analyze regularly.\n\nOne months... |
[
{
"msg_contents": "Good morning.\n\n \n\nI have developed a function call that schedules patient appointments\nwithin a day based on several resource constraints. The algorithm has\nbeen mentioned on here before and I have managed to tweak it down to 6-9\nseconds from the original 27 seconds. \n\n \n\nOf course... |
[
{
"msg_contents": "\nGreg,\n\nThanks for the mental prod! Yes, the original data is more closely sorted by the timestamptz column, since they represent events coming into the collection system in real time. As for the distribution of data values, it goes without saying the timestamptz value is monotonically i... |
[
{
"msg_contents": "HI Gurus ,\n\ni have this query (i think is a simple one)\nit takes me 1,7s to run it, it's not to long, but considering it takes 1,7s\nto return 71lines makes me wonder... is there anyother way to do this, on a\nfirst look??\n\nany sugestion would be largely appreciated.\n\nSELECT distinct o... |
[
{
"msg_contents": "\n8.4 from CVS HEAD:\nEXPLAIN ANALYZE select * from (select n, 1 as r from generate_series(1, 100000) as n union all select n, 2 from generate_series(1, 100000) as n) as x where r = 3;\n QUERY PLAN ... |
[
{
"msg_contents": "Hi,\n\n As far as I recall postgres does not have built-in support for \"insert or\nreplace\" feature.\n But there is a lot of ways to obtain the same result.\n The problem is that performance of these techniques is quite bad.\n It is about two times slower than simple insert.\n\n I trie... |
[
{
"msg_contents": "\nI use poker software (HoldemManager) to keep track of the statistics (and\nshow nice graphs) of millions of poker hand histories.\nThis software (also PokerTracker 3) imports all the poker hands in\nPostgreSQL. The software runs on Windows) only.\nAll of its users have NORMAL PCs. From sing... |
[
{
"msg_contents": "Hi,\n\nWe are bundling PostgreSQL 8.3.7 with our Java based application.\nWe observe that in some systems the Database access becomes very slow after\nrunning it for couple of days.\n\nWe understand that postgresql.conf needs to be adjusted as per the system\nspecification where postgreSQL is... |
[
{
"msg_contents": "\nHi,\n\nI'm using both IN and ANY() operators extensively my application. Can\nanybody answer me on the following questions:\n\t1) Which operator is advantage over the another, interms of performance?\n\t2) If I've indexed these columns, will both the operators make use of index\nscanning?\... |
[
{
"msg_contents": "Hi All,\n I would like to know if there is a limitation on the size of the XML\ndocument that can be contained in a table?\n Do you think inserting a large XML, say with 100 elements, will be a\nproblem?\n Waiting for your reply.\n Franclin.\n",
"msg_date": "Wed, 08 Jul 2009 17:27:32 +010... |
[
{
"msg_contents": "Hello everybody,\nI have a simple query which selects data from not very large table (\n434161 rows) and takes far more time than I'd expect. I believe it's\ndue to a poor disk performance because when I execute the very same\nquery for a second time I get much better results (caching kicks i... |
[
{
"msg_contents": "\nI noticed a bit of a performance regression in embedded sql queries when\nmoving from the client libraries in verison 8.2.4 to 8.3.7. My\napplication does a whole lot of queries, many of which don't return any\ndata. When we moved to the new libraries the time of running a query\n(from th... |
[
{
"msg_contents": "[ Attempting to resend, because it didn't seem to get through last time. ]\n\nWe have a query that runs very slowly on our 8.3 database. (I can't\ntell you exactly how slowly, because it has never successfully run to\ncompletion even when we left it running overnight.) On the 8.4\ndatabase on... |
[
{
"msg_contents": "Below is a query that takes 16 seconds on the first run. I am having\ngenerally poor performance for queries in uncached areas of the data\nand often mediocre (500ms-2s+) performance generallly, although\nsometimes it's very fast. All the queries are pretty similar and use\nthe indexes this... |
[
{
"msg_contents": "Hi all have a dought about explain of postgres\nLet's see:\n\nWho have more cost for database:\nIndex Scan using xix3_movimento_roteiro_empresa on movimento_roteiro_empresa movimentor0_ (cost=0.00..73386.80 rows=5126 width=451)\n Index Cond: (mrem_ammovimento = 200906)\n Filter: ((ftgr_id ... |
[
{
"msg_contents": "Tom Lane [tgl@sss.pgh.pa.us] wrote:\n> Oh, and don't forget the more-complete pg_locks state. We'll want all\n> the columns of pg_locks, not just the ones you showed before.\nauto vacuum of ts_user_sessions_map has been running for > 17 hours. \nThis table has 2,204,488 rows. I hope that I'v... |
[
{
"msg_contents": "Hi,\n\nI have some 99,000 records in a table (OBSERVATION_ALL) in a Postgres DB \nas well as a Greenplum DB.\n\nThe Primary key is a composite one comprising of 2 columns (so_no, \nserial_no).\n\nThe execution of the following query takes 8214.016 ms in Greenplum but \nonly 729.134 ms in Post... |
[
{
"msg_contents": "Hi,\n\nI'm trying to solve big performance issues with PostgreSQL + bacula while \ninserting very big sets of records.\n\nI'm sorry, this email will be a long one, as I've already spent quite a lot of \ntime on the issue, I don't want to waste your time speculating on things I \nmay already h... |
[
{
"msg_contents": "Howdy. Some months back, when advised on one of these lists that it\nshould not be necessary to issue VACUUM FULL/REINDEX DATABASE, we quit\nthis nightly \"maintenance\" practice. We've been very happy to not\nhave to do that, since it locked the database all night. Since then,\nhowever, o... |
[
{
"msg_contents": "I can't figure what is going on below; first of all, this count which\nreturns 1.5 million from a ~2 million row table:\n\nwoome=# explain analyze SELECT COUNT(*) FROM \"webapp_person\" WHERE\n\"webapp_person\".\"permissionflags\" =\nB'0000000000001111111111111111111111111111'::\"bit\";\n ... |
[
{
"msg_contents": "\nThe following bug has been logged online:\n\nBug reference: 4919\nLogged by: Lauris Ulmanis\nEmail address: lauris.ulmanis@mykoob.com\nPostgreSQL version: 8.3.7, 8.4.0\nOperating system: Any\nDescription: CREATE USER command slows down system performance\nDetails... |
[
{
"msg_contents": "When users count in Postgres database reaches up to 500 000 - database\ncommand of creating users 'CREATE USER' slows down to 5-10 seconds per user.\n\nWhat could be a reason of this problem and is there any solution how to\navoid it?\n\nFor each of user can be associated up to 10 roles with ... |
[
{
"msg_contents": "Hi,\n\nI am transplanting an application to use PostgreSQL8.2.4 instead of DB2 9.1.\nCLI was used to connect to DB2, and ODBC is used to connect to PostgreSQL.\nThe query statement is as follows:\n\nSELECT void,nameId,tag FROM (SELECT void,nameId,tag,.... FROM Attr\nWHERE attributeof IN (SELE... |
[
{
"msg_contents": "I am using Postgres with Rails. Each rails application \"thread\" is\nactually a separate process (mongrel) with it's own connection.\n\nNormally, the db connection processes (?) look something like this in\ntop:\n\n15772 postgres 15 0 229m 13m 12m S 0 0.8 0:00.09 postgres:\ndb d... |
[
{
"msg_contents": "Hi,\n \nWe use a typical counter within a transaction to generate order sequence number and update the next sequence number. This is a simple next counter - nothing fancy about it. When multiple clients are concurrently accessing this table and updating it, under extermely heavy loads in the... |
[
{
"msg_contents": "\n> +1 for index organized tables \n\n+1\n\nI have a table:\n\nCREATE TABLE mytab\n(\n \"time\" timestamp without time zone NOT NULL,\n ne_id integer NOT NULL,\n values integer,\n CONSTRAINT mytab_pk PRIMARY KEY (ne_id, \"time\"),\n CONSTRAINT mytab_ne_id_key UNIQUE (\"time\", ne_id)\n}... |
[
{
"msg_contents": "Hey all!\n\nIs there a better way to increase or decrease the value of an integer \nthan doing something like:\n\n---\nUPDATE the_table SET the_int = the_int + 1 WHERE the_id = 123 ;\n---\n\nWe seem to be getting a lot of deadlocks using this method under heavy \nload. Just wondering if we s... |
[
{
"msg_contents": "\n> You might be better off\n> with a CLUSTER on\n> some index. \n\nI can't: table is too big, can't lock it for minutes; that's why I wanted to cluster it \"one day at a time\".\n\n\n \n",
"msg_date": "Fri, 17 Jul 2009 06:45:18 +0000 (GMT)",
"msg_from": "Scara Maccai <m_lists@y... |
[
{
"msg_contents": "\n> As Kevin said, there's no guarantee that tuples will be\n> read back\n> in the order you inserted them.\n\nOk, didn't know that\n\n> A better option you might consider is to use a separate\n> table for the\n> re-ordered tuples. \n> You could even do this using partitions\n\nProblem is I'm... |
[
{
"msg_contents": "Hi all,\n\n>On Wed, Jul 15, 2009 at 10:36 PM, Scott Marlowe <scott.marlowe@gmail.com> wrote:\n\nI'd love to see it.\n>\n\n> +1 for index organized tables \n>\n\n>--Scott\n\n+1 also for me...\n\nI am currently working for a large customer who is migrating his main application towards PostgreSQ... |
[
{
"msg_contents": "\nI'm considering rewriting a postgres extension (GiST index bioseg) to make \nit use version 1 calling conventions rather than version 0.\n\nDoes anyone have any ideas/opinions/statistics on what the performance \ndifference is between the two calling conventions?\n\nMatthew\n\n-- \n Patron:... |
[
{
"msg_contents": "\n> Be sure to include an ORDER BY clause. For\n> example, if someone else starts a query which the planner\n> determines\n> is best handled with a table scan, and that is still\n> running when you\n> issue your INSERT/SELECT, your query will join the current\n> scan at\n> it's point of prog... |
[
{
"msg_contents": "Hello,\n\nI'm having a bit of an issue with full text search (using tsvectors) on \nPostgreSQL 8.4. I have a rather large table (around 12M rows) and want \nto use full text search in it (just for one of the columns). Just doing \na plainto_tsquery works reasonably fast (I have a GIN index on... |
[
{
"msg_contents": "Hi. I notice that when I do a WHERE x, Postgres uses an index, and when I do\nWHERE y, it does so as well, but when I do WHERE x OR y, it doesn't. Why is\nthis so? And how can I shut this off?\nselect * from dict\nwhere\n word in (select substr('moon', 0, generate_series(3,length('moon')))) -... |
[
{
"msg_contents": "I'm storing a lot of words in a database. What's the fastest format for\nfinding them? I'm going to be doing a lot of WHERE w LIKE 'marsh%' and WHERE\nw IN ('m', 'ma'). All characters are lowercase a-z, no punctuation, no\nother alphabets. By default I'm using varchar in utf-8 encoding, bu... |
[
{
"msg_contents": "Hi,\n\nI have been playing around with PostgreSQL's XML support\nlately (cf.\n<URI:news:m3ljmocolf.fsf@passepartout.tim-landscheidt.de>)\nand stumbled upon some performance issues related to\nXMLPARSE(). In my \"application\", the XML document is supp-\nlied as a string constant via a DBI ? p... |
[
{
"msg_contents": "Apologies for a slightly off-topic question ... a friend is overseeing the demise of a company and has several computers that they need to get rid of. She's an attorney and knows little about them except that they're IBM and cost >$50K originally. Where does one go to sell equipment like th... |
[
{
"msg_contents": "\nHere in the UK, we have \"Waste electrical and electronic equipment\" (WEEE) companies that'll safely destroy or sell them on for a cut of the profits.\n\n--- On Mon, 20/7/09, Craig James <craig_james@emolecules.com> wrote:\n\n> From: Craig James <craig_james@emolecules.com>\n> Subject: [PE... |
[
{
"msg_contents": "Just wondering is the issue referenced in\nhttp://archives.postgresql.org/pgsql-performance/2005-11/msg00415.php\nis still present in 8.4 or if some tunable (or other) made the use of\nhyperthreading a non-issue. We're looking to upgrade our servers soon\nfor performance reasons and am trying... |
[
{
"msg_contents": "Hi\n\nI'm storing historical meteorological gridded data from GFS (\nhttp://www.nco.ncep.noaa.gov/pmb/products/gfs/) into an array field in a\ntable like this:\n\nCREATE TABLE grid_f_data_i2 (\n //Specifies the variable and other features of data\n id_inventory integer REFERENCES grid_d_inv... |
[
{
"msg_contents": "Hi Performance Wizards!\n\nI need advice on this.\n\nI have a db which is being constantly updated and queried by a few\ncomputers. We are doing datamining. The machine is running on a\nmoderately powered machine and processors constantly hit 90%.\n\nAt the same time, we need to present these... |
[
{
"msg_contents": "Hello!\n\n \n\nI posted you a message about slowness of creation users more than 500 000\n(#4919). It seems there is no workaround of this problem because of using\npg_auth flat file.\n\n \n\nTo override this problem is it possible to use LDAP authentification metod\nto identify each user and... |
[
{
"msg_contents": "Hi,\n\n \n\nI posted this question at stackoverflow. Please follow there to see the\nquestion in a nice format as I also posted the code that I used for\nbenchmarking.\n\n \n\nhttp://stackoverflow.com/questions/1174848/postgresql-inserting-blob-at-\na-high-rate\n\n \n\nThe main question is: h... |
[
{
"msg_contents": "Hello,\n\nIt seems to me that the following query should be a lot faster. This runs\nin 17 seconds (regardless how many times I run it)\n\nselect ac.* from application_controls_view ac, refs r where\nac.custom_controller_ref_id = r.ref_id and r.ref_key like '%XYZ%';\n\nif I do not use the vi... |
[
{
"msg_contents": "Hello,\n\nI am trying to optimize the count of files when I am using filters\n(select by some row/s parameter/s)\n\nIn this case I think that postgresql really count all files.\nResulting in unacceptable times of 4 seconds in http server response.\nTriggers+store in this case do not see very ... |
[
{
"msg_contents": "Hi,\nsubject is the following type of query needed in a function to select data:\n\nSELECT ' 13.04.2009 12:00:00 ' AS zeit,\n \n'M' AS ga... |
[
{
"msg_contents": "Hi. I'm seeing some weird behavior in Postgres. I'm running read only\nqueries (SELECT that is - no UPDATE or DELETE or INSERT is happening at\nall). I can run one rather complicated query and the results come back...\neventually. Likewise with another. But, when I run both queries at th... |
[
{
"msg_contents": "I understand that checkpointing is a necessary part of a pgsql\ndatabase, but I am also under the impression that you want to find a\nbalance between how frequently you checkpoint and how much a given\ncheckpoint has to do. It's all about balancing the disk I/O out to get\na consistent throug... |
[
{
"msg_contents": "* *Message-id*:\n <alpine.DEB.2.00.0907281037580.19493@aragorn.flymine.org\n <http://archives.postgresql.org/pgsql-performance/2009-07/msg00293.php>>\n\n------------------------------------------------------------------------\nOn Mon, 27 Jul 2009, Dave Youatt wrote:\n\n Greg, th... |
[
{
"msg_contents": "When reviewing the vacuum logs, I notice that on any given day\nautovacuum only seems to touch four of the tables in one of our\nschemas (not counting toast tables). However, if I look at the\npgstatspack output for the same day, I see that there are plenty of\nother tables receiving a high n... |
[
{
"msg_contents": "Hi, list. I've just upgraded pgsql from 8.3 to 8.4. I've used pgtune\nbefore and everything worked fine for me.\n\nAnd now i have ~93% cpu load. Here's changed values of config:\n\ndefault_statistics_target = 50\nmaintenance_work_mem = 1GB\nconstraint_exclusion = on\ncheckpoint_completion_tar... |
[
{
"msg_contents": "Hi all,\n\nHas anybody worked on Greenplum MapReduce programming ?\n\nI am facing a problem while trying to execute the below Greenplum \nMapreduce program written in YAML (in blue). \n\nThe error is thrown in the 7th line as:\nError: YAML syntax error - found character that cannot start any ... |
[
{
"msg_contents": "Dear All,\n \n \n We are using Postgres 8.3.7 in our java application. We are doing performances tuning and load testing in our setup. we have noticed that ,some of our queries to the database taking long time to return the results.Please find our setup details belows.\n \nWe observed that po... |
[
{
"msg_contents": "Hi,\n\nI would like to know if my configuration is ok, We run a web application with high transaction rate and the database machine on Mondays / Tuesdays is always at 100% CPU with no IO/Wait . the machine is a Dual Xeon Quad core, 12gb RAM, 4gb/s Fibre Channel on Netapp SAN, with pg_xlog on ... |
[
{
"msg_contents": "Dear All,\n\n\nWe are\nusing Postgres 8.3.7 in our java application. We are doing performances\ntuning and load testing in our setup. we have noticed that ,some of our\nqueries to the database taking long time to return the results.Please\nfind our setup details belows.\n\nWe observed that po... |
[
{
"msg_contents": "\nHi\n\nCan anyone tell me what are the tools to monitor postgres server. ? I am\nrunning my Postgres server on RHEL 5 machine.\n-- \nView this message in context: http://www.nabble.com/Performance-Monitoring-tool-tp24751382p24751382.html\nSent from the PostgreSQL - performance mailing list a... |
[
{
"msg_contents": "Hi,\n\nEveryone says \"load test using your app\" - out of interest how does \neveryone do that at the database level?\n\nI've tried playr (https://area51.myyearbook.com/trac.cgi/wiki/Playr) but \nhaven't been able to get it working properly. I'm not sure what other \ntools are available.\n\n... |
[
{
"msg_contents": "Hi folks,\n\nWe have problems with performance of a simple SQL statement.\n\nIf we add a LIMIT 50, the query is about 6 times slower than without a limit\n(query returns 2 rows).\n\nI have read this discussion:\nhttp://archives.postgresql.org/pgsql-performance/2008-09/msg00005.php but\nthere ... |
[
{
"msg_contents": "Hi folks,\n\nWe have problems with performance of a simple SQL statement.\n\nIf we add a LIMIT 50, the query is about 6 times slower than without a limit\n(query returns 2 rows).\n\nI have read this discussion:\nhttp://archives.postgresql.org/pgsql-performance/2008-09/msg00005.php but\nthere ... |
[
{
"msg_contents": "Hello,\n\n\nI have a problem with an inner join + count().\n\nmy query is:\n\nexplain analyze select \nk.idn,k.kerdes_subject,k.kerdes_text,u.vezeteknev,u.keresztnev,u.idn as \nuser_id, kg.kategoria_neve, count(v.idn)\n\nFROM kategoriak as kg\n\nINNER JOIN kerdesek as k on kg.idn = k.kategori... |
[
{
"msg_contents": "The database is 8gb currently. Use to be a lot bigger but we removed all large objects out and developed a file server storage for it, and using default page costs for 8.4, I did have it changed in 8.1.4\n\n-----Original Message-----\nFrom: Robert Haas [mailto:robertmhaas@gmail.com]\nSent: Su... |
[
{
"msg_contents": "All,\n \nNot sure what's wrong in below execution plan but at times the query\nruns for 5 minutes to complete and after a while it runs within a second\nor two.\n \nHere is explain analyze out of the query.\n \nSELECT\nOBJECTS.ID,OBJECTS.NAME,OBJECTS.TYPE,OBJECTS.STATUS,OBJECTS.ALTNAME,OBJE\n... |
[
{
"msg_contents": "\nI'm seeing an interesting phenomenon while I'm trying to \nperformance-optimise a GiST index. Basically, running a performance test \nappears to be the same thing as running a random number generator. For \nexample, here I'm running the same statement eight times in quick \nsuccession:\n\n>... |
[
{
"msg_contents": "Hi All,\n\nI encountered an odd issue regarding check constraints complaining \nwhen they're not really violated.\n\nFor this particular machine, I am running 8.3.7, but on a machine \nrunning 8.3.5, it seems to have succeeded. I also upgraded a third \nmachine from 8.3.5 to 8.3.7, and th... |
[
{
"msg_contents": "Hi All,\n\nI encountered an odd issue regarding check constraints complaining\nwhen they're not really violated.\n\nFor this particular machine, I am running 8.3.7, but on a machine\nrunning 8.3.5, it seems to have succeeded. I also upgraded a third\nmachine from 8.3.5 to 8.3.7, and the quer... |
[
{
"msg_contents": "Hi,\n\nI am using postgresql 8.3 with FreeBSD. FreeBSD is using syslog by\ndefault for postgresql logs.\nI would like to disable syslog in postgresql.conf. Does this change\nincrease the performance?\nWhat is the impact of using syslog on postgresql performance?\n\nThanks.\n",
"msg_date":... |
[
{
"msg_contents": "I have a database (699221). It contains of 1.8GB data (707710). I am\ndoing a complex query. Which required to load a 80MB index (732287).\n\nI restarted Postgresql so the cache is empty and it has to read the\ntable and index from disk. Which I understand is an expensive process.\nBut what I... |
[
{
"msg_contents": "On Thu, Aug 06, 2009 at 12:50:51PM +1000, Ip Wing Kin John wrote:\n> (running DTrace tool kit iofile.d script to show I/O wait time by\n> filename and process)\n\nIs the dtrace toolkit a viable product for a linux environment or\nis it strickly Sun/Oracle?\n",
"msg_date": "Thu, 6 Aug 2009... |
[
{
"msg_contents": "PostgreSQL 8.3\nLinux RedHat 4.X\n24G of memory\n\nWhen loading a file generated from pg_dumpall is there a key setting in\nthe configuration file that would allow the load to work faster.\n\nThanks,\n\nLance Campbell\nProject Manager/Software Architect/DBA\nWeb Services at Public Affairs\n21... |
[
{
"msg_contents": "Just stumbled across this recent article published in the\nCommunications of the ACM:\n\nhttp://cacm.acm.org/magazines/2009/8/34493-the-pathologies-of-big-data/fulltext\n\nThe author shares some insights relating to difficulties processing a\n6.75 billion-row\ntable, a dummy table representin... |
[
{
"msg_contents": "Hi Everyone,\n\nI manage a freeBSD server that is dedicated to postgresql. The\nmachine has 4 gigs of ram and there is a single database powering a\nweb application that is hosted on a neighboring machine. The web\napplication is mostly reading the database but there are considerable\nwrite... |
[
{
"msg_contents": "Hello,\n\nI'm trying to optimize the follow query which returns the top users\nordered by ranking. I'll show you my schema and \"explain analyze\" for\neach case.\n\nSo, i'm asking two things:\n\n1) Why \"ranking\" index is not used in the second query when sorting.\n2) Am i missing some obvi... |
[
{
"msg_contents": "All,\n\nI've just been tweaking some autovac settings for a large database, and\ncame to wonder: why does vacuum_max_freeze_age default to such a high\nnumber? What's the logic behind that?\n\nAFAIK, you want max_freeze_age to be the largest possible interval of\nXIDs where an existing trans... |
[
{
"msg_contents": "Hello All,\n\nI'm developing specialized message switching system and I've chosen to \nuse PostgreSQL as general tool to handle transactions, store and manage \nall the data.\nThis system has pretty strong timing requirements. For example, it must \nprocess not less than 10 messages per secon... |
[
{
"msg_contents": "The writer process seems to be using inordinate amounts of memory:\n\n PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+\nCOMMAND\n11088 postgres 13 -2 3217m 2.9g 2.9g S 0 38.7 0:10.46 postgres:\nwriter process\n20190 postgres 13 -2 3219m 71m 68m S 0 0.9 0:52.48 post... |
[
{
"msg_contents": "\nHi, \n\nAs of today, we are still enjoying our Informatica tool but in a few months\nwe will need to change. Basically we do not use our software at its full\ncapacity and don't feel we need it anymore. \nSo we are trying to find a less expensive solution that would have the same\nfeatures ... |
[
{
"msg_contents": "\nI'm trying to execute a query to take a row from a table, and return \nmultiple rows, one per integer in the range between two of the fields in \nthat row, for all rows in the table. Perhaps a better explanation would be \nthe query:\n\nSELECT id, objectid, bin\nFROM locationbintemp, genera... |
[
{
"msg_contents": " developer came by and asked me an interesting question.\n\nIf he has a view with 20 columns in it, and he selects a specific column from the view\nin his query. Does the engine when accessing the view return all columns? or is it \nsmart enough to know to just retrive the one?\n\nexample:\n\... |
[
{
"msg_contents": "On Thu, 4 Jun 2009 06:57:57 -0400, Robert Haas <robertmhaas@gmail.com> wrote\nin http://archives.postgresql.org/pgsql-performance/2009-06/msg00065.php :\n\n> I think I see the distinction you're drawing here. IIUC, you're\n> arguing that other database products use connection pooling to hand... |
[
{
"msg_contents": "8.4 has vastly improved the warm-standby features, but it looks to me like this is still an installation-wide backup, not a per-database backup. That is, if you have (say) a couple hundred databases, and you only want warm-backup on one of them, you can't do it (except using other solutions ... |
[
{
"msg_contents": "Dear users,\n\nI try to optimize the time of my Postgresql-requests, but for that, the first step,\nI of course need to get that time.\n\nI know that with:\n\nEXPLAIN ANALYSE SELECT bundesland from\n bundesland WHERE ST_Contains(the_geom, $punktgeometrie_start) AND\n ST_Contains(the_geom, $pu... |
[
{
"msg_contents": "Hi,\nI am using int8 field to pack a number of error flags. This is very common technique for large tables to pack multiple flags in one integer field.\n\nFor most records - the mt_flags field is 0. Here is the statistics (taken from pgAdmin Statistics tab for mt_flags column):\nMost common V... |
[
{
"msg_contents": "\nI'm seeing some interesting behaviour. I'm executing a query where I \nperform a merge join between two copies of the same table, completely \nsymmetrically, and the two sides of the merge are sourced differently.\n\nSELECT COUNT(*)\nFROM\n (SELECT DISTINCT\n l1.objectid,\n ... |
[
{
"msg_contents": "Let's take the following EXPLAIN results:\n\nticker=# explain select * from post, forum where forum.name = post.forum\nand invisible <> 1 and to_tsvector('english', message) @@\nto_tsquery('violence') order by modified desc limit\n100; ... |
[
{
"msg_contents": "I'm on a CentOS 5 OS 64 bit, latest kernel and all of that.\nPG version is 8.3.7, compiled as 64bit.\nThe memory is 8GB.\nIt's a 2 x Dual Core Intel 5310.\nHard disks are Raid 1, SCSI 15 rpm.\n\nThe server is running just one website. So there's Apache 2.2.11,\nMySQL (for some small tasks, al... |
[
{
"msg_contents": "Hi all;\n\nwe've been fighting this query for a few days now. we bumped up the statistict \ntarget for the a.id , c.url_hits_id and the b.id columns below to 250 and ran \nan analyze on the relevant tables. we killed it after 8hrs. \n\nNote the url_hits table has > 1.4billion rows\n\nAny su... |
[
{
"msg_contents": "Hi,\n\nOur fine manual says:\n\"\"\"\nThe amount of memory used in shared memory for WAL data. The default\nis 64 kilobytes (64kB). The setting need only be large enough to hold\nthe amount of WAL data generated by one typical transaction, since the\ndata is written out to disk at every trans... |
[
{
"msg_contents": "Hi,\n\nAFAIUI, work_mem is used for some operations (sort, hash, etc) for\navoiding the use of temp files on disk...\n\nIn a client server i'm monitoring (pg 8.3.7, 32GB of ram) work_mem is\nset to 8MB, however i'm seeing a lot of temp files (>30000 in 4 hours)\nwith small sizes (ie: 2021520 ... |
[
{
"msg_contents": "Hi all;\n\nI have a simple query against two very large tables ( > 800million rows in \ntheurl_hits_category_jt table and 9.2 million in the url_hits_klk1 table )\n\nI have indexes on the join columns and I've run an explain.\nalso I've set the default statistics to 250 for both join columns... |
[
{
"msg_contents": "Hi,\n\nin a web app we have a query that we want to show in limited results\nat a time, this one executes in 10 seconds if i use limit but executes\nin 300ms if i remove it.\nwhy is that happening? the query is using and index for avoiding the\nsort so the nestloop should go only for the firs... |
[
{
"msg_contents": "> ---------- Forwarded message ----------\n> From: Jaime Casanova <jcasanov@systemguards.com.ec>\n> To: psql performance list <pgsql-performance@postgresql.org>\n> Date: Wed, 19 Aug 2009 19:25:11 -0500\n> Subject: [PERFORMANCE] how to set wal_buffers\n> Hi,\n>\n> Our fine manual says:\n> \"\"... |
[
{
"msg_contents": "\nHello,\n\nWe are using PostgreSQL to index a huge collection (570 000) of articles for a french daily newspaper (Lib�ration). We use massively the full text search feature. I attach to this mail the schema of the database we use.\n\nOverall, we have very interesting performances, except i... |
[
{
"msg_contents": "hi,\n\ni have a query that uses a Hash-Join, but it would be faster with Nested-Loop,\nand i don't know how to persuade postgresql to do it.\n\ndetails:\n\npostgresql-8.2 + tsearch2\n\ni have 2 tables, one for people, and one that does a many-to-many\nlink between people:\n\nCREATE TABLE pers... |
[
{
"msg_contents": "Hi,\n\nI am using 8.3 and pgAdmin III. I have a couple of tables using 2 DATE\ncolumns like 'startdate' and 'enddate' (just date, not interested in time in\nthese columns). I have some queries (some using OVERLAPS) involving both\n'startdate' and 'enddate' columns. I tried to create a multi c... |
[
{
"msg_contents": "Hey,\n\nI seem to be unable to get postgres to use a gist index we have on a \ncircle data type.\n\nTable \"public.tradesmen_profiles\"\n Column | Type | Modifiers \n-----------------------+-----------------------------+----------------------- \n\... |
[
{
"msg_contents": "Dear friends,\n\nI contact on Postgresql hackers request.\n\nI am running into a systemic\nproblem using Drupal under PostgreSQL 8.4\n\nDrupal relies heavily on a domain derived from int:\n\nCREATE DOMAIN int_unsigned\n AS integer\n CONSTRAINT int_unsigned_check CHECK ((VALUE >= 0));\n\nAn... |
[
{
"msg_contents": "Hi All,\n\nWe are improving our network appliance monitoring system, and are evaluating\nusing PostgreSQL as the back-end traffic statistics database (we're\ncurrently running a home-grown Berkeley-DB based statistics database).\n\nWe log data from various network elements (it's mainly in/out... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.