The following features help achieve high query performance.
DWS is an MPP system with the shared-nothing architecture. It consists of multiple independent logical nodes that do not share system resources, such as the CPU, memory, and storage units. In this system architecture, service data is separately stored on numerous nodes. Data analysis task is executed at the location nearest the data. Massively parallel data processing enables quick response.
DWS also provides the following capabilities at the background to improve data query performance:
Vectorized executor transmits a batch of tuples, rather than only one tuple, at a time.
Single instruction/multiple data (SIMD) allows multiple registers to access memory at the same time after instruction decoding, obtaining multiple operations at a time for computing.
DWS supports both the row and column storage models. You can choose a row- or column-store table as needed. For details, see Planning a Storage Model.
The hybrid row/column-based storage engine provides users with a better data compression ratio (column-based storage), index performance (column-based storage), and point update and point query (row-based storage) performance.
You can compress old, inactive data to free up space, reducing procurement and O&M costs.
In DWS, data can be compressed using the following Delta Value Encoding, Dictionary, RLE, LZ4, and ZLIB algorithms. The system automatically selects a compression algorithm based on data characteristics. The average compression ratio is 7:1. Compressed data can be directly accessed and is transparent to services, greatly reducing the preparation time before accessing historical data.