Configuring the reporting module to pull data from backup
This article details the two available options to configure FocalScope's reporting module to pull data from a shadow backup copy of the FocalScope database.
You can download a PDF version of this article and the stand-alone diagrams in the attachments section at the end of this article.
Available Options
Please note, in both options there are only two SQL servers involved:
- An OLTP SQL server hosting the main application database
- A Backup SQL server hosting the shadow, read-only database (and the report cache database in 'Option 2')
Option 1: Report cache resides in the main database
Conditions to be aware of for option 1:
- Report data is pulled from the shadow database
- Report definitions and report cache (temporary data) are stored in the main transactional database
SQL server & databases layout for option 1 (2 SQL servers, 2 databases):
- OLPT SQL
- Main application database. Will also store report cached and temporary data
- Backup SQL
- Shadow, read-only database, which will be used to pull data for reporting
Figure 1 - Option 1: Report cache resides in main database
Option 2: Report cache resides in a dedicated database
Conditions to be aware of for option 2:
- Report data is pulled from the shadow database
- Report definitions are stored in the main database
- The report cache (temporary data) is stored in a dedicated database
SQL server & databases layout for option 2 (2 SQL servers, 3 databases):
- OLTP SQL
- Main application database
- Backup SQL
- Shadow, read-only database, which will be used to pull data for reporting
- Dedicated reporting database to store report cached and temporary data
Figure 2 - Option 2: Report cache resides in dedicated database
