Jedox OLAP documentation

home > API > [/database/load] >
request url https://[SERVER]:[PORT]/database/load[?PARAMETER1=value[&...]]
short description Loads a database from disk or sets the database load type.
long description The request can be used in two ways: 1. Standard database load (mode=0 or omitted): Loads the database from disk into memory 2. Set database load type (mode=1): Sets the database load type without loading the database
parameters
name type description
database identifier Identifier of the database
name_database string Name of the database. Used only if database parameter is omitted.
mode integer Operation mode (default is 0) 0: Standard load - loads the database from disk into memory 1: Set load type only - sets the database load type without loading/unloading
type integer Database load type (default is 0, only used when mode=1): 0: Set load type to "loaded" - database will be automatically loaded after next server restart 1: Set load type to "unloaded" - database will stay unloaded after next server restart
sid string Session identifier for a server connection. Use the /server/login request to get a valid session identifier.
result
# name type description
0 OK integer "1" means OK
examples
description
Load database "1" from disk.
Set database "1" load type to "loaded" without actually loading the database
Set database "1" load type to "unloaded" without actually unloading the database
further information