Event recording in a service database system
First Claim
1. A method for performing event recordings in a service database system, the database comprising measurement tables (MT) which comprise consecutive rows (Ri), whereby a single row comprises data related to a single measurement object and the measurement objects of one measurement table are of the same type so that they form a measurement group, the method comprising the steps ofreceiving service requests (SR) into the system during whose processing it is necessary to count the number of events occurring per each measurement object, activating the provision of the service as a response to the service request, performing the recording of events by incrementing the measurement object-specific counters for each different event during the processing of the service request for a time determined by a certain, predefined recording interval, said interval being user-specifiable, and performing the recording of counter values by storing the measurement object-specific counter values after each recording interval, characterized in that the method further comprises the steps of maintaining a time value which corresponds to the following expected changing moment of the recording interval and comparing the current clock time value to the value of the expected changing moment to detect the changing moment of the recording interval, and updating the time value of the expected changing moment and the length of the current recording interval according to the new time value of the changing moment as a response to the change in the length of the recording interval.
1 Assignment
0 Petitions
Accused Products
Abstract
The invention relates to a method of handling the event recordings in a service database system. The database comprises measurement tables (MT) which include consecutive rows (Ri). So that the length of the recording interval can be changed at any time without interrupting the measurement, the system (a) maintains a time value which corresponds to the following expected changing moment of the recording interval and compares the current clock time value to the value of the expected changing moment to detect the changing moment of the recording interval, and (b) updates the time value of the expected changing moment and the length of the current recording interval according to the new time value of the changing moment as a response to the change in the length of the recording interval.
-
Citations
9 Claims
-
1. A method for performing event recordings in a service database system, the database comprising measurement tables (MT) which comprise consecutive rows (Ri), whereby a single row comprises data related to a single measurement object and the measurement objects of one measurement table are of the same type so that they form a measurement group, the method comprising the steps of
receiving service requests (SR) into the system during whose processing it is necessary to count the number of events occurring per each measurement object, activating the provision of the service as a response to the service request, performing the recording of events by incrementing the measurement object-specific counters for each different event during the processing of the service request for a time determined by a certain, predefined recording interval, said interval being user-specifiable, and performing the recording of counter values by storing the measurement object-specific counter values after each recording interval, characterized in that the method further comprises the steps of maintaining a time value which corresponds to the following expected changing moment of the recording interval and comparing the current clock time value to the value of the expected changing moment to detect the changing moment of the recording interval, and updating the time value of the expected changing moment and the length of the current recording interval according to the new time value of the changing moment as a response to the change in the length of the recording interval.
Specification