It is a grouping of similar objects within the Matrix database, as well as a storage location for metadata which identifies those objects. For Example, In an engineering environment, a vault might contain all objects related to a particular project or family of products.
Two types of vaults:
1) Business object vault
2) An Administration vault
Business Object Vault
Two types of vaults:
1) Business object vault
2) An Administration vault
Business Object Vault
It's used to organize business objects within your database. All vaults contain a complete set of Matrix definitions. These definitions identify the characteristics of items such as persons, roles, types, formats, etc. When you make changes to a definition (such as add, modify, or delete), all definition copies must be updated to reflect the change. This update of the vaults occurs simultaneously if all the copies are available. If any of the copies are not available (a vault is not available), you cannot alter the definitions.
An Administration Vault
It's used for administrative purposes only and serves as the master definition vault. It is created automatically when Matrix is installed on your system. Unlike other vaults, the Administration vault is not listed among the available vaults when a person uses the Vault Chooser to specify a vault when setting context, performing queries, or creating new objects in Matrix Navigator or Web Navigator. The Administration vault is used for definitions only. You cannot use it for storing business objects.
NOTE: You must be a System Administrator to access vaults.
NOTE: You must be a System Administrator to access vaults.
Syntax for creating vault
add vault NAME {Add item}.
You can also define the various clauses while creating vault like description, icon, indexspace, table space, server, interface, file and etc.
We can also modify, clearing and deleting vault with the help of modify, clearing and modify statement.
1) modify vault NAME {Modify item}
2) delete vault NAME;
3) clear vault NAME [revision] [relationship] [full] [size number]
NAME is the name of the vault you want to clear.
NUMBER is the size of the transaction before a database commit.The size clause only applies when any of the other optional clauses are included.
Once a vault has been established and used, you should NOT use the Clear Vault statement. In addition, you should not use it when users are online.
We can also modify, clearing and deleting vault with the help of modify, clearing and modify statement.
1) modify vault NAME {Modify item}
2) delete vault NAME;
3) clear vault NAME [revision] [relationship] [full] [size number]
NAME is the name of the vault you want to clear.
NUMBER is the size of the transaction before a database commit.The size clause only applies when any of the other optional clauses are included.
Once a vault has been established and used, you should NOT use the Clear Vault statement. In addition, you should not use it when users are online.