Database
8. Database
During the CS installation procedure an SQL server will be installed automatically. The SQL server
currently comes as Microsoft SQL Server 2008 R2 Express. The maximum size for the database of
10 GB is only to be considered for a CS software installation below version 6.2.2.
8.1 Concept
From CS software version 6.2.2 on, the THR (Transparent Historic Review) system is available. The
following sections explain how backups are created and restored.
The CS Software records the current data and stores it in the real time database. The database can hold
up to 10 GB of data. The CS software though won't make use of this limit because all data is stored
outside the database.
THR manages separate backup files to have and present them to the user as a whole. To make this
work, THR backups the data from the real time database in intervals. This interval is determined by
means of a threshold in megabytes set in the CS configuration, see section 6.2.8
management>, page 43. Every time the real-time database size exceeds that threshold, the THR system
triggers the generation of a backup file and stores it in the applications public backup data folder.
The file name for a backup file is coded with time and date. With that information, the THR system
can distinguish which backup file is relevant for the current review operation.
The backup process is automatic and after each backup the real time database is cleared. With the
described approach, the database size never gets bigger than the defined threshold size. Most of the
system's collected data is thus stored on the system storage as backup files; only the most recent
amount of data is stored in the real time database.
8.2 Historic Review
When the user tries to look up historic data, the system knows from the selected timeframe where to
look for information. If recent data is requested, in many cases the data can be fetched from the real
time database. For all other cases, the THR system will look for the correct backup file in the system
storage, i.e. in the public backup folder. Because of the naming system, THR can easily find the
relevant backup file. The file is then restored into the historic database of the database server.
Afterwards, the historic review can access the information and display it.
8.3 File Naming Convention
The THR system provides the following naming convention for the backup files.
File name format:
year-month-day-hours-minute_year-month-day-hours-minute_year-month-day-hours-minute_year-
month-day-hours-minute.bak
The first date element represents the earliest short term image in the backup file.
The second data element represents the latest short term image in the backup file.
The third data element represents the earliest long term image in the backup file.
The fourth data element represents the latest long term image in the backup file.
78
Rev. B4 Feb 2015
<Historical
CS210
Need help?
Do you have a question about the CS210 and is the answer not in the manual?