Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.1 » SQL Anywhere 服务器 - 数据库管理 » 数据库配置 » 数据库选项 » 选项分类

 

数据库选项

利用下列选项,您可以配置 SQL Anywhere 数据库服务器的行为。

选项 缺省值
allow_nulls_by_default 选项 On、Off

On

对 Sybase Open Client 和 jConnect 连接为 Off

allow_read_client_file 选项 On、Off Off
allow_snapshot_isolation 选项 On、Off Off
allow_write_client_file 选项 On、Off Off
ansi_blanks 选项 On、Off Off
ansi_close_cursors_on_rollback 选项 On、Off Off
ansi_permissions 选项 On、Off On
ansi_substring 选项 On、Off On
ansi_update_constraints 选项 Off、Cursors、Strict Cursors
ansinull 选项 On、Off On
auditing 选项 On、Off Off
auditing_options 选项 保留 保留
background_priority 选项 [不建议使用] On、Off Off
blocking 选项 On、Off On
blocking_others_timeout 选项 整数(以毫秒为单位) 0
blocking_timeout 选项 整数(以毫秒为单位) 0
chained 选项 On、Off

On

对 Sybase Open Client 和 jConnect 连接为 Off

checkpoint_time 选项 分钟数 60
cis_option 选项 0, 7 0
cis_rowset_size 选项 整数 50
close_on_endtrans 选项 On、Off

On

jConnect 连接为 Off

collect_statistics_on_dml_updates 选项 On、Off On
conn_auditing 选项 On、Off On
connection_authentication 选项 字符串 空字符串
continue_after_raiserror 选项 On、Off On
conversion_error 选项 On、Off On
cooperative_commit_timeout 选项 整数(以毫秒为单位) 250
cooperative_commits 选项 On、Off On
database_authentication 字符串 空字符串
date_format 选项 字符串 YYYY-MM-DD
date_order 选项 MDY、YMD、DMY YMD
debug_messages 选项 On、Off Off
dedicated_task 选项 On、Off Off
default_dbspace 选项 字符串 空字符串(使用系统 dbspace)
default_timestamp_increment 选项 整数(1 到 1000000,以微秒为单位) 1
delayed_commit_timeout 选项 整数(以毫秒为单位) 500
delayed_commits 选项 On、Off Off
divide_by_zero_error 选项 On、Off On
escape_character 选项 保留 保留
exclude_operators 选项 保留 保留
extended_join_syntax 选项 On、Off On
fire_triggers 选项 On、Off On
first_day_of_week 选项 1, 2, 3, 4, 5, 6, 7 7(星期日是一周中的第一天)
for_xml_null_treatment 选项 Empty、Omit Omit
force_view_creation 选项 保留 保留
global_database_id 选项 整数 2147483647
http_connection_pool_basesize 选项 整数(0 到 1000) 10
http_connection_pool_timeout 选项 整数(1 到 86400,以秒为单位) 60
http_session_timeout 选项 整数 30
integrated_server_name 选项 字符串 NULL
isolation_level 选项 0、1、2、3、快照、语句快照、只读语句快照 0
java_class_path 选项 字符串 空字符串
java_location 选项 字符串 空字符串
java_vm_options 选项 字符串 空字符串
log_deadlocks 选项 On、Off Off
login_mode 选项 Standard、Integrated、Kerberos、Mixed(不建议使用) Standard
login_procedure 选项 字符串 sp_login_environment
materialized_view_optimization 选项 Disabled、Fresh、Stale、N { Minute[s] | Hour[s] | Day[s] | Week[s] | Month[s] } Stale
max_client_statements_cached 选项 整数 10
max_cursor_count 选项 整数 50
max_plans_cached 选项 整数 20
max_priority 选项 Critical、High、Above Normal、Normal、Below normal、Low、Background Normal
max_query_tasks 选项 整数 0
max_recursive_iterations 选项 整数 100
max_statement_count 选项 大于等于 0 的整数 50
max_temp_space 选项 整数 [k|m|g|p] 0
min_password_length 选项 大于等于 0 的整数 0 个字符
nearest_century 选项 0 到 100(含)之间的整数 50
non_keywords 选项 字符串 空字符串
odbc_describe_binary_as_varbinary On、Off Off
odbc_distinguish_char_and_varchar 选项 On、Off Off
oem_string 选项 字符串(最多 128 字节) 空字符串
on_charset_conversion_failure 选项 Ignore、Warning、Error Ignore
on_tsql_error 选项 Stop、Conditional、Continue

Conditional

对 JConnect 连接,继续执行

optimization_goal 选项 First-row 或 All-rows All-rows
optimization_level 选项 0-15 9
optimization_workload 选项 Mixed、OLAP Mixed
pinned_cursor_percent_of_cache 选项 0-100 之间的整数 10
post_login_procedure 选项 字符串 空字符串
precision 选项 1 到 127(含)之间的整数 30
prefetch 选项 Off、Conditional、Always Conditional
preserve_source_format 选项 On、Off On
prevent_article_pkey_update 选项 On、Off On
priority 选项 Critical、High、Above Normal、Normal、Below normal、Low、Background Normal
progress_messages 选项 Off、Formatted、Raw Off
query_mem_timeout 选项 -1、0、正整数 -1
quoted_identifier 选项 On、Off On
read_past_deleted 选项 On、Off On
recovery_time 选项 整数(以分钟为单位) 2
remote_idle_timeout 选项 整数(以秒为单位) 15
request_timeout 选项 整数(0 到 86400,以秒为单位) 0
reserved_keywords 选项 字符串 空字符串
return_date_time_as_string 选项 On、Off Off
rollback_on_deadlock On、Off On
row_counts 选项 On、Off Off
scale 选项 0 到 127(含)之间的整数,小于为 precision 数据库选项指定的值 6
secure_feature_key 字符串 NULL
sort_collation 选项 Internal、collation_name 或 collation_id Internal
sql_flagger_error_level 选项 Off、SQL:1992/Entry、SQL:1992/Intermediate、SQL:1992/Full、SQL:1999/Core、SQL:1999/Package、SQL:2003/Core、SQL:2003/Package、UltraLite Off
sql_flagger_warning_level 选项 Off、SQL:1992/Entry、SQL:1992/Intermediate、SQL:1992/Full、SQL:1999/Core、SQL:1999/Package、SQL:2003/Core、SQL:2003/Package、UltraLite Off
string_rtruncation 选项 On、Off On
st_geometry_asbinary_format 选项 此选项支持的值列表与类型 ST_Geometry 的 ST_AsBinary 方法记录的参数列表相同。请参见类型 ST_Geometry 的 ST_AsBinary 方法 WKB
st_geometry_astext_format 选项 此选项支持的值列表与类型 ST_Geometry 的 ST_AsText 方法记录的参数列表相同。请参见类型 ST_Geometry 的 ST_AsText 方法 WKT
st_geometry_asxml_format 选项 此选项支持的值列表与类型 ST_Geometry 的 ST_AsXML 方法记录的参数列表相同。请参见类型 ST_Geometry 的 ST_AsXML 方法 XML
st_geometry_describe_type 选项 CHAR、NCHAR、BINARY CHAR
st_geometry_interpolation 选项 一组 [键=值] 对,格式为:key1=value1;key2=value2;。有效的键值包括:relative-tolerance-percent=DOUBLE absolute-tolerance=DOUBLE 有关缺省行为的说明,请参见st_geometry_interpolation 选项
st_geometry_on_invalid 选项
subsume_row_locks 选项 On、Off On
suppress_tds_debugging 选项 On、Off Off
synchronize_mirror_on_commit 选项 On、Off Off
tds_empty_string_is_null 选项 On、Off Off
temp_space_limit_check 选项 On、Off On
time_format 选项 字符串 HH:NN:SS.SSS
time_zone_adjustment 选项 放在引号中的整数或负整数,或者是放在引号中的字符串(以小时和分钟表示时间,在 + 或 - 之后) 根据客户端的连接类型,由客户端或数据库服务器的时区进行设置
timestamp_format 选项 字符串 YYYY-MM-DD HH:NN:SS.SSS
timestamp_with_time_zone_format 选项 字符串 YYYY-MM-DD HH:NN:SS.SSS+HH:NN
truncate_timestamp_values 选项 On、Off Off
tsql_outer_joins 选项 On、Off Off
tsql_variables 选项 On、Off

Off

对 Sybase Open Client 和 jConnect 连接为 On

updatable_statement_isolation 选项 0, 1, 2, 3 0
update_statistics 选项 On、Off On
user_estimates 选项 Enabled、Disabled、Override-Magic Override-Magic
uuid_has_hyphens 选项 On、Off Off
verify_password_function 选项 字符串 空字符串
wait_for_commit 选项 On、Off Off
webservice_namespace_host 选项 NULL、主机名字符串 NULL