1. A data processing system comprising: histogram processing logic that extracts trends and periodic pattern information from a detailed histogram, captures a distribution of data that remains after the trends and periodic pattern information are extracted, and constructs a compressed histogram from the captured distribution.