Repository Structure
The files enabling use of a repository are all in the same folder, the location of which is stored in the
system repository (SystDb).
By default, a MEGA repository is stored in GBMS format (MEGA proprietary format). You can choose another storage type for your MEGA repository: an RDBMS format (relational database management system) such as Oracle or SQL Server.

For more details on structure and the advantages of the different server types, see
RDBMS Installation deployment guide.
A repository comprises "RepositoryName".XXX files of which type and format XXX depend on the repository server type:
|
|
MEGA repository storage type
|
|
Information type
|
GBMS
|
RDBMS
|
|
Oracle
|
SQL Server
|
|
Semaphore
of administration
|
.EMA
(protects simultaneous accesses to the EMS)
|
N/A
|
N/A
|
|
Managing active
private workspaces
|
.EMS
|
N/A
|
N/A
|
|
Repository evolution logfile
(creation, update, etc.)
|
.EMV
|
.EMV
|
.EMV
|
|
Data
|
.EMB
inseparable from .EMA, .EMS and .EMV files)
|
.EMO*
|
.EMQ*
|
*: this file does not contain data; it is a pointer to data stored on the relational database server.
For each repository, folders are created dynamically while the user is working:
• Approve: contains validated reports (MS Word) detached from MEGA.
• Data: contains all business documents created in MEGA.
• Document: contains all reports (MS Word) generated from MEGA.
• RepositoryName.ix: contains the result of indexing for quick search.
• RepositoryName.Lock: contains locks created on objects during user working (when a GBMS repository is used). These files have .EMK extension.
• RepositoryName.Log (repository backup logfile): contains repository backup logfiles (enabled by default). Each private workspace is saved in logfile, .MGL format.
• RepositoryName.PrivateWorkspaces (private workspace backup logfile: contains files linked to active private workspaces of repository users.

The presence of these files depends both on the server type used and on the options enabled for this repository.
These files are:
• "CCC.MGL" files, where CCC is the code associated with the user (the Backup logfile option is enabled for the repository).
• "CCC.EMB" and "CCC.EMS" files (similar to those of the repository) containing data of the GBMS private workspace, where CCC is the code associated with the user.
• USER: contains a folder for each user, in which all work files generated by the user are stored. It groups the files created by backup and extraction procedures, as well as control files.

Each folder is named "CCC", where CCC is the code associated with the user.
• WORK: contains work files created by administration operations carried out using the administration application.