---
title: "Gateway Database Logging - How to reduce data in a database table"
description: "Gateway database logging can cause large data storage due to frequent dataview cell changes. Reducing logged items and running maintenance scripts to delete old data helps manage table size."
url: "https://docs.itrsgroup.com/docs/faq/geneos/10171359893405-geneos-gateway-database-logging-how-to-reduce-data-in-a-database-table/index.html"
---
The Gateway can unexpectedly store large amounts of data in a database table. This results in an increased storage size.

The Gateway can fill a table based on the frequency of changes occurring in the dataview cell.

- Solution Root Cause 1: Reduce the items you want to log to decrease the table size.
- Solution Root Cause 2: Run maintenance scripts to delete data older than X days.

- [Gateway](https://docs.itrsgroup.com/docs/geneos/current/administration/databases/index.html#housekeeping)
- [Geneos Gateway database logging performance and dat dump files](https://docs.itrsgroup.com/docs/faq/geneos/115004031989-geneos-gateway-gateway-database-logging-performance-and-dat-dump-files/index.html)
- [Gateway Reference Guide](https://docs.itrsgroup.com/docs/geneos/current/processing/data-access-and-publishing/geneos_dblogging_tr/index.html#database-logging)


