Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
IBM Db2 11.1 Certification Guide

You're reading from   IBM Db2 11.1 Certification Guide Explore techniques to master database programming and administration tasks in IBM Db2

Arrow left icon
Product type Paperback
Published in Jun 2018
Publisher
ISBN-13 9781788626910
Length 478 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Mohankumar Saraswatipura Mohankumar Saraswatipura
Author Profile Icon Mohankumar Saraswatipura
Mohankumar Saraswatipura
Robert (Kent) Collins Robert (Kent) Collins
Author Profile Icon Robert (Kent) Collins
Robert (Kent) Collins
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Introduction to the Db2 Certification Path 2. Db2 Server Management FREE CHAPTER 3. Physical Design 4. Implementing Business Rules 5. Monitoring Db2 Activity 6. Db2 Utilities 7. High Availability 8. Db2 Security 9. Other Books You May Enjoy

Online table move

Online Table Move (OTM) is the process of moving a table without a service disruption. Have you ever had the need to change something such as tablespace extent size? How about the need to reclaim tablespace filesystem storage when you're unable to use REDUCE MAX? If you can take the source table(s) out of service for some varying length of time, there are several possible solutions. But, what if the table(s) cannot be offline for any amount of time?

The stored procedure ADMIN_MOVE_TABLE can be used to move data in an active table to a new object with the same name, keeping the data online and available. A typical ADMIN_MOVE_TABLE statement looks like the following:

CALL SYSPROC.ADMIN_MOVE_TABLE 
 ( 
   [TableSchema], [SourceTable], [TargetDataTS], 
   [TargetIndexTS], [TargetLongTS], [MDC_Columns], 
   [PartitionKeys], [DataPartitions], [ColumnDefs], 
 ...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime