Each version of DB2 comes with different features. Some of these features in DB2 V10.5 are as follows:
- Adaptive compression: ALTER TABLE table_name COMPRESSION YES, this will re-organize the table.
- New version is COMPRESSION ADAPTIVE YES, existing table will be re-organized
- Multi-temparature data: Hot data (recently accessed) will be placed on Fast access storage. Cold data will be placed on Slow access storage
- Performance: Optimizer will select Hash join. In the RUNSTATUSĀ if we specify INDEXSAMPLE, we will get more refined statistics
- CREATE TRIGGER supports, now on INSERT, UPDATE, DELETE
- DB2 pure scale: It supports parallel processing
- Time Travel Query by using temporal tables, either with Past query(already ran), future query(going to run). We can run query with temporal tables, with out affecting real table data.
Related articles:
DB2- V10.5 SQL Enhancements (srinimf.com)