Re: [GENERAL] pitr errors

2009-09-29 Thread Greg Smith
restore_command example from the manual there, which is really not a production quality solution there. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http

Re: [GENERAL] pg_buffercache - A lot of unnamed relfilenodes?

2009-09-26 Thread Greg Smith
a simple schema that follows the structure of the fields in pg_class and pg_database needed and you're off. You may still get unnamed stuff that's just not visible yet, the cross-database stuff was the source for most of the missing bits I ran into. -- * Greg Smith gsm...@gregsmith.com http

Re: [GENERAL] How to get variable out to shell script

2009-09-23 Thread Greg Smith
you're talking an extra bit of coding; pgpass support you basically get for free in your app if it's talking to the database with psql. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make

Re: [GENERAL] VMWare file system / database corruption

2009-09-22 Thread Greg Smith
involved has turned off fsync support as a performance optimization. There's a bunch of additional trivia in this area at http://www.postgresql.org/docs/current/static/wal-reliability.html and my article at http://www.westnet.com/~gsmith/content/postgresql/TuningPGWAL.htm -- * Greg Smith

Re: [GENERAL] NAS

2009-09-18 Thread Greg Smith
complicated and way to easy to screw it up in a way you won't notice until your data has already been eaten. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription

Re: [GENERAL] haversine formula with postgreSQL

2009-09-18 Thread Greg Smith
to the outside world. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Postgresql Hardware

2009-09-14 Thread Greg Smith
can't really get just from the slides. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] question about /etc/init.d/postgresql in PGDG

2009-08-19 Thread Greg Smith
$PGLOG pg_ctl stop For my login, I add these two bits as well to make that easier, since I never use the real start/stop commands anyway: alias start=pg_ctl -D $PGDATA -l $PGLOG -w start tail $PGLOG alias stop=pg_ctl -D $PGDATA stop -m fast -- * Greg Smith gsm...@gregsmith.com http

Re: [GENERAL] Stock Market Price Data postgreSQL? HELLPPP Please

2009-08-19 Thread Greg Smith
sorting out the bits you're going to need but don't have yet. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Stock Market Price Data postgreSQL? HELLPPP Please

2009-08-19 Thread Greg Smith
, but there's still plenty of rough spots to get nailed by. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Stock Market Price Data postgreSQL? HELLPPP Please

2009-08-19 Thread Greg Smith
scanning and execution platform keeps volume moving upward in lock step with what hardware is capable of. The last mainstream news article on this topic was http://www.nytimes.com/2009/07/24/business/24trading.html -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent

Re: [GENERAL] Help interpreting pg_stat_bgwriter output

2009-08-13 Thread Greg Smith
happening too. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] PostgreSQL for Firefox Bookmarks?

2009-08-13 Thread Greg Smith
a database server on the same system as the browser) is tiny. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] max_allowed_packet equivalent in Postgres?

2009-08-13 Thread Greg Smith
to the size limits documented at http://www.postgresql.org/about/ , so you probably having nothing to worry about here. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your

Re: [GENERAL] Can I have a look at your TuningWizard generated config file?

2009-07-31 Thread Greg Smith
at least I stay clean. The TuningWizard software redirects you over to http://forums.enterprisedb.com for support with it and that's really the right place to ask questions about that specific program. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql

Re: [GENERAL] Can I have a look at your TuningWizard generated config file?

2009-07-31 Thread Greg Smith
whether they were intending to release the DynaTune program and didn't get the impression that was forthcoming, and it's unreasonable to ask them to, so I don't know what further questions you might ask them. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via

Re: [GENERAL] SVN and Postgres 8.3

2009-07-30 Thread Greg Smith
of 8.3 from in order to put back libpq.so.4. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Monitoring tools for Postgresql

2009-07-29 Thread Greg Smith
On Tue, 28 Jul 2009, mukeshp wrote: Can anyone suggest me tools for monitoring postgresql server. ? An idea what operating system you're running the server on would help here. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing

Re: [GENERAL] synchronous_commit=off doesn't always return immediately

2009-07-23 Thread Greg Smith
. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] ERROR: could not access status of transaction 2495690984

2009-07-23 Thread Greg Smith
/0646 -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] commercial adaptation of postgres

2009-07-23 Thread Greg Smith
database at Yahoo: http://it.toolbox.com/blogs/database-soup/2-petabyte-postgresql-24848 -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org

Re: [GENERAL] Concurrency issue under very heay loads

2009-07-16 Thread Greg Smith
an issue in your app rather than on the server side of things. P.S. Posting the same question to two lists here is frowned upon; pgsql-general is the right one for a question like this. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing

Re: [GENERAL] Areca 1680 and RHEL/Centos 5.3 issue

2009-07-16 Thread Greg Smith
. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Checkpoint Tuning Question

2009-07-08 Thread Greg Smith
ever wanted to know at http://www.westnet.com/~gsmith/content/postgresql/chkp-bgw-83.htm if you haven't seen that already. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your

Re: [GENERAL] Checkpoint Tuning Question

2009-07-08 Thread Greg Smith
eventually you'll reach a point where there are none of them happening during some test runs. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http

Re: [GENERAL] PostgreSQL and Poker

2009-07-08 Thread Greg Smith
. All this poker talk is bad, I've been staying away from the tables for a while now but fear this topic is going to pull me back again--just to see how the database apps have matured, of course. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general

Re: [GENERAL] Checkpoint Tuning Question

2009-07-08 Thread Greg Smith
. Agreed, it doesn't seem like a likely cause. If the problem reduces in magnitude in proportion with the size of the buffer cache, we might have to accept that's it's true regardless; that's why I was curious to see what impact that had on the test results. -- * Greg Smith gsm...@gregsmith.com

Re: [GENERAL] PostgreSQL and Poker

2009-07-08 Thread Greg Smith
of software are pretty tightly constrained: http://www.mysql.com/about/legal/licensing/foss-exception/ -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http

Re: [GENERAL] ZFS prefetch considered evil?

2009-07-08 Thread Greg Smith
the older, known bad logic here. See http://www.solarisinternals.com/wiki/index.php/ZFS_Evil_Tuning_Guide#Device-Level_Prefetching and http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6437054 for details. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD

Re: [GENERAL] horizontal sharding

2009-06-28 Thread Greg Smith
you'll need to edit in order to change this situation. If you still can't resolve your problem, you should ask about it on the pgpool-general mailing list rather than this one: http://lists.pgfoundry.org/pipermail/pgpool-general/ -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com

Re: [GENERAL] Explaining functions.

2009-06-26 Thread Greg Smith
at http://www.justatheory.com/computers/databases/postgresql/benchmarking_functions.html which can help you run stuff multiple times even. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes

Re: [GENERAL] Replication

2009-06-24 Thread Greg Smith
On Tue, 23 Jun 2009, Ray Stell wrote: What is the entry point for source and config documentation of the standby patch? http://wiki.postgresql.org/wiki/Hot_Standby -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql

Re: [GENERAL] Replication

2009-06-22 Thread Greg Smith
time in this thread... -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] 10 TB database

2009-06-16 Thread Greg Smith
that early enough in the design process to properly plan for it. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql

Re: [GENERAL] 10 TB database

2009-06-16 Thread Greg Smith
-partitioning-database-tables-explain-your-queries/ In that order really; those go from general commentary down to focusing on specific issues people tend to run into. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general

Re: [GENERAL] 10 TB database

2009-06-16 Thread Greg Smith
in the first place. The usual way tables get unclustered involves random insertion and deletion, and that just doesn't happen for data that's being imported daily and never deleted afterwards; it's naturally clustered quite well. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD

Re: [GENERAL] Amazon EC2 | Any recent developments

2009-06-16 Thread Greg Smith
system design for some goals. You just have to recognize that the volumes are statistically pretty fragile compared to a traditional RAID configuration on dedicated hardware and plan accordingly. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql

Re: [GENERAL] 10 TB database

2009-06-16 Thread Greg Smith
On Tue, 16 Jun 2009, Michelle Konzack wrote: Am 2009-06-16 12:13:20, schrieb Greg Smith: you'll be hard pressed to keep up with 250GB/day unless you write a custom data loader that keeps multiple cores AFAIK he was talking about 250 GByte/month which are around 8 GByte a day or 300 MByte

Re: [GENERAL] Postgres auditing features

2009-06-11 Thread Greg Smith
-- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] listing relations

2009-06-11 Thread Greg Smith
://www.postgresql.org/docs/8.3/static/functions-info.html as well. (The pg_toast filter is probably redundant here, I try to keep that in all these pg_class/pg_namespace join examples because it's handy for more normal queries) -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent

Re: [GENERAL] warm standby with WAL shipping

2009-06-04 Thread Greg Smith
is a subtle problem that doesn't sneak up on you until you've been in production a while. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org

Re: [GENERAL] is it safe to clear oroginal xlog after archiving it?

2009-06-04 Thread Greg Smith
point where a checkpoint will note the files aren't needed anymore, and at that point they'll be recycled (renamed with a new id and used again) or deleted. You can't change the files until then though, and that time can be several minutes after archive_command is called. -- * Greg Smith gsm

Re: [GENERAL] warm standby with WAL shipping

2009-06-03 Thread Greg Smith
periodically for sites that can't or won't install rsync for the job instead (always some variant on for security reasons). Unfortunately those sites also don't like releasing the resulting code to the world at large, so I don't have a full sample to show you. -- * Greg Smith gsm...@gregsmith.com

Re: [GENERAL] warm standby with WAL shipping

2009-06-03 Thread Greg Smith
decoupled from what choices you make for that layer. Focus on writing scripts to atomically copy the files into the right destination on the standbys, and pg_standby will take care of applying the shipped log files to the database. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com

Re: [GENERAL] ZFS disk cache

2009-06-01 Thread Greg Smith
. See page 13 of the presentation for http://blogs.sun.com/jkshah/entry/effects_of_flash_ssd_on for his quick note on that topic. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes

Re: [GENERAL] Postgres Clustering

2009-05-27 Thread Greg Smith
it to -general rather than cc'ing multiple ones. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Favorite/Recommended ERD tools

2009-05-27 Thread Greg Smith
On Wed, 27 May 2009, Kevin Kempter wrote: I'm looking for suggestions per good ERD tools (Linux based preferred). There's a giant list that includes lots of ERD tools at http://wiki.postgresql.org/wiki/Community_Guide_to_PostgreSQL_GUI_Tools -- * Greg Smith gsm...@gregsmith.com http

Re: [GENERAL] Bloated Table

2009-05-27 Thread Greg Smith
maintenance use when I did a quick check of its results before, but those were tables without variable widths, TOAST, etc. This is one of those boring tasks that DBAs really want more monitoring-friendly visibility into. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore

Re: [GENERAL] How to speed up the first-time-searching in pgsql?

2009-05-26 Thread Greg Smith
needed. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] [Windows] Feedback on PG?

2009-05-20 Thread Greg Smith
on AV in the FAQ: http://wiki.postgresql.org/wiki/Running_%26_Installing_PostgreSQL_On_Native_Windows#What_Anti-Virus_software_is_compatible.3F with a note referring to that in the install section above it where this info used to live. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com

Re: [GENERAL] Direct I/O and postgresql version

2009-05-19 Thread Greg Smith
certainly find situations where sync writes end up working out better, but they're not common. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http

Re: [GENERAL] Space for pg_dump

2009-05-14 Thread Greg Smith
, as a different type of report. Accordingly, I just updated with examples of both types, as well as something to work against pre-8.1 databases. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org

Re: [GENERAL] Best way to monitor, control, or rewrite data definition commands?

2009-05-12 Thread Greg Smith
rotation is needed to give you breakpoints to import at though. The other common idiom here to detect changes is to save the output from pgdump -s regularly and look for changes via diff. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general

Re: [GENERAL] bizgres

2009-05-06 Thread Greg Smith
://jasperforge.org/plugins/project/project_home.php?group_id=102 -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] could not bind IPv4 socket

2009-05-01 Thread Greg Smith
is remotely accessible from all of its interfaces, and then you can do all filtering of who can connect just via pg_hba.conf instead. See http://www.postgresql.org/docs/8.3/static/auth-pg-hba-conf.html for more information. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD

Re: [GENERAL] Huge sample dataset for testing.

2009-04-28 Thread Greg Smith
in various ways to play with. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Selling an 8.1 to 8.3 upgrade

2009-04-24 Thread Greg Smith
ideas for features you might find useful in the newer version. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] New 8.4 features

2009-04-20 Thread Greg Smith
/ is a good place to find PostgreSQL oriented blogs at. I've been collecting 8.4 related blog and talk presentations onto a list at http://wiki.postgresql.org/wiki/Waiting_for_8.4 and encourage others to expand on that with ones I've missed. -- * Greg Smith gsm...@gregsmith.com http

Re: [GENERAL] Space for pg_dump

2009-04-18 Thread Greg Smith
there you can make a fairly accurate guess of what the whole dump is going to take up, presuming your data is fairly evenly distributed such that the first records that come back are typical of the whole thing. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via

Re: [GENERAL] Disconnected editing - versioning of databases

2009-04-14 Thread Greg Smith
to hard problems most people never even think they need to solve, until they get bit by one. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http

Re: [GENERAL] Some suggestions for the non Linux installers

2009-04-09 Thread Greg Smith
a lot of people out. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Minimizing Recovery Time (wal replication)

2009-04-09 Thread Greg Smith
possible segment backlog so you can never get this far behind 2) Increase the rate at which random I/O can be flushed to disk by either a) Improving things with a [better] battery-backed controller disk cache b) Stripe across more disks -- * Greg Smith gsm...@gregsmith.com http

Re: [GENERAL] Minimizing Recovery Time (wal replication)

2009-04-09 Thread Greg Smith
. Yeah, EBS is not exactly a high-performance or predictable database storage solution, particularly when you get to where you're calling fsync a lot--which is exactly what is happening during the period you note your system is frozen. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com

Re: [GENERAL] nooby Q: temp tables good for web apps?

2009-04-08 Thread Greg Smith
controller with a write cache involved, that narrows the gap between SDD and regular drives quite a bit. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http

Re: [GENERAL] Now I am back, next thing. Final PGS tuning.

2009-04-08 Thread Greg Smith
/Tuning_Your_PostgreSQL_Server -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Now I am back, next thing. Final PGS tuning.

2009-04-08 Thread Greg Smith
clear in the tuning guide on the wiki, I'll do an update to improve those sections when I get a minute. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http

Re: [GENERAL] nooby Q: temp tables good for web apps?

2009-04-07 Thread Greg Smith
development stages is to create a seperate disk partition for the temporary tables, turn that into a tablespace, and then use temp_tablespaces to point the temp tables toward it. The idea is to separate out I/O to the temp tables so that you can measure it to see how significant it is. -- * Greg Smith

Re: [GENERAL] user defined aggregate for percentile calculations

2009-04-06 Thread Greg Smith
than dropping into Perl. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Server Performance

2009-03-31 Thread Greg Smith
. That should give you a better idea what's going on here, and if the badness shows up there it will be much easier to get someone at IBM to pay attention too. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general

Re: [GENERAL] commit performance anomaly

2009-03-26 Thread Greg Smith
vendors seem completely incompetant at producing out of the box tunings that work well for database use (I feel a RAID5 rant brewing). -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make

Re: [GENERAL] Is there a meaningful benchmark?

2009-03-20 Thread Greg Smith
at http://wiki.postgresql.org/wiki/Why_PostgreSQL_Instead_of_MySQL:_Comparing_Reliability_and_Speed_in_2007#Sun_Microsystems_2007_jAppServer2004_Benchmark_Results -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general

Re: [GENERAL] Is there a meaningful benchmark?

2009-03-20 Thread Greg Smith
, the parameters that controls this behavior are described starting at http://dev.mysql.com/doc/refman/5.1/en/innodb-parameters.html#sysvar_innodb_flush_log_at_trx_commit For something with lots of disk commits, it's critical that you have both systems configured identically here. -- * Greg Smith gsm

Re: [GENERAL] Maximum transaction rate

2009-03-18 Thread Greg Smith
the only UNIX{-ish} OS where the default is a genuine sync write Solaris. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD - Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql

Re: [GENERAL] Maximum transaction rate

2009-03-17 Thread Greg Smith
dormant so far. I leave it as an exercise to the dedicated reader to modify the sysbench test to use O_SYNC/O_DIRECT in order to re-test LVM for the situation if you changed wal_sync_method=open_sync , how to do that is mentioned briefly at http://sysbench.sourceforge.net/docs/ -- * Greg Smith

Re: [GENERAL] Maximum transaction rate

2009-03-17 Thread Greg Smith
is that in order for this to bite you, I think you'd need to have another, incorrectly ordered write somewhere else that could happen before the delayed write. Not sure where that might be possible in the PostgreSQL WAL implementation yet. -- * Greg Smith gsm...@gregsmith.com http

Re: [GENERAL] Maximum transaction rate

2009-03-17 Thread Greg Smith
this category of journal mayhem not so much of a problem. But when I read about fsync doing unexpected things, that gets me more concerned. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD - Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes

Re: [GENERAL] postmaster never finishes starting up, silent to boot

2009-03-17 Thread Greg Smith
on the screen it should narrow the possibilities here. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD - Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Maximum transaction rate

2009-03-06 Thread Greg Smith
-I lets you check if write caching is on, hdparm -W lets you toggle it off. That's for ATA disks; SCSI ones can use sdparm instead, but usually it's something you can adjust more permanently in the card configuration or BIOS instead for those. -- * Greg Smith gsm...@gregsmith.com http

Re: [GENERAL] Maximum transaction rate

2009-03-06 Thread Greg Smith
On Fri, 6 Mar 2009, Ben Chobot wrote: How does turning off write caching on the disk stop the problem with LVM? It doesn't. Linux LVM is awful and broken, I was just suggesting more details on what you still need to check even when it's not involved. -- * Greg Smith gsm...@gregsmith.com

Re: [GENERAL] BufferSync() performance

2009-03-05 Thread Greg Smith
it. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Postgres Cookbook

2009-03-04 Thread Greg Smith
/cookbook/ Even though that is mainly aimed at older versions, there are a lot of neat PL/PGSQL examples there that you might wrangle into working against a current one. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql

Re: [GENERAL] Detemine database size on Postgres 8.0

2009-03-02 Thread Greg Smith
AS kb FROM pg_class; But that might have been 8.0. There is an example of a script like you describe on starting on P88 of Bruce's presentation at http://momjian.us/main/writings/pgsql/administration.pdf -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via

Re: [GENERAL] max_fsm_relations

2009-02-27 Thread Greg Smith
parameters in that class) because the parameter changes a shared memory allocation, which is only done at startup. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription

Re: [GENERAL] High cpu usage after many inserts

2009-02-23 Thread Greg Smith
someone have ranted about RAID-5 by this point in the thread? -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] clearing the buffer cache

2009-02-16 Thread Greg Smith
than asking the kernel to drop its caches? fillmem/flushdisk also work with kernels before 2.6.16, which means that it's not avaialble on still common platforms (RHEL4 for example). If you've got drop_caches, it's the better approach, that pages gives an answer if you don't too. -- * Greg

Re: [GENERAL] clearing the buffer cache

2009-02-14 Thread Greg Smith
use contrib/pg_buffercache to confirm the function is doing what you expect. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref

Re: [GENERAL] Good Delimiter for copy command

2009-02-12 Thread Greg Smith
will save the rows that are rejected for some reason, which is usually what happens when there's a delimiter issue. You can then edit those by hand to work around random odd delimiter problems. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql

Re: [GENERAL] warm database, tape device backup

2009-02-06 Thread Greg Smith
. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Pet Peeves?

2009-02-03 Thread Greg Smith
for the occasional time this pops up. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Pet Peeves?

2009-02-03 Thread Greg Smith
of that topic, figuring out which indexes you don't need. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Pet Peeves?

2009-02-01 Thread Greg Smith
already but could be smarter, it includes some parameters that aren't there in 8.2, and doesn't work at all on 8.1 or earlier. If you step outside of just free solutions, Enterprise DB's commercial server product does more complicated autotuning via their DynaTune feature. -- * Greg Smith gsm

Re: [GENERAL] Pet Peeves

2009-02-01 Thread Greg Smith
On Sat, 31 Jan 2009, Adam Rich wrote: - lack of queryable high-water marks useful for tuning What specific things would you consider important to track a high-water mark for that aren't already there? -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via

Re: [GENERAL] PGSQL or other DB?

2009-01-30 Thread Greg Smith
as you can simulate. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Pet Peeves?

2009-01-29 Thread Greg Smith
have open issues, I'd be curious to get your feedback about that piece. -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql

Re: [GENERAL] Pet Peeves?

2009-01-29 Thread Greg Smith
is that as it is right now, it's also hard to answer the question how close am I to having this plan fail? until it already has. I know there's been some academic work in this area as part of classes on database internals, I'd like to see some of that turn into a production feature. -- * Greg Smith gsm

Re: [GENERAL] Pet Peeves?

2009-01-29 Thread Greg Smith
to concurrency. There were two Varlena postings on this and one other good article. I got sick of not being to find them every time I wanted to and added links to them all at http://wiki.postgresql.org/wiki/Slow_Counting -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD

Re: [GENERAL] The future of Solaris?

2008-12-10 Thread Greg Smith
would be doing better right now had they not decided to light $1B on fire back in January, that's where their stock really accelerated its dive downward. RedHat is actually by far in the best financial shape of the three, at least they make more money than they spend. -- * Greg Smith [EMAIL

Re: [GENERAL] Startup process thrashing

2008-12-10 Thread Greg Smith
else may be able to point you toward better estimating how far it's got left to go, I haven't ever been stuck in your position for long enough before to figure that out myself. Good luck. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing

Re: [GENERAL] Startup process thrashing

2008-12-10 Thread Greg Smith
. As a general aside, if you ever find yourself in this position again, where you've got an urgent database problem, something you might do in parallel with posting here is trying the IRC channel: http://wiki.postgresql.org/wiki/IRC2RWNames -- * Greg Smith [EMAIL PROTECTED] http

Re: [GENERAL] Ubuntu for servers (was TurnKey PostgreSQL)

2008-12-08 Thread Greg Smith
focusing on any individual kernel version long enough to squash its bugs right anymore; those will all get fixed in the next version, right? -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make

<    1   2   3   4   5   6   7   8   >