Longest query duration for auto tuning undo retention
    3.
    发明授权
    Longest query duration for auto tuning undo retention 有权
    自动调整撤消保留的最长查询持续时间

    公开(公告)号:US07885939B2

    公开(公告)日:2011-02-08

    申请号:US11249150

    申请日:2005-10-11

    IPC分类号: G06F7/00

    CPC分类号: G06F17/30377

    摘要: Methods and systems for automatically tuning the undo retention in a database system are disclosed. The undo tablespace may be of a fixed size or may be set to be automatically extended. If the undo tablespace is of a fixed size, the undo retention is set to a “best possible” undo retention, which is calculated based on statistical data stored in the system. If the undo tablespace is configured to be automatically extensible, the undo retention may be set to be greater than the duration of the longest running query in the system. The duration of the longest running query may be calculated in a distributed process in which each instance broadcasts information about its longest running query to other instances.

    摘要翻译: 公开了在数据库系统中自动调整撤销保留的方法和系统。 undo表空间可以是固定大小的,或者可以被设置为自动扩展。 如果undo表空间的大小固定,则undo的保留将被设置为基于系统中存储的统计数据计算的“最佳可能”撤消保留。 如果将undo表空间配置为可自动扩展,则undo保留可能设置为大于系统中运行时间最长的查询的持续时间。 可以在分布式过程中计算最长运行查询的持续时间,其中每个实例将关于其最长运行查询的信息广播到其他实例。

    Techniques for automatically tracking and archiving transactional data changes
    4.
    发明授权
    Techniques for automatically tracking and archiving transactional data changes 有权
    自动跟踪和归档交易数据更改的技术

    公开(公告)号:US08589357B2

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

    申请号:US11863310

    申请日:2007-09-28

    IPC分类号: G06F17/00 G06F17/30 G06F11/00

    摘要: A technique for making versions of rows of a user-defined tracked table temporally queryable. The database management system of the technique permits temporal queries of user-defined tables. The queries return versions of rows in the user-defined table that are currently in an undo log maintained by the database system. Associated with the tracked table are a system history table which contains versions of the rows and temporal metadata indicating when the versions were in the tracked table and a system form history table which contains versions of the form of the tracked table and metadata indicating when the tracked table had the form. These tables are created and maintained by a background process in the database management system. A temporal query on the tracked table combines results from the undo log with results from the system history table. The results' form is determined by the system form history table.

    摘要翻译: 用于使用户定义的跟踪表的行的版本在时间上可查询的技术。 该技术的数据库管理系统允许用户定义表的临时查询。 查询返回用户定义表中当前处于数据库系统维护的撤销日志中的行的版本。 与跟踪表相关联的是系统历史表,其中包含行的版本和时间元数据,指示版本在跟踪表中的何时以及系统表单历史表,其中包含跟踪表格和元数据的版本以及指示何时被跟踪的表 表有形式。 这些表由数据库管理系统中的后台进程创建和维护。 跟踪表上的时间查询将撤消日志的结果与系统历史记录表的结果相结合。 结果表单由系统表单历史表确定。

    Techniques for providing locks for file operations in a database management system
    5.
    发明申请
    Techniques for providing locks for file operations in a database management system 审中-公开
    在数据库管理系统中提供文件操作锁的技术

    公开(公告)号:US20060136508A1

    公开(公告)日:2006-06-22

    申请号:US11013519

    申请日:2004-12-16

    IPC分类号: G06F17/30

    CPC分类号: G06F16/1774

    摘要: A method and apparatus for performing file system operation locks at a database server is provided. A request to perform a file operation on a portion of a file managed by a database server is received at the database server. In response to receiving the request, the database server grants a lock that covers only a portion of the file that is involved in the file operation. For example, the database server may grant a lock that covers a range of bytes on the file, where the range of bytes is less than the entire file. Thereafter, the database server performs the file operation on the file. The file operation may be a NFS operation.

    摘要翻译: 提供了一种用于在数据库服务器执行文件系统操作锁定的方法和装置。 在数据库服务器处接收对由数据库服务器管理的文件的一部分执行文件操作的请求。 响应于接收到该请求,数据库服务器授予仅覆盖文件操作中涉及的文件的一部分的锁。 例如,数据库服务器可以授予覆盖文件范围的字节的锁,其中字节的范围小于整个文件。 此后,数据库服务器对文件执行文件操作。 文件操作可能是NFS操作。

    Online recovery of user tables using flashback table
    7.
    发明申请
    Online recovery of user tables using flashback table 有权
    使用闪回表在线恢复用户表

    公开(公告)号:US20050240633A1

    公开(公告)日:2005-10-27

    申请号:US10831449

    申请日:2004-04-23

    IPC分类号: G06F7/00 G06F17/30

    摘要: A method and apparatus for updating databases are disclosed. In response to a flashback request, a database object is restored to a state as of a specified flashback time. The changes introduced into the database object are reversed in a sequence starting with a change introduced into the database object immediately before issuance of the flashback request and ending with a change introduced into the database object immediately after the specified flashback time.

    摘要翻译: 公开了一种用于更新数据库的方法和装置。 响应闪回请求,数据库对象恢复到指定闪回时间的状态。 引入到数据库对象中的更改在序列中颠倒,从在发出闪回请求之前立即引入到数据库对象中的更改开始,并在指定的闪回时间之后立即引入到数据库对象中的更改结束。

    Online recovery of user tables using flashback table
    8.
    发明授权
    Online recovery of user tables using flashback table 有权
    使用闪回表在线恢复用户表

    公开(公告)号:US07499953B2

    公开(公告)日:2009-03-03

    申请号:US10831449

    申请日:2004-04-23

    IPC分类号: G06F17/30 G06F7/00

    摘要: A method and apparatus for updating databases are disclosed. In response to a flashback request, a database object is restored to a state as of a specified flashback time. The changes introduced into the database object are reversed in a sequence starting with a change introduced into the database object immediately before issuance of the flashback request and ending with a change introduced into the database object immediately after the specified flashback time.

    摘要翻译: 公开了一种用于更新数据库的方法和装置。 响应闪回请求,数据库对象恢复到指定闪回时间的状态。 引入到数据库对象中的更改在序列中颠倒,从在发出闪回请求之前立即引入到数据库对象中的更改开始,并在指定的闪回时间之后立即引入到数据库对象中的更改结束。

    Techniques for automatically tracking and archiving transactional data changes
    9.
    发明申请
    Techniques for automatically tracking and archiving transactional data changes 有权
    自动跟踪和归档交易数据更改的技术

    公开(公告)号:US20080098045A1

    公开(公告)日:2008-04-24

    申请号:US11863310

    申请日:2007-09-28

    IPC分类号: G06F17/30

    摘要: A technique for making versions of rows of a user-defined tracked table temporally queryable. The database management system of the technique permits temporal queries of user-defined tables. The queries return versions of rows in the user-defined table that are currently in an undo log maintained by the database system. Associated with the tracked table are a system history table which contains versions of the rows and temporal metadata indicating when the versions were in the tracked table and a system form history table which contains versions of the form of the tracked table and metadata indicating when the tracked table had the form. These tables are created and maintained by a background process in the database management system. A temporal query on the tracked table combines results from the undo log with results from the system history table. The results' form is determined by the system form history table.

    摘要翻译: 用于使用户定义的跟踪表的行的版本在时间上可查询的技术。 该技术的数据库管理系统允许用户定义表的临时查询。 查询返回用户定义表中当前处于数据库系统维护的撤销日志中的行的版本。 与跟踪表相关联的是系统历史表,其中包含行的版本和时间元数据,指示版本在跟踪表中的何时以及系统表单历史表,其中包含跟踪表格和元数据的版本以及指示何时被跟踪的表 表有形式。 这些表由数据库管理系统中的后台进程创建和维护。 跟踪表上的时间查询将撤消日志的结果与系统历史记录表的结果相结合。 结果表单由系统表单历史表确定。

    Avoiding lock contention by using a wait for completion mechanism
    10.
    发明授权
    Avoiding lock contention by using a wait for completion mechanism 有权
    通过使用等待完成机制避免锁争用

    公开(公告)号:US07644106B2

    公开(公告)日:2010-01-05

    申请号:US11830538

    申请日:2007-07-30

    IPC分类号: G06F17/30

    摘要: Techniques for avoiding lock contention when processing data definition language (DDL) statements are provided. Some DDL statements modify metadata of a table and then require access to the table. After such a DDL statement modifies the metadata of a table and the updated metadata is made available (i.e., published) to other database statements, execution of the DDL statement is suspended. Data manipulation language (DML) statements acquire locks on the table. In one approach, the locks, of any DML statement, that are granted after the DDL statement is issued are timestamped. The DDL statement uses the timestamps to determine when to access the table. The timestamps are used to determine when the last DML statement (that was pending at the time the modified metadata was published) commits and releases its lock on the table.

    摘要翻译: 提供处理数据定义语言(DDL)语句时避免锁争用的技术。 一些DDL语句修改表的元数据,然后需要访问该表。 在这样一个DDL语句修改表的元数据之后,更新后的元数据可用(即发布)到其他数据库语句,DDL语句的执行被暂停。 数据操作语言(DML)语句获取表上的锁。 在一种方法中,在发出DDL语句之后授予的任何DML语句的锁定是时间戳的。 DDL语句使用时间戳来确定何时访问表。 时间戳用于确定最后一个DML语句(修改后的元数据发布时待处理的)是否提交并释放其在表上的锁定。