PingKai Logo下载

平凯数据库云服务上受限的 SQL 功能

平凯数据库云服务支持几乎所有 TiDB 支持的工作负载,但 TiDB 自建版与平凯数据库云服务之间存在一些功能差异。本文档描述了平凯数据库云服务上 SQL 功能的限制。我们正在不断弥补 TiDB 自建版与平凯数据库云服务之间的功能差距。如果你需要这些尚未支持的功能或能力,请联系我们提交功能请求。

语句

数据放置与范围管理

语句平凯云 Starter 和平凯云 Essential
ALTER PLACEMENT POLICY不支持 1
CREATE PLACEMENT POLICY不支持 1
DROP PLACEMENT POLICY不支持 1
SHOW CREATE PLACEMENT POLICY不支持 1
SHOW PLACEMENT不支持 1
SHOW PLACEMENT FOR不支持 1
SHOW PLACEMENT LABELS不支持 1
SHOW TABLE REGIONS不支持 1
SPLIT REGION不支持 1

资源组

语句平凯云 Starter 和平凯云 Essential
ALTER RESOURCE GROUP不支持 2
CALIBRATE RESOURCE不支持 2
CREATE RESOURCE GROUP不支持 2
DROP RESOURCE GROUP不支持 2
SET RESOURCE GROUP不支持 2
SHOW CREATE RESOURCE GROUP不支持 2

其他

语句平凯云 Starter 和平凯云 Essential
BACKUP不支持 3
SHOW BACKUPS不支持 3
RESTORE不支持 3
SHOW RESTORES不支持 3
ADMIN RESET TELEMETRY_ID不支持 Telemetry。
ADMIN SHOW TELEMETRY不支持 4
ADMIN SHOW SLOW不支持 5
ADMIN PLUGINS ENABLE不支持 6
ADMIN PLUGINS DISABLE不支持 6
ALTER INSTANCE RELOAD TLS会自动刷新 TLS 证书。
LOAD DATA INFILE仅支持 LOAD DATA LOCAL INFILE
CHANGE DRAINER不支持 7
CHANGE PUMP不支持 7
FLASHBACK CLUSTER不支持 3
LOAD STATS不支持
SELECT ... INTO OUTFILE不支持 4
SET CONFIG不支持 4
SHOW CONFIG不支持 4
SHOW DRAINER STATUS不支持 7
SHOW PLUGINS不支持 6
SHOW PUMP STATUS不支持 7
SHUTDOWN不支持 4
PLAN REPLAYER以不同方式支持 8

函数与运算符

函数与运算符平凯云 Starter 和平凯云 Essential
SLEEPSLEEP() 函数 有限制,最大支持 300 秒的休眠时间。

系统表

数据库表平凯云 Starter 和平凯云 Essential
information_schemaATTRIBUTES不支持 1
information_schemaCLUSTER_CONFIG不支持 4
information_schemaCLUSTER_HARDWARE不支持 4
information_schemaCLUSTER_INFO不支持 1
information_schemaCLUSTER_LOAD不支持 4
information_schemaCLUSTER_LOG不支持 4
information_schemaCLUSTER_SLOW_QUERY不支持 5
information_schemaCLUSTER_STATEMENTS_SUMMARY不支持 9
information_schemaCLUSTER_STATEMENTS_SUMMARY_EVICTED不支持 9
information_schemaCLUSTER_STATEMENTS_SUMMARY_HISTORY不支持 9
information_schemaCLUSTER_SYSTEMINFO不支持 4
information_schemaINSPECTION_RESULT不支持 4
information_schemaINSPECTION_RULES不支持 4
information_schemaINSPECTION_SUMMARY不支持 4
information_schemaMETRICS_SUMMARY不支持 4
information_schemaMETRICS_SUMMARY_BY_LABEL不支持 4
information_schemaMETRICS_TABLES不支持 4
information_schemaPLACEMENT_POLICIES不支持 1
information_schemaRESOURCE_GROUPS不支持 2
information_schemaSLOW_QUERY不支持 5
information_schemaSTATEMENTS_SUMMARY不支持 9
information_schemaSTATEMENTS_SUMMARY_EVICTED不支持 9
information_schemaTIDB_HOT_REGIONS不支持 4
information_schemaTIDB_HOT_REGIONS_HISTORY不支持 1
information_schemaTIDB_SERVERS_INFO不支持 1
information_schemaTIKV_REGION_PEERS不支持 1
information_schemaTIKV_REGION_STATUS不支持 1
information_schemaTIKV_STORE_STATUS不支持 1
performance_schemapd_profile_allocs不支持 4
performance_schemapd_profile_block不支持 4
performance_schemapd_profile_cpu不支持 4
performance_schemapd_profile_goroutines不支持 4
performance_schemapd_profile_memory不支持 4
performance_schemapd_profile_mutex不支持 4
performance_schematidb_profile_allocs不支持 4
performance_schematidb_profile_block不支持 4
performance_schematidb_profile_cpu不支持 4
performance_schematidb_profile_goroutines不支持 4
performance_schematidb_profile_memory不支持 4
performance_schematidb_profile_mutex不支持 4
performance_schematikv_profile_cpu不支持 4
mysqlexpr_pushdown_blacklist不支持 4
mysqlgc_delete_range不支持 4
mysqlgc_delete_range_done不支持 4
mysqlopt_rule_blacklist不支持 4
mysqltidb不支持 4

系统变量

变量平凯云 Starter 和平凯云 Essential
datadir不支持 1
interactive_timeout只读 10
max_allowed_packet只读 10
plugin_dir不支持 6
plugin_load不支持 6
require_secure_transport只读 10
skip_name_resolve只读 10
sql_log_bin只读 10
tidb_analyze_skip_column_types只读 10
tidb_cdc_write_source只读 10
tidb_check_mb4_value_in_utf8不支持 4
tidb_config不支持 4
tidb_ddl_disk_quota只读 10
tidb_ddl_enable_fast_reorg只读 10
tidb_ddl_error_count_limit只读 10
tidb_ddl_flashback_concurrency只读 10
tidb_ddl_reorg_batch_size只读 10
tidb_ddl_reorg_priority只读 10
tidb_ddl_reorg_worker_cnt只读 10
tidb_dml_type只读 10
tidb_enable_1pc只读 10
tidb_enable_async_commit只读 10
tidb_enable_auto_analyze只读 10
tidb_enable_collect_execution_info不支持 4
tidb_enable_ddl只读 10
tidb_enable_gc_aware_memory_track只读 10
tidb_enable_gogc_tuner只读 10
tidb_enable_local_txn只读 10
tidb_enable_resource_control只读 10
tidb_enable_slow_log不支持 4
tidb_enable_stmt_summary只读 10
tidb_enable_telemetry不支持 4
tidb_enable_top_sql只读 10
tidb_enable_tso_follower_proxy只读 10
tidb_expensive_query_time_threshold不支持 4
tidb_force_priority不支持 4
tidb_gc_concurrency只读 10
tidb_gc_enable只读 10
tidb_gc_max_wait_time只读 10
tidb_gc_run_interval只读 10
tidb_gc_scan_lock_mode只读 10
tidb_general_log不支持 4
tidb_generate_binary_plan只读 10
tidb_gogc_tuner_threshold只读 10
tidb_guarantee_linearizability只读 10
tidb_isolation_read_engines只读 10
tidb_log_file_max_days只读 10
tidb_memory_usage_alarm_ratio不支持 4
tidb_metric_query_range_duration不支持 4
tidb_metric_query_step不支持 4
tidb_opt_write_row_id不支持 4
tidb_placement_mode只读 10
tidb_pprof_sql_cpu不支持 4
tidb_record_plan_in_slow_log不支持 4
tidb_redact_log不支持 4
tidb_replica_read只读 10
tidb_restricted_read_only不支持 4
tidb_row_format_version不支持 4
tidb_scatter_region只读 10
tidb_server_memory_limit只读 10
tidb_server_memory_limit_gc_trigger只读 10
tidb_server_memory_limit_sess_min_size只读 10
tidb_simplified_metrics只读 10
tidb_slow_query_file不支持 4
tidb_slow_log_threshold不支持 4
tidb_slow_txn_log_threshold不支持 4
tidb_stats_load_sync_wait只读 10
tidb_stmt_summary_history_size只读 10
tidb_stmt_summary_internal_query只读 10
tidb_stmt_summary_max_sql_length只读 10
tidb_stmt_summary_max_stmt_count只读 10
tidb_stmt_summary_refresh_interval只读 10
tidb_sysproc_scan_concurrency只读 10
tidb_top_sql_max_meta_count不支持 4
tidb_top_sql_max_time_series_count不支持 4
tidb_tso_client_batch_max_wait_time只读 10
tidb_ttl_delete_batch_size只读 10
tidb_ttl_delete_rate_limit只读 10
tidb_ttl_delete_worker_count只读 10
tidb_ttl_job_schedule_window_end_time只读 10
tidb_ttl_job_schedule_window_start_time只读 10
tidb_ttl_running_tasks只读 10
tidb_ttl_scan_batch_size只读 10
tidb_ttl_scan_worker_count只读 10
tidb_txn_mode只读 10
tidb_wait_split_region_finish只读 10
tidb_wait_split_region_timeout只读 10
txn_scope只读 10
validate_password.enable始终启用 11
validate_password.length至少为 8 11
validate_password.mixed_case_count至少为 1 11
validate_password.number_count至少为 1 11
validate_password.policy只能为 MEDIUM 或 STRONG 11
validate_password.special_char_count至少为 1 11
wait_timeout只读 10