Re: [PERFORM] help on explain analyse in psql 7.1.3 (linux)

2005-04-07 Thread Greg Sabino Mullane
y, really needs to upgrade... :) - -- Greg Sabino Mullane [EMAIL PROTECTED] PGP Key: 0x14964AC8 200504072129 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 -BEGIN PGP SIGNATURE- iD8DBQFCVd69vJuQZxSWSsgRAvRHAJ9T1uxfWEnHSNI/+iiiHiJ2I1IGUgCggMYb tjDwzfseK3aDAKHI5Ko1S

Re: COPY Hacks (WAS: RE: [PERFORM] Postgresql vs SQLserver for this application ?)

2005-04-07 Thread Greg Sabino Mullane
ur particular system and see if it makes a real difference: it certainly does no harm as long as you make sure the string you send always *end* in a newline. - -- Greg Sabino Mullane [EMAIL PROTECTED] PGP Key: 0x14964AC8 200504072201 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94

Re: [PERFORM] Configurator project launched

2005-06-21 Thread Greg Sabino Mullane
fferences between two databases, or even show what has changed in the default conf file from 7.4.7 and 8.0.1. It will also allow you to rewrite the conf files in a standard way. I'm hoping to roll this into 1.44 or 1.45 or DBD::Pg. - -- Greg Sabino Mullane [EMAIL PROTECTED] PGP Key: 0x1

Re: [PERFORM] Configurator project launched

2005-06-24 Thread Greg Sabino Mullane
. Can someone shoot me a URL to the files in question? (assuming a web cvs interface). - -- Greg Sabino Mullane [EMAIL PROTECTED] PGP Key: 0x14964AC8 200506242107 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 -BEGIN PGP SIGNATURE- iD8DBQFCvK6AvJuQZxSWSsgRApFcAKDVQ5OdVgVc2P

Re: [PERFORM] Prepared statement not using index

2005-09-12 Thread Greg Sabino Mullane
would be willing to add it in? - -- Greg Sabino Mullane [EMAIL PROTECTED] PGP Key: 0x14964AC8 200509120925 https://www.biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 -BEGIN PGP SIGNATURE- iEYEARECAAYFAkMlgdAACgkQvJuQZxSWSsjMlQCePc4dpE0BCT3W//y/N9uolkmK ViIAnjR1fF14KbP

Re: [PERFORM] Perl DBD and an alarming problem

2005-11-16 Thread Greg Sabino Mullane
://rt.cpan.org/NoAuth/Bugs.html?Dist=DBD-Pg There may be another way around it, if you can tell us some more about what exactly it is you are trying to do. - -- Greg Sabino Mullane [EMAIL PROTE

Re: [PERFORM] How to avoid vacuuming a huge logging table

2007-02-21 Thread Greg Sabino Mullane
ND nspname = 'novac' ORDER BY 1; ... Just flip the equality operator, and you've got a way to vacuum just those excluded tables, for example once a week during a slow time. - -- Greg Sabino Mullane [EMAIL PROTECTED] End Point Corporation PGP Key: 0x14964AC8 200702211402 http://

Re: [PERFORM] How to avoid vacuuming a huge logging table

2007-02-21 Thread Greg Sabino Mullane
#x27;;' FROM pg_class c, pg_namespace n WHERE relkind = 'r' AND relnamespace = n.oid AND nspname = 'novac' ORDER BY 1; \o \i pop - -- Greg Sabino Mullane [EMAIL PROTECTED] End Point Corporation PGP Key: 0x14964AC8 200702211652 http://biglumber.com/x/web?pk=2529DF

Re: [PERFORM] Deleting certain duplicates

2004-04-20 Thread Greg Sabino Mullane
and skipping the CREATE INDEX steps. On the other hand, your original deletion query may work as is, with the addition of an oid index. Perhaps try an EXPLAIN on it. - -- Greg Sabino Mullane [EMAIL PROTECTED] PGP Key: 0x14964AC8 200404200706 -BEGIN PGP SIGNATURE- iD8DBQ

Re: [PERFORM] Does PostgreSQL run with Oracle?

2004-10-19 Thread Greg Sabino Mullane
ed shops that run both products, or > have had experience with both. My gut feeling is not just "as fast", but "often times faster." I've found very few cases in which Oracle was faster, and that was usually due to some easily spotted difference such as tablespac

Re: [PERFORM] PostgreSQL vs. Oracle vs. Microsoft

2005-01-12 Thread Greg Sabino Mullane
f your servers: development, testing, QA, etc. Is it really as "cheap" as 5K? I've heard that for any fairly modern system, it's much more, but that may be wrong. - -- Greg Sabino Mullane [EMAIL PROTECTED] PGP Key: 0x14964AC8 200501122029 http://biglumber.com/x/web?pk=2529DF

Re: [PERFORM] cpu_tuple_cost

2005-03-14 Thread Greg Sabino Mullane
n this day and age. Certainly the person who will be negatively impacted by a default drop of 4 to 3 will be the exception and not the rule. - -- Greg Sabino Mullane [EMAIL PROTECTED] PGP Key: 0x14964AC8 200503140702 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 -BEG

Re: [PERFORM] Changing the random_page_cost default (was: cpu_tuple_cost)

2005-03-15 Thread Greg Sabino Mullane
, but I thought 3 was a nice middle ground more likely to reach consensus here. :) - -- Greg Sabino Mullane [EMAIL PROTECTED] PGP Key: 0x14964AC8 200503141727 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 -BEGIN PGP SIGNATURE- iD8DBQFCNhFAvJuQZxSWSsgRAgZiAJ9947

Re: [PERFORM] Changing the random_page_cost default (was: cpu_tuple_cost)

2005-03-15 Thread Greg Sabino Mullane
_page_cost? How can I use my particular situation to help develop a better model and perhaps make the defaults work better for my queries and other people with databaes like mine. (fairly simple schema, not too large (~2 Gig total), SCSI, medium to high complexity queries, good amount of RA

Re: [PERFORM] Perl/DBI vs Native

2008-07-21 Thread Greg Sabino Mullane
ECT 4567 FROM pg_class WHERE relname = 'eve1'; EXECUTE dbdpg_p22988_1 ( $1: eve2 ); commit; DEALLOCATE dbdpg_p22988_1; === You can even view exactly which libpq calls are being used at each point with: $dbh->trace('SQL,libpq'); To get back to the original poster'

Re: [PERFORM] Perl/DBI vs Native

2008-07-22 Thread Greg Sabino Mullane
ses in which the socket is not where you expect it to be: $dbh = DBI->connect('dbi:Pg:dbname=test;host=/var/local/sockets', $user, $pass, {AutoCommit=>0, RaiseError=>1}); - -- Greg Sabino Mullane [EMAIL PROTECTED] End Point Corporation PGP Key: 0x14964AC8 200807221248 http

Re: [PERFORM] Best replication solution?

2009-04-05 Thread Greg Sabino Mullane
nsider (e.g. external search such as Sphinx or SOLR, caching solutions such as Squid or Varnish, moving the slaves to the cloud, etc.) - -- Greg Sabino Mullane g...@turnstep.com End Point Corporation PGP Key: 0x14964AC8 200904052158 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B9

Re: [PERFORM] Postgres replication: dump/restore, PITR, Slony,...?

2009-06-11 Thread Greg Sabino Mullane
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 >> Then there are Slony-I, Buchardo, Mamoth Replicator from CMO, simple >> replication in Postgres 8.4 and other projects... > CMO? :) Buchardo? :) - -- Greg Sabino Mullane g...@turnstep.com End Point Corporation PGP

Re: [PERFORM] Postgres replication: dump/restore, PITR, Slony,...?

2009-06-12 Thread Greg Sabino Mullane
a. You can also configure how many of the web servers get pushed to at one time, from 1 up to all of them. - -- Greg Sabino Mullane g...@turnstep.com End Point Corporation PGP Key: 0x14964AC8 200906121509 http://biglumber.com/x/web?pk=2529DF6AB8F79407E944

Re: [PERFORM] Master/Slave, DB separation or just spend $$$?

2009-07-22 Thread Greg Sabino Mullane
or Slony will simply COPY over the rows as needed. Keep in mind that both are asynchronous, so changes won't appear on the slaves at the same time as the master, but the delay is typically measured in seconds. - -- Greg Sabino Mullane g...@turnstep.com End Point Corporation PGP Key: 0x14964A

Re: [PERFORM] Massive table (500M rows) update nightmare

2010-01-07 Thread Greg Sabino Mullane
3. Create all indexes on the new table 4. Stop your app from writing to the old table 5. COPY over the rows that have changed 6. Rename the old table to something else (for safety) 7. Rename the new table to the real name 8. Drop the old table when all is good - -- Greg Sabino Mullan

Re: [PERFORM] random_page_cost = 2.0 on Heroku Postgres

2012-02-08 Thread Greg Sabino Mullane
changed. One could even decrement rpc slowly and find out at one points it changes, which would be more interesting than testing arbitrary numbers. Would lead to some really sweet graphs as well. :) - -- Greg Sabino Mullane g...@turnstep.com End Point Corporation http://www.endpoint.

Re: [PERFORM] Configuration Recommendations

2012-04-25 Thread Greg Sabino Mullane
ctly, allocating shared_buffers sanely, separating pg_xlog, etc. - -- Greg Sabino Mullane g...@turnstep.com End Point Corporation http://www.endpoint.com/ PGP Key: 0x14964AC8 201204251304 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 -B

Re: [PERFORM] Configuration Recommendations

2012-05-15 Thread Greg Sabino Mullane
he > first thing I'd do especially since the IO pattern is so dramatically > different from tablespace IO access patterns. Yep - moving pg_xlog to something optimized for small, constantly written files is one of the biggest and easiest wins. Other than fsync = off ;) -

Re: [PERFORM] pgbouncer issue

2015-07-05 Thread Greg Sabino Mullane
7;s undocumented and nobody else has complained, it's probably not too important as far as day to day pgbouncer use. :) - -- Greg Sabino Mullane g...@turnstep.com End Point Corporation http://www.endpoint.com/ PGP Key: 0x14964AC8 201507051040 http://biglumber.com/x/web?pk=2529DF6AB8F7940