maintenance diff

Поиск
Список
Период
Сортировка
Искать

maintenance diff

От:
"Joshua D. Drake" <jd@commandprompt.com>
Дата:
Hello,

Updated to have stronger wording for vacuuming. Cleaned out some extra 
superlatives. Added a couple of index entries for Routine Maintenance 
and added entry specific to Analyze.


-- 

    === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
    Providing the most comprehensive  PostgreSQL solutions since 1997
              http://www.commandprompt.com/


? external_projects.diff
? maintenance.diff
Index: external-projects.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/external-projects.sgml,v
retrieving revision 1.10
diff -r1.10 external-projects.sgml
4c4
<   External Projects
---
>   PgFoundry and External Projects
10,17c10,20
<    efficiently developed separately from the core project. Separate
<    projects can
<    have their own developer teams, email lists, bug tracking,
<    and release schedules. While their independence makes
<    development easier, it makes users' jobs harder. They have to hunt
<    around looking for database enhancements to meet their needs.
<    This section describes some of the more popular externally
<    developed enhancements and guides you on how to find them.
---
>    efficiently developed separately from the core project. To help our
>    community with the development process of their external projects
>    we have created PgFoundry.
>   
>   
>   
>    Pgfoundry utlizes the Gforg
>    software and is similar to SourceForge in its feature set. If you have an
>    Open Source project that you would like to develop and need project mangement
>    resources including, mailing lists, forums and cvs please feel free to create
>    a new project.   
21,26c24,29
<    Many PostgreSQL-related projects are
<    hosted at either 
<    GBorg</>
<    or pgFoundry</>.
<    There are other PostgreSQL-related projects that are hosted
<    elsewhere, but you will have to do an Internet search to find them.
---
>    Secondly, many PostgreSQL-related projects are
>    hosted at either pgFoundry</>
>    or GBorg</> (although
>    Gbord is considered deprecated). There are other PostgreSQL
>    noteable related projects that are hosted elsewhere. However, you will also want to 
>    do an Internet search to find others.
55c58
<        applications.
---
>        applications. Website.
61c64
<      pgjdbc
---
>      ODBCng
64c67,68
<        A JDBC</> interface.
---
>        Another ODBC driver for PostgreSQL. 
>        Website.
70,80c74
<      Npgsql
<      
<       
<        .Net</> interface for more recent
<        Windows</> applications.
<       
<      
<     
< 
<     
<      libpqxx
---
>      pgjdbc
83c77,78
<        A newer C++</> interface.
---
>        A JDBC</> interface.
>        Website.
89c84
<      libpq++
---
>      Npgsql
92c87,89
<        An older C++</> interface.
---
>        .Net</> interface for more recent
>        mono/C#</> applications.
>        Website.
98c95
<      pgperl
---
>      libpqxx
101,102c98,99
<        A Perl</> interface with an API</> similar
<        to libpq</>.
---
>        A newer C++</> interface.
>        Website.
108c105
<      DBD-Pg
---
>      DBD::Pg
111,112c108,109
<        A Perl</> interface that uses the
<        DBD</>-standard API</>.
---
>        A Perl</> DBI driver for PostgreSQL.
>        Website.
121a119
>        Website.
127c125
<      pgtcl
---
>      Pyscopg
130c128
<        The original version of the Tcl</> interface.
---
>        A Python</> interface librar that is DB API 2.0 compliant.
134,143d131
< 
<     
<      PyGreSQL
<      
<       
<        A Python</> interface library.
<       
<      
<     
< 
145,148d132
< 
<    All of these can be found at
<    GBorg</>
<    or pgFoundry</>.
Index: maintenance.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/maintenance.sgml,v
retrieving revision 1.56
diff -r1.56 maintenance.sgml
9a10,13
>  
>   Routine maintenance
>  
> 
11,17c15,19
<    There are a few routine maintenance chores that must be performed on
<    a regular basis to keep a PostgreSQL
<    server running smoothly.  The tasks discussed here are repetitive
<    in nature and can easily be automated using standard Unix tools such
<    as cron scripts.  But it is the database
<    administrator's responsibility to set up appropriate scripts, and to
<    check that they execute successfully.
---
>    PostgreSQL, like any database software requires that tasks
>    be performed on a regular basis to achieve optimum performance.
>    The tasks discussed here are required but they
>    are repetitive in nature and can easily be automated using standard 
>    Unix tools such as cron scripts.  
30,32c32,36
<    The other main category of maintenance task is periodic vacuuming</>
<    of the database.  This activity is discussed in
<    .
---
>    The are two tasks that must be performed on 
>    a periodic basis. The first is vacuuming. This activity is discussed in
>    . The sceond is to update the planner
>    statistics using the analyze command as discussed in 
>    .
42,44c46,48
<    to some other database management systems.  Nonetheless,
<    appropriate attention to these tasks will go far towards ensuring a
<    pleasant and productive experience with the system.
---
>    to other database management systems. It is also fairly easy, provided
>    you read the documentation to keep a relatively hands off maintenance 
>    regimen. 
56c60
<    must be run on a regular basis for several reasons:
---
>    must be run on a regular basis for several reasons:
60c64
<       To recover disk space occupied by updated or deleted
---
>       To recover or reuse disk space occupied by updated or deleted
85,89c89,94
<    The standard form of VACUUM</> can run in parallel with 
<    normal database operations (SELECTs, INSERTs, UPDATEs, DELETEs, but not 
<    changes to table definitions).
<    Beginning in PostgreSQL 8.0, there are
<    configuration parameters that can be adjusted to further reduce the
---
>    The standard form of VACUUM</> does not intefere with production
>    database operations. Items such as SELECTS, INSERTS, UPDATES and DELETES
>    will continue to function as normal. You will not be able to modify the
>    definition (Such as ALTER TABLE ADD COLUMN) of a table.
>    The release of PostgreSQL 8.0, introduced new
>    configuration parameters to further reduce the potentially negative 

Re: maintenance diff

От:
Robert Treat <xzilla@users.sourceforge.net>
Дата:
On Thursday 13 July 2006 20:58, Joshua D. Drake wrote:
> Hello,
>
> Updated to have stronger wording for vacuuming. Cleaned out some extra
> superlatives. Added a couple of index entries for Routine Maintenance
> and added entry specific to Analyze.

I noticed a number of typos in this... 

s/Gbord/Gborg/
s/Gforg/Gforge/
s/including, mailing/including mailing
s/forums and cvs/forums, and cvs,/
s/pgFoundry/PgFoundry/

I think there might be some other issues too... like saying gborg is 
deprecated is likely to imply something wrong with the projects there rather 
than the site itself. 

There were a couple of other minor things I noticed too... Joshua, do you mind 
if I make some changes and resubmit this patch? 

-- 
Robert Treat
Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL

Re: maintenance diff

От:
"Joshua D. Drake" <jd@commandprompt.com>
Дата:
Robert Treat wrote:
> On Thursday 13 July 2006 20:58, Joshua D. Drake wrote:
>> Hello,
>>
>> Updated to have stronger wording for vacuuming. Cleaned out some extra
>> superlatives. Added a couple of index entries for Routine Maintenance
>> and added entry specific to Analyze.
> 
> I noticed a number of typos in this... 
> 
> s/Gbord/Gborg/
> s/Gforg/Gforge/ 


(I am not surprised I did that)

> s/including, mailing/including mailing
> s/forums and cvs/forums, and cvs,/
> s/pgFoundry/PgFoundry/
> 
> I think there might be some other issues too... like saying gborg is 
> deprecated is likely to imply something wrong with the projects there rather 
> than the site itself. 

I can extend that... The Gborg site is deprecated and all current 
projects are moving to Gforge.

> 
> There were a couple of other minor things I noticed too... Joshua, do you mind 
> if I make some changes and resubmit this patch? 

Let me go back through it first please.

Joshua D. Drake

> 


-- 

    === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
    Providing the most comprehensive  PostgreSQL solutions since 1997
              http://www.commandprompt.com/


Maintenance and External Projects (try 2)

От:
"Joshua D. Drake" <jd@commandprompt.com>
Дата:
Hello,

I did further work on both of these. Cleaned up some stupid spelling and 
typos (forgot an s here, a y there ;)).

The commit log doesn't change from previous except that I added a 
reference to Sourceforge for external projects, and I specified that 
there are three required routing maintenance tasks.

Please let me know if there is anything else you would like me to do or add.

Joshua D. Drake


-- 

    === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
    Providing the most comprehensive  PostgreSQL solutions since 1997
              http://www.commandprompt.com/


*** external-projects.sgml	2006-07-14 09:35:39.820149250 -0700
--- external-projects.sgml.diff	2006-07-14 09:33:42.864840000 -0700
***************
*** 1,29 ****
  
  
   
!   External Projects
  
    
     PostgreSQL is a complex software project,
     and managing it is difficult. We have found that many
     enhancements to PostgreSQL can be more
!    efficiently developed separately from the core project. Separate
!    projects can
!    have their own developer teams, email lists, bug tracking,
!    and release schedules. While their independence makes
!    development easier, it makes users' jobs harder. They have to hunt
!    around looking for database enhancements to meet their needs.
!    This section describes some of the more popular externally
!    developed enhancements and guides you on how to find them.
    
  
    
!    Many PostgreSQL-related projects are
!    hosted at either 
!    GBorg</>
!    or pgFoundry</>.
!    There are other PostgreSQL-related projects that are hosted
!    elsewhere, but you will have to do an Internet search to find them.
    
  
   
--- 1,34 ----
  
  
   
!   PgFoundry and External Projects
  
    
     PostgreSQL is a complex software project,
     and managing it is difficult. We have found that many
     enhancements to PostgreSQL can be more
!    efficiently developed separately from the core project. 
!   
!   
!   
!    To help our community with the development of their external projects
!    we have created PgFoundry.
!    Pgfoundry utlizes the Gforge
!    software and is similar to SourceForge in its feature set. If you have an
!    Open Source project that you would like to develop and need project management
!    resources such as mailing lists, forums and cvs please feel free to create
!    a new project.   
    
  
    
!    Secondly, many PostgreSQL-related projects are
!    still hosted at GBorg</>. 
!    Gborg is the original external community developer site. It is currently deprecated 
!    in favor of PgFoundry but still contains many active and relevant projects. There 
!    are other popular PostgreSQL related projects that are 
!    hosted independently as well as at other community sites such as 
!    SourceForge. You should you google if you 
!    don't find the project you are looking for.
    
  
   
***************
*** 36,46 ****
    
     PostgreSQL includes very few interfaces
     with the base distribution. libpq</> is packaged because
!    it is the primary C</> interface and many other
!    interfaces are built on top of it. ecpg</> is packaged
!    because it is tied to the server-side grammar so is very dependent
!    on the database version. All the other interfaces are independent
!    projects and must be installed separately.
    
  
    
--- 41,50 ----
    
     PostgreSQL includes very few interfaces
     with the base distribution. libpq</> is packaged because
!    it is the primary dependecy of most interfaces available to PostgreSQL.
!    We also package ecpg</> is because it is tied to the 
!    server-side grammar. All other interfaces, such as PHP, Perl, Python,
!    and Ruby are external projects.
    
  
    
***************
*** 52,115 ****
       
        
         This is the most common interface for Windows</>
!        applications.
        
       
      
  
      
!      pgjdbc
       
        
!        A JDBC</> interface.
        
       
      
  
      
!      Npgsql
!      
!       
!        .Net</> interface for more recent
!        Windows</> applications.
!       
!      
!     
! 
!     
!      libpqxx
       
        
!        A newer C++</> interface.
        
       
      
  
      
!      libpq++
       
        
!        An older C++</> interface.
        
       
      
  
      
!      pgperl
       
        
!        A Perl</> interface with an API</> similar
!        to libpq</>.
        
       
      
  
      
!      DBD-Pg
       
        
!        A Perl</> interface that uses the
!        DBD</>-standard API</>.
        
       
      
--- 56,113 ----
       
        
         This is the most common interface for Windows</>
!        applications. Website.
        
       
      
  
      
!      ODBCng
       
        
!        Another ODBC driver for PostgreSQL. 
!        Website.
        
       
      
  
      
!      pgjdbc
       
        
!        A JDBC</> interface.
!        Website.
        
       
      
  
      
!      Npgsql
       
        
!        .Net</> interface for more recent
!        mono/C#</> applications.
!        Website.
        
       
      
  
      
!      libpqxx
       
        
!        A newer C++</> interface.
!        Website.
        
       
      
  
      
!      DBD::Pg
       
        
!        A Perl</> DBI driver for PostgreSQL.
!        Website.
        
       
      
***************
*** 119,151 ****
       
        
         A newer version of the Tcl</> interface.
        
       
      
  
      
!      pgtcl
       
        
!        The original version of the Tcl</> interface.
        
       
      
- 
-     
-      PyGreSQL
-      
-       
-        A Python</> interface library.
-       
-      
-     
- 
     
- 
-    All of these can be found at
-    GBorg</>
-    or pgFoundry</>.
     
  
   
--- 117,137 ----
       
        
         A newer version of the Tcl</> interface.
+        Website.
        
       
      
  
      
!      Pyscopg
       
        
!        A Python</> interface library that is DB API 2.0 compliant.
!        Website.
        
       
      
     
     
  
   
***************
*** 175,181 ****
    
     There are several administration tools available for
     PostgreSQL</>. The most popular is
!    pgAdmin</>, and there are several commercially
     available ones.
     
  
--- 161,167 ----
    
     There are several administration tools available for
     PostgreSQL</>. The most popular is
!    pgAdmin</>, and there are several commercially
     available ones.
     
  
*** maintenance.sgml	2006-07-14 09:35:40.180171750 -0700
--- maintenance.diff	2006-07-14 10:06:13.642756000 -0700
***************
*** 7,48 ****
    maintenance
   
  
    
!    There are a few routine maintenance chores that must be performed on
!    a regular basis to keep a PostgreSQL
!    server running smoothly.  The tasks discussed here are repetitive
!    in nature and can easily be automated using standard Unix tools such
!    as cron scripts.  But it is the database
!    administrator's responsibility to set up appropriate scripts, and to
!    check that they execute successfully.
    
! 
    
!    One obvious maintenance task is creation of backup copies of the data on a
!    regular schedule.  Without a recent backup, you have no chance of recovery
!    after a catastrophe (disk failure, fire, mistakenly dropping a critical
!    table, etc.).  The backup and recovery mechanisms available in
!    PostgreSQL are discussed at length in
!    .
    
  
    
!    The other main category of maintenance task is periodic vacuuming</>
!    of the database.  This activity is discussed in
!    .
    
  
    
!    Something else that might need periodic attention is log file management.
     This is discussed in .
    
  
!   
!    PostgreSQL is low-maintenance compared
!    to some other database management systems.  Nonetheless,
!    appropriate attention to these tasks will go far towards ensuring a
!    pleasant and productive experience with the system.
!   
  
   
    Routine Vacuuming
--- 7,46 ----
    maintenance
   
  
+  
+   Routine maintenance
+  
+ 
    
!    PostgreSQL, like any database software requires that certain tasks
!    be performed regularly to achieve optimum performance. The tasks 
!    discussed here are required but they
!    are repetitive in nature and can easily be automated using standard 
!    Unix tools such as cron scripts.  
    
!   
    
!    PostgreSQL is low-maintenance compared
!    to other database management systems. It is also fairly easy, provided
!    you read the documentation.
    
  
    
!    There are three tasks that must be performed on 
!    a periodic basis. The first is backups. If you do not have a current backup
!    and your system experiences a catostrophic failure, you will loose your data.
!    You can read further about backups procedures in . 
!    The second is vacuum which is discussed in . 
!    The third is to update the planner statistics using the analyze command as 
!    discussed in .
    
  
    
!    Another task that may need periodic attention is log file management.
     This is discussed in .
    
  
!   
  
   
    Routine Vacuuming
***************
*** 53,63 ****
  
    
     PostgreSQL's VACUUM</> command
!    must be run on a regular basis for several reasons:
  
      
       
!       To recover disk space occupied by updated or deleted
        rows.
       
  
--- 51,61 ----
  
    
     PostgreSQL's VACUUM</> command
!    must be run on a regular basis for several reasons:
  
      
       
!       To recover or reuse disk space occupied by updated or deleted
        rows.
       
  
***************
*** 82,92 ****
    
  
    
!    The standard form of VACUUM</> can run in parallel with 
!    normal database operations (SELECTs, INSERTs, UPDATEs, DELETEs, but not 
!    changes to table definitions).
!    Beginning in PostgreSQL 8.0, there are
!    configuration parameters that can be adjusted to further reduce the
     performance impact of background vacuuming.  See
     .
    
--- 80,91 ----
    
  
    
!    The standard form of VACUUM</> does not intefere with production
!    database operations. Items such as SELECTS, INSERTS, UPDATES and DELETES
!    will continue to function as normal. You will not be able to modify the
!    definition (Such as ALTER TABLE ADD COLUMN) of a table.
!    The release of PostgreSQL 8.0, introduced new
!    configuration parameters to further reduce the potentially negative 
     performance impact of background vacuuming.  See
     .
    

Re: Maintenance and External Projects (try 2)

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
"Joshua D. Drake"  writes:
> Please let me know if there is anything else you would like me to do or add.

A round of copy-editing seems indicated, at least.

			regards, tom lane

Re: Maintenance and External Projects (try 2)

От:
"Joshua D. Drake" <jd@commandprompt.com>
Дата:
Tom Lane wrote:
> "Joshua D. Drake"  writes:
>> Please let me know if there is anything else you would like me to do or add.
> 
> A round of copy-editing seems indicated, at least.

Oh, no doubt. I tried to fix as much as I find, including a bunch of 
stuff already there. However, I do not claim, in any way to be an editor.

Sincerely,

Joshua D. Drake

> 
> 			regards, tom lane
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
> 
>                http://archives.postgresql.org
> 


-- 

    === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
    Providing the most comprehensive  PostgreSQL solutions since 1997
              http://www.commandprompt.com/


Re: Maintenance and External Projects (try 2)

От:
Robert Treat <xzilla@users.sourceforge.net>
Дата:
Вложения:
On Friday 14 July 2006 15:23, Joshua D. Drake wrote:
> Tom Lane wrote:
> > "Joshua D. Drake"  writes:
> >> Please let me know if there is anything else you would like me to do or
> >> add.
> >
> > A round of copy-editing seems indicated, at least.
>
> Oh, no doubt. I tried to fix as much as I find, including a bunch of
> stuff already there. However, I do not claim, in any way to be an editor.
>

The following patches provide some editorializing for Joshua's patches. 

-- 
Robert Treat
Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL

Re: Maintenance and External Projects (try 2)

От:
Bruce Momjian <bruce@momjian.us>
Дата:

Your patch has been added to the PostgreSQL unapplied patches list at:

	http://momjian.postgresql.org/cgi-bin/pgpatches

It will be applied as soon as one of the PostgreSQL committers reviews
and approves it.

---------------------------------------------------------------------------


Robert Treat wrote:
> On Friday 14 July 2006 15:23, Joshua D. Drake wrote:
> > Tom Lane wrote:
> > > "Joshua D. Drake"  writes:
> > >> Please let me know if there is anything else you would like me to do or
> > >> add.
> > >
> > > A round of copy-editing seems indicated, at least.
> >
> > Oh, no doubt. I tried to fix as much as I find, including a bunch of
> > stuff already there. However, I do not claim, in any way to be an editor.
> >
> 
> The following patches provide some editorializing for Joshua's patches. 
> 
> -- 
> Robert Treat
> Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL

[ Attachment, skipping... ]

[ Attachment, skipping... ]

> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend

-- 
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

Re: Maintenance and External Projects (try 2)

От:
Bruce Momjian <bruce@momjian.us>
Дата:

Patch applied.  Thanks.

---------------------------------------------------------------------------


Robert Treat wrote:
> On Friday 14 July 2006 15:23, Joshua D. Drake wrote:
> > Tom Lane wrote:
> > > "Joshua D. Drake"  writes:
> > >> Please let me know if there is anything else you would like me to do or
> > >> add.
> > >
> > > A round of copy-editing seems indicated, at least.
> >
> > Oh, no doubt. I tried to fix as much as I find, including a bunch of
> > stuff already there. However, I do not claim, in any way to be an editor.
> >
> 
> The following patches provide some editorializing for Joshua's patches. 
> 
> -- 
> Robert Treat
> Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL

[ Attachment, skipping... ]

[ Attachment, skipping... ]

> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend

-- 
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +
FAQ