Navigation: Additional Tips and Resources > Database Tips > Tuning the EventSentry Database |
The database layout was completely redesigned starting in version 2.50 to resolve slow query times when using the web reports. The new EventSentry database tables and indexes were designed to accommodate large amounts of data while still providing fast query responses.
When you expect large amounts of data (e.g. more than 1 million records) it is however still important that you take steps to ensure that the database is optimized at all times. Below you will find recommendations for various supported databases when you expect to collect large amounts of data.
Running Queries It is recommended that you run all queries with either a record limit and/or a time limit to significantly decrease the time it takes for a query to complete.
For example, if you are looking for events that you know were written today, then only search for events within the last 24 hours. Furthermore, restrict the query to initially only show a small amount of records, e.g. 50. Only increase the maximum records count if it turns out that you need more than 50 rows.
Microsoft Access We do not recommend using Microsoft Access for storing large amounts of data. MS Access is a good solution to get started with a database consolidation project, but you should move to a database server once you reach about 100.000 records.
Microsoft SQL Server
|