26276559 lotus domino

26
What is the difference between running NSD and NSD -info?  Technote (FAQ)  Problem What is the difference between running "NSD" and "NSD -info"? Solution The difference is in the information that is collected: NSD -info Running an "NSD -info" on a Domino server displas: sstem information notes!ini environment variables data and program director contents dis drive sstem memor statistics!" #ottom line: When ou want to collect onl sstem information$ run "NSD -info"! NSD Running "NSD" captures: all the sstem information that ou get with "nsd -info" as well as the current processes that are running #ottom line: When ou see a pe rformance issue and need to get a sense of both the sstem information and what is running$ run an NSD! Another way to position the distinction To get the list of processes that are running$ NSD uses %"touches"& the '(D!N#) file$ which is the 'rocess (D table of all Note s*Domino processes! The "NSD -info" does not touch the "pid!nbf" file! )or more information on the pid!nbf file$ refer to the technote titled$ "What is the '(D!N#) file?" %+,./,,& Troubleshooting Windows NSD: When NSD is not generating a "!log" file successfull$ it is a good idea to run "NSD -info"! Running NSD -info avoids touching the "pid!nbf" file! ( f it runs to completion$ it shows that the nsd e0ecutable is capable of running! 'erhaps there is a problem with the '(D!N#) file! Refer to the technote titled$ "What is the '(D!N#) file?" %+,./,,&! What is the PID.NBF file?

Upload: ion-blenoragie

Post on 04-Jun-2018

243 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 26276559 Lotus Domino

8/13/2019 26276559 Lotus Domino

http://slidepdf.com/reader/full/26276559-lotus-domino 1/26

What is the difference between runningNSD and NSD -info?

 Technote (FAQ)

 

Problem

What is the difference between running "NSD" and "NSD -info"?

SolutionThe difference is in the information that is collected:

NSD -info 

Running an "NSD -info" on a Domino server displas:

sstem information

notes!ini

environment variables

data and program director contents

dis drive

sstem memor statistics!"

#ottom line: When ou want to collect onl sstem information$ run "NSD -info"!

NSD 

Running "NSD" captures:

all the sstem information that ou get with "nsd -info"

as well as the current processes that are running

#ottom line: When ou see a performance issue and need to get a sense of both the ssteminformation and what is running$ run an NSD!

Another way to position the distinction

To get the list of processes that are running$ NSD uses %"touches"& the '(D!N#) file$ which is

the 'rocess (D table of all Notes*Domino processes!

The "NSD -info" does not touch the "pid!nbf" file!

)or more information on the pid!nbf file$ refer to the technote titled$ "What is the '(D!N#) file?"%+,./,,&

Troubleshooting Windows NSD:

When NSD is not generating a "!log" file successfull$ it is a good idea to run "NSD -info"!

Running NSD -info avoids touching the "pid!nbf" file! (f it runs to completion$ it shows that the nsd

e0ecutable is capable of running! 'erhaps there is a problem with the '(D!N#) file! Refer to the technote

titled$ "What is the '(D!N#) file?" %+,./,,&!

What is the PID.NBF file?

Page 2: 26276559 Lotus Domino

8/13/2019 26276559 Lotus Domino

http://slidepdf.com/reader/full/26276559-lotus-domino 2/26

 Technote (FAQ)

 

ProblemWhat is the '(D!N#) file?

Solution

The '(D!N#) file is the 'rocess (D table of all Notes*Domino processes! )orthe lifetime of a Notes client*server$ each process start or shutdown causes

the process (D %'(D& to be added to or removed from the '(D!N#)!

(n a Win/ environment$ NSD uses the pid!nbf to determine$ in case of acrash$ if the failing process is a Notes*Domino process! The '(D!N#) file is

also used b Domino in a partitioned server environment! The file allows theprocesses associated with each partitioned server to be identified!

The '(D!N#) is located in the Domino1Data director! The '(D!N#) file can be

renamed or deleted! The file is recreated the ne0t time the Domino server isrestarted! (f the '(D!N#) file is deleted while the Domino server is running$NSD will be unable to determine the Notes processes to attach tountil the server is restarted %when the new '(D!N#) is created&!

How does the Compact function behave when usingDatabase Properties

 Technote (FAQ)

 

Problem(n 2otus Domino3$ if ou use the )ile menu --4 Database --4 'roperties -4(nfo tab --4 5ompact option$ how does 5ompact wor and behave?

SolutionWhen triggered from the Database 'roperties (nfo panel$ three inds of

compacting can occur: cop-stle compaction %-2&$ in-place compaction %-b&$and in-place with file si6e reduction compaction %-#&! Note the case-

sensitivit of the commands!

NOT: 5ompacting a database does not necessaril reduce its si6e!

Types of compacting:

-- (f the Notes database re7uires structural changes %tpicall a change of8DS 9on-dis structure&! then a cop-stle compaction will be performed

%e7uivalent to-2&!

-- (f the Notes database is logged %Transactional 2ogging enabled&$ then a

simple in-place compaction will be performed %e7uivalent to -b&!

-- (f the Notes database is not logged %Transactional 2ogging disabled&$ anin-place with file si6e reduction compaction will be performed %e7uivalent to

-#&!

NOT: (n Domino ; releases$ the re7uest from the Notes 5lient to compact adatabase was changed! This functionalit is now handled b the <pdate tas

so that the connection to the Domino server is not tied up waiting for a mailfile to be compacted! The <pdate tas places the 5ompact re7uest in a

deferred 7ueue and processes it when it has free ccles!

Page 3: 26276559 Lotus Domino

8/13/2019 26276559 Lotus Domino

http://slidepdf.com/reader/full/26276559-lotus-domino 3/26

Comact oeration not erformedimmediatel! on a bus! ser"er 

 Technote (FAQ)

 

!uestion=ou want to e0ecute a compact operation on a 2otus Notes3*2otusDomino3 database from within Notes! (n the Notes database$ from the )ilemenu$ ou choose Database --4 'roperties --4 (nfo panel --4 5ompact! The

following message appears in the status bar:

"#our re$uest to compact this database is now being carried out%" 

>owever$ after waiting several minutes$ ou notice that the si6e of thedatabase reported on the 'roperties (nfo panel has not changed!

=ou verif that the Notes database is not logged %Transactional 2ogging isenabled& and that ou have access to the 5ompact button %manager accessin the 52& since these could be reasons wh the database si6e has not

reduced!

AnswerThis issue was reported to @ualit Angineering as S'R+ B2#SC@T) and

has been addressed in Domino release ;!E!/!

A0cerpt from the 2otus Notes and Domino Release ;!E!/ FR fi0 list %availableat http:**www!ibm!com*developerwors*lotus &:

S'R+ B5>NCGFCH. - dded the new Notes!ini variable

"DebugI5ompactI(mmediatel" to allow compact re7uests from clients to beperformed immediatel %lie in RC& rather than 7ueued! %Regression in ;!E!&

Refer to the <pgrade 5entral site for details on upgrading Notes*Domino!

Additional &nformation(n Domino ; and J releases$ the re7uest from Notes to compact a databasewas changed! This functionalit is now handled b the <pdate %updall& tas

so that the connection to the Domino server is not tied up waiting for a mailfile to be compacted! The <pdate tas places the 5ompact re7uest in adeferred 7ueue and processes it when it has free ccles!

8n a bus Domino server$ the <pdate tas might tae from minutes to hoursto process re7uests for compacting$ especiall during pea hours!

=ou can issue the following Domino console command %without 7uotes& to

see how man compact re7uests were e0ecuted b <pdate: "show stat<pdate!'ending2ist!'rocessed!5ompactions"

(n some cases$ increasing the number of <pdate tass and configuring<pdate to use a separate thread to do full te0t inde0ing reduces the timeinvolved!

To enable multiple <pdate tass$ add the following parameter to the serverKsnotes!ini file:'pdaters ( ) %number of desired <pdate tass to run on the server&!

To configure <pdate to use a separate thread to do full te0t inde0ing$ addthe following parameter to the serverKs notes!ini file: <pdateI)ullte0tIThreadL ,!

NOT: )or the <pdateI)ullte0tIThread parameter$ setting this variable to ,allows use of a separate thread to do full te0t inde0ing so that long full te0t

Page 4: 26276559 Lotus Domino

8/13/2019 26276559 Lotus Domino

http://slidepdf.com/reader/full/26276559-lotus-domino 4/26

inde0es donKt dela view updates! # default$ view updates and full te0t

inde0 updates are driven b the same thread! Giew updating will still wor in"updall!"

What is a Notes database? 

A Notes database is a single file that contains multiple documents. A database generallycontains information about a particular area of interest, such as the forms and policydocuments for a department, or it might contain documents of a similar type, such as e-mailmessages. In addition, some companies create "discussion databases," where employees canpost responses to particular topics. Documents in Notes databases contain rich text, pictures,objects, and many other types of information.

ost databases are stored on one or more Domino ser!ers, accessible by many users. heseare called shared databases. Databases that are used only by you and reside on yourcomputer are called local databases.

Notes comes with templates you can use to create your own databases. hese templates ha!ethe file extension N#. he Notes databases ha!e the extension N$#.

Notes databases also ha!e access control lists %A&'s( that control the actions people, groups,and ser!ers can perform in the database. #or example, one person may be able to create andread documents in a database, where another person may be allowed only to read documents

in the same database.

#nown limitations of Notes and Domino$.%

 Technote (FAQ) 

ProblemWhat are some of the nown limitations of Notes and Domino ;!0?

'lease refer to this document for similar information in Notes*Domino C!0:"nown limitations of Notes and Domino C!0" %+,,M.,J;&!

Solution

Page 5: 26276559 Lotus Domino

8/13/2019 26276559 Lotus Domino

http://slidepdf.com/reader/full/26276559-lotus-domino 5/26

The following tables summari6e the nown ma0imum limits of various Notes

and Domino ;!0 features as noted in the Notes*Domino documentation!Note: Specificall$ the first table originated in the Notes ; 5lient >elp! The

second table originated in the Domino ; Designer >elp$ and has been editedto contain onl uni7ue items that are not also listed in the Notes 5lient table!

*TT&N* STA+TD

,imits of Notes

&tem ,imitWhat is the ma0imum si6e of adatabase?

The ma0imum 8S file si6e limit %up toCH#&

What is the ma0imum si6e of

te0t fields?

/# %storage&O /# displaed in a viewKs

column

What is the ma0imum si6e of a

rich te0t field?

2imited onl b available dis space up to

,H#

What is the ma0imum si6e of a

single paragraph in a rich te0tfield?

C#

What is the ma0imum amount ofTe0t %Summar& data per

document?

C#

>ow man levels of responses in

a hierarchical viewO how mandocuments at each level?

/, levelsO /EE$EEE documents

>ow man columns can beincluded in one table?

C

>ow man rows can be includedin one table?

MM

>ow man views can be added toa database?

No limitO however$ as the number of viewsincreases$ the length of time to displaother views also increases

>ow man columns are allowedin a view?

J. ten-character columnsO dependentupon + or characters per column

>ow man documents can beimported into a view? Documents totaling at least /ME

>ow man cascading views are

allowed in a database?

EE

What is the ma0imum value %ininches& ou can enter for marginsi6e?

!;M

What is the ma0imum value %ininches& ou can enter for page

si6e cropping?

C

What is the ma0imum point si6eou can select*print?

ME

>ow man documents are

allowed in one view?

<p to the si6e of the database$ with a

ma0imum of CH#What is the ma0imum number of

documents that can be e0portedto Tabular Te0t?

2imited onl b available dis space

What is the ma0imum number ofentries in an ccess 5ontrol 2ist?

P.ME names %total 52 si6e is limited to/;C; btes&

What is the ma0imum number ofroles in an ccess 5ontrol 2ist?

;M Roles

WhatKs the ma0imum passwordlength allowed on an (D?

C btes %C/ characters for single-btecharacter sets but onl , characters for

some double-bte languages&

What is the ma0imum number of / of names in the Fembers te0t field

Page 6: 26276559 Lotus Domino

8/13/2019 26276559 Lotus Domino

http://slidepdf.com/reader/full/26276559-lotus-domino 6/26

contacts allowed in a group inthe 'ersonal ddress #oo?

What is the ma0imum number ofrecipients in a single mailmessage?

)or individual names and private groupswhich e0pand locall$ ,M#O for publicgroups which e0pand on a server$ MF#

APP,&AT&ON DS&*N

Table of Notes and Domino .nown limits 

The following table summari6es the nown ma0imum limits of various Notes

and Domino features!

&tem /a0imum limit

5haracters in names Database Title: .C btes)ilenames: 8n Windows3 and <N(Q3 platformsminimum of MM and*or 8S limitsO on local

Facintosh worstation /,)ield names: /

Giew names: C)orm names: /

gent names: /

)ields in a database P /EEE %limited to P C total length for all field

names&! =ou can enable the database propert"llow more fields in database" to get up to$J./ uni7uel-named fields in the database!

)orms in a database 2imited onl b database si6e!

Fargin si6e %in inches& C

'age cropping si6e %ininches&

C

'oint si6e to select or

print

ME

Documents in a view <p to the ma0imum si6e of the database

Documents that can bee0ported to tabular te0t

2imited onl b available dis space

uthori6ed users on amultiple password (D

J users

8utline entries in anoutline

P,$EEE entries

Notes allows ou to paste a ma0imum of MM rows into a table! A0ceeding

this limit will ield the error$ "No more than MM rows allowed in a table"!

+elated information

nown limitations of Notes and Domino C!0 

ross +eference information

Segment Product omponent Platform 1ersion dition

Fessagingpplications

2otusDomino

2otusDomino

Designer

;!E

 

Page 7: 26276559 Lotus Domino

8/13/2019 26276559 Lotus Domino

http://slidepdf.com/reader/full/26276559-lotus-domino 7/26

Support downloads  4

#nown limitations of Notes and Domino&.%

 Technote (FAQ)

 

ProblemWhat are some of the nown limitations of Notes and Domino C!0?

'lease refer to this document for similar information in Notes*Domino ;!0:

"nown limitations of Notes and Domino ;!0" %+,JE;&!

Solution

The following table summari6es the nown ma0imum limits of various Notesand Domino C!0 features as noted in the Notes Domino documentation:

&tem /a0imum limit

Database si6e The ma0imum 8S file si6e limit -- %up to CH#&

Te0t field si6e /# %storage&O /# displaed in a viewKs column

Rich te0t field si6e 2imited onl b available dis space up to ,H#

Response levels in a

hierarchical viewOnumber of documents

per level

/, levelsO /EE$EEE documents

5haracters in names Database Title: .C btes

)ilenames: 8n Windows3 and <N(Q3 platformsminimum of MM and*or 8S limitsO on local Facintoshworstation /,)ield names: /

Giew names: C)orm names: /

gent names: /

)ields in a database P /EEE %limited to P C total length for all fieldnames&! =ou can enable the database propert "llowmore fields in database" to get up to $J./ uni7uel-

named fields in the database!

5olumns in a table C

Rows in a table MMGiews in a database No limitO however$ as the number of views increases$

the length of time to displa other views alsoincreases

)orms in a database 2imited onl b database si6e!

5olumns in a view J. ten-character columnsO dependent upon + or

characters per column

Documents imported

into a view

Documents totaling at least /ME

5ascading views in a

database

EE

Fargin si6e %ininches&

C

'age cropping si6e %in

inches&

C

'oint si6e to select or

print

ME

Documents in a view Giews are architecturall limited to ,/EH#! >owever$

since databases are limited to CH#$ the views cannotgrow larger than the db! So in practice$ views cangrow as large as the db si6e limit of CH#! 22

Documents that can

be e0ported totabular te0t

2imited onl b available dis space

Antries in an ccess

5ontrol 2ist %52&

P.ME names %52 si6e is limited to /;C; btes&

Roles in an ccess5ontrol 2ist

;M Roles

Page 8: 26276559 Lotus Domino

8/13/2019 26276559 Lotus Domino

http://slidepdf.com/reader/full/26276559-lotus-domino 8/26

Results of the First Server Setup

)unning the setup of the first ser!er modifies the notes.ini file so that it contains allof the re*uired information to start the ser!er. It also creates se!eral files, Dominodatabases, and Domino documents. he following tables outline in more detail whatis created, where it is stored, and what its purpose is.

 he following tables discusses some of the settings that are added by the setupprogram to the notes.ini file+

Setting Example Description

Notesrogram   NotesProgram=c:\progr

am files\

lotus\domino

xecutable directory name.

Directory   Directory=c:\program

files\lotus\

domino\data

Data directory name %for non-partitionedser!ers(.

$er!erey#ileName

ServerKeyFileName=ser

ver.id$er!er ID file name.

Domain   Domain=Adventure Domain name.

$er!eras/s   ServerTasks=Update,

Replica, Router, Stats,

AMgr, Adminp, Sched,CalConn, RunJava ISpy,

HTTP

 as/s to start at ser!er startup.

$er!eras/sAt x 

ServerTasksAt1=Catalog,

Design as/s to run once per day at scheduledtimes.

Port    TCPIP=TCP, 0, 15, 0 &onfiguration settings for the port dri!er.

orts   Ports=TCPIP nabled ports.

Disabledorts   DisabledPorts=LAN0,SP

X,COM2,COM4,COM5Disabled ports.

001as'anort   $$HasLanPort=1  he ser!er has or does not ha!e a 'ANport.

'og  Log=LOG.NSF,1,0,7,40000

$ettings for the log file+ file name, logoption %default is 2, log to the console(, 3%the third setting not used at this time(,number of days to retain log information,maximum number of bytes log file cancontain.

'456 task    Log_Replication=1 'e!el of detail to be logged for that tas/.

assthru6'og'e!el

Passthru_LogLevel=0 'e!el of detail to be logged about networ/connections, including passthroughconnections

 

 he setup creates the following Domino databases, all stored in the data directory+

Page 9: 26276559 Lotus Domino

8/13/2019 26276559 Lotus Domino

http://slidepdf.com/reader/full/26276559-lotus-domino 9/26

Database File Name Description

&ertification'og

certlog.ns

f'ogs all registrations of ser!ers and users.

DominoDirectory

names.nsf 7sed to administer the Domino networ/.

$er!er 'og   log.nsf $tores the log of messages that ha!e been displayedon the ser!er console in the last se!en days.

)eports   reports.nsf 5enerates and stores mail usage reports.

Administrator8smail file

mail\msmit

h.nsf %forexample(

 he first administrator8s mail database is also created,in a sub-folder of the data directory called mail. hefile name is based on the administrator8s name.

 he following documents are created in the Domino Directory+

Document Description

erson document erson document for the first administrator.

$er!er document $er!er document for the first ser!er.

5roup document 5roup document for the 'ocalDomainAdmins group. he name ofthe first administrator is automatically added to this group.

5roup document 5roup document for the 'ocalDomain$er!ers group. he name ofthe first ser!er is automatically added to this group. Anyadditional ser!ers registered later will also automatically beadded to the group. he group type is initially set to "ulti-purpose". his should be changed to "$er!ers".

5roup document 5roup document for the 4therDomain$er!ers group. his groupis initially empty. It is intended to list ser!ers in other Dominodomains that connect with this domain. he group type is initiallyset to "ulti-purpose". his should be changed to "$er!ers".

&ertifier document &ertifier document for the organi9ation.

&ertifier document &ertifier document for the first organi9ational unit. hisdocument is only created if the option to create an 47 wasselected.

 he following IDs are created+

Page 10: 26276559 Lotus Domino

8/13/2019 26276559 Lotus Domino

http://slidepdf.com/reader/full/26276559-lotus-domino 10/26

ID Stored inthe...

DefaultFileName

Description

4rgani9ation

Data directory   cert.id &ertifier ID for the entire Dominoorgani9ation.

4rgani9ational 7nit

DominoDirectory,attached to

the &ertifierdocument

oucert.id &ertifier ID for the first 47. his file is onlycreated if the option to create an 47 wasselected.

$er!er Data directory   server.id $er!er ID for the first ser!er.

Administrator

DominoDirectory,attached tothe ersondocument.ay also bestored as afile, if thatoption was

selected

user.id 7ser ID for the first administrator.

 he following tables describe the options you can use with the &ompact ser!er tas/. he firstcolumn lists the options as they appear when you run &ompact using the as/ - $tart tool orthe #iles tab in the Domino Administrator. he second column lists the e*ui!alent command-line options that you use when you run &ompact using a console command or using a rogramdocument.

ompact ! "asics

Page 11: 26276559 Lotus Domino

8/13/2019 26276559 Lotus Domino

http://slidepdf.com/reader/full/26276559-lotus-domino 11/26

#ption ommand!linee$uivalent

Description

&ompact only this databaseor folder

%o specify databases tocompact using the #iles tab,select the databases in thefiles pane.(

database path

$pecify any additionaloptions after thedatabase path.

 o compact a database in theDomino data folder, enter the filename, for example $A'$.N$#. ocompact databases in a folder withinthe data folder, specify the databasepath relati!e to the data folder. #or

example, to compact all databases inthe folder DAA:$A'$, specify$A'$.

If you choose "&ompact alldatabases" %or don8t specify adatabase path at the command line(&ompact compacts all databases inthe data folder and in folders withinthe data folder.

#or more information on database path, see %2()unning &ompact using a console command.

ompact ! #ptions

#ption ommand!linee$uivalent

Description

&ompact database only ifunused space is greater than x percent

-$ percent  &ompacts all databases with aspecified percent of unused space.#or example, if you specify 23,databases with 23; or morerecorded unused space arecompacted. Note that the unusedspace calculation is not always areliable measure of unused space.

Discard any built !iewindexes

-D Discards built !iew indexes. 7se thisoption to compact databases justbefore you store them on tape, for

example. Does copy-stylecompacting.

eep or re!ert database topre!ious format

-) &ompacts databases withoutcon!erting to the current release fileformat of the ser!er that stores thedatabases or re!erts databases inthe current release file format to thepre!ious release file format. #orexample, on Domino < and morerecent ser!ers, this option compactsDomino = databases withoutcon!erting them to the Domino < fileformat and con!erts Domino <

databases to the Domino = fileformat. his option uses copy-stylecompacting.

ompact ! St%le

Page 12: 26276559 Lotus Domino

8/13/2019 26276559 Lotus Domino

http://slidepdf.com/reader/full/26276559-lotus-domino 12/26

#ption ommand!linee$uivalent

Description

In-place %recommended( -b 7ses in-place compacting andreco!ers unused space withoutreducing the file si9e, unless there8sa pending structural change to adatabase, in which case copy-stylecompacting occurs. his is the

recommended method ofcompacting.

In-place with file si9ereduction

-> 7ses in-place compacting, reco!ersunused space and reduces file si9e,unless there8s a pending structuralchange in which case copy-stylecompacting occurs. If you usetransaction logging, do full databasebac/ups after compacting completes.

&opy-style -c 7ses copy-style compacting. 7se thisoption, for example, to sol!edatabase corruption problems.

&opy-style+ Allow accesswhile compacting

-' nables users to continue to accessdatabases during compacting. If auser edits a database duringcompacting, compacting is canceled. his is useful only when copy-stylecompacting is done.

&opy-style+ Ignore errors andproceed

-i nables compacting to continue e!enif it encounters errors such asdocument corruption. 4nly used forcopy-style compacting.

ompact ! &dvanced

 he ad!anced compact options are not a!ailable through the &ompact tool in the #iles tab ofthe Domino Administrator.

Page 13: 26276559 Lotus Domino

8/13/2019 26276559 Lotus Domino

http://slidepdf.com/reader/full/26276559-lotus-domino 13/26

#ption' ommand!linee$uivalent

Description

Document table bitmapoptimi9ation+ 4ff 

-f Disables "Document table bitmapoptimi9ation" database property.Does copy-style compacting.

Document table bitmapoptimi9ation+ 4n

-# nables "Document table bitmapoptimi9ation" database property.

Does copy-style compacting.

Don8t support speciali9edresponse hierarchy+ 4ff 

-h Disables "Don8t support speciali9edresponse hierarchy" databaseproperty? in other words, supportspeciali9ed response hierarchy. Doescopy-style compacting.

Don8t support speciali9edresponse hierarchy+ 4n

-1 nables "Don8t support speciali9edresponse hierarchy" databaseproperty? in other words, do notsupport speciali9ed responsehierarchy. Does copy-stylecompacting.

nable transaction logging+4ff 

-t Disables transaction logging.

nable transaction logging+4n

- nables transaction logging. 7se&ompact - when a database is openor closed. If you use &ompact - ona database that is closed, logging isenabled but the &ompact is notlogged until the database is opened?therefore, logging is not a!ailableuntil you reopen the database.

Don8t maintain unreadmar/s+ 4ff 

-u Disables "Don8t maintain unreadmar/s" database property? in otherwords, maintain unread mar/s.

Don8t maintain unreadmar/s+ 4n

-7 nables "Don8t maintain unreadmar/s" database property? in otherwords, do not maintain unreadmar/s.

@ $elect "$et ad!anced properties" before you enable or disable any of these properties.

ompact ! &rchive

hen you use the document archi!ing tool to archi!e and delete documents in a database,you can use the following &ompact options to archi!e documents if the database is located on

a ser!er and you8!e chosen the ad!anced archi!ing option "Automatically on ser!er."

#or more information on the ser!er archi!ing option, see Archi!ing locally or on a ser!er if youha!e installed 'otus Notes B 1elp. 4r, go to www.lotus.comClddCdoc   to download or !iew 'otusNotes B 1elp.

Page 14: 26276559 Lotus Domino

8/13/2019 26276559 Lotus Domino

http://slidepdf.com/reader/full/26276559-lotus-domino 14/26

#ption' ommand!linee$uivalent

Description

Archi!e only -A Archi!es and deletes documents froma database without compacting thedatabase.

Archi!e and then compact -a Archi!es and deletes documents froma database and then compacts the

database.

Delete and then archi!e -j Deletes documents from a databaseand then compacts the database.

@he &ompact tool in the #iles tab of the Domino Administrator pro!ides only the option"Archi!e database?" this option archi!es and then compacts.

See also%(ays to compact databases%E(&ompacting databases%F(Database properties that optimi9e database performance%=()unning &ompact using a console command

.TXN Files

ontent2otus Domino supports transaction logging and recover! With this feature enabled$ the sstemcaptures database changes and writes them to the transaction log! Then if a sstem or media failureoccurs$ ou can use the transaction log and a third-part bacup utilit to recover our databases

&/PO+TANT: nabling transaction logging can impro3e ser3er performance in most cases%Transaction logging saves processing time because it allows Domino to defer database updates todis during periods of high server activit! Transactions are recorded se7uentiall in the log files$which is much 7uicer than database updates to random$ nonse7uential parts of a dis! #ecause the

transactions are alread recorded$ Domino can safel defer database updates until a period of lowserver activit!

What is transaction logging4

Transaction logging eeps a se7uential record of ever operation that occurs to data! (f a database

becomes corrupted$ ou can "roll bac" the database to a point before it was corrupted and replathe changes from the transaction log!

single transaction is a series of changes made to a database on a server -- for e0ample$ a

transaction might include opening a new document$ adding te0t$ and saving the document!

Transaction logging provides three main benefits:

- (n most situations$ ou no longer need to run the )i0up tas to recover databases following asstem failure! A0cluding )i0up results in 7uicer server restarts$ since )i0up must chec ever

document in each database$ while transaction log recover applies or undoes onl thosetransactions not written to dis at the time of the sstem failure!

- Transaction logging saves processing time because it allows Domino to defer database updates to

dis during periods of high server activit! Transactions are recorded se7uentiall in the log files$which is much 7uicer than database updates to random$ nonse7uential parts of a dis! #ecause thetransactions are alread recorded$ Domino can safel defer database updates until a period of lowserver activit!

- <sing transaction logging simplifies our dail bacup procedure! =ou can use a third-part bacup

Page 15: 26276559 Lotus Domino

8/13/2019 26276559 Lotus Domino

http://slidepdf.com/reader/full/26276559-lotus-domino 15/26

utilit to perform dail incremental bacups of the transaction logs$ rather than perform full

database bacups!

&/PO+TANT: Transaction logging wors with databases in format 8DS , or higher but not withdatabases that use formats from earlier releases %8DS E will not wor&! fter ou enable

transaction logging$ all databases are automaticall logged! To chec database formats$ use the)iles tab in Domino dministrator!

NOT: To use all of the features of transaction logging and recover$ ou need a third-part bacup

utilit that supports Domino transaction logging!

What is considered a transaction4

transaction is a single '( call! (t includes creating$ modifing$ reading %unread mars change& ordeleting documents! transaction is considered 58F'2ATA when the change has been saved to dis

b the user! )or e0ample$ if a user maes a change to the database$ and does not save that changebefore the server crashes$ that transaction is not considered 58F'2ATA! The transaction would havebeen 58F'2ATA onl if the user had saved the change before the server had crashed! 58F'2ATAtransactions are "commited" to the transactional log!

What is a Transaction log4

transactional log is a binar file where transactions are written! The transactional log has a !t0nfile e0tension! These !t0n files should never be deleted! The ma0imum si6e of each log e0tent %!t0nfile& is C F#! =ou can have several !t0t logs based on the si6e specified in the Server document!The ma0imum total of !t0n files is H#!

What is the Database &nstance &D 5D6&&D7

When ou enable transaction logging$ Domino assigns a Database (nstance (dentifier %D#((D& to

each Domino database! When Domino records a transaction in the log$ it includes the D#((D! Duringrecover$ Domino uses the D#((D to match transactions to databases %it identifies which databasethe changes should be applied to&! The D#((D is stored in the file header$ along with the database(D and the Replica (D! Note: There is no relation to the Replica (D or the D#(D!

Some database maintenance activities$ such as compaction with options$ cause Domino to assign anew D#((D to a database! )rom that point forward$ all new transactions recorded in the log use thenew D#((DO however$ an old transactions still have the old D#((D and no longer match the

databaseKs new D#((D! s a result$ Domino cannot restore these old transactions to the database!

To a3oid losing data8 you should immediately perform a full database bac.up whene3er adatabase recei3es a new D6&&D% When ou perform this bacup$ ou capture all the databasetransactions up until that point and ensure that Domino needs onl the new transactions %with thenew D#((D& to restore the database! (f the D#((D changes and a bacup is not taen after the fact$

the database cannot be successfull restored %bacup will have the old D#((D and the transactionallog will not "now" the old D#((D!

N8TA: The D#((D has no relation to the RA'2(5(D or D#(D!

Domino assigns a new D#((D to Domino databases when:

=ou enable transaction logging for the first time!

- Sstem logging is disabled then re-enabled!- The database is compacted using cop-stle compaction!- The database has had )i0up -B applied to it!

&/PO+TANT NOTS: 

• (f a database is logged$ the default for 5ompact with no switches is -b %lowercase&

• (f a database is un-logged$ the default for 5ompact with no switches is -# %uppercase&!

• 5ompact with no switches and 5ompact -b %lowercase b& are the onl times 5ompact does

not change the D#((D!

Page 16: 26276559 Lotus Domino

8/13/2019 26276559 Lotus Domino

http://slidepdf.com/reader/full/26276559-lotus-domino 16/26

• The D#((D changes when a database is cop-stle compacted because a cop-stle

essentiall creates an entire new NS) with a new structure$ which basicall does not matchthe structure in the logs for the "old" NS) anmore! Note: -2$ -c$ and -i are switches thatenable cop stle compaction! -# at times uses cop stle compaction!

• 5ompact -# ma change the D#((D! This option uses in-place compaction unless there is a

pending structural change in which case cop-stle compacting occurs! So when using thisoption and transaction logging$ do full database bacups after compacting completes!

Note: )or additional information on the compact tass switches refer to:

Switches for 58F'5T Server Tas for Domino %+,EJ/JJ&

• )i0up is forced on the database %fi0up -&

• =ou move a Notes database from one logged server to another logged server or from an

unlogged server to a logged server!

N8TA: 5hanging the log path or ma0imum log si6e %after initial set up and use& does not trigger aD#((D change!

9ow to set up Transaction logging

,! Ansure that all databases to be logged reside in the Domino data director$ either at the

root or in subdirectories!

! )rom the Domino dministrator$ clic the 5onfiguration tab!

/! (n the "<se Director on" field$ choose the serverKs Domino Director!

! 5lic Server 5onfiguration$ and then clic 5urrent Server Document!

M! 5lic the Transactional 2ogging tab!

C! 5omplete these fields$ and then save the document!

ield nter

Transactional 2ogging 5hoose Anabled! The default is Disabled!

2og path 'ath name location of the transaction log!

The default path name is 128HD(R in the Domino datadirector$ although it is strongl recommended tostore the log on a separate$ mirrored device$ such as aR(D %Redundant rra of (ndependent Diss& level E

or , device with a dedicated controller!The separate device should have at least ,H# of disspace for the transaction log! (f ou are using thedevice solel for storing the transaction log$ set the

"<se all available space on log device" field to =es!

Fa0imum log space The ma0imum si6e$ in F#$ for the transaction log!Default is ,.F#! Fa0imum is E.CF# %H#&!Domino formats at least / and up to C log files$depending on the ma0imum log space ou allocate!

<se all available space on log device 5hoose one:

• =es to use all available space on the device for

the transaction log! This is recommended ifou use a separate device dedicated to storingthe log! (f ou choose =es$ ou donKt need toenter a value in the "Fa0imum log space"

Page 17: 26276559 Lotus Domino

8/13/2019 26276559 Lotus Domino

http://slidepdf.com/reader/full/26276559-lotus-domino 17/26

field!

• No to use the default or specified value in the

"Fa0imum log space" field!

utomatic fi0up of corruptdatabases

5hoose one:

• Anabled %default&! (f a database is corrupt and

Domino cannot use the transaction log torecover it$ Domino runs the )i0up tas$assigns a new D#((D$ and notifies the

administrator that a new database bacup isre7uired!

• Disabled! Domino does not run the )i0up tas

automaticall and notifies the administrator torun the )i0up tas with the -B parameter oncorrupt logged databases!

Runtime*Restart performance This field controls how often Domino records arecover checpoint in the transaction log$ whichaffects server performance!

To record a recover checpoint$ Domino evaluateseach active logged database to determine how mantransactions would be necessar to recover eachdatabase after a sstem failure! When Domino

completes this evaluation$ it:

• 5reates a recover checpoint record in the

transaction log$ listing each open databaseand the starting point transaction needed forrecover!

• )orces database changes to be saved to dis if

the have not been saved alread!

5hoose one:

• Standard %default and recommended&!

5hecpoints occur regularl!

• )avor runtime! Domino records fewer

checpoints$ which re7uires fewer sstem

resources and improves server run timeperformance!

• )avor restart recover time! Domino records

more checpoints$ which improves restartrecover time because fewer transactions are

re7uired for recover!

2ogging stle 5hoose one:

• 5ircular %default& to continuousl re-use the

log files and overwrite old transactions! =ouare limited to restoring onl the transactions

stored in the transaction log!

• rchive %recommended& to not re-use the log

files until the are archived! log file can bearchived when it is inactive$ which means thatit does not contain an transactions necessar

for a restart recover! <se a third-partbacup utilit to cop and archive the e0isting

log! When Domino starts using the e0isting file

Page 18: 26276559 Lotus Domino

8/13/2019 26276559 Lotus Domino

http://slidepdf.com/reader/full/26276559-lotus-domino 18/26

again$ it increments the log file name! (f allthe log files become inactive and are not

archived$ Domino creates additional log files!

9ow to disable Transaction ,ogging for a specific database

(n most cases$ disabling Transaction 2ogging %on a server or database level& is not recommended

because ou lose all of the benefits of transaction logging %there are no ill side effects of disabling$ou simpl lose the benefits&! 8ne of the benefits of transaction logging is fast server restart!

Disabling transaction logging will cause )i0up to run on the database %or all databases on theserver&$ creating the potential for slow restart!

fter ou set up transaction logging$ all databases that are in Domino Release M or higher formatare logged! =ou can disable transaction logging of specific databases!

ttachments are transactionall loggedO however$ attachments are logged redo onl! Therefore$ ifthe database is recovered using media recover ou will get bac the last cop of the attachment%once the are done the sta done&! (f$ however$ the server crashes with uncommited attachmentupdates$ the will not be undone since an undo record is never created for them !

Giews are not logged$ so after media recover$ ou will need to rebuild views!

)irst$ perform an of the following:

• When creating a new database$ choose "Disable transaction logging" on the dvanced

Databases 8ptions dialog!

• )or an e0isting database$ choose "Disable transaction logging" on the Database 'roperties

bo0$ #eanies tab!

• (n Domino dministrator$ select a database on the )iles tab$ choose Tools - Database -

dvanced 'roperties$ then choose "Disable transaction logging"

• <se the 5ompact tas with the -t parameter!

Second$ ensure that all users have closed the database! Ne0t$ use the D#55>A command with the"flush" parameter to close the database in the database cache! )inall$ open the database!

9ow to schedule bac.ups or Transaction logs and logged databases

#acups are essential for recovering from a media failure$ which is a failure of the serverKs dis ordiss! (f ou have a third-part bacup utilit$ ou should:

- Schedule dail incremental bacups of the transaction log! <se the bacup utilit dail to bac upthe transaction log!- Schedule archiving of transaction log files! (f ou use the archive logging stle$ use a third-part

bacup utilit to schedule archiving of log files!- Schedule weel full database bacups! Aach wee$ it is recommended to run the 5ompact tas

with the option to reduce file si6e! #ecause this compaction stle changes each databaseKs D#((D$ou should schedule compaction with a full database bacup!

9ow to fi0 corrupted databases

5orrupted databases donKt occur fre7uentl when ou use Release M or higher databases andtransaction logging! When ou use transaction logging to log changes to Release M or higher

databases$ a server automaticall uses the transaction log to restore and recover databases after asstem failure$ for e0ample after server failures or power failures! (f a dis failure occurs$ ou use

the transaction log along with a certified bacup utilit to restore and recover the databases!

'sing Transaction logging for reco3ery

Page 19: 26276559 Lotus Domino

8/13/2019 26276559 Lotus Domino

http://slidepdf.com/reader/full/26276559-lotus-domino 19/26

Transaction logging is an integral part of recovering from sstem and media failures! sstem

failure causes the server to stop and re7uires ou to restart the server! During restart$ Dominoautomaticall performs database recover! The sstem uses the transaction logs to appl or undo

database transactions not flushed to dis for databases that were open during the sstem failure!

Domino also runs the )i0up tas on databases that use formats from earlier releases$ databasesthat are in Release M or higher format but have transaction logging disabled$ and on corrupt

databases if ou have the "uto fi0up of corrupt databases" field in the Server document set to =es!

i0up -;

5auses )i0up to run on databases that are enabled for transaction logging! )i0up - should onl be

run if a database is corrupt and ou have no bacup of the database to roll forward from!

Without this - option$ )i0up generall doesnKt run on logged databases! The )i0up tas interfereswith the wa transaction logging eeps trac of databases! (f ou are using a bacup utilit certified

for Domino$ itKs important that ou schedule a full bac up of the database as soon after )i0upfinishes as possible!

Notes%ini parameter: Translog<Status

The T+ANS,O*<Status N8TAS!(N( parameter is used to enable transaction logging for alldatabases on the server! "E" is disabled$ "," is enabled!

ontentTransactional ,ogging and 9ow it Operates

Transactional 2ogging is a new feature in Domino RM! (t is essentiall a new

method of writing out database changes to improve performance and toensure data integrit! (ts main purpose is three-fold:

• to improve performance on the RM server through se7uential writes

to the Transactional 2ogs

• better data integrit b avoiding inconsistencies and data corruption• faster server restart and crash recover

Transactional 2og is simpl a binar file where transactions are written!The transactions are saved in log e0tents that have a !TQN e0tension! Aach

log e0tent is CF# and will fill before a new e0tent is created or a spare onereused! Fultiple log e0tents collectivel can grow to a ma0imum si6e of H#with circular logging or available dis space for archive logging!

Performance &mpro3ement

When transactional logging is enabled on the server$ the performanceimprovement is mainl due to the nature of how transactional logging

operates! The writes to the Transactional 2og are se7uential! This is fastersince there is less head movement and there is never a need to search for a

place on the dis to write as there is in R or if transactional logging is notenabled!

The Transactional 2ogs must be on a separate phsical drive for there to be

an performance improvement! (t is not sufficient to simpl redirect the logsto a separate partition or a separate logical drive! (n general$ if thetransactional logs are on a separate drive$ a ,E-E improvement should beseen! >owever$ if the logs are put on the same drive$ it is liel that there

will be appro0imatel a CE degradation!

(n R$ writing to dis was time consuming! Fodifications could occur acrossmultiple databases or different parts of one database! s a result$ the head

Page 20: 26276559 Lotus Domino

8/13/2019 26276559 Lotus Domino

http://slidepdf.com/reader/full/26276559-lotus-domino 20/26

had to move over various areas of dis to change or update data! This

means there was a significant amount of transaction time committing data tothe actual NS) %database&! Without the benefit of transactional logging in R$

fi0up relies on the fact that ..!. of the data is present in the NS) tocorrect integrit problems!

(n RM$ when transactional logging is enabled$ complete transactions are

"committed" to the Transactional 2og! ll writes are done to the transactionallog before the are ever written to the database! The writes are done

se7uentiall at least after each transaction so the Transactional 2og is up to

date generall to the hundredth of a second! gain$ since the writes arese7uential$ there is less (*8 and performance is improved! 'lease note thatview inde0es are not transactionall logged in RM so views ma need

rebuilding after a restart or media recover! ttachments$ however$ aretransactionall logged! (t is important to note that attachments are loggedredo onl$ so if the database is recovered using media recover$ ou will getbac the last cop of the attachment %once done the sta done&! (f$

however$ the server crashes with uncommitted attachment updates$ the willnot be undone since an undo record is never created for them!

When transactional logging writes transactions to the logs$ an undo record

and a redo record are usuall committed for each transaction! )irst an <ND8log record is generated in the event of a sstem outage! This is done beforea change is written to a database! #efore committing a transaction$ a RAD8record is also generated! (t is used to re-appl a transaction from the

transactional log to the database in the event that it did not get flushed tothe NS) before a server outage! <ndo and redo records ensure that if a

change is half done it will be full undone$ and if a change was completeldone then it will be full re-done to the NS)!

lushing and 9ardening

8nce changes are put into the Transactional 2og$ the changes must alsoeventuall be hardened to the database! This occurs through a process calledflushing! n open database has an in-memor version of the database that

is held in the <#F %<nified #uffer Fanager&! )lushing moves all changes thatwere made to the database but onl ept in memor %<#F&$ to the actualNS) file! There is no set interval for this as the <#F determines whenflushing will occur! (t is usuall done when there is a lull in the server

activit! The D#((D %Database (nstance (dentifier& is used to correlate theupdates in the Transactional 2ogs and in-memor to the respectivedatabase! (t is important to note$ however$ that the Transactional 2ogs arenot read from during this process since the Transactional 2ogs are mainl a

write-onl obect! The updates are read and flushed from the <#F! The areonl read from the Transactional 2ogs during crash recover! Transactionallogging is more e0pedient because of the fact that there are not a lot ofread*writes to it during server production! 8therwise performance would

suffer and it would defeat one of the purposes of transactional logging!

The Runtime*Restart 'erformance field in the Server document determineshow man F# of changes are ept in memor! The amount of space used is

bound b the "performance" level chosen in the Server document! There arethree choices: Standard %default&$ )avor Runtime$ and )avor Restart

Recover Time! (f Standard is selected$ the Redo!2imit is .F#! This means

that checpoints during runtime are minimal and .F# worth of changes areheld in the <#F before the are flushed and hardened to databases! The)avor Runtime choice has a Redo!2imit of the smaller of MEEF# or half the

defined log si6e! This means that more information is held in the <#F andhardened to the database less fre7uentl! llowing <#F to manage more ofthe database changes will allow larger machines to better utili6e memorand reduce unnecessar flushing! The )avor Restart Recover Time choice

allows for more checpoints during runtime! There is less information held inthe <#F and data is hardened to databases more fre7uentl! The trade-off isthat production time is slower but server restart is faster!

rash +eco3ery

fter a server outage the Transactional 2ogs are plaed bac! The Recover

Page 21: 26276559 Lotus Domino

8/13/2019 26276559 Lotus Domino

http://slidepdf.com/reader/full/26276559-lotus-domino 21/26

'oint is determined for each NS) re7uiring log updates$ it is the oldest log

information that needs to be re-applied to databases! The databases arerestored to the e0act moment of the outage$ guaranteed to restore an data

from a completed transaction! 'artial transactions will be undone and rolledbac to the last good state in an effort to avoid corruption in the database!

The partial wor will be removed from the database before restart completesand the database is made available for use!

5ustomers should not move databases awa from a server and cop them

over from another server after a server crash! The database ma be missing

a significant amount of changes that are onl stored in the transaction logand if the database is not found during restart the changes will not berestored! Recover restart must be performed first and can be trigged$ for

e0ample$ b a re7uest to compact a none0istent database!

Transactional ,ogging NOTS%&N& Parameters

Transactional logging is enabled in the Server document! ll the fields in theServer document map to specific N8TAS!(N( parameters!

The parameters are as follows:

TRNS28HIuto)i0upL Tells whether autofi0up is Anabled %,& or Disabled%E&

TRNS28HI<sellL To use all available space or not! ELDisable$ ,LAnable

TRNS28HIStleL 5ircular %E& vs! rchive %,&

TRNS28HI'erformanceL )avor runtime %,&$ Standard %&$ )avor restartrecover %/&

TRNS28HIStatusL Whether transactional logging is Anabled %,& or Disabled%E&

TRNS28HI'athLQQQ Specifies the path to the !TQN files

!uestionWhat are the 5hecpoint )re7uencies and the )lushing Thresholds forTransactional 2ogging?

Answer

Setting hec.point re$uency lushing Threshold

)avor Restart JF# of data in buffer MF# of data in buffer

Standard EF# of data in buffer ,,F# of data in buffer

)avor Runtime MEF# of data in buffer MEEF# of data in buffer

ProblemWhat switches are available for the 58F'5T server tas?

Solution(n Notes Release M!0 and later$ the default compaction stle is (n-place

compaction!

Note: When the 5ompact tas runs it opens the database to find out theamount of <sed %as opposed to looing in the log!nsf&!

When running 58F'5T from the server console$ the snta0 is as follows:

load compact databasename -switch

Page 22: 26276559 Lotus Domino

8/13/2019 26276559 Lotus Domino

http://slidepdf.com/reader/full/26276559-lotus-domino 22/26

ompact - Style

Option ommand-linee$ui3alent

Description Notes=Domino+elease

5ompaction stle:(n-place%recommended&

-b <ses in-place compactionand recovers unusedspace without reducing

the file si6e$ unlessthereKs a pendingstructural change to adatabase$ in which case

cop-stle compactionoccurs! This is therecommended method ofcompacting!

-b is the onl switch thatwill not change the D#((Dof a database if

transactional logging isenabled!

Release M!0$ C!0$;!0

5ompaction stle:(n-place with filesi6e reduction

-# <ses in-placecompaction$ recoversunused space andreduces file si6e$ unless

thereKs a pendingstructural change inwhich case cop-stlecompacting occurs! (f ou

use transaction logging$do full database bacupsafter compactingcompletes!

Release M!0$ C!0$;!0

5ompaction stle:5op-stle

-c or -5 <ses cop-stlecompaction! <se this

option$ for e0ample$ to

solve database corruptionproblems

Release M!0$ C!0$;!0

5ompaction stle:

5op-stle: llowaccess while

compacting

-2

<pper or lowercase K2K will

wor!

Anables users to continue

to access databasesduring compacting! (f a

user edits a databaseduring compacting$compacting is cancelled!This is useful onl when

cop-stle compacting isdone!

Release M!0$ C!0$

;!0

5ompaction stle:5op-stle: (gnore

errors and proceed

-i<pper and

lower case K(K

will wor in R$but onl lowercase KiK will wor

in RM!

Note: the -ioption has to beused togetherwith -c or -2

otherwise ouwill get theerror messageUU "(gnore

Anables compacting tocontinue even if it

encounters errors such

as document corruption!8nl used for cop-stlecompaction!

Release !0$ M!0$C!0$ ;!0

Page 23: 26276559 Lotus Domino

8/13/2019 26276559 Lotus Domino

http://slidepdf.com/reader/full/26276559-lotus-domino 23/26

errors" is onlallowed withcop-stlecompaction 44

5hec foroverlapping obects

-o or -8 (f using in placecompaction checs for

overlapping obects andswitches to cop stle ifan found!

Release C!0$ ;!0

ompact - Options 

Option ommand-line

e$ui3alent

Description

5ompact database

onl if unusedspace is greater

than x percent

-S percent  5ompacts all databases with a specified

percent of unused space! )or e0ample$ ifou specif ,E$ databases with ,E or

more recorded unused space arecompacted! Note that the unused space

calculation is not alwas a reliablemeasure of unused space!

Discard an builtview inde0es

-D Discards built view inde0es! <se thisoption to compact databases ust before

ou store them on tape$ for e0ample!Does cop-stle compacting!

eep or revertdatabase toprevious format

-R 5ompacts databases without convertingto the current release file format of theserver that stores the databases orreverts databases in the current release

file format to the previous release fileformat! )or e0ample$ on Domino Cservers$ this option compacts Domino Mdatabases without converting them to

the Domino C file format and convertsDomino C databases to the Domino M fileformat! This option uses cop-stlecompacting!

ompact - Ad3anced 

Option2 ommand-linee$ui3alent

Description Notes=Domino+elease

No-A0ecute -e<pper or

lower caseKAK will wor!

Show effective argumentswithout e0ecution since some

arguments affect others! )ore0ample -i onl wors with -c$ sob e0ecuting the compactcommand first with the -e on the

end$ is a good wa to checsnta0 without actuallcompacting a database!

Release M!0$ C!0$;!0

Document

table bitmapoptimi6ation:

8ff 

Note: 'rior toM!E!/ this

8ptiondescription wasincorrect in theonline

documentation

-f Disables "Document table bitmap

optimi6ation" database propert!Does cop-stle compaction!

Release M!0$ C!0$

;!0

Page 24: 26276559 Lotus Domino

8/13/2019 26276559 Lotus Domino

http://slidepdf.com/reader/full/26276559-lotus-domino 24/26

Documenttable bitmapoptimi6ation:8n

Note: 'rior to

M!E!/ this8ption

description wasincorrect in the

onlinedocumentation

-) Anables "Document table bitmapoptimi6ation" database propert!Does cop-stle compaction!

Release M!0$ C!0$;!0

DonKt supportspeciali6ed

responsehierarch: 8ff 

Note: 'rior to

M!E!/ this8ption

description wasincorrect in the

onlinedocumentation

-h Disables "DonKt supportspeciali6ed response hierarch"

database propert! Does cop-stle compaction!

Release M!0$ C!0$;!0

DonKt supportspeciali6edresponsehierarch: 8n

Note: 'rior to

M!E!/ this8ption

description wasincorrect in the

onlinedocumentation

-> Anables "DonKt supportspeciali6ed response hierarch"database propert! Does cop-stle compaction!

Release M!0$ C!0$;!0

Anabletransaction

logging: 8n

-T Anables transaction logging! Release M!0$ C!0$;!0

Anable

transactionlogging: 8ff 

-t Disables transaction logging! Release M!0$ C!0$

;!0

Faintainunread mars:

8n

-u Disables "DonKt maintain unreadmars" database propert!

Release M!0$ C!0$;!0

Faintain

unread mars:8ff 

-< Anables "DonKt maintain unread

mars" database propert!

Release M!0$ C!0$

;!0

llow for alarger <N

table

- llow for a larger <N table in adatabase past C !

N8TA : not available through the

5ompact tool in the )iles tab ofthe Domino dministrator!

Release M!0$ C!0$;!0

Disable large%4C #& <Ntable

- Removes large <N table indatabase!N8TA : not available through the

5ompact tool in the )iles tab ofthe Domino dministrator!

Release M!0$ C!0$;!0

No e7uivalentoption!

-V< 5onverts document attachmentsusing compression tpe >uffmanto 2V,!

Note: The database propert"<se 2V, compression for

Domino C!M!C$;!E!, and later!

Page 25: 26276559 Lotus Domino

8/13/2019 26276559 Lotus Domino

http://slidepdf.com/reader/full/26276559-lotus-domino 25/26

attachments" must be enabledfor this switch to be effective!

)or Domino C!M!C onl the

following Notes!(N( parametermust also be set:

DA#<HIAN#2AI2V,IRA'(RL,

No e7uivalentoption!

-VD 5onverts document attachmentsusing compression tpe 2V, to

>uffman!

)or Domino C!M!C onl thefollowing Notes!(N( parametermust also be set:

DA#<HIAN#2AI2V,IRA'(RL,

Domino C!M!C$;!E!, and later!

ompact - Archi3eWhen ou use the document archiving tool to archive and delete documents in a

database$ ou can use the following 5ompact options to archive documents ifthe database is located on a server and ouKve chosen the advanced archiving

option "utomaticall on server!"

Option2 ommand-line

e$ui3alent

Description Notes=Domino

+eleaserchive onl - rchives and deletes

documents from a

database withoutcompacting the database!

Release M!0$ C!0$;!0

rchive and thencompact

-a rchives and deletesdocuments from a

database and thencompacts the database!

Release M!0$ C!0$;!0

Delete and thenarchive

- Deletes documents froma database and thencompacts the database!N8TA : not available

through the 5ompact tool

in the )iles tab of theDomino dministrator!

New in ReleaseC!0$ ;!0

Domino C console help %produced b lo compact -?& lists the following options

which have no effect :-v Fae %v&iews big %do not compress inde0es&

-G Fae %G&iews small %compress inde0es&This issue was reported to @ualit Angineering$ through S'R + W#2DMQV>2/!

The -v and -G flags were never implemented in Domino!

!uestionFail delivered prior to 5ompact -c running against a database appears as

RAD in the userKs mail file! This mail was delivered after the user closed thesession to the server!

Answer

This issue was reported to 2otus @ualit Angineering and has beenaddressed in Domino M!E!.!A0cerpt from the 2otus Notes and Domino Release M!E!. FR fi0 list %availableat http:**www!notes!net &:

Ser3er-ompact

Page 26: 26276559 Lotus Domino

8/13/2019 26276559 Lotus Domino

http://slidepdf.com/reader/full/26276559-lotus-domino 26/26

• S'R+ >>W<#S - )i0ed a problem with notes being mared as

read incorrectl after the database was compacted!

To avoid this problem in Notes*Domino prior to M!E!.$ use in-place

compaction with file-space reclamation %5ompact -#&!

The problem occurs because of an issue related to how 'rofile documents are

copied into the new database during cop-stle compaction! (t is unrelatedto a change in the 8DS of the database$ and it is unrelated to purgingdeletion stubs!

The problem is reall caused b cop-stle compaction$ and will occurantime cop-stle compaction taes place! 58F'5T will perform cop-stle compaction regardless of the in-place stle compact parameters if the

mail file has undergone a structural change$ such as the mail file designreplacement*conversion! cop-stle compact will be used$ also$ under thefollowing conditions:

• database 8DS is less than the current version

• the following 5ompact parameters are used: -D*d$ -R*r$ -F*m$ -5*c$

-)*f$ -<*u$ -2*l

• local encrption is being enabled

n of the advanced database properties are being changed$ such as:

• Do not support speciali6ed response hierarch

• Document table bitmap optimi6ation

• Do not overwrite free space

• Do not maintain unread mars

• Disable Transaction 2ogging

• llow more fields in database