Skip to Content
Unleashing DB2 10 for Linux, UNIX, and Windows
book

Unleashing DB2 10 for Linux, UNIX, and Windows

by Danny Arnold, Steve Diniro, Vivian Lee, Stan Musker, Jo-Ann Woods
August 2012
Intermediate to advanced content levelIntermediate to advanced
162 pages
4h 25m
English
IBM Redbooks
Content preview from Unleashing DB2 10 for Linux, UNIX, and Windows
Chapter 3. Adaptive compression 45
3.3.3 Converting existing tables to use adaptive compression
Existing tables that are either uncompressed or compressed with classic
compression remain that way after upgrading to DB2 10. However, existing tables
can be converted to use adaptive compression with the following statement:
ALTER TABLE … COMPRESS YES ADAPTIVE
The DBAs at Great Toque Outdoors have decided to first convert the
TOQUE.PRODUCT_FORECAST table to adaptive compression, so they issue
the ALTER TABLE statement shown in Example 3-4.
Example 3-4 Altering a table to use adaptive compression
ALTER TABLE TOQUE.PRODUCT_FORECAST COMPRESS YES ADAPTIVE; ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

High Availability and Disaster Recovery Options for DB2 for Linux, UNIX, and Windows

High Availability and Disaster Recovery Options for DB2 for Linux, UNIX, and Windows

Stanislaw Bartkowski, Ciaran De Buitlear, Adrian Kalicki, Michael Loster, Marcin Marczewski, Anas Mosaad, Jan Nelken, Mohamed Soliman, Klaus Subtil, Marko Vrhovnik, Karol Zimnol
SQL Procedures, Triggers, and Functions on IBM DB2 for i

SQL Procedures, Triggers, and Functions on IBM DB2 for i

Jim Bainbridge, Hernando Bedoya, Rob Bestgen, Mike Cain, Dan Cruikshank, Jim Denton, Doug Mack, Tom Mckinley, Simona Pacchiarini
DB2® SQL PL: Essential Guide for DB2® UDB on Linux™, UNIX®, Windows®, i5/OS™, and z/OS®, Second Edition

DB2® SQL PL: Essential Guide for DB2® UDB on Linux™, UNIX®, Windows®, i5/OS™, and z/OS®, Second Edition

Zamil Janmohamed, Clara Liu, Drew Bradstock, Raul Chong, Michael Gao, Fraser McArthur, Paul Yip
IBM Db2 11.1 Certification Guide

IBM Db2 11.1 Certification Guide

Robert (Kent) Collins, Mohankumar Saraswatipura

Publisher Resources

ISBN: 0738437107Purchase book