[ADMIN] A problem

2003-06-27 Thread Sam Barnett-Cormack
hope someone can suggest something - I'm desperate! It'll take weeks to re-input that data automatically. Thanks -- Sam Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University

Re: [ADMIN] A problem

2003-06-27 Thread Sam Barnett-Cormack
Late as it is, I'll try this monday. I hope it works, other suggestions still welcome of course, thanks very much. On Fri, 27 Jun 2003, Tom Lane wrote: Sam Barnett-Cormack [EMAIL PROTECTED] writes: [ accidentally clobbered pg_control ] It sounds like the main problem is too small a value

Re: [ADMIN] Help. Pg not running

2003-06-30 Thread Sam Barnett-Cormack
the db to a file, and cleanly resotred from it. You should also manually check for inconsistencies, although if you have correctly used contraints it should barf on input if there are any. Assuming your DB is fully normalised. Hope that helps -- Sam Barnett-Cormack Software Developer

Re: [ADMIN] Help. Pg not running

2003-07-01 Thread Sam Barnett-Cormack
it should barf on input if there are any. Assuming your DB is fully normalised. Hope that helps -- Sam Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University

Re: [ADMIN] big tables with lots-o-rows

2003-07-01 Thread Sam Barnett-Cormack
)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org -- Sam Barnett

Re: [ADMIN] big tables with lots-o-rows

2003-07-01 Thread Sam Barnett-Cormack
On Tue, 1 Jul 2003, Tom Lane wrote: Sam Barnett-Cormack [EMAIL PROTECTED] writes: On Tue, 1 Jul 2003, Michiel Lange wrote: _Could_ it be that you're hitting a filesystem limit here? I am not 100% certain, but I believe ext2 by default supports only files of 2.? GB at most... Yet I am

Re: [ADMIN] Advantages and disadvantages of more than one dbserver

2003-07-03 Thread Sam Barnett-Cormack
a really quite large DB, but I am *really* struggling with 1GB -- Sam Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University ---(end of broadcast

Re: [ADMIN] Advantages and disadvantages of more than one dbserver

2003-07-03 Thread Sam Barnett-Cormack
On Thu, 3 Jul 2003, scott.marlowe wrote: On Thu, 3 Jul 2003, Sam Barnett-Cormack wrote: On Thu, 3 Jul 2003, scott.marlowe wrote: We went from 512 Meg to 1.5 Gig and the change was tremendous. That box ran Apache/Postgresql/auth_ldap/LDAP and now has 800 Meg of cache mem and about

Re: [ADMIN] Explain

2003-07-07 Thread Sam Barnett-Cormack
an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly -- Sam Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror Service (http://www.mirror.ac.uk) | Lancaster

Re: [ADMIN] Error message using pg_dump with tar format

2003-07-07 Thread Sam Barnett-Cormack
On Mon, 7 Jul 2003, Nick Fankhauser wrote: -There is plenty of disk space available. Does it stop at a filesize limit imposed by the OS or filesystem, such as 2.0GB as commonly found on linux, or NFS? Sam ---(end of broadcast)--- TIP 8: explain

Re: [ADMIN] Partitioning tables...

2003-08-01 Thread Sam Barnett-Cormack
On Thu, 31 Jul 2003, Joe Maldonado wrote: I know in Oracle you can partition the tables into logical subsets and was wondering if this was also possible in postgres. I *think* that a partial index is probably your best bet. -- Sam Barnett-Cormack Software Developer

[ADMIN] VACUUM/VACUUM FULL/REINDEX

2003-08-01 Thread Sam Barnett-Cormack
Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http

Re: [ADMIN] PostgreSql under Linux

2003-08-06 Thread Sam Barnett-Cormack
. Only try it if you have a lot of time and/or already know linux well. If you have a *lot* of time, you will gain the knowledge as you go. If you decide to, I'll see you on *that* mailing list. Also, I recommend slackware as an LFS base. -- Sam Barnett-Cormack Software Developer

Re: [ADMIN] copying databases w/ indexes

2003-08-14 Thread Sam Barnett-Cormack
a very very big database, with indexes, with no such problems. The table details that get dumped setup the indexes, and AIUI the indexes are kept up-to-date as items are added. -- Sam Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror Service (http

Re: [ADMIN] dbase ODBC error

2003-08-18 Thread Sam Barnett-Cormack
version is 5.0 There doesn't seem to be a problem with the mdb file as we are using it in some of our other programs. If someone has encountered this problem before or knows a solution please reply. Jean-Michel Gaudel [EMAIL PROTECTED] -- Sam Barnett-Cormack Software Developer

Re: [ADMIN] Sobig.f in the list

2003-08-20 Thread Sam Barnett-Cormack
On Wed, 20 Aug 2003, Dani Oderbolz wrote: Guys, be careful, it seems that several Mails in the List have contained a virus - I guess its sobig.f. Or that a copy of sobig learned the mailing list address and masqueraded as being from the list. -- Sam Barnett-Cormack Software Developer

[ADMIN] Partial indexes (was: Re: Indexing a boolean)

2003-08-21 Thread Sam Barnett-Cormack
the TRUE and false for other situations. A more general question: Can the planner tell which index to use if there is more than one that fits the bill? Like if there is a full index and one or more partial indexes on a field, can it determine which to use for a given query? -- Sam Barnett-Cormack

Re: [ADMIN] wrong password accepted

2003-08-29 Thread Sam Barnett-Cormack
eg. If the password mechanism uses standard crypt() passwords, then only the first eight letters count. It just happens that postgres is eight letters long. This has been a public service educated guess. -- Sam Barnett-Cormack Software Developer | Student of Physics

Re: [ADMIN] How to read a sequence without incrementing it?

2003-08-29 Thread Sam Barnett-Cormack
my_sequence; where my_sequence is the sequence name. try: \d my_sequence; (same substitution as before) for more info. -- Sam Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University

[ADMIN] Prompts in psql

2003-09-01 Thread Sam Barnett-Cormack
Is there any way to change the prompt in the psql CLI client? In the same way as one does with bash, or other shells. Ideally I want: [EMAIL PROTECTED]:database $ as the prompt. Anyone got any ideas/references? -- Sam Barnett-Cormack Software Developer | Student

Re: [ADMIN] Prompts in psql

2003-09-02 Thread Sam Barnett-Cormack
On Mon, 1 Sep 2003, Renney Thomas wrote: Sam Barnett-Cormack wrote: Is there any way to change the prompt in the psql CLI client? In the same way as one does with bash, or other shells. Ideally I want: [EMAIL PROTECTED]:database $ as the prompt. Anyone got any ideas/references

Re: [ADMIN] Row locking during UPDATE

2003-09-04 Thread Sam Barnett-Cormack
seems a bad idea generally. Instead, why not make it store a new record for each instance, and have a cronjob each day update the statistics from that. It will be more efficient, overall. It can be done hourly, even. -- Sam Barnett-Cormack Software Developer | Student

Re: [ADMIN] Are 50 million rows a problem for postgres ?

2003-09-08 Thread Sam Barnett-Cormack
a charm. You do have to allow that queries are going to take a long time. I use about 6 queries to summarise a quarter's data - each run for each month, so a total of 18 queries. These run in a little over 24 hours. And there are many, many records per month. -- Sam Barnett-Cormack Software

Re: [ADMIN] Are 50 million rows a problem for postgres ?

2003-09-08 Thread Sam Barnett-Cormack
would expect. However, you may want to ensure that all tuning in postgresql.conf is correct, as it may not be using all possible resources. That will probably only make a small difference. -- Sam Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror

Re: [ADMIN] Are 50 million rows a problem for postgres ?

2003-09-08 Thread Sam Barnett-Cormack
On Mon, 8 Sep 2003, Vasilis Ventirozos wrote: I use the default comfiguration file with the tcpip enabled any sagestion about the configuration file ? Post a copy of it to the list, along with the specs of the machine it is running on, and I'm sure we'll all pipe in. -- Sam Barnett-Cormack

Re: [ADMIN] Are 50 million rows a problem for postgres ?

2003-09-08 Thread Sam Barnett-Cormack
be changed) LC_MESSAGES = 'C' LC_MONETARY = 'C' LC_NUMERIC = 'C' LC_TIME = 'C' Hope some of that helps. -- Sam Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University

Re: [ADMIN] Need Urgent Help in case of postgres Database Crash.

2003-10-06 Thread Sam Barnett-Cormack
data on to two different disks. if so how? For data redundancy, I reccomend RAID level 0 or 5 - 5 is vastly superior, if you can afford it. 2. Steps needed to recover the data in case of database crash or hardware crash. Keep regular backups with pg_dump -- Sam Barnett-Cormack Software

Re: [ADMIN] Need Urgent Help in case of postgres Database Crash.

2003-10-06 Thread Sam Barnett-Cormack
On Mon, 6 Oct 2003, Sam Barnett-Cormack wrote: On Mon, 6 Oct 2003, Somasekhar Bangalore wrote: Hi , I am setting up a postgres 7.3 database for a big client.I don't want to lose any data in case of database crash or hardware failure . I need help in 1. Steps needed to setup

Re: [ADMIN] pg 7.4 on debian

2003-11-23 Thread Sam Barnett-Cormack
)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly -- Sam Barnett-Cormack Software Developer | Student of Physics Maths

Re: [ADMIN] Running Postgres Daemons with same data files

2003-12-09 Thread Sam Barnett-Cormack
joining column's datatypes do not match -- Sam Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University ---(end of broadcast)--- TIP 8: explain

Re: [ADMIN] Quick Question Please

2003-12-18 Thread Sam Barnett-Cormack
? many thanks for your quick help, Terry -- Sam Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University ---(end of broadcast)--- TIP 5

Re: [ADMIN] Help: System requirements for postgresql 7.4.1

2004-01-29 Thread Sam Barnett-Cormack
are required for linux and solaris) 1.2.2. Required software packages. Thank you very much. Best regards, JCD. ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster -- Sam Barnett-Cormack Software Developer

[ADMIN] Removing OIDs

2004-02-03 Thread Sam Barnett-Cormack
-- Sam Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University ---(end of broadcast)--- TIP 7: don't forget to increase your free space map

Re: [ADMIN] hanging for 30sec when checkpointing

2004-02-04 Thread Sam Barnett-Cormack
)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED] -- Sam Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University ---(end

Re: R: [ADMIN] slow seqscan after vacuum analize

2004-02-04 Thread Sam Barnett-Cormack
it, or if it could do that by itself. Just brainstorming. -- Sam Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University ---(end of broadcast)--- TIP 5

Re: R: R: [ADMIN] slow seqscan after vacuum analize

2004-02-05 Thread Sam Barnett-Cormack
On Thu, 5 Feb 2004, Edoardo Ceccarelli wrote: after a VACUUM FULL ANALYZE (1h!!) things are ok Only a hour - lucky you ;) -- Sam Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University

Re: [ADMIN] VACUUM Quesition

2004-02-05 Thread Sam Barnett-Cormack
vacuum locks the tables? 'full' is an option to vacuum, essentially, as is 'analyze', so there are four variants (ignoring the freeze option): vacuum vacuum analyze vacuum full vacuum full analyze It's all pretty obvious from there. -- Sam Barnett-Cormack Software Developer

Re: [ADMIN] Problem with too short column

2004-02-06 Thread Sam Barnett-Cormack
---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings -- Sam Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University

Re: [ADMIN] Upgrading from 7.2 to 7.4.1 on Redhat 7

2004-02-11 Thread Sam Barnett-Cormack
)--- TIP 7: don't forget to increase your free space map settings -- Sam Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University ---(end of broadcast

Re: [ADMIN] Tsearch1 problem

2004-02-24 Thread Sam Barnett-Cormack
(095)939-16-83, +007(095)939-23-83 ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings -- Sam Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror Service (http

Re: [ADMIN] Help! Regarding Pg for posgreSQL

2004-03-06 Thread Sam Barnett-Cormack
? http://archives.postgresql.org -- Sam Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University ---(end of broadcast)--- TIP 9: the planner

Re: [ADMIN] Help! Regarding Pg for posgreSQL

2004-03-06 Thread Sam Barnett-Cormack
On Sat, 6 Mar 2004, Bruno Wolff III wrote: On Sat, Mar 06, 2004 at 12:52:33 +, Sam Barnett-Cormack [EMAIL PROTECTED] wrote: In my perl scripts, I have: use DBI; use DBD:Pg; So maybe this is what you need? Pg.pm is an alternate perl module that is closer to libpq than DBD::Pg

Re: [ADMIN] Slow Foreign Key

2004-03-22 Thread Sam Barnett-Cormack
that seems, from my experience, to be relevant - are the referenced/referencing columns indexed? -- Sam Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University ---(end

Re: [ADMIN] postgres copy command very slow.

2004-03-26 Thread Sam Barnett-Cormack
, and field types at least. -- Sam Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University ---(end of broadcast)--- TIP 7: don't forget to increase your

Re: [ADMIN] Accessing Linux Postgre Server from windows client

2004-03-30 Thread Sam Barnett-Cormack
to connect, and the problem continues... Somebody could help me? Thanks a lot! Eduardo --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.644 / Virus Database: 412 - Release Date: 26/3/2004 -- Sam Barnett-Cormack

Re: [ADMIN] Accessing Linux Postgre Server from windows client

2004-03-30 Thread Sam Barnett-Cormack
to disable it and try to connect, and the problem continues... Somebody could help me? Thanks a lot! Eduardo --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system ( http://www.grisoft.com). Version: 6.0.644 / Virus Database: 412 - Release Date: 26/3/2004 -- Sam Barnett

Re: [ADMIN] Query with Max, Order by is very slow.......

2004-04-07 Thread Sam Barnett-Cormack
want an index on both of them together, a joint index. -- Sam Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University ---(end of broadcast)--- TIP 9

Re: [ADMIN] upgrade

2004-05-13 Thread Sam Barnett-Cormack
database with this upgrade? You will need to do a dump/restore, yes - you always do when the second part of the version number changes. -- Sam Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University

Re: [ADMIN] Help with foreign key creation problem

2004-05-13 Thread Sam Barnett-Cormack
, you're creating the wrong way around. You want to be adding the foreign keep to table2. -- Sam Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University ---(end of broadcast

Re: [ADMIN] cast not IMMUTABLE?

2004-05-06 Thread Sam Barnett-Cormack
a functional index. -- Sam Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University ---(end of broadcast)--- TIP 6: Have you searched our list archives

Re: [ADMIN] Large database

2004-06-06 Thread Sam Barnett-Cormack
of the database is 167GiB. It runs just fine, and that's on linux on intel hardware. -- Sam Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University ---(end of broadcast

Re: [ADMIN] Upper limit for a dump file?

2004-06-08 Thread Sam Barnett-Cormack
. Any ideas what may be the root of the problem or how I can find out more about this error PQputline returned? Perhaps the other machine has a filesystem limit forbidding such large files? Various filesystems have historically been limited to 2GB -- Sam Barnett-Cormack Software Developer

Re: [ADMIN] Continue with the original idea, about JOINS....

2004-06-25 Thread Sam Barnett-Cormack
, is equivalent to table1 INNER JOIN table2 ON (table1.table2_keyfield = table2.table2_keyfield) Feel free to look in the documentation under 'joins' - it's well described in there. -- Sam Barnett-Cormack Student of Physics Maths | Programmer (Perl, PHP, C++, C, whatever) Lancaster University

Re: [ADMIN] pg_xlog

2004-07-07 Thread Sam Barnett-Cormack
On Wed, 7 Jul 2004 [EMAIL PROTECTED] wrote: Hi, Could you please send me an advice how to configure Postgres database With non standard pg_xlog directory location i.e. on other (non db) physical disk ??? One word: symlinks. -- Sam Barnett-Cormack Software Developer

Re: [ADMIN] How do I grant access to entire database at

2004-07-26 Thread Sam Barnett-Cormack
command.) -- Sam Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University ---(end of broadcast)--- TIP 2: you can get off all lists at once

Re: [ADMIN] How do I grant access to entire database at

2004-07-26 Thread Sam Barnett-Cormack
)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html -- Sam Barnett-Cormack Software Developer | Student of Physics Maths UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University