pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
DBA tasks 4+ messages / 4 participants [nested] [flat]
* DBA tasks @ 2006-07-23 22:43 Mark Matthews <mem@object-craft.com.au> 2006-07-24 00:37 ` Re: DBA tasks Nabil Sawaya <nabilsawaya@gmail.com> 2006-07-24 01:00 ` Re: DBA tasks Michael Fuhr <mike@fuhr.org> 0 siblings, 2 replies; 4+ messages in thread From: Mark Matthews @ 2006-07-23 22:43 UTC (permalink / raw) To: pgsql-admin Hello, Can anyone recommend good reference text, web or other, for general PostgreSQL DBA tasks. Stuff like: * Things to do to clean up periodically (CLUSTER, VACUUM FULL, etc) * How to analyse queries to optimise data retrieval (Use of EXPLAIN, etc) * etc ... We are running Debian stable (sarge) and therefore 7.4. Moving to 8.1 soon (hopefully) I am a developer who has adopted the role of DBA. Thanks ------------------------------------------------- Mark Matthews Object Craft Pty Ltd http://www.object-craft.com.au ^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: DBA tasks 2006-07-23 22:43 DBA tasks Mark Matthews <mem@object-craft.com.au> @ 2006-07-24 00:37 ` Nabil Sawaya <nabilsawaya@gmail.com> 1 sibling, 0 replies; 4+ messages in thread From: Nabil Sawaya @ 2006-07-24 00:37 UTC (permalink / raw) To: Mark Matthews <mem@object-craft.com.au>; +Cc: pgsql-admin Hello friend, Well, I have not a tutorial at hand now, but i can say to you some tasks i remember, and these can make you spent a long time learning about how to do. I think that the tasks essentially you must to know are: - Install database - Configure the two most important files (pg_hba.conf and postgresql.conf) - Install an know how to use psql - Install an IDE Tool - originally, PgAdmin - You can get a plus using PgAgent, to do jobs, etc... - Create a Database, set encoding char, etc... - Install a Procedural Language as PL/pgSQL - Create Tablespaces (8.0 or higher) (It´s more important know why use tablespaces before create them) - Database Roles and Privileges - Managing Databases - Client Authentication - Backup and restore - Monitoring Database activity - Monitoring disk usage three tips: 1) do not use vacuum all the time. schedule daily and weekly it. 2) learn about re-index 3) sometimes is better make a dump than vacuum and re-index. that´s all if you wish more, send another questions to my e-mail Hugs Nabil Sawaya ^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: DBA tasks 2006-07-23 22:43 DBA tasks Mark Matthews <mem@object-craft.com.au> @ 2006-07-24 01:00 ` Michael Fuhr <mike@fuhr.org> 2006-07-26 21:44 ` Re: DBA tasks Thomas SMETS <tsmets@gmail.com> 1 sibling, 1 reply; 4+ messages in thread From: Michael Fuhr @ 2006-07-24 01:00 UTC (permalink / raw) To: Mark Matthews <mem@object-craft.com.au>; +Cc: pgsql-admin On Mon, Jul 24, 2006 at 08:43:15AM +1000, Mark Matthews wrote: > Can anyone recommend good reference text, web or other, for general > PostgreSQL DBA tasks. The PostgreSQL documentation is a good place to start. See "Server Administration," especially the chapters concerning routine maintenance, backup and restore, and monitoring. http://www.postgresql.org/docs/8.1/interactive/admin.html (Adjust the link to match the version you're running.) > Stuff like: > * Things to do to clean up periodically (CLUSTER, VACUUM FULL, etc) See above. > * How to analyse queries to optimise data retrieval (Use of EXPLAIN, > etc) See "Performance Tips" in the documentation and the tuning documents at powerpostgresql.com. You could also peruse the list archives, especially pgsql-performance, to see how real performance problems have been investigated and addressed. For example, search for threads that contain the words "EXPLAIN ANALYZE". http://www.postgresql.org/docs/8.1/interactive/performance-tips.html http://www.powerpostgresql.com/Docs/ http://archives.postgresql.org/pgsql-performance/ The General Bits newsletter has interesting articles; see the Archives and General Tidbits links. http://www.varlena.com/varlena/GeneralBits/ > We are running Debian stable (sarge) and therefore 7.4. Moving to 8.1 > soon (hopefully) Before upgrading read the Release Notes for all newer versions to see what changes you'll be getting. See also "If You Are Upgrading" in the Installation Instructions and read the Backup and Restore chapter, which has a "Migration Between Releases" section. http://www.postgresql.org/docs/8.1/interactive/release.html http://www.postgresql.org/docs/8.1/interactive/install-upgrading.html http://www.postgresql.org/docs/8.1/interactive/migration.html -- Michael Fuhr ^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: DBA tasks 2006-07-23 22:43 DBA tasks Mark Matthews <mem@object-craft.com.au> 2006-07-24 01:00 ` Re: DBA tasks Michael Fuhr <mike@fuhr.org> @ 2006-07-26 21:44 ` Thomas SMETS <tsmets@gmail.com> 0 siblings, 0 replies; 4+ messages in thread From: Thomas SMETS @ 2006-07-26 21:44 UTC (permalink / raw) To: Michael Fuhr <mike@fuhr.org>; +Cc: pgsql-admin Fine but in the long run, we'd need something like Donald Burleson's web site / books with extended internals explainaintions, no ... ? \T, Michael Fuhr wrote: >On Mon, Jul 24, 2006 at 08:43:15AM +1000, Mark Matthews wrote: > > >>Can anyone recommend good reference text, web or other, for general >>PostgreSQL DBA tasks. >> >> > >The PostgreSQL documentation is a good place to start. See "Server >Administration," especially the chapters concerning routine maintenance, >backup and restore, and monitoring. > >http://www.postgresql.org/docs/8.1/interactive/admin.html > >(Adjust the link to match the version you're running.) > > > >>Stuff like: >>* Things to do to clean up periodically (CLUSTER, VACUUM FULL, etc) >> >> > >See above. > > > >>* How to analyse queries to optimise data retrieval (Use of EXPLAIN, >>etc) >> >> > >See "Performance Tips" in the documentation and the tuning documents >at powerpostgresql.com. You could also peruse the list archives, >especially pgsql-performance, to see how real performance problems >have been investigated and addressed. For example, search for >threads that contain the words "EXPLAIN ANALYZE". > >http://www.postgresql.org/docs/8.1/interactive/performance-tips.html >http://www.powerpostgresql.com/Docs/ >http://archives.postgresql.org/pgsql-performance/ > >The General Bits newsletter has interesting articles; see the >Archives and General Tidbits links. > >http://www.varlena.com/varlena/GeneralBits/ > > > >>We are running Debian stable (sarge) and therefore 7.4. Moving to 8.1 >>soon (hopefully) >> >> > >Before upgrading read the Release Notes for all newer versions to >see what changes you'll be getting. See also "If You Are Upgrading" >in the Installation Instructions and read the Backup and Restore >chapter, which has a "Migration Between Releases" section. > >http://www.postgresql.org/docs/8.1/interactive/release.html >http://www.postgresql.org/docs/8.1/interactive/install-upgrading.html >http://www.postgresql.org/docs/8.1/interactive/migration.html > > > -- Thomas SMETS rue J. Wytsmanstraat 62 1050 Brussels T. : +32 (0)2 742 05 94 M. : +32 (0)497 44 68 12 @ : duvelbier-tsmets@yahoo.com Attachments:^ permalink raw reply [nested|flat] 4+ messages in threadtsmets.vcf (text/x-vcard, 163B) download
begin:vcard fn:Thomas SMETS n:SMETS;Thomas email;internet:duvelbier-tsmets@yahoo.com tel;home:+32 (0)2 742 05 94 tel;cell:+32 (0)497 44 68 12 version:2.1 end:vcard
end of thread, other threads:[~2006-07-26 21:44 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2006-07-23 22:43 DBA tasks Mark Matthews <mem@object-craft.com.au> 2006-07-24 00:37 ` Nabil Sawaya <nabilsawaya@gmail.com> 2006-07-24 01:00 ` Michael Fuhr <mike@fuhr.org> 2006-07-26 21:44 ` Thomas SMETS <tsmets@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox