ALTERING DATA TYPE OF A COLUMN IN A DATABASE
    11.
    发明申请
    ALTERING DATA TYPE OF A COLUMN IN A DATABASE 审中-公开
    更改数据库中的列的数据类型

    公开(公告)号:US20160147776A1

    公开(公告)日:2016-05-26

    申请号:US14552902

    申请日:2014-11-25

    IPC分类号: G06F17/30

    摘要: 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.

    摘要翻译: 这里公开了用于改变数据库中的列的数据类型的系统,方法和计算机程序产品实施例。 实施例通过将与列相关联的原始字典转换为新字典来操作。 新字典使用不同的数据类型存储原始字典的值。 然后,将包含原始字典的键的索引向量更新为包含新字典的相关键。 由于原始字典的大小通常远小于相关列中的行数,因此该字典转换会降低数据库系统的更改列数据类型的计算成本,并减少或甚至最小化用户数据库停机时间。

    Systems and Methods for Generating a Common Data Model for Relational and Object Oriented Databases
    12.
    发明申请
    Systems and Methods for Generating a Common Data Model for Relational and Object Oriented Databases 有权
    用于生成关系型和面向对象数据库的通用数据模型的系统和方法

    公开(公告)号:US20130318128A1

    公开(公告)日:2013-11-28

    申请号:US13480279

    申请日:2012-05-24

    IPC分类号: G06F17/30

    摘要: In one embodiment, a computer-implemented method comprises receiving a query in a controller. A data store stores data in a relational database. The database comprises a plurality of fields and a plurality of data elements. Each field is associated with a portion of the data elements. The database is arranged as at least one table, and the query identifies data of an object to be stored in a data set. The method further comprises determining, by the controller, whether the relational database includes a field associated with a class of the object; and if the relational database does not include a field associated with the class of the object, adding a column to the relational database, the added column having a field corresponding to the class. The method further comprises adding the data of the object to the relational database.

    摘要翻译: 在一个实施例中,计算机实现的方法包括在控制器中接收查询。 数据存储将数据存储在关系数据库中。 数据库包括多个字段和多个数据元素。 每个字段与一部分数据元素相关联。 数据库被布置为至少一个表,并且查询识别要存储在数据集中的对象的数据。 所述方法还包括由所述控制器确定所述关系数据库是否包括与所述对象的类别相关联的字段; 并且如果关系数据库不包括与对象的类相关联的字段,则向关系数据库添加列,添加的列具有与该类对应的字段。 该方法还包括将对象的数据添加到关系数据库。