Documentation
Database
An enterprise database must be provided to run the RheinInsights Retrieval Suite. This is either Microsoft SQL Server or a Postgres database.
Please note: the embedded H2 database can be used for testing. But it is not supported for productive and failover scenarios.
Sizing and Scaling
Network Connection
The database must have a low-latency connection from the Retrieval Suite, as in particular during crawling many and frequent read and write accesses take place between the Suite and the database. We assume that a ping between Suite and database is below 1-5ms.
CPU and Memory
The database moreover needs to have sufficient CPU and memory to handle the expected loads.
Indexed documents | Database Server |
|---|---|
0 - 100k | 2 CPUs, 4 GByte RAM, 50 GByte Disk |
100k - 1M | 4 CPUs, 8 GBytes RAM, 100 GByte Disk |
1M - 10M | 8 CPUs, 16 GBytes RAM, 1 TByte Disk |
Storage. The database must be suited to hold the Retrieval Suite’s data. In general each indexed document will consume up to 100kb of storage. This is due to storing and visualizing the metadata for debugging and development purposes.
For indexing 1M documents, the database storage should be 50-100 GByte.
Authentication
There must be a user with username and password provided to access the database. The user must have the following permissions on the database (e.g. as db owner)
Tables: Create, modify, delete, drop
Indexes: Create, modify and drop indexes
Data: Execute arbitrary Select, delete, update statements on the tables
Database Configuration
You can access the database settings in the firstrun wizard (see First Run Configuration ) or later on through
https://<host>/admin
General Settings
Database
Please note that even though you can change the database settings, there is no automated migration which takes place.
Development and Testing with Embedded Database
For development and testing scenarios, you can use the embedded H2 database as storage. But also the above mentioned databases are supported.
When running the RheinInsights Suite with the embedded database, the following storage requirement applies for the machine, where the Suite is running:
In general each indexed document will consume up to 100kb of storage.
For indexing 1M documents, the database storage should be 50-100 GByte.