Invention Grant
- Patent Title: Altering data type of a column in a database
-
Application No.: US14552902Application Date: 2014-11-25
-
Publication No.: US10747737B2Publication Date: 2020-08-18
- Inventor: Colin Florendo , Ivan Schreter , Panfeng Zhou , David Wein , Steffen Geissinger , Michael Muehle
- Applicant: SAP SE
- Applicant Address: DE Walldorf
- Assignee: SAP SE
- Current Assignee: SAP SE
- Current Assignee Address: DE Walldorf
- Agency: Sterne, Kessler, Goldstein & Fox P.L.L.C.
- Main IPC: G06F17/22
- IPC: G06F17/22 ; G06F16/22

Abstract:
Disclosed herein are system, method, and computer program product embodiments for altering the data type of a column in a database. An embodiment operates by converting an original dictionary associated with a column into a new dictionary. The new dictionary stores the values of the original dictionary using a different data type. An index vector containing the keys of the original dictionary is then updated to contain the associated keys of the new dictionary. Because the size of the original dictionary is often substantially smaller than the number of rows in the associated column, this dictionary conversion decreases the computation cost to the database system of altering the data type of the column and reduces or even minimizes database downtime for users.
Public/Granted literature
- US20160147776A1 ALTERING DATA TYPE OF A COLUMN IN A DATABASE Public/Granted day:2016-05-26
Information query