threads listlengths 1 275 |
|---|
[
{
"msg_contents": "> We used Postgresql 7.1 under Linux and recently we have changed it to\n> Postgresql 8.1 under Windows XP. Our application uses ODBC and when we\n> try to get some information from the server throw a TCP connection,\nit's\n> very slow. We have also tried it using psql and pgAdmin III, and we... |
[
{
"msg_contents": "> \n> That was the command used to restore a database\n> \n> pg_restore.exe -i -h localhost -p 5432 -U postgres -d temp2 -v\n> \"D:\\d\\temp.bkp\"\n> \n> The database was created before using LATIN1 charset\n> \n> With 100 rows you can´t feel the test, then I decided send the whole\n> table.\... |
[
{
"msg_contents": "> How are you dumping out your archive? I confirmed unreasonably slow\ndump\n> with pg_dump -Z temp2 > temp2.bkp on windows 2000 server. I normally\nuse\n> bzip to compress my dumps.\n> \n> Can you measure time to dump uncompressed and also with bzip and\ncompare?\n> \n> Merlin\n\noops...ca... |
[
{
"msg_contents": "I installed another drive in my linux pc in an attempt to improve\nperformance\n\non a large COPY to a table with a geometry index.\n\n \n\nBased on previous discussion, it seems there are three things competing for\nthe hard\n\ndrive:\n\n \n\n1) the input data file\n\n2) the pg t... |
[
{
"msg_contents": "Hi,\n\nthanks for your comments so far - I appreciate it. I'd like to narrow \ndown my problem a bit:\n\nAs I said in the other thread, I estimate that only 20% of the 15,000 \ntables are accessed regularly. So I don't think that vacuuming or the \nnumber of file handles is a problem. Have a ... |
[
{
"msg_contents": "I am in the process of designing a new system.\nThere will be a long list of words such as\n\n-word table\nword_id integer\nword varchar\nspecial boolean\n\nSome \"special\" words are used to determine if some work is to be done and \nwill be what we care the most for one type of operation. \... |
[
{
"msg_contents": "And how do we compose the binary data on the client? Do we trust that the client encoding conversion logic is identical to the backend's? If there is a difference, what happens if the same file loaded from different client machines has different results? Key conflicts when loading a restor... |
[
{
"msg_contents": "Imagine a table named Person with \"first_name\" and \"age\".\n\nNow let's make it fancy and put a \"mother\" and \"father\" field that is\na reference to the own table (Person). And to get even fuzzier, let's\ndrop in some siblings:\n\nCREATE TABLE person(\n id bigint PRIMARY KEY,\n firs... |
[
{
"msg_contents": "Hi!\n\n> -----Ursprüngliche Nachricht-----\n> Von: Tom Lane [mailto:tgl@sss.pgh.pa.us] \n> Gesendet: Donnerstag, 1. Dezember 2005 17:26\n> An: Markus Wollny\n> Cc: pgsql-performance@postgresql.org\n> Betreff: Re: [PERFORM] Queries taking ages in PG 8.1, have \n> been much faster in PG<=8.0 \n... |
[
{
"msg_contents": "Hi. We have a server provided for a test of a web application with the\nfollowing specifications:\n\n 1 Dual core 1.8GHz Opteron chip\n 6 GB RAM\n approx 250GB of RAID10 storage (LSI card + BBU, 4 x 15000 RPM,16MB\n Cache SCSI disks)\n\nThe database itself is very unlikely to use ... |
[
{
"msg_contents": "Hi ...\n\nI am trying to run a query that selects 26 million rows from a\ntable with 68 byte rows.\n\nWhen run on the Server via psql the following error occurs:\n\ncalloc : Cannot allocate memory\n\nWhen run via ODBC from Cognos Framework Manager only works\nif we limit the retrieval to 3 mi... |
[
{
"msg_contents": "Hi! \n\n> -----Ursprüngliche Nachricht-----\n> Von: Tom Lane [mailto:tgl@sss.pgh.pa.us] \n> Gesendet: Sonntag, 4. Dezember 2005 19:32\n> An: Markus Wollny\n> Cc: pgsql-performance@postgresql.org\n> Betreff: Re: [PERFORM] Queries taking ages in PG 8.1, have \n> been much faster in PG<=8.0 \n\n... |
[
{
"msg_contents": "src/include/pg_config_manual.h define BLCKSZ 8196 (8kb).\n\nSomewhere I readed BLCKSZ must be equal to memory page of operational \nsystem. And default BLCKSZ 8kb because first OS where postgres was build \nhas memory page size 8kb.\n\nI try to test this. Linux, memory page 4kb, disk page 4kb... |
[
{
"msg_contents": " \n\n> -----Ursprüngliche Nachricht-----\n> Von: Tom Lane [mailto:tgl@sss.pgh.pa.us] \n> Gesendet: Montag, 5. Dezember 2005 15:33\n> An: Markus Wollny\n> Cc: pgsql-performance@postgresql.org\n> Betreff: Re: AW: [PERFORM] Queries taking ages in PG 8.1, \n> have been much faster in PG<=8.0 \n \... |
[
{
"msg_contents": "> -----Ursprüngliche Nachricht-----\n> Von: Tom Lane [mailto:tgl@sss.pgh.pa.us] \n> Gesendet: Montag, 5. Dezember 2005 16:12\n> An: Markus Wollny\n> Cc: pgsql-performance@postgresql.org\n> Betreff: Re: AW: AW: [PERFORM] Queries taking ages in PG 8.1, \n> have been much faster in PG<=8.0 \n> \... |
[
{
"msg_contents": " \n> -----Ursprüngliche Nachricht-----\n> Von: pgsql-performance-owner@postgresql.org \n> [mailto:pgsql-performance-owner@postgresql.org] Im Auftrag \n> von Markus Wollny\n> Gesendet: Montag, 5. Dezember 2005 16:41\n> An: Tom Lane\n> Cc: pgsql-performance@postgresql.org\n> Betreff: Re: [PERFO... |
[
{
"msg_contents": "Hi,\n \nI'm using PostgreSQL 8.0.3 on Linux RedHat WS 3.0.\n \nMy application updates counters in DB. I left a test over the night that\nincreased counter of specific record. After night running (several\nhundreds of thousands updates), I found out that the time spent on\nUPDATE increased to ... |
[
{
"msg_contents": "\nI have a case where an outer join's taking 10X more time than\na non-outer join; and it looks to me like the outer join could\nhave taken advantage of the same indexes that the non-outer join did.\n\n\nIn both cases, the outermost thing is a nested loop. The\ntop subplan gets all \"point fe... |
[
{
"msg_contents": "I'm running PostgreSQL 8.0.3 on i686-pc-linux-gnu (Fedora Core 2). I've been\ndealing with Psql for over than 2 years now, but I've never had this case\nbefore.\n\nI have a table that has about 20 rows in it.\n\n Table \"public.s_apotik\"\n Column | Type ... |
[
{
"msg_contents": "Thanks Bruno,\n\nIssuing VACUUM FULL seems not to have influence on the time.\nI've added to my script VACUUM ANALYZE every 100 UPDATE's and run the\ntest again (on different record) and the time still increase.\n\nAny other ideas?\n\nThanks,\nAssaf. \n\n> -----Original Message-----\n> From: ... |
[
{
"msg_contents": "Hi,\n\nI setup a database server using the following configuration.\n\nRedhat 9.0\nPostgresql 8.0.3\n\nThen, I setup a client workstation to access this database server with\nthe following configuration.\n\nRedhat 9.0\nunixODBC 2.2.11\npsqlodbc-08.01.0101\n\nand write a C++ program to run dat... |
[
{
"msg_contents": "I need to slice up a web server's disk space to provide space for\npostgres and storing binaries such as images and sound files. I'm\nthinking of using logical volume management (LVM) to help manage the\namount of space I use between postgres and the data volumes.\n\nThe server has a 250GB RA... |
[
{
"msg_contents": "I run the VACUUM as you suggested, but still no response from the server. So, I\ndecided to DROP the database. I got a message that the database is being used.\nI closed every application that accessing it. But, the message remains.\n\nI checked the server processes (ps -ax). There were lots ... |
[
{
"msg_contents": "Hi,\n\nIs it possible to get this query run faster than it does now, by adding\nindexes, changing the query?\n\nSELECT customers.objectid FROM prototype.customers, prototype.addresses\nWHERE\ncustomers.contactaddress = addresses.objectid\nORDER BY zipCode asc, housenumber asc\nLIMIT 1 OFFSET ... |
[
{
"msg_contents": "Hi,\n\n> -----Ursprüngliche Nachricht-----\n> Von: pgsql-performance-owner@postgresql.org \n> [mailto:pgsql-performance-owner@postgresql.org] Im Auftrag \n> von Joost Kraaijeveld\n> Gesendet: Dienstag, 6. Dezember 2005 10:44\n> An: Pgsql-Performance\n> Betreff: [PERFORM] Can this query go fas... |
[
{
"msg_contents": "> On Tue, 2005-12-06 at 11:32 +0100, Tino Wildenhain wrote:\n> > You can have a row number in postgres easily too. For example if you\n> > just include a serial for the row number.\n> Not if the order of things is determined runtime and not at insert\ntime...\n> \n> > Cursor would work too bu... |
[
{
"msg_contents": "\n\nHello,\n\nI have a question on postgres's performance tuning, in particular, the\nvacuum and reindex commands. Currently I do a vacuum (without full) on all\nof my tables. However, its noted in the docs (e.g.\nhttp://developer.postgresql.org/docs/postgres/routine-reindex.html)\nand on th... |
[
{
"msg_contents": "\nGreetings all,\n\nI'm going to do a performance comparison with DocMgr and PG81/TSearch2 on \none end, and Apache Lucene on the other end.\n\nIn order to do this, I'm going to create a derivative of the \ndocmgr-autoimport script so that I can specify one file to import at a \ntime. I'll t... |
[
{
"msg_contents": "\n\nThis didn't get through the first time around, so resending it again.\nSorry for any duplicate entries.\n\nHello,\n\nI have a question on postgres's performance tuning, in particular, the\nvacuum and reindex commands. Currently I do a vacuum (without full) on all\nof my tables. However, ... |
[
{
"msg_contents": "I ran a bit exhaustive pgbench on 2 test machines I have (quad dual core\nIntel and Opteron). Ofcourse the Opteron was much faster, but\ninterestingly, it was experiencing 3x more context switches than the\nIntel box (upto 100k, versus ~30k avg on Dell). Both are RH4.0\n64bit/PG8.1 64bit.\n\n... |
[
{
"msg_contents": "Hi,\n\nI�m trying to optimize some selects between 2 tables and the best way I \nfound was\nalter the first table and add the fields of the 2nd table. I adjusted \nthe contents and\nnow a have only one table with all info that I need. Now resides my \nproblem, because\nof legacy queries I d... |
[
{
"msg_contents": "We're running a dual Xeon machine with hyperthreading enabled and\nPostgreSQL 8.0.3. Below is the type of CPUs:\n\n processor : 3\n vendor_id : GenuineIntel\n cpu family : 15\n model : 4\n model name : Intel(R) Xeon(TM) CPU 3.20GHz\n stepping : 1\... |
[
{
"msg_contents": "Based on a suggestion on the postgis list, I partitioned my 80 million (for\nnow) record table into\n\nsubtables of about 230k records (the amount of data collected in five\nminutes). At the moment\n\nI have 350 subtables.\n\n \n\nEverything seems to be great.COPY time is ok, building a geom... |
[
{
"msg_contents": "Hi everybody!\n\nThis is my first posting to this list and I'm quite a PostgreSQL\nnewbie. My question is:\n\nThe first time I execute a query, it is very slow, but subsequent\nqueries are as fast as expected. I would be very glad if somebody\ncould explain why the first query is so slow and ... |
[
{
"msg_contents": "Hi Jan,\n\nAs I'm novice with PostgreSQL, can you elaborate the term FSM and\nsettings recommendations?\nBTW: I'm issuing VACUUM ANALYZE every 15 minutes (using cron) and also\nchanges the setting of fsync to false in postgresql.conf but still time\nseems to be growing.\nAlso no other transac... |
[
{
"msg_contents": "Thanks for your inputs, Tom. I was going after high concurrent clients,\nbut should have read this carefully - \n\n-s scaling_factor\n this should be used with -i (initialize) option.\n number of tuples generated will be multiple of the\n scaling f... |
[
{
"msg_contents": "Hi All,\n\nI am working on an application that uses PostgreSQL. One of the \nfunctions of the application is to generate reports. In order to keep \nthe code in the application simple we create a view of the required data \nin the database and then simply execute a SELECT * FROM \nview_of_t... |
[
{
"msg_contents": "Hi,\n\nI am breaking up huge texts (between 25K and 250K words) into single words using PgPlsql.\n\nFor this I am using a temp table in the first step :\n\n\tLOOP\t\n\n\t\tvLeft\t:= vRight;\n\t\tvTmp\t:= vLeft;\n\t\t\n\t\tLOOP\n\t\t\tvChr := SUBSTRING ( pText FROM vTmp FOR 1);\n\t\t\tvTmp := ... |
[
{
"msg_contents": "I'm currently benchmarking several RDBMSs with respect to analytical query performance on medium-sized multidimensional data sets. The data set contains 30,000,000 fact rows evenly distributed in a multidimensional space of 9 hierarchical dimensions. Each dimension has 8000 members.\n\n \n\nT... |
[
{
"msg_contents": "We are testing disk I/O on our new server (referred to in my recent\nquestions about LVM and XFS on this list) and have run bonnie++ on the\nxfs partition destined for postgres; results noted below.\n\nI haven't been able to find many benchmarks showing desirable IO stats.\nAs far as I can te... |
[
{
"msg_contents": "> Hi All,\n> \n> I am working on an application that uses PostgreSQL. One of the\n> functions of the application is to generate reports. In order to keep\n> the code in the application simple we create a view of the required\ndata\n> in the database and then simply execute a SELECT * FROM\n... |
[
{
"msg_contents": "I hope that this will demonstrate the problem and will give the needed\ninformation (global_content_id=90 is the record that was all the time\nupdated):\n\nV-Mark=# UPDATE active_content_t SET ac_counter_mm4_outbound=100 WHERE\nglobal_content_id=90;\nUPDATE 1\nTime: 396.089 ms\nV-Mark=# UPD... |
[
{
"msg_contents": "I have a choice to make on a RAID enclosure:\n\n14x 36GB 15kRPM ultra 320 SCSI drives\n\nOR\n\n12x 72GB 10kRPM ultra 320 SCSI drives\n\nboth would be configured into RAID 10 over two SCSI channels using a \nmegaraid 320-2x card.\n\nMy goal is speed. Either would provide more disk space than... |
[
{
"msg_contents": "Hi all,\n\nFirst of all, please pardon if the question is dumb! Is it even feasible or\nnormal to do such a thing ! This query is needed by a webpage so needs to be\nlightning fast. Anything beyond 2-3 seconds is unacceptable performance.\n\nI have two tables\n\nCREATE TABLE runresult\n(\n i... |
[
{
"msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-performance-owner@postgresql.org \n> [mailto:pgsql-performance-owner@postgresql.org] On Behalf Of \n> Vivek Khera\n> Sent: 08 December 2005 16:52\n> To: Postgresql Performance\n> Subject: [PERFORM] opinion on disk speed\n> \n> I have a choice t... |
[
{
"msg_contents": "What's the problem? You are joining two 300 million row tables in 0.15\nof a second - seems reasonable.\n\nDmitri\n\n> -----Original Message-----\n> From: pgsql-performance-owner@postgresql.org \n> [mailto:pgsql-performance-owner@postgresql.org] On Behalf Of \n> Amit V Shah\n> Sent: Thursday... |
[
{
"msg_contents": "Hi, \n\nThe thing is, although it shows 0.15 seconds, when I run the actual query,\nit takes around 40-45 seconds (sorry I forgot to mention that). And then\nsometimes it depends on data. Some parameters have very less number of\nrecords, and others have lot more. I dont know how to read the ... |
[
{
"msg_contents": "Hi all,\n\nI have a problem with a query which doeson't want to use indexes. I \ntried to create different indexes but nothing help. Can anyone suggest \nwhat index I need.\nThis query is executed 1.5Milion times per day and I need it to be veri \nfast. I made my test on 8.0.0 beta but the pr... |
[
{
"msg_contents": "> one other note, you probably don't want to use all the disks in a raid10 \n> array, you probably want to split a pair of them off into a seperate\n> raid1 array and put your WAL on it.\n\nIs a RAID 1 array of two disks sufficient for WAL? What's a typical\nsetup for a high performance Pos... |
[
{
"msg_contents": "Hello,\n \n I would like to know which is the best configuration to use 4 scsi drives with a pg 8.1 server.\n \n Configuring them as a RAID10 set seems a good choice but now I�m figuring another configuration:\nSCSI drive 1: operational system\nSCSI drive 2: pg_xlog\nSCSI drive 3: dat... |
[
{
"msg_contents": "Hi,\n \n Sometime ago I worked in an implantation project that uses postgresql and I remember than the software house recommended us to use seqscan off...\nI was not very sure, but I thought the best way should be set seqscan on and let postgresql choose the best access plan (index or seqs... |
[
{
"msg_contents": "Hi,\n\nIs it possible to run a shell script, passing values of fields to it, in \na Postgres function ?\n\nYves Vindevogel",
"msg_date": "Sat, 10 Dec 2005 16:55:56 +0100",
"msg_from": "Yves Vindevogel <yves.vindevogel@implements.be>",
"msg_from_op": true,
"msg_subject": "Execu... |
[
{
"msg_contents": "Can indexes be used for bit-filtering queries? For example:\n\ncreate table tt (\n flags integer not null default 0,\n str varchar\n);\n\nselect * from tt where (flags & 16) != 0;\n\nI suspected radix trees could be used for this but it seems it doesn't \nwork that way.\n\nIf not, is th... |
[
{
"msg_contents": "Hi,\n \n I would like to use autovacuum but is not too much expensive collecting row level statistics?\n \n Are there some numbers that I could use?\n \n Thanks in advance!\n \n Benkendorf\n\n\t\t\n---------------------------------\n Yahoo! doce lar. Fa�a do Yahoo! sua homepage.... |
[
{
"msg_contents": "Paal, \n\n> I'm currently benchmarking several RDBMSs with respect to \n> analytical query performance on medium-sized multidimensional \n> data sets. The data set contains 30,000,000 fact rows evenly \n> distributed in a multidimensional space of 9 hierarchical \n> dimensions. Each dimension... |
[
{
"msg_contents": "Hello,\n\nI've got a table with ~60 Million rows and am having performance problems\nquerying it. Disks are setup as 4x10K SCSI 76GB, RAID 1+0. The table is\nbeing inserted into multiple times every second of the day, with no updates\nand every 2nd day we delete 1/60th of the data (as it beco... |
[
{
"msg_contents": "Hi,\n\nI am ready to install ver. 8.1 to our db server, but I have some \nquestions about it.\n When I use autovacuum (8.1) is it required to use \"vacuum analyze\" for \nmaintenance or autovacuum is enough?\n We have 2 processors (hyperthread) and is it needed to configure the \npsql to use ... |
[
{
"msg_contents": "Hello,\n\nClearly, I shouldn't actually use these transactions unless I have to, and\nin cases where I do use it, I'd expect the completion of the transaction to\ndepend on the speed of all participating databases in the transaction, but\nare there any additional overheads which might come wi... |
[
{
"msg_contents": "Paal,\n\n\nOn 12/12/05 2:10 AM, \"Pål Stenslet\" <paal.stenslet@exie.com> wrote:\n\n> Here are the schema details, but first a little introduction:\n\nTerrific, very helpful and thanks for both.\n\nI wonder why the bitmap scan isn't selected in this query, Tom might have\nsome opinion and sug... |
[
{
"msg_contents": "> \n> On Sun, Dec 11, 2005 at 11:53:36AM +0000, Carlos Benkendorf wrote:\n> > I would like to use autovacuum but is not too much expensive\n> > collecting row level statistics?\n> \n> The cost depends on your usage patterns. I did tests with one of\n> my applications and saw no significant p... |
[
{
"msg_contents": "Hi,\n\nI've been working on trying to partition a big table (I've never partitioned a \ntable in any other database till now).\nEverything went ok, except one query that didn't work afterwards.\n\nI've put the partition description, indexes, etc ..., and the explain plan \nattached.\n\nThe qu... |
[
{
"msg_contents": "Hi.\n\ncreate table device(id int);\n\ninsert into device values(1);\ninsert into device values(2);\n.....\ninsert into device values(250);\n\ncreate table base (\n\t\t\t\t\tid int,\n\t\t\t\t\tdata float,\n\t\t\t\t\tdatatime timestamp,\n\t\t\t\t\tmode int,\n\t\t\t\t\tstatus int);\n\ncreate ta... |
[
{
"msg_contents": "\n\nResending it here as it may be more relevant here...\nAmeet\n\n---------- Forwarded message ----------\nDate: Tue, 13 Dec 2005 11:24:26 -0600 (CST)\nFrom: Ameet Kini <akini@cs.wisc.edu>\nTo: pgsql-admin@postgresql.org\nSubject: Lots of postmaster processes\n\n\n\nIn our installation of th... |
[
{
"msg_contents": " \nPostgres 8.1 performance rocks (compared with 8.0) specially with the use in-memory index bitmaps. Complex queries that used to take 30+ minutes, it takes now a few minutes to complete in 8.1. Many thanks to the all wonderful developers for the huge 8.1 performance boost.\n\n---\n \n Hus... |
[
{
"msg_contents": "Simon, \n\n> Yes, I'd expect something like this right now in 8.1; the \n> numbers stack up to PostgreSQL doing equivalent join speeds, \n> but w/o star join.\n\nI do expect a significant improvement from 8.1 using the new bitmap index because there is no need to scan the full Btree indexes. ... |
[
{
"msg_contents": "Hello all,\n\nIt seems that I'm starting to outgrow our current Postgres setup. We've \nbeen running a handful of machines as standalone db servers. This is all \nin a colocation environment, so everything is stuffed into 1U Supermicro \nboxes. Our standard build looks like this:\n\nSuperm... |
[
{
"msg_contents": "Hello all,\n\nIt seems that I'm starting to outgrow our current Postgres setup. We've been \nrunning a handful of machines as standalone db servers. This is all in a \ncolocation environment, so everything is stuffed into 1U Supermicro boxes. Our \nstandard build looks like this:\n\nSuperm... |
[
{
"msg_contents": "Charles,\n\n> Lastly, one thing that I'm not yet finding in trying to \n> educate myself on SANs is a good overview of what's come out \n> in the past few years that's more affordable than the old \n> big-iron stuff. For example I saw some brief info on this \n> list's archives about the Del... |
[
{
"msg_contents": "Dear Sir or Madam:\n\nThe function \"convert_IN_to_join(Query *parse, SubLink *sublink)\", from\nfile: <postgres-8.0.4 root>/src/backend/optimizer/plan/subselect.c, is\nresponsible for converting IN type sublinks to joins, whenever appropriate.\n\nThe following lines of code, extracted from c... |
[
{
"msg_contents": "Hi,\nI have a java.util.List of values (10000) which i wanted to use for a query in the where clause of an simple select statement. iterating over the list and and use an prepared Statement is quite slow. Is there a more efficient way to execute such a query.\nThanks for any help.\n \nJohanne... |
[
{
"msg_contents": "Hi,\n\nwe have a VIEW that is an UNION of 12 SELECTs, and every\nmember of the UNION have a constant field to be able to distinguish\nbetween them.\n\nAn often performed operation on this VIEW is to search for only one record\nthat can be found by the value of the constant field and the seria... |
[
{
"msg_contents": "I'll just start by warning that I'm new-ish to postgresql.\n\nI'm running 8.1 installed from source on a Debian Sarge server. I have a \nsimple query that I believe I've placed the indexes correctly for, and I \nstill end up with a seq scan. It makes sense, kinda, but it should be able \nto... |
[
{
"msg_contents": "\nForgive the cross-posting, but I found myself wondering if might not be some way future way of telling the planner that a given table (column ?) has a high likelyhood of being TOASTed. Similar to the random_page_cost in spirit. We've got a lot of indexed data that is spatial and have some t... |
[
{
"msg_contents": "Hi all,\n\nI have been using PostgreSQL (currently 7.4.7) for several years now and am\nvery happy with it but I currently run a website that has had a little bit\nof a boost and I am starting to see some performance problems (Not\nnecessarily PostgreSQL).\n\nThe original website server ran o... |
[
{
"msg_contents": "Hi, \nI have a java.util.List of values (10000) which i wanted to use for a query in the where clause of an simple select statement. iterating over the list and and use an prepared Statement is quite slow. Is there a more efficient way to execute such a query. \nThanks for any help. \nJohanne... |
[
{
"msg_contents": " Hi, \n I have a java.util.List of values (10000) which i wanted to use for a\n query in the where clause of an simple select statement. iterating\n over the list and and use an prepared Statement is quite slow. Is\n there a more efficient way to execute such a query. Thanks for any\n help. ... |
[
{
"msg_contents": "Well, what does the random_page_cost do internally ?\n\nI don't think I'd expect postgres to be able to *do* anything in particular, any more than I would expect it to \"do\" something about slow disk I/O or having limited cache. But it might be useful to the EXPLAIN ANALYZE in estimating cos... |
[
{
"msg_contents": "Hi, \nI have a java.util.List of values (10000) which i wanted to use for a query in the where clause of an simple select statement. iterating over the list and and use an prepared Statement is quite slow. Is there a more efficient way to execute such a query. \n\nThanks for any help. \nJohan... |
[
{
"msg_contents": "Luke,\n\nHow did you measure 800MB/sec, is it cached, or physical I/O?\n\n-anjan\n\n-----Original Message-----\nFrom: Luke Lonergan [mailto:LLonergan@greenplum.com] \nSent: Wednesday, December 14, 2005 2:10 AM\nTo: Charles Sprickman; pgsql-performance@postgresql.org\nSubject: Re: [PERFORM] SA... |
[
{
"msg_contents": "Physical using xfs on Linux.\r\n- Luke\r\n--------------------------\r\nSent from my BlackBerry Wireless Device\r\n\r\n\r\n-----Original Message-----\r\nFrom: Anjan Dave <adave@vantage.com>\r\nTo: Luke Lonergan <LLonergan@greenplum.com>; Charles Sprickman <spork@bway.net>; pgsql-performance@p... |
[
{
"msg_contents": "Hello group,\n\nI've got a really bad problem with my postgres DB and server.\nIt is a linux machine with 1GB of RAM and 2 CPUs.\nThe postgres Version is 7.4.\n\nThe problem is, that once the postmaster has started, the System is just\nabout useless. At least querys to the db are so slow, tha... |
[
{
"msg_contents": "We're storing tif images in a table as bytea. We were running low on our \nprimary space and moved several tables, including the one with the images, \nto a second tablespace using ALTER TABLE SET TABLESPACE.\nThis moved quite cleaned out quite a bit of space on the original \ntablespace, bu... |
[
{
"msg_contents": "> Now there goes Tom with his skeptical eye again, and here comes me\n> saying \"oops\" again. Further tests show that for this application\n\nI made the same mistake, fwiw. The big hit comes with command_string.\nHowever, row level stats bring a big enough penalty (~10% on my usage)\nthat ... |
[
{
"msg_contents": "In PostgreSQL 8.1, is the pg_autovacuum daemon affected by the\nvacuum_cost_* variables? I need to make sure that if we turn\nautovacuuming on when we upgrade to 8.1, we don't cause any i/o\nissues.\n\nThanks,\n\nChris\n",
"msg_date": "Fri, 16 Dec 2005 14:40:22 -0500",
"msg_from": "C... |
[
{
"msg_contents": "I have a few small functions which I need to write. They will be hopefully \nquick running but will happen on almost every delete, insert and update on \nmy database (for audit purposes).\n\nI know I should be writing these in C but that's a bit beyond me. I was \ngoing to try PL/Python or ... |
[
{
"msg_contents": "I have the following table:\n\nCREATE TABLE timeblock\n(\n timeblockid int8 NOT NULL,\n starttime timestamp,\n endtime timestamp,\n duration int4,\n blocktypeid int8,\n domain_id int8,\n create_date timestamp,\n revision_date timestamp,\n scheduleid int8,\n CONSTRAINT timeblock_pkey... |
[
{
"msg_contents": "Hi -\n\n\nCan anyone tell me how well PostgreSQL 8.x performs on the new Sun Ultrasparc\nT1 processor and architecture on Solaris 10? I have a custom built retail\nsales reporting that I developed using PostgreSQL 7.48 and PHP on a Fedora\nCore 3 intel box. I want to scale this application... |
[
{
"msg_contents": "From: pgsql-performance-owner@postgresql.org on behalf of Juan Casero\n\nQUOTE:\n\nHi -\n\n\nCan anyone tell me how well PostgreSQL 8.x performs on the new Sun Ultrasparc\nT1 processor and architecture on Solaris 10? I have a custom built retail\nsales reporting that I developed using Postg... |
[
{
"msg_contents": "8 HBAs at 200MB/sec would require a pretty significant Storage Processor\nbackend unless cost is not a factor. Once you achieve that, there's a\nquestion of sharing/balancing I/O requirements of various other\napplications/databases on that same shared backend storage...\n\nAnjan\n\n\n-----Or... |
[
{
"msg_contents": "I have the following table:\n\n \n\nCREATE TABLE mytmp (\n\n Adv integer,\n\n Pub integer,\n\n Web integer,\n\n Tiempo timestamp,\n\n Num integer,\n\n Country varchar(2)\n\n);\n\n \n\nCREATE INDEX idx_mytmp ON mytmp(adv, pub, w... |
[
{
"msg_contents": "Hi,\n\n \n\nI am not sure if there's an obvious answer to this...If there's a choice\nof an external RAID10 (Fiber Channel 6 or 8 15Krpm drives) enabled\ndrives, what is more beneficial to store on it, the WAL, or the Database\nfiles? One of the other would go on the local RAID10 (4 drives, 1... |
[
{
"msg_contents": "Hi,\n \n We�re running 8.03 and I�m trying to understand why the following SELECT doesn�t use iarchave05 index.\n \n If you disable seqscan then iarchave05 index is used and the total runtime is about 50% less than when iarchave05 index is not used.\n \n Why is the optimizer no... |
[
{
"msg_contents": "Usually manufacturer's claims are tested in 'ideal' conditions, it may not translate well on bandwidth seen on the host side. A 2Gbps Fiber Channel connection would (ideally) give you about 250MB/sec per HBA. Not sure how it translates for GigE considering scsi protocol overheads, but you may... |
[
{
"msg_contents": "Re-ran it 3 times on each host - \r\n \r\nSun:\r\n-bash-3.00$ time pgbench -s 10 -c 10 -t 3000 pgbench\r\nstarting vacuum...end.\r\ntransaction type: TPC-B (sort of)\r\nscaling factor: 1\r\nnumber of clients: 10\r\nnumber of transactions per client: 3000\r\nnumber of transactions actually pro... |
[
{
"msg_contents": "Hello,\n\nWe have a database containing PostGIS MAP data, it is accessed mainly\nvia JDBC. There are multiple simultaneous read-only connections taken\nfrom the JBoss connection pooling, and there usually are no active\nwriters. We use connection.setReadOnly(true).\n\nNow my question is what ... |
[
{
"msg_contents": "afaik, this should be completely neglectable.\n\nstarting a transaction implies write access. if there is none, You do not need to think about transactions, because there are none.\n\npostgres needs to schedule the writing transactions with the reading ones, anyway.\n\nBut I am not that perfo... |
[
{
"msg_contents": "Mmmm, good question.\n\nMVCC blocks reading processes when data is modified. using autocommit implies that each modification statement is an atomic operation.\n\non a massive readonly table, where no data is altered, MVCC shouldn't have any effect (but this is only an assumption) basing on\n\... |
[
{
"msg_contents": "Hi!\n\nWhat do you suggest for the next problem?\nWe have complex databases with some 100million rows (2-3million new \nrecords per month). Our current servers are working on low resposibility \nin these days, so we have to buy new hardver for database server. Some \nweeks ago we started to w... |
[
{
"msg_contents": "Sun hardware is a 4 CPU (8 cores) v40z, Dell is 6850 Quad XEON (8\ncores), both have 16GB RAM, and 2 internal drives, one drive has OS +\ndata and second drive has pg_xlog.\n\nRedHat AS4.0 U2 64-bit on both servers, PG8.1, 64bit RPMs.\n\nThanks,\nAnjan\n\n\n\n-----Original Message-----\nFrom:... |
[
{
"msg_contents": "Hello,\n\nWe have the next scenario:\n\nLinux box with postgresql 7.2.1-1 (client)\nWindows XP with postgresql 8.1.1 (server)\nWindows XP with postgresql 8.1.1 (client)\n\nAll connected in 10Mb LAN\n\nIn server box, we have a table with 65000 rows and usign \"psql\" we have \nthese results:\n... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.