Query plans with parameter markers in place of object identifiers
    1.
    发明授权
    Query plans with parameter markers in place of object identifiers 有权
    具有参数标记的查询计划代替对象标识符

    公开(公告)号:US08924373B2

    公开(公告)日:2014-12-30

    申请号:US13570523

    申请日:2012-08-09

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30463

    摘要: In an embodiment, a first query is received that specifies a first object identifier. If a first query plan exists that implements the first query, except that the first query plan does not comprise the first object identifier and instead comprises a parameter marker in place of the first object identifier, a first query execution plan is created from the first query plan, substituting the first object identifier in the first query execution plan for the parameter marker, and the first query execution plan is executed to read a first object identified by the first object identifier.

    摘要翻译: 在一个实施例中,接收指定第一对象标识符的第一查询。 如果存在实现第一查询的第一查询计划,除了第一查询计划不包括第一对象标识符,而是包括代替第一对象标识符的参数标记,则从第一查询创建第一查询执行计划 计划,将第一查询执行计划中的第一对象标识符替换为参数标记,并且执行第一查询执行计划以读取由第一对象标识符标识的第一对象。

    ALLOCATING RESOURCES TO VIRTUAL MACHINES VIA A WEIGHTED COST RATIO
    2.
    发明申请
    ALLOCATING RESOURCES TO VIRTUAL MACHINES VIA A WEIGHTED COST RATIO 审中-公开
    通过加权成本比例将虚拟机分配资源

    公开(公告)号:US20130263117A1

    公开(公告)日:2013-10-03

    申请号:US13432815

    申请日:2012-03-28

    IPC分类号: G06F9/50 G06F9/455

    摘要: In an embodiment, a plurality of estimates of costs of executing a plurality of respective queries is received from a plurality of respective virtual machines using a plurality of respective estimated resources allocated to the plurality of respective virtual machines. A selected virtual machine of the plurality of respective virtual machines is selected with a lowest weighted cost ratio, as compared to all other of the plurality of respective virtual machines. A source virtual machine is found with a lowest current resource usage. An amount of a resource to deallocate from the source virtual machine is calculated, which further comprises estimating the amount of the resource to deallocate that does not raise the lowest current resource usage over a maximum resource threshold. The amount of the resource from the source virtual machine is deallocated. The amount of the resource is allocated to the selected virtual machine.

    摘要翻译: 在一个实施例中,使用分配给多个相应虚拟机的多个相应估计资源,从多个相应虚拟机中接收执行多个相应查询的成本的多个估计。 与所述多个相应虚拟机中的所有其他虚拟机相比,选择具有最低加权成本比的多个相应虚拟机中的选定虚拟机。 发现源虚拟机具有最低的资源使用率。 计算从源虚拟机取消分配的资源的数量,其还包括估计在最大资源阈值上不会提高最低当前资源使用的资源的释放资源量。 来自源虚拟机的资源量被释放。 资源的数量被分配给所选择的虚拟机。

    USING A PARTIALLY BUILT INDEX IN A COMPUTER DATABASE SYSTEM
    3.
    发明申请
    USING A PARTIALLY BUILT INDEX IN A COMPUTER DATABASE SYSTEM 失效
    在计算机数据库系统中使用部分建立索引

    公开(公告)号:US20130060752A1

    公开(公告)日:2013-03-07

    申请号:US13225058

    申请日:2011-09-02

    IPC分类号: G06F17/30

    摘要: A partially built index is used in a computer database system. When a database index is being built, or rebuilt, the database manager keeps track of the records processed using a relative row number (RRN) to track what part of the partially built index is complete. Queries are optimized by a query optimizer associated with the database manager that uses the portion of the index that is complete with reference to the RRN. The remainder of the database table beyond the RRN can be estimated or implemented using the completed data or can be determined by searching the relevant portion of the database table.

    摘要翻译: 在计算机数据库系统中使用部分建立的索引。 当建立或重建数据库索引时,数据库管理器将使用相对行号(RRN)跟踪处理的记录,以跟踪部分构建的索引的哪一部分完成。 查询通过与数据库管理器相关联的查询优化器进行优化,该查询优化器使用完整引用该RRN的索引部分。 可以使用完成的数据来估计或实现超出RRN的剩余数据库表,或者可以通过搜索数据库表的相关部分来确定。

    Displaying hidden rows in a database after an expiration date
    4.
    发明授权
    Displaying hidden rows in a database after an expiration date 失效
    过期日期后在数据库中显示隐藏的行

    公开(公告)号:US08392374B2

    公开(公告)日:2013-03-05

    申请号:US12871113

    申请日:2010-08-30

    IPC分类号: G06F7/00 G06F17/00

    摘要: In an embodiment, a first row of data is stored in a database. The first row of data is hidden until a current date is later than a hidden expiration date. An indication is returned, to a requestor, that the first row does not exist in response to a query from the requestor that specifies a key that identifies the first row if the current date is before the hidden expiration date. The first row is returned, to the requestor, in response to the query if the current date is after the hidden expiration date.

    摘要翻译: 在一个实施例中,第一行数据被存储在数据库中。 第一行数据被隐藏,直到当前日期晚于隐藏的到期日期。 如果当前日期在隐藏的过期日期之前,则向请求者返回指示,以响应于来自请求者的查询,第一行不存在,该请求者指定标识第一行的密钥。 如果当前日期在隐藏的到期日之后,则第一行返回给请求者,以响应查询。

    Reorganizing database tables
    5.
    发明授权
    Reorganizing database tables 失效
    重组数据库表

    公开(公告)号:US08386445B2

    公开(公告)日:2013-02-26

    申请号:US13105536

    申请日:2011-05-11

    IPC分类号: G06F7/00

    CPC分类号: G06F17/30339

    摘要: Techniques are disclosed for reorganizing rows of a database table. In one embodiment, each row is associated with a respective row identifier. A mapping is provided that assigns a logical identifier to each row identifier. Each database index on the database table is configured to use the logical identifier rather than the row identifier. Accordingly, the rows of the database table may be reorganized without having to modify any database index on the database table.

    摘要翻译: 公开了重新组织数据库表的行的技术。 在一个实施例中,每行与相应的行标识符相关联。 提供了一个映射,为每个行标识符分配逻辑标识符。 数据库表上的每个数据库索引都配置为使用逻辑标识符而不是行标识符。 因此,可以重新组织数据库表的行,而不必修改数据库表上的任何数据库索引。

    Changing the compression level of query plans
    6.
    发明授权
    Changing the compression level of query plans 有权
    更改查询计划的压缩级别

    公开(公告)号:US08949222B2

    公开(公告)日:2015-02-03

    申请号:US13469317

    申请日:2012-05-11

    IPC分类号: G06F7/76 G06F17/30

    摘要: In an embodiment, a query plan is compressed to data in a cache at a high compression level if a runtime of a query that the query plan implements is greater than a high time threshold. The query plan is compressed to the data in the cache at a medium compression level if the runtime of the query that the query plan implements is less than the high time threshold and greater than a low time threshold. The query plan is stored to the data in the cache at an uncompressed level if the runtime of the query that the query plan implements is less than the low time threshold.

    摘要翻译: 在一个实施例中,如果查询计划实现的查询的运行时间大于高时间阈值,则在高压缩级别将查询计划压缩到高速缓存中的数据。 如果查询计划实现的查询的运行时间小于高时间阈值且大于低时间阈值,则查询计划将以中等压缩级别压缩到缓存中的数据。 如果查询计划实现的查询的运行时间小于低时间阈值,则查询计划将以未压缩级别存储在缓存中的数据中。

    QUERY PLANS WITH PARAMETER MARKERS IN PLACE OF OBJECT IDENTIFIERS
    7.
    发明申请
    QUERY PLANS WITH PARAMETER MARKERS IN PLACE OF OBJECT IDENTIFIERS 有权
    具有参考标记的查询计划在对象标识符的位置

    公开(公告)号:US20140046928A1

    公开(公告)日:2014-02-13

    申请号:US13570523

    申请日:2012-08-09

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30463

    摘要: In an embodiment, a first query is received that specifies a first object identifier. If a first query plan exists that implements the first query, except that the first query plan does not comprise the first object identifier and instead comprises a parameter marker in place of the first object identifier, a first query execution plan is created from the first query plan, substituting the first object identifier in the first query execution plan for the parameter marker, and the first query execution plan is executed to read a first object identified by the first object identifier.

    摘要翻译: 在一个实施例中,接收指定第一对象标识符的第一查询。 如果存在实现第一查询的第一查询计划,除了第一查询计划不包括第一对象标识符,而是包括代替第一对象标识符的参数标记,则从第一查询创建第一查询执行计划 计划,将第一查询执行计划中的第一对象标识符替换为参数标记,并且执行第一查询执行计划以读取由第一对象标识符标识的第一对象。

    Constraints with hidden rows in a database
    8.
    发明授权
    Constraints with hidden rows in a database 失效
    在数据库中隐藏行的约束

    公开(公告)号:US08108367B2

    公开(公告)日:2012-01-31

    申请号:US12123905

    申请日:2008-05-20

    IPC分类号: G06F7/00

    CPC分类号: G06F17/3051

    摘要: In an embodiment, a constraint is created for a database table. The constraint specifies a condition for a first column in the database table and an action. The action specifies whether data that violates the condition is allowed to be stored in the first column. A value and a specification of a second column in the database table are received from a data source. If the second column is identical to the first column, the value violates the condition, and the action specifies that data that violates the condition is allowed to be stored, the value is stored in a row in the database, the row is marked as hidden, and an identification of the constraint that was violated is stored in the row. A query does not return the row that is marked as hidden.

    摘要翻译: 在一个实施例中,为数据库表创建约束。 约束指定数据库表中的第一列的条件和操作。 该动作指定是否允许将违反条件的数据存储在第一列中。 从数据源接收数据库表中第二列的值和规格。 如果第二列与第一列相同,则该值违反条件,并且该动作指定允许存储违反条件的数据,该值存储在数据库中的行中,该行被标记为隐藏 ,并且违例的约束的标识存储在该行中。 查询不返回被标记为隐藏的行。

    Reading rows from memory prior to reading rows from secondary storage
    9.
    发明授权
    Reading rows from memory prior to reading rows from secondary storage 有权
    在从二级存储读取行之前从内存中读取行

    公开(公告)号:US09218394B2

    公开(公告)日:2015-12-22

    申请号:US12907157

    申请日:2010-10-19

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30501 G06F17/30902

    摘要: In an embodiment, a first plurality of rows of a first table are read from memory in an order of page addresses of pages in the memory that comprise the first plurality of rows. First selected rows from the first plurality of rows that meet a query predicate are stored into a result set. After the reading the first plurality of rows in the order of the page addresses, a second plurality of rows of the first table are read from secondary storage, in an order of row identifiers of the second plurality of the rows in the first table. Second selected rows from the second plurality of rows that meet the query predicate are stored into the result set.

    摘要翻译: 在一个实施例中,以存储器中构成第一多行的页面的页面地址的顺序从存储器读取第一表的第一多行。 来自满足查询谓词的第一个多行的第一个选定行被存储到结果集中。 在以页面地址的顺序读取第一多行后,按照第一表中的第二行的行标识符的次序从副存储器读取第一表的第二多行。 来自满足查询谓词的第二个多行的第二个选定的行被存储到结果集中。

    Resuming execution of an execution plan in a virtual machine
    10.
    发明授权
    Resuming execution of an execution plan in a virtual machine 失效
    在虚拟机中恢复执行计划的执行

    公开(公告)号:US08601474B2

    公开(公告)日:2013-12-03

    申请号:US13273779

    申请日:2011-10-14

    IPC分类号: G06F9/455

    摘要: In an embodiment, a query implemented by a first execution plan is executed at a first virtual machine. In response to a move command that requests a move of the first virtual machine from a first computer to a second computer while the first virtual machine is executing the query implemented by the first execution plan at the first computer, an attribute of a resource used by the executing at the first virtual machine is saved to memory at the first computer and a driver source used by the executing at the first virtual machine is saved to the memory at the first computer. In response to a command that requests starting a second virtual machine at the second computer, a determination is made whether the driver source that comprises the state of the partial execution of the first execution plan exists in memory of the second computer.

    摘要翻译: 在一个实施例中,由第一执行计划实现的查询在第一虚拟机处执行。 响应于在所述第一虚拟机正在执行由所述第一计算机上的所述第一执行计划执行的所述查询的请求时将所述第一虚拟机从第一计算机移动到第二计算机的移动命令,由所述第一计算机使用的资源的属性 在第一计算机处将执行的第一虚拟机保存到存储器,并且由第一虚拟机执行的驱动源被保存在第一计算机的存储器中。 响应于在第二计算机请求启动第二虚拟机的命令,确定包括第一执行计划的部分执行状态的驱动程序源是否存在于第二计算机的存储器中。