-
Notifications
You must be signed in to change notification settings - Fork 22
Application (OLAP)
[Table of Contents](https://github.com/dell-oss/Doradus/wiki/OLAP Databases: Table-of-Contents) | Previous | Next
OLAP Data Model: Application
An application is a named schema hosted in a Doradus cluster. An application's name is a unique identifier. An application's data is stored in _tables_, which are isolated from other applications. A cluster can host multiple applications, and each application uses unique URIs to access its data. Example application names are `Email` and `Magellan_1`.
Each application is defined in a schema. When the schema is first used to create the application, it is assigned to a specific storage manager. Depending on the Doradus server's configuration, multiple storage managers may be available. An application's schema can use core Doradus data model features plus extensions provided by the assigned storage service. Application schemas have the following components:
- Key: A user-defined string that acts as a secondary identifier. The key is optional and acts as an extra safety mechanism. If an application’s schema is defined with a key, the same key must be provided to modify the schema or delete the application.
-
Options: The following application-level options can be defined:
-
StorageService
: which defines the storage service that will manage the application's data. -
aging-check-frequency
: Specifies the data aging check frequency for the application. The value of theaging-check-frequency
must be in the form “ ” where is a positive integer and isMINUTES
,HOURS
, orDAYS
. (Singular forms of these mnemonics are also allowed.) At the specified frequency, a background task looks for and deletes expired shards.
-
- Tables: Tables and their fields that the application owns. The general structure of a schema definition in XML is shown below:
<application name="Email">
<key>EmailKey</key>
<options>
// options
</options>
<tables>
// table definitions
</tables>
</application>
The general structure of a schema definition in JSON is shown below:
{"Email": {
"key": "EmailKey",
"options": {
// options
},
"tables": {
// table definitions
},
}}
Technical Documentation
[Doradus OLAP Databases](https://github.com/dell-oss/Doradus/wiki/Doradus OLAP Databases)
- Architecture
- OLAP Database Overview
- OLAP Data Model
- Doradus Query Language (DQL)
- OLAP Object Queries
- OLAP Aggregate Queries
- OLAP REST Commands
- Architecture
- Spider Database Overview
- Spider Data Model
- Doradus Query Language (DQL)
- Spider Object Queries
- Spider Aggregate Queries
- Spider REST Commands
- [Installing and Running Doradus](https://github.com/dell-oss/Doradus/wiki/Installing and Running Doradus)
- [Deployment Guidelines](https://github.com/dell-oss/Doradus/wiki/Deployment Guidelines)
- [Doradus Configuration and Operation](https://github.com/dell-oss/Doradus/wiki/Doradus Configuration and Operation)
- [Cassandra Configuration and Operation](https://github.com/dell-oss/Doradus/wiki/Cassandra Configuration and Operation)