Each VOB has its own database, which is managed by an embedded
database management system.
The
VOB database is implemented as a set of files in the
db subdirectory
of the VOB storage directory. The database stores several kinds of data:
- Version-control information: elements, their branch structures, and their
versions
- Metadata associated with the file-system objects: version labels, attributes,
and so on
- Event records and configuration records, which document changes in artifacts
and related development activities
- Type objects, which are involved in the implementation of both the version-control
structures and the metadata
- (PVOBs only) UCM objects: folders, projects, streams, activities, components,
baselines, and so on
The permanent contents of artifacts that are under Rational® ClearCase® control
are stored in the source pools (.s and its subdirectories),
not in the VOB database.
The
db directory contains
these files:
- vob_db.dbd
- A compiled database schema, used by embedded database routines for database
access. The schema describes the structure of the VOB database.
- vob_db_schema_version
- A schema version file, used by embedded database routines to verify that
the compiled schema file is at the expected revision level.
- vob_db.d0n vob_db.k0n
- Files in which the database contents are stored.
- vista.*
- Database control files and transaction logs.
- db_dumper (Linux® and the UNIX® system)
- Backup copy of ccase-home-dir/etc/db_dumper. reformatvob invokes this copy of db_dumper only if it cannot invoke ccase-home-dir/etc/dumpers/db_dumper.num, where num is the schema version of the VOB.
- db_dumper (Windows®)
- A copy of ccase-home-dir\bin\db_dumper.exe.
This is an executable program, invoked during the reformatvob command’s
dump phase. Each VOB has a copy of db_dumper so that
it can always dump itself. (Typically, a VOB needs to be dumped after a newer
release of Rational ClearCase has
been installed on the host; with this strategy, the ccase-home-dir\bin\db_dumper program in the newer release need not know about
the previous VOB database format.)
- vob_db.str_file
- Database string file that stores long strings.