Re: [ADMIN] run httpd and postgresql on different machines ?

2005-01-18 Thread Christian Fowler
column's datatypes do not match [ \ / [ >X< Christian Fowler | spider AT viovio.com [ / \ http://www.viovio.com | http://www.tikipro.org ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an

[ADMIN] Assimilation of these "versus" and hardware threads

2005-01-11 Thread Christian Fowler
f course dbtuning is running on postgres ;-) [ \ / [ >X< Christian Fowler | spider AT viovio.com [ / \ http://www.viovio.com | http://www.tikipro.org ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [ADMIN] help with - psql: FATAL: Password authentication failed

2004-12-28 Thread Christian Fowler
forge ) Execution stalls on reaching pg_connect() . can you give some pointers to this. I have tried all docs that I could :( -Sukhdeep [ \ / [ >X< Christian Fowler | spider AT viovio.com [ / \ http://www.viovio.com | http://www.tikipro.org ---(end o

Re: [ADMIN] upgrading postgresql

2004-12-15 Thread Christian Fowler
after the live servers. [ \ / [ >X< Christian Fowler | spider AT viovio.com [ / \ http://www.viovio.com | http://www.tikipro.org ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match

Re: [ADMIN] joins INNER, OUTER, LEFT, RIGHT, FULL, ...

2004-11-23 Thread Christian Fowler
7;@' The explicit join syntax was freaky for me too at first, but after several years, I prefer it now, since you can easily control your left outer joins [ \ / [ >X< Christian Fowler | spider AT viovio.com [ / \ http://www.viovio.com | http://www.tikipro.org ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [ADMIN] psql: FATAL: user "root" does not exist createdb:

2004-11-16 Thread Christian Fowler
ED] so that your message can get through to the mailing list cleanly [ \ / [ >X< Christian Fowler | spider AT viovio.com [ / \ http://www.viovio.com | http://www.tikipro.org ---(end of broadcast)--- TIP 2: you can get off all

Re: [ADMIN] evil characters #bfef cause dump failure

2004-11-16 Thread Christian Fowler
lines) and UNICODE to UTF-8. -- Markus Bertheau <[EMAIL PROTECTED]> ---(end of broadcast)--- TIP 8: explain analyze is your friend [ \ / [ >X< Christian Fowler | spider AT viovio.com [ / \ http://www.vi

Re: [ADMIN] evil characters #bfef cause dump failure

2004-11-15 Thread Christian Fowler
Fowler <[EMAIL PROTECTED]> writes: [shell]$ env PGCLIENTENCODING=UNICODE LANG=en_US.UTF-8 db=# \encoding UNICODE I was more concerned about the database encoding, which the above doesn't prove. Try "SHOW server_encoding" regards, tom lane [ \ / [ &

Re: [ADMIN] evil characters #bfef cause dump failure

2004-11-15 Thread Christian Fowler
[shell]$ env PGCLIENTENCODING=UNICODE LANG=en_US.UTF-8 db=# \encoding UNICODE On Mon, 15 Nov 2004, Tom Lane wrote: Christian Fowler <[EMAIL PROTECTED]> writes: After much wrestling, it appears the hex byte sequence #bfef in a VARCHAR column causes a truncated COPY line to be written (and th

[ADMIN] evil characters #bfef cause dump failure

2004-11-15 Thread Christian Fowler
ort each copy row in it's own transaction so 5+ million copied rows don't fail for 6 bogus ones. Perhaps a --this_is_an_emergency_so_please_do_everything_you_can_to_restore_as_much_as_possible option. If any of the core dev's want some small debug dumps I created, I'd be happy t

Re: [ADMIN] pg_autovacuum is not working

2004-10-29 Thread Christian Fowler
p fiddling and it should hopefully start up. On Fri, 29 Oct 2004, Ivan Dimitrov wrote: Hi list This is my first post here, and I've searched google but couldn't find the solution. I'm trying to run pg_autovacuum on all my databases. All my Debian sarge machines use version 7.4.5-

Re: [ADMIN] large dumps won't restore

2004-10-20 Thread Christian Fowler
acter varying(200) | mod_date | timestamp without time zone | pc_char | character varying(4)| dim_char | character varying(16) | [EMAIL PROTECTED] root]# env |grep LANG LANG=en_US.UTF-8 On Wed, 20 Oct 2004, Weiping wrote: Christian Fowler wrote: I'm running a larg

Re: [ADMIN] NIC to NIC connection

2004-10-19 Thread Christian Fowler
even waste time installing the NIC's I would like a sense of how hard it is to get postgres to use that kind of a connection vs over the Internet. We are looking to increase communication speed between the web servers and database server as much as possible. Thanks Kent Anderson [ \ / [ &g

[ADMIN] large dumps won't restore

2004-10-18 Thread Christian Fowler
here is a short row (by two), and two fields in on the *next* line is indeed a "4" Both seem to have the same problem - incomplete COPY row data. any ideas? [ \ / [ >X< Christian Fowler | [EMAIL PROTECTED] [ / \ http://www.viovio.com | http://www.tikipro.org

Re: [ADMIN] set AUTOCOMMIT OFF in psqlrc not having affect

2004-10-17 Thread Christian Fowler
Thanks Tom, it appears that was the issue. Bruce, it would appear it was at some point? Glad to hear it's now insensitive. On Sun, 17 Oct 2004, Bruce Momjian wrote: FYI, it is not case-sensitive in current CVS. Tom Lane wrote: Christian Fowler <[EMAIL PROTECTED]> writes: I have \set

[ADMIN] set AUTOCOMMIT OFF in psqlrc not having affect

2004-10-17 Thread Christian Fowler
main=# rollback; ROLLBACK host.domain=# begin; BEGIN host.domain=# update foo set foo_type_id = 3 where foo_id=20234; UPDATE 1 host.domain=# rollback; ROLLBACK host.domain=# \q [ \ / [ >X< Christian Fowler | [EMAIL PROTECTED] [ / \ http://www.viovio.com | http://www.tikipro.org ---

Re: [ADMIN] PostgreSQL Tool?

2004-10-14 Thread Christian Fowler
---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings [ \ / [ >X< Christian Fowler | [EMAIL PROTECTED] [ / \ http://www.viovio.com | http://www.tikipro.org ---(end of broadcast)

Re: [ADMIN] Does PostgreSQL Stores its database in multiple disks?

2004-10-01 Thread Christian Fowler
Igor, I would recommend you investigate LVM: http://www.tldp.org/HOWTO/LVM-HOWTO/ This enables you to string multiple physical units into a single volume - as well as expand and grow the volume. I am unsure about postgres consequences of this for as much data as you have, so I will leave it up

Re: [ADMIN] PLEASE GOD HELP US!

2004-10-01 Thread Christian Fowler
I would like to also add that I've been a sysadmin for quite some time, and I've been designing databases for quite some time as well. I'm no idiot, I just can't find the bottleneck here (if one does in fact exist). So in light of this, please send me some suggestions I can work with. Here are thr

Re: [ADMIN] PLEASE GOD HELP US!

2004-10-01 Thread Christian Fowler
Hi Shane, As many others have alluded to - performance like this is almost always attributable to your queries not using an index. Be it on Oracle, Mysql, or postgres, i have seen this problem popup often. Also, could you tell us what language you are using, and if you are using a DB abstractio