Re: [GENERAL] Common criteria evaluation?

2007-11-15 Thread Greg Smith
that could corrupt data. Even if it were feasible for you to self-certify in some fashion, the only path there that would make sense would be extracting the changes made to reach EAL1 in that customized 8.1.5, then apply at least those important patches. -- * Greg Smith [EMAIL PROTECTED] http

Re: [GENERAL] Linux v.s. Mac OS-X Performance

2007-11-12 Thread Greg Smith
that. Does Linux suck compared to BSD? Not the Mac OS BSD. Last time I looked into this OS X was still dramatically slower than Linux on things like process creation. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast

Re: [GENERAL] WAL segments size

2007-11-12 Thread Greg Smith
application, you'll have to go through a dump, initdb with the change, then reload on your database. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 4: Have you searched our list archives

Re: [GENERAL] PITR and warm standby setup questions

2007-11-12 Thread Greg Smith
never have too many ways to try and recover from such a situation. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [GENERAL] Npsql is much faster than ODBC ?

2007-11-07 Thread Greg Smith
-ish, you're probably linking against unixODBC, which is available under the LGPL presumably to avoid this issue. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 4: Have you searched our list

Re: [GENERAL] young guy wanting (Postgres DBA) ammo

2007-11-04 Thread Greg Smith
for clues. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do

Re: [GENERAL] What makes a Postgres DBA?

2007-11-04 Thread Greg Smith
through either of those is that you end up with some baseline idea of what someone who has gone through the class/test has been exposed to. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 9

Re: [GENERAL] young guy wanting (Postgres DBA) ammo

2007-11-02 Thread Greg Smith
in that area from day one. Can you build a database without someone who has been through these experiences? Sure. That doesn't mean it's a good idea. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 1

Re: [GENERAL] looking for some real world performance numbers

2007-10-22 Thread Greg Smith
, focusing on the raw performance of PostgreSQL is kind of misleading. You shouldn't have to hit the database for everything if you put the right kind of layer on top. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast

Re: [GENERAL] Problems inserting data into a table with a sequence

2007-10-15 Thread Greg Smith
spitting out the duplicate key error isn't the problem; that one has the right syntax. The problem here is whatever is doing that initial population of 1-37 in the table without using the sequence number. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD

Re: [GENERAL] Using C API

2007-10-14 Thread Greg Smith
your copy during that period. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [GENERAL] lowering impact of checkpoints

2007-09-25 Thread Greg Smith
normally recommend, but with his particular system that worked out well. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire

Re: [GENERAL] lowering impact of checkpoints

2007-09-25 Thread Greg Smith
, and that the background writer waiting for that big write to finish might delay checkpoint requests from processing in a timely fashion. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 5

Re: [GENERAL] Hardware recommendation: which is best

2007-09-11 Thread Greg Smith
about the two disk controllers you're comparing, how much cache they have, and whether they include a battery backup. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 6: explain analyze is your

Re: [GENERAL] Hardware recommendation: which is best

2007-09-11 Thread Greg Smith
performance of the CPU/memory might be a little better on the Opteron box. The fact that it will have 2X as many disks will just increase its lead. And now you know why everyone wanted such specific information! -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD

Re: [GENERAL] Hardware recommendation: which is best

2007-09-11 Thread Greg Smith
it to be. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do

Re: [GENERAL] archive_command with an environnement variable ?

2007-09-10 Thread Greg Smith
everything into the archive_command. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [GENERAL] an other provokative question??

2007-09-07 Thread Greg Smith
that the Postgres vs. PostgreSQL renaming argument be dropped in favor of renaming the database Horizontica. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 6: explain analyze is your friend

Re: [GENERAL] PostgreSQL vs Firebird feature comparison finished

2007-08-29 Thread Greg Smith
columns. This feature comparision table will be the other way around, which is the harder one to cope with. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ

Re: [GENERAL] Postgres, fsync and RAID controller with 100M of internal cache dedicated battery

2007-08-23 Thread Greg Smith
there anymore is kind of undefined though; presumably they'll just be thrown away, I don't know if there are any cards that try to hang on to them in case the original disks are connected later. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD

Re: [GENERAL] PostgreSQL vs Firebird feature comparison finished

2007-08-23 Thread Greg Smith
from the beginning. That's another reason why the Wiki is a bad way to cope with this data; adding another column is a painful and error-prone operation. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast

Re: [GENERAL] Postgres, fsync and RAID controller with 100M of internal cache dedicated battery

2007-08-22 Thread Greg Smith
on by default in that operating system. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 4: Have you searched our list archives? http://archives.postgresql.org/

Re: [GENERAL] Postgres, fsync and RAID controller with 100M of internal cache dedicated battery

2007-08-22 Thread Greg Smith
a relatively small amount of memory. The main benefit for having a caching controller is fsync acceleration, the reads should pass right through the controller's cache and then stay in system RAM afterwards if they're needed again. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore

Re: [GENERAL] Postgres, fsync and RAID controller with 100M of internal cache dedicated battery

2007-08-22 Thread Greg Smith
doesn't work under Linux; in fact, it should be faster in practice even if it looks a little slower on test_fsync. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 6: explain analyze is your

Re: [GENERAL] [RESEND] Transaction auto-abort causes grief with Spring Framework

2007-08-17 Thread Greg Smith
of trivia in that category lately, haven't gotten to issues with their product much so far. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire

Re: [GENERAL] Index not being used

2007-08-13 Thread Greg Smith
On Mon, 13 Aug 2007, Scott Marlowe wrote: We can look at how big your shared_buffers are, your work_mem, and a few others in postgresql.conf. That's going to be sort_mem, not work_mem, with 7.4 -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD

Re: [GENERAL] UPDATES hang every 5 minutes

2007-08-10 Thread Greg Smith
of this topic at http://developer.postgresql.org/index.php/Buffer_Cache%2C_Checkpoints%2C_and_the_BGW but that's probably a little too low-level for you to chew on usefully right now. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast

Re: [GENERAL] Configuration starting point...

2007-08-10 Thread Greg Smith
some disclaimers about what you should ignore in the guides that haven't been updated recently. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ

Re: [GENERAL] UPDATES hang every 5 minutes

2007-08-10 Thread Greg Smith
percentage over 5% or either maxpages100 as a first step on a production system. You may be in for a bad day tomorrow. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 6: explain analyze is your

Re: [GENERAL] Reordering columns, will this ever be simple?

2007-08-09 Thread Greg Smith
horse riding[1], obviously technique #12 Harnessing several dead horses together for increased speed would allow faster progress were all these addressed at once. [1] http://soli.inav.net/~catalyst/Humor/dhorse.htm -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD

Re: [GENERAL] UPDATES hang every 5 minutes

2007-08-09 Thread Greg Smith
. To get more specific advice, report if you see anything interesting in your log files and send some details about the PostgreSQL version you're using and the settings in the postgresql.conf file that you've changed from their defaults. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com

Re: [GENERAL] UPDATES hang every 5 minutes

2007-08-09 Thread Greg Smith
this issue head-on, it can be tricky to accomplish in the current production releases. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire

[GENERAL] PostgreSQL Documentation on PalmOS

2007-08-02 Thread Greg Smith
Plucker ( http://plkr.org/ ) is a tool for viewing documentation on handhelds running the PalmOS, and I just noticed that they have the PostgreSQL documentation available: http://projects.plkr.org/postgresql-documentation/ -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore

Re: [GENERAL] Linux distro

2007-08-01 Thread Greg Smith
need to learn. Gentoo can be a good server environment, but the learning curve to get started is probably harder than you want to take on if you're new to Linux. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast

Re: [GENERAL] Linux distro

2007-08-01 Thread Greg Smith
an equally messy problem on all Linux distributions, and the workarounds for each are similar. On the topic of Firefox plug-ins: Fedora/RHEL: http://www.cyberciti.biz/tips/linux-flash-java-realplayer-under-64bit-firefox.html Ubuntu: http://ubuntuforums.org/showthread.php?p=1174435 -- * Greg

Re: [GENERAL] Data on NAS / NFS

2007-07-28 Thread Greg Smith
anecdotal samples on this subject: http://reviews.pricegrabber.com/hard-drives/m/11165851/ The problems with their products are so widespread I'm sure it would be easy for you to find many more if you search around a bit. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD

Re: [GENERAL] query optimizer

2007-07-19 Thread Greg Smith
://www.gtsm.com/oscon2003/toc.html on this topic. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 4: Have you searched our list archives? http://archives.postgresql.org/

Re: [GENERAL] Trying to tune postgres, how is this config?

2007-07-19 Thread Greg Smith
class of system. effective_cache_size = 650MB This is in the right ballpark, but you might see improvements increasing to the 1GB range. See http://www.westnet.com/~gsmith/content/postgresql/pg-5minute.htm for more on this and related topics. -- * Greg Smith [EMAIL PROTECTED] http

Re: [GENERAL] Am I missing something about the output of pg_stop_backup()?

2007-07-10 Thread Greg Smith
in it. That's how you prevent this class of problem. If you don't find the label you expect in the history, abort the whole thing because your backup didn't happen correctly. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast

Re: [GENERAL] VACUUM ANALYZE extremely slow

2007-06-19 Thread Greg Smith
an outline of how to do those tests. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [GENERAL] What O/S or hardware feature would be useful for databases?

2007-06-16 Thread Greg Smith
writes that use the drive's cache for instant fsyncs, instead of right now where you have to push all that to the controller level. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 9: In versions

Re: [GENERAL] PostGreSQL for a small Desktop Application

2007-06-14 Thread Greg Smith
to be wary of when trying this is the SQLite deals with dates and times very differently than PostgreSQL does. Even when insulated with an ORM tool that can bite you. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast

Re: [GENERAL] pg_xlog - files are guaranteed to be sequentialy named?

2007-06-14 Thread Greg Smith
of the PITR mechanism or its cleanup. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's

Re: [GENERAL] Historical Data Question

2007-06-14 Thread Greg Smith
and operations that now are built-in to PostgreSQL, like the interval type, so it's not quite as intimidating a read as it seems at first; there's a lot of code for older databases that you can completely ignore. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD

Re: [GENERAL] pg_xlog - files are guaranteed to be sequentialy named?

2007-06-13 Thread Greg Smith
on the secondary from before that time. Instead of doing ls | sort -g -r you should be doing something like looping over the files in a bash shell script and using [ -ot first xlog in base backup ] to determine which files to delete. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com

Re: [GENERAL] pointer to feature comparisons, please

2007-06-13 Thread Greg Smith
/dsg/external/freeware/mysql-vs-pgsql.html I refer to sometimes. It's from March of 2005 so several pieces are out of date. Kevin Kline's SQL in a Nutshell also has some helpful suggestions on syntax differences between the major SQL dialects, but it's even older. -- * Greg Smith [EMAIL

Re: [GENERAL] pg_xlog - files are guaranteed to be sequentialy named?

2007-06-13 Thread Greg Smith
and Server. when trying to login. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's

Re: [GENERAL] changing the /tmp/ lock file?

2007-06-13 Thread Greg Smith
to be given their own port number. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 4: Have you searched our list archives? http://archives.postgresql.org/

Re: [GENERAL] changing the /tmp/ lock file?

2007-06-13 Thread Greg Smith
need to give some more OS and general network setup information to get any more specific or clever than that. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [GENERAL] When should I worry?

2007-06-11 Thread Greg Smith
be in a positition to catch performance issues before they completely blindside you; makes you look good in meetings, too. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ

Re: [GENERAL] When should I worry?

2007-06-11 Thread Greg Smith
doing simply by using more expensive hardware. In your case, I think it's safe to say you've got quite a bit of margin for improvement that way when you run into a problem. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast

Re: [GENERAL] Corruption of files in PostgreSQL

2007-06-05 Thread Greg Smith
, that may cause more corruption (with possible data loss) rather than less. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [GENERAL] PITR Base Backup on an idle 8.1 server

2007-06-05 Thread Greg Smith
procedure rather than trying to do something a little different. There are too many edge cases here that could^H^H^H^H^Hwill bite you one day. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 1

Re: NULLS and User Input WAS Re: [GENERAL] multimaster

2007-06-04 Thread Greg Smith
to be sent a ticket. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes

Re: [GENERAL] Continuous PITR (was Re: multimaster)

2007-06-02 Thread Greg Smith
a process that made sure to sync changes in the underlying filesystem before modifying a tablespace. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ

Re: [GENERAL] PITR Base Backup on an idle 8.1 server

2007-06-02 Thread Greg Smith
the archive_command is told. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do

Re: [GENERAL] PITR Base Backup on an idle 8.1 server

2007-05-31 Thread Greg Smith
the base backup), the last ones (from the current pg_xlog), but will be missing some number in the middle (the recycled files). -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 6: explain analyze

[GENERAL] PITR Base Backup on an idle 8.1 server

2007-05-30 Thread Greg Smith
, run that until the segment gets archived. Haven't really thought of something good to use for that purpose yet. -- * Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD ---(end of broadcast)--- TIP 1: if posting/reading through

<    3   4   5   6   7   8