Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
648064bb
提交
648064bb
authored
5月 30, 2011
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Documentation.
上级
73af7108
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
12 行增加
和
13 行删除
+12
-13
DbSettings.java
h2/src/main/org/h2/constant/DbSettings.java
+12
-13
没有找到文件。
h2/src/main/org/h2/constant/DbSettings.java
浏览文件 @
648064bb
...
...
@@ -40,7 +40,7 @@ public class DbSettings extends SettingsBase {
public
final
boolean
aliasColumnName
=
get
(
"ALIAS_COLUMN_NAME"
,
false
);
/**
* Database setting <code>ANALYZE_AUTO</code> (default: 0).<br />
* Database setting <code>ANALYZE_AUTO</code> (default:
200
0).<br />
* After changing this many rows, ANALYZE is automatically run for a table.
* Automatically running ANALYZE is disabled if set to 0. If set to 1000,
* then ANALYZE will run against each user table after about 1000 changes to
...
...
@@ -95,7 +95,7 @@ public class DbSettings extends SettingsBase {
public
final
boolean
defragAlways
=
get
(
"DEFRAG_ALWAYS"
,
false
);
/**
* Database setting <code>DROP_RESTRICT</code> (default:
fals
e).<br />
* Database setting <code>DROP_RESTRICT</code> (default:
tru
e).<br />
* Whether the default action for DROP TABLE and DROP VIEW is RESTRICT. For
* most databases, the default action is RESTRICT, but for compatibility
* with older versions of H2 the default action is currently CASCADE. This will
...
...
@@ -120,7 +120,7 @@ public class DbSettings extends SettingsBase {
/**
* Database setting <code>FUNCTIONS_IN_SCHEMA</code> (default:
*
fals
e).<br />
*
tru
e).<br />
* If set, all functions are stored in a schema. Specially, the SCRIPT statement
* will always include the schema name in the CREATE ALIAS statement.
* This is not backward compatible with H2 versions 1.2.134 and older.
...
...
@@ -135,7 +135,7 @@ public class DbSettings extends SettingsBase {
public
final
int
largeResultBufferSize
=
get
(
"LARGE_RESULT_BUFFER_SIZE"
,
4
*
1024
);
/**
* Database setting <code>LARGE_TRANSACTIONS</code> (default:
fals
e).<br />
* Database setting <code>LARGE_TRANSACTIONS</code> (default:
tru
e).<br />
* Support very large transactions
*/
public
final
boolean
largeTransactions
=
get
(
"LARGE_TRANSACTIONS"
,
Constants
.
VERSION_MINOR
>=
3
);
...
...
@@ -155,7 +155,7 @@ public class DbSettings extends SettingsBase {
/**
* Database setting <code>MAX_MEMORY_ROWS_DISTINCT</code> (default:
*
Integer.MAX_VALUE
).<br />
*
10000
).<br />
* The maximum number of rows kept in-memory for SELECT DISTINCT queries. If
* more than this number of rows are in a result set, a temporary table is
* used.
...
...
@@ -171,7 +171,7 @@ public class DbSettings extends SettingsBase {
public
int
maxQueryTimeout
=
get
(
"MAX_QUERY_TIMEOUT"
,
0
);
/**
* Database setting <code>NESTED_JOINS</code> (default:
fals
e).<br />
* Database setting <code>NESTED_JOINS</code> (default:
tru
e).<br />
* Whether nested joins should be supported.
*/
public
final
boolean
nestedJoins
=
get
(
"NESTED_JOINS"
,
Constants
.
VERSION_MINOR
>=
3
);
...
...
@@ -199,7 +199,7 @@ public class DbSettings extends SettingsBase {
/**
* Database setting <code>OPTIMIZE_INSERT_FROM_SELECT</code>
* (default:
fals
e).<br />
* (default:
tru
e).<br />
* Insert into table from query directly bypassing temporary disk storage.
* This also applies to create table as select.
*/
...
...
@@ -213,7 +213,7 @@ public class DbSettings extends SettingsBase {
public
final
boolean
optimizeInList
=
get
(
"OPTIMIZE_IN_LIST"
,
true
);
/**
* Database setting <code>OPTIMIZE_IN_SELECT</code> (default:
fals
e).<br />
* Database setting <code>OPTIMIZE_IN_SELECT</code> (default:
tru
e).<br />
* Optimize IN(SELECT ...) comparisons. This includes
* optimization for SELECT, DELETE, and UPDATE.
*/
...
...
@@ -226,7 +226,7 @@ public class DbSettings extends SettingsBase {
public
final
boolean
optimizeIsNull
=
get
(
"OPTIMIZE_IS_NULL"
,
true
);
/**
* Database setting <code>OPTIMIZE_OR</code> (default:
fals
e).<br />
* Database setting <code>OPTIMIZE_OR</code> (default:
tru
e).<br />
* Convert (C=? OR C=?) to (C IN(?, ?)).
*/
public
final
boolean
optimizeOr
=
get
(
"OPTIMIZE_OR"
,
Constants
.
VERSION_MINOR
>=
3
);
...
...
@@ -266,7 +266,7 @@ public class DbSettings extends SettingsBase {
public
final
boolean
pageStoreTrim
=
get
(
"PAGE_STORE_TRIM"
,
true
);
/**
* Database setting <code>QUERY_CACHE_SIZE</code> (default:
0
).<br />
* Database setting <code>QUERY_CACHE_SIZE</code> (default:
8
).<br />
* The size of the query cache. Each session has it's own cache with the
* given size. The cache is only used if the SQL statement and all
* parameters match. Only the last returned result per query is cached. Only
...
...
@@ -291,15 +291,14 @@ public class DbSettings extends SettingsBase {
public
final
int
reconnectCheckDelay
=
get
(
"RECONNECT_CHECK_DELAY"
,
200
);
/**
* Database setting <code>ROWID</code>
* (default: false for version 1.2, true for version 1.3).<br />
* Database setting <code>ROWID</code> (default: true).<br />
* If set, each table has a pseudo-column _ROWID_.
*/
public
final
boolean
rowId
=
get
(
"ROWID"
,
Constants
.
VERSION_MINOR
>=
3
);
/**
* Database setting <code>SELECT_FOR_UPDATE_MVCC</code>
* (default:
fals
e).<br />
* (default:
tru
e).<br />
* If set, SELECT .. FOR UPDATE queries lock only the selected rows when
* using MVCC.
*/
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论