Those who know me realize I can't remember switches which is why I keep the long list of them accessible.
What was interesting to me is I found my 851 Notes client never updated the ODS on my local files, like PNAB for instance and well, it should but given my laptop gets enough rebuilds anything is possible.
Decided to run compact against the directory and my data directory and bring everyone up to ODS 51.
One should have CREATE_R85_DATABASES=1 in their notes.ini by now as well to ensure all future files are created with ODS 51.
Actual syntax to upgrade to ODS 51 is part of the compact task which is run like this: C:\yournotesdirectory> ncompact c:\yournotesDATAdirectory -C
or
ncompact c:\lotus\notes\data -C
IBM shows a Technote for the Server ones which look like this but not in alphabetical order like below which you get when asking for help from compact.
Purpose: Compacts one or more database(s).
Usage: Load COMPACT [path] [options]...
[path]: One database, one folder (recurses), or omitted (all, recurses).
[options]:
-A Archive and delete documents without compacting.
-a Archive and delete documents, then compact database.
-B Recover space and reduce file size (inplace-style).
-b Recover space without reducing file size (inplace-style).
-C Copy-style compaction.
-D Discard view indexes (copy-style).
-daos on Enable 'Use Domino Attachment and Object Service' database
property. (Use with -C to move current objects into DAOS)
-daos off Disable 'Use Domino Attachment and Object Service' database
property. (Use with -C to move current objects out of DAOS)
-e No-execute: Show effective arguments only, since some arguments
affect others.
-F Enable 'Document table bitmap optimization' database property
(copy-style).
-f Disable 'Document table bitmap optimization' database property
(copy-style).
-g Copy-style compact the DB2 group associated with this database
or databases (for directories). Recovers disk space in DB2.
-G Copy-style compact the DB2 group name passed in as a parameter.
Recovers disk space in DB2.
-H Enable 'Don't support specialized response hierarchy' database
property (copy-style).
-h Disable 'Don't support specialized response hierarchy' database
property (copy-style).
-i Ignore errors (for copy-style only).
-j Just Delete (must specify -a or -A to be valid).
-K Enable large UNK table (>64 KB).
-k Disable large UNK table (>64 KB).
-L Don't lock users out during compaction (for copy-style only).
-M Set maximum database size to 4 GB.
-N Disable 'Compress database design' database property.
(Use -C with -N to uncompress current database design documents)
-n Enable 'Compress database design' database property.
(Use -C with -n to compress current database design documents)
-o Check for overlapping objects.
-p Convert to an NSFDB2 database.
-r Revert to previous ODS format (e.g. on an R8 system,
keep/convert back to R7 format).
-R Revert one ODS based on the current ODS of the database.
(e.g. Converts an R8 (ODS48) database to R7 (ODS43) format)
-S nnnK Compact database if unused space estimate >= nnn KB.
-S nnnM Compact database if unused space estimate >= nnn MB.
-S nn Compact database if unused space estimate >= nn percent.
-T Enable transaction logging.
-t Disable transaction logging.
-U Enable 'Don't maintain unread marks' database property.
-u Disable 'Don't maintain unread marks' database property.
-V Disable 'Compress document data' database property.
(Use -C with -V to uncompress current document data)
-v Enable 'Compress document data' database property.
(Use -C with -v to compress current document data)
-Y Recurse through subdirectories (default).
-y Do not recurse through subdirectories.
-ZU Enable 'Use LZ1 compression for attachments' database property. (Us
-C with -ZU to compress existing attachments using LZ1.)
-0 Process NSFDB2 databases only. This will ignore NSF databases
and is to be used with other switches.
-* Include *.ntf and *.box when processing a directory
I had never realised it until now: IBM doesn't have many options left:
ReplyDeletecompact -q
compact -w
compact -x
(And I now understand why I also have trouble remembering them.)