The real-time data collected is displayed and the value of the segment is modified or new tuple is inserted to show the updated value after comparing the original values with the latest value in the database. They manipulate the segment-based method to keep the data stream and decrease the saved record without any data loss. From the query result, the accuracy of the system is improved and the method used can reduce handling cost.