Received: from anchor-post-31.mail.demon.net (anchor-post-31.mail.demon.net [194.217.242.89]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f93JeKn90253 for ; Wed, 3 Oct 2001 15:40:24 -0400 (EDT) (envelope-from olly@lfix.co.uk) Received: from lfix.demon.co.uk ([158.152.59.127] helo=linda.lfix.co.uk) by anchor-post-31.mail.demon.net with esmtp (Exim 2.12 #1) id 15orsO-000GP0-0V; Wed, 3 Oct 2001 20:40:17 +0100 Received: from lfix.co.uk (olly@localhost [127.0.0.1]) by linda.lfix.co.uk (8.12.1/8.12.1/Debian -1) with ESMTP id f93JeExs004531; Wed, 3 Oct 2001 20:40:14 +0100 Message-Id: <200110031940.f93JeExs004531@linda.lfix.co.uk> X-Mailer: exmh version 2.3.1 01/18/2001 (debian 2.3.1-1) with nmh-1.0.4+dev X-URL: http://www.lfix.co.uk/oliver X-face: "xUFVDj+ZJtL_IbURmI}!~xAyPC"Mrk=MkAm&tPQnNq(FWxv49R}\>0oI8VM?O2VY+N7@F- KMLl*!h}B)u@TW|B}6 cc: pgsql-admin@postgresql.org Subject: Re: Storage management????? In-reply-to: Message from Chris Pesko of Tue, 02 Oct 2001 11:52:53 PDT. <4.3.2.7.2.20011002113521.01db6f00@mailhost.organic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 03 Oct 2001 20:40:14 +0100 From: "Oliver Elphick" X-Archive-Number: 200110/35 X-Sequence-Number: 2281 Chris Pesko wrote: >Scalability - > >I'm new to Postgres and I am noticing there are no commands to create files >or tablespaces and manage storage of data over several disks for either >table partitioning or seperating tables and indexes. How do you manage >scalability of the database and strategic placement of objects or files >over several disks? I don't fully understand how the database is stored >and how it extends when it needs to. How do you impose size limits and how >do can you store and manage, for example, a 100Gig database? Without user intervention, all database files under $PGDATA. A single table that becomes too large is split, by default into 1Gb chunks. However, there is no provision for splitting a database. You can use an alternative location when creating a database: CREATE DATABASE name WITH LOCATION = 'dbpath' An alternative way of managing things is to use symbolic links; obviously this requires direct intervention by the administrator. >Backup/Monitoring - > >How do you backup and recover using WAL transaction logging to roll forward >a database to the point in time of failure? I don't think that this has been written yet. WAL is quite new. >Does anyone have a comprehensive set of backup/recovery and database >monitoring scripts they can send my way for both data wharehousing and >transactional database so I don't have to re-invent the wheel? Or are >there any scripts published or available for download anywhere? > >pg_dumpall errors - > >I am using postgres user with same password in all the databases but still >the pg_dumpall program tries to interactively authenticate even though I am >using "local trust" in pg_hba.config. Any suggestions? Are you perhaps connecting through TCP/IP (PGHOST set to "localhost")? Then the local rule would not apply. Or is there another line earlier than "local all trust" which matches your connection? -- Oliver Elphick Oliver.Elphick@lfix.co.uk Isle of Wight http://www.lfix.co.uk/oliver PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47 GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C ======================================== "I beseech you therefore, brethren, by the mercies of God, that ye present your bodies a living sacrifice, holy, acceptable unto God, which is your reasonable service. And be not conformed to this world; but be ye transformed by the renewing of your mind, that ye may prove what is that good, and acceptable, and perfect, will of God." Romans 12:1,2