integrity of the database calls being communicated back to the integration layer 42 or in the case of aggregated inserts the aggregation layer 48 this layer is responsible for database access and for managing the insert tables and the u201c exchange u201d process 56 for updating the historical table 30 to do this the handler maintains a data item that signals the halt of inserts and the start of the exchange process 56 this process is conducted in parallel with the continuation of inserts if all insert processes for a specific table or set of tables are u201c pointed u201d to a new insert table or partition at the same time an independent process monitors the number of inserts to the tables again through an ipc and then decides when an insert table must be u201c exchanged u201d into the historical data table 30 it then signals an independent process that the insert table is ready for u201c exchange u201d the exchange process 56 rolls the insert table 32 into the history table 30 and empties the most recently exchanged partition of the insert table 32 it then enables the insert table to accept inserts the insert processes update an inter process communication ipc element to indicate how many inserts in the table they are addressing the thresholds for the exchange process and for aggregation are unrelated tuning of the u201c exchange u201d timing is required to optimize the database processes.