Database configuration setting overrides
Abstract
Techniques are disclosed relating to database configuration settings overrides. In some embodiments, a database system stores a set of default configuration settings that control operation of the database system. The database system receives a query requesting data from the database system, and metadata about the query. The database system determines, based on the query and the metadata, that a configuration settings override has been specified for the query, where the configuration settings override indicates that one or more of the default configuration settings are to be replaced with one or more configuration settings specific to the query. In response to the determining that a configuration settings override has been specified, the database system executes the query using the one or more specific configuration settings.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 0.
Claims (8 — 1 Independent, 7 Dependent)
- Claim 1Independent Claim
A non-transitory computer readable medium having program instructions stored thereon that are capable of causing a database system to perform operations comprising: storing, in a catalog table of the database system, a set of default configuration settings that control operation of the database system; receiving, by a parser of the database system, a query requesting data from the database system, wherein the query is received with metadata about the query; determining, by the parser and based on the metadata, that a configuration settings override has been specified for the query, wherein the configuration settings override indicates that one or more of the default configuration settings are to be replaced with one or more configuration settings specific to the query, wherein the one or more default configuration settings to be replaced include a resource allocation for execution of the query, and wherein the determining includes accessing an override table in the database system stor
- Claim 2Depends on #1
The non-transitory computer readable medium of claim 1, wherein the metadata includes information identifying a tenant that includes a plurality of users accessing the database system.
- Claim 3Depends on #1
The non-transitory computer readable medium of claim 1, wherein the metadata includes information identifying a specific user associated with the query.
- Claim 4Depends on #1
The non-transitory computer readable medium of claim 1, wherein: the default configuration settings cause the executing of the query with the default configuration settings to be limited to a first period of time; and the specific configuration settings cause the executing of the query with the specific configuration settings to be limited to a second period of time.
- Claim 5Depends on #1
The non-transitory computer readable medium of claim 1, wherein the operations further comprise: prior to receiving the query, caching a set of query plans, including the default query plan; and in response to receiving the query, determining, based on the configuration settings override, that the cached default query plan does not comply with the specific configuration settings.
- Claim 6Depends on #1
The non-transitory computer readable medium of claim 1, wherein the resource allocation includes a permitted length of time for the executing of the query.
- Claim 7Depends on #1
The non-transitory computer readable medium of claim 1, wherein the resource allocation includes a memory limit of the database system for the executing of the query.
- Claim 8Depends on #1
The non-transitory computer readable medium of claim 1, wherein the operations further comprise: determining, based on the configuration settings override, whether to cache query plans in a cache of the database system as a result of the executing.
Technical Overview & Description
BACKGROUND Technical Field This disclosure relates generally to database systems, and, more specifically, to database system configurations. Description of the Related Art Enterprises routinely implement database systems that enable users to store a collection of information in an organized manner that can be efficiently accessed and manipulated. A database system can implement any of a variety of different types of databases to store information, such as a relational database, a non-relational database, etc. During operation, a database system receives requests from users via applications or from other systems, such as another database system, to perform transactions on information stored in a database store of the database system. To process requests, the database system relies on various sub-systems such as query parsers and optimizers to ensure the reliability, quality, etc. of the processing. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram illustrating one embodiment of a database system configured to support database configuration settings overrides. FIG. 2 is a block diagram illustrating one embodiment of a query parser of the database system. FIG. 3 is a block diagram illustrating one embodiment of a database system applying database configuration settings overrides for a particular query. FIG. 4 is a block diagram illustrating one embodiment of catalog tables maintained by the database system to support database configuration settings overrides. FIG. 5 is a block diagram illustrating one embodiment of a user interface adding database configuration settings overrides to a catalog table. FIG. 6 is a flow diagram illustrating embodiments of a method associated with database configuration settings overrides. FIG. 7 is a block diagram illustrating one embodiment of an exemplary multi-tenant system for implementing various systems described herein. DETAILED DESCRIPTION Database systems rely on configuration settings to control their behavior and query
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.