📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

Limited SQL features on TiDB X Instances



A TiDB X instance is a service-oriented TiDB Cloud offering built on the TiDB X architecture, such as a TiDB Cloud Starter, Essential, or Premium instance.

TiDB Cloud works with almost all workloads that TiDB supports, but there are some feature differences between TiDB Self-Managed and TiDB Cloud. This document describes the limitations of SQL features on TiDB Cloud Starter, Essential, and Premium. We are constantly filling in the feature gaps between TiDB Self-Managed and TiDB Cloud. If you require these features or capabilities in the gap, contact us for a feature request.

Statements

Placement and range management

StatementTiDB Cloud PremiumTiDB Cloud Starter and TiDB Cloud Essential
ALTER PLACEMENT POLICYNot supported 1Not supported 1
ALTER RANGENot supportedNot supported
CREATE PLACEMENT POLICYNot supported 1Not supported 1
DROP PLACEMENT POLICYNot supported 1Not supported 1
SHOW CREATE PLACEMENT POLICYNot supported 1Not supported 1
SHOW PLACEMENTNot supported 1Not supported 1
SHOW PLACEMENT FORNot supported 1Not supported 1
SHOW PLACEMENT LABELSNot supported 1Not supported 1
SHOW TABLE REGIONSSupportedNot supported 1
SPLIT REGIONSupportedNot supported 1

Resource groups

StatementTiDB Cloud PremiumTiDB Cloud Starter and TiDB Cloud Essential
ALTER RESOURCE GROUPNot supported 2Not supported 2
CALIBRATE RESOURCENot supported 2Not supported 2
CREATE RESOURCE GROUPNot supported 2Not supported 2
DROP RESOURCE GROUPNot supported 2Not supported 2
SET RESOURCE GROUPNot supported 2Not supported 2
SHOW CREATE RESOURCE GROUPNot supported 2Not supported 2

Others

StatementTiDB Cloud PremiumTiDB Cloud Starter and TiDB Cloud Essential
BACKUPNot supported 3Not supported 3
SHOW BACKUPSNot supported 3Not supported 3
RESTORENot supported 3Not supported 3
SHOW RESTORESNot supported 3Not supported 3
BACKUP LOGSNot supportedNot supported
STOP BACKUP LOGSNot supportedNot supported
PAUSE BACKUP LOGSNot supportedNot supported
RESUME BACKUP LOGSNot supportedNot supported
SHOW BACKUP LOGS STATUSNot supportedNot supported
SHOW BACKUP LOGS METADATANot supportedNot supported
PURGE BACKUP LOGSNot supportedNot supported
SHOW BR JOBNot supportedNot supported
SHOW BR JOB QUERYNot supportedNot supported
CANCEL BR JOBNot supportedNot supported
SHOW BACKUP METANot supportedNot supported
RECOVER TABLENot supportedNot supported
ADMIN RESET TELEMETRY_IDSupportedTelemetry is not supported on TiDB Cloud Starter or TiDB Cloud Essential.
ADMIN SHOW TELEMETRYNot supported 4Not supported 4
ADMIN SHOW SLOWNot supported 5Not supported 5
ADMIN PLUGINS ENABLENot supported 8Not supported 8
ADMIN PLUGINS DISABLENot supported 8Not supported 8
ADMIN SET BDR ROLENot supportedNot supported
ADMIN SHOW BDR ROLENot supportedNot supported
ADMIN UNSET BDR ROLENot supportedNot supported
ADMIN REPAIR TABLENot supportedNot supported
ALTER INSTANCENot supportedNot supported
ALTER INSTANCE RELOAD TLSNot supportedTiDB Cloud Starter and TiDB Cloud Essential automatically refresh the TLS certificate.
ALTER TABLE ... ATTRIBUTESNot supportedNot supported
CHANGE DRAINERNot supported 7Not supported 7
CHANGE PUMPNot supported 7Not supported 7
FLASHBACK CLUSTERNot supported 3Not supported 3
IMPORT INTOSupported, but blocks IMPORT INTO statements that use a local file path or an S3 EXTERNAL_ID.Not supported
LOAD DATA INFILEBlocks LOAD DATA LOCAL INFILE from a local file path.Only supports LOAD DATA LOCAL INFILE
LOAD STATSNot supportedNot supported
SELECT ... INTO OUTFILENot supported 4Not supported 4
SET CONFIGNot supported 4Not supported 4
SHOW CONFIGNot supported 4Not supported 4
SHOW DRAINER STATUSNot supported 7Not supported 7
SHOW PLUGINSNot supported 8Not supported 8
SHOW PUMP STATUSNot supported 7Not supported 7
SHUTDOWNNot supported 4Not supported 4
PLAN REPLAYERSupportedSupported, but uses a different file download method 11
time_to_liveSupportedNot supported

Functions and operators

Function and operatorTiDB Cloud PremiumTiDB Cloud Starter and TiDB Cloud Essential
SLEEPNo limitationThe SLEEP() function function supports a maximum sleep time of 300 seconds.

System tables

DatabaseTableTiDB Cloud PremiumTiDB Cloud Starter and TiDB Cloud Essential
metrics_schemaAll databasesNot supportedNot supported
information_schemaATTRIBUTESSupportedNot supported 1
information_schemaCLUSTER_CONFIGNot supported 4Not supported 4
information_schemaCLUSTER_HARDWARENot supported 4Not supported 4
information_schemaCLUSTER_INFOSupportedNot supported 1
information_schemaCLUSTER_LOADNot supported 4Not supported 4
information_schemaCLUSTER_LOGNot supported 4Not supported 4
information_schemaCLUSTER_SLOW_QUERYNot supported 5Not supported 5
information_schemaCLUSTER_STATEMENTS_SUMMARYSupportedNot supported 6
information_schemaCLUSTER_STATEMENTS_SUMMARY_EVICTEDSupportedNot supported 6
information_schemaCLUSTER_STATEMENTS_SUMMARY_HISTORYSupportedNot supported 6
information_schemaCLUSTER_SYSTEMINFONot supported 4Not supported 4
information_schemaINSPECTION_RESULTNot supported 4Not supported 4
information_schemaINSPECTION_RULESNot supported 4Not supported 4
information_schemaINSPECTION_SUMMARYNot supported 4Not supported 4
information_schemaMETRICS_SUMMARYNot supported 4Not supported 4
information_schemaMETRICS_SUMMARY_BY_LABELNot supported 4Not supported 4
information_schemaMETRICS_TABLESNot supported 4Not supported 4
information_schemaPLACEMENT_POLICIESNot supported 1Not supported 1
information_schemaRESOURCE_GROUPSNot supported 2Not supported 2
information_schemaSLOW_QUERYNot supported 5Not supported 5
information_schemaSTATEMENTS_SUMMARYSupportedNot supported 6
information_schemaSTATEMENTS_SUMMARY_EVICTEDSupportedNot supported 6
information_schemaTIDB_HOT_REGIONSNot supported 4Not supported 4
information_schemaTIDB_HOT_REGIONS_HISTORYSupportedNot supported 1
information_schemaTIDB_SERVERS_INFOSupportedNot supported 1
information_schemaTIKV_REGION_PEERSSupportedNot supported 1
information_schemaTIKV_REGION_STATUSSupportedNot supported 1
information_schemaTIKV_STORE_STATUSSupportedNot supported 1
performance_schemapd_profile_allocsNot supported 4Not supported 4
performance_schemapd_profile_blockNot supported 4Not supported 4
performance_schemapd_profile_cpuNot supported 4Not supported 4
performance_schemapd_profile_goroutinesNot supported 4Not supported 4
performance_schemapd_profile_memoryNot supported 4Not supported 4
performance_schemapd_profile_mutexNot supported 4Not supported 4
performance_schematidb_profile_allocsNot supported 4Not supported 4
performance_schematidb_profile_blockNot supported 4Not supported 4
performance_schematidb_profile_cpuNot supported 4Not supported 4
performance_schematidb_profile_goroutinesNot supported 4Not supported 4
performance_schematidb_profile_memoryNot supported 4Not supported 4
performance_schematidb_profile_mutexNot supported 4Not supported 4
performance_schematikv_profile_cpuNot supported 4Not supported 4
mysqlexpr_pushdown_blacklistNot supported 4Not supported 4
mysqlgc_delete_rangeNot supported 4Not supported 4
mysqlgc_delete_range_doneNot supported 4Not supported 4
mysqlopt_rule_blacklistNot supported 4Not supported 4
mysqltidbNot supported 4Not supported 4

System variables

VariableTiDB Cloud PremiumTiDB Cloud Starter and TiDB Cloud Essential
hostnameValue hiddenValue hidden
datadirValue hiddenNot supported 1
ddl_slow_thresholdRead-onlyRead-only
block_encryption_modeRead-onlyRead-only
max_connectionsRead-onlyRead-only
mpp_versionRead-onlyRead-only
interactive_timeoutNo limitationRead-only 10
max_allowed_packetNo limitationRead-only 10
plugin_dirNot supported 8Not supported 8
plugin_loadNot supported 8Not supported 8
require_secure_transportNot supportedRead-only 10
skip_name_resolveRead-only 10Read-only 10
sql_log_binNo limitationRead-only 10
tidb_adaptive_closest_read_thresholdNot supportedNot supported
tidb_allow_batch_copRead-onlyRead-only
tidb_allow_mppRead-onlyRead-only
tidb_analyze_skip_column_typesNo limitationRead-only 10
tidb_analyze_versionRead-onlyRead-only
tidb_backoff_lock_fastRead-onlyRead-only
tidb_backoff_weightRead-onlyRead-only
tidb_batch_commitNot supportedNot supported
tidb_batch_deleteNot supportedNot supported
tidb_batch_insertNot supportedNot supported
tidb_capture_plan_baselinesRead-onlyRead-only
tidb_cdc_write_sourceNo limitationRead-only 10
tidb_check_mb4_value_in_utf8Not supported 4Not supported 4
tidb_cloud_storage_uriNot supportedNot supported
tidb_configNot supported 4Not supported 4
tidb_constraint_check_in_placeRead-onlyRead-only
tidb_constraint_check_in_place_pessimisticRead-onlyRead-only
tidb_cost_model_versionRead-onlyRead-only
tidb_ddl_disk_quotaRead-only 10Read-only 10
tidb_ddl_enable_fast_reorgRead-only 10Read-only 10
tidb_ddl_error_count_limitNo limitationRead-only 10
tidb_ddl_flashback_concurrencyRead-only 10Read-only 10
tidb_ddl_reorg_batch_sizeNo limitationRead-only 10
tidb_ddl_reorg_max_write_speedNot supportedNot supported
tidb_ddl_reorg_priorityNo limitationRead-only 10
tidb_ddl_reorg_worker_cntNo limitationRead-only 10
tidb_disable_txn_auto_retryNot supportedNot supported
tidb_dml_batch_sizeNot supportedNot supported
tidb_dml_typeNot supportedRead-only 10
tidb_enable_1pcNo limitationRead-only 10
tidb_enable_analyze_snapshotRead-onlyRead-only
tidb_enable_async_commitNo limitationRead-only 10
tidb_enable_async_merge_global_statsRead-onlyRead-only
tidb_enable_auto_analyzeNo limitationRead-only 10
tidb_enable_batch_dmlNot supportedNot supported
tidb_enable_chunk_rpcRead-onlyRead-only
tidb_enable_collect_execution_infoNot supported 4Not supported 4
tidb_enable_column_trackingNot supportedNot supported
tidb_enable_ddlRead-only 10Read-only 10
tidb_enable_dist_taskRead-onlyRead-only
tidb_enable_exchange_partitionNot supportedNot supported
tidb_enable_extended_statsRead-onlyRead-only
tidb_enable_fast_analyzeNot supportedNot supported
tidb_enable_gc_aware_memory_trackNo limitationRead-only 10
tidb_enable_global_indexNot supportedNot supported
tidb_enable_gogc_tunerRead-only 10Read-only 10
tidb_enable_historical_statsRead-onlyRead-only
tidb_enable_historical_stats_for_captureRead-onlyRead-only
tidb_enable_legacy_instance_scopeRead-onlyRead-only
tidb_enable_list_partitionNot supportedNot supported
tidb_enable_local_txnRead-only 10Read-only 10
tidb_enable_metadata_lockRead-onlyRead-only
tidb_enable_mutation_checkerRead-onlyNot supported
tidb_enable_new_cost_interfaceRead-onlyRead-only
tidb_enable_parallel_hashagg_spillRead-onlyRead-only
tidb_enable_pipelined_window_functionNo limitationNot supported
tidb_enable_plan_replayer_captureRead-onlyRead-only
tidb_enable_plan_replayer_continuous_captureRead-onlyRead-only
tidb_enable_point_get_cacheNot supportedNot supported
tidb_enable_rate_limit_actionRead-onlyRead-only
tidb_enable_resource_controlRead-only 10Read-only 10
tidb_enable_reuse_chunkRead-onlyRead-only
tidb_enable_slow_logNot supported 4Not supported 4
tidb_enable_stats_ownerRead-onlyRead-only
tidb_enable_stmt_summaryRead-only 10Read-only 10
tidb_enable_table_partitionNot supportedNot supported
tidb_enable_telemetryNot supported 4Not supported 4
tidb_enable_tiflash_read_for_write_stmtNot supportedNot supported
tidb_enable_tmp_storage_on_oomNot supportedNot supported
tidb_enable_top_sqlRead-only 10Read-only 10
tidb_enable_tso_follower_proxyNo limitationRead-only 10
tidb_enable_vectorized_expressionRead-onlyRead-only
tidb_evolve_plan_baselinesNot supportedNot supported
tidb_evolve_plan_task_end_timeNot supportedNot supported
tidb_evolve_plan_task_max_timeNot supportedNot supported
tidb_evolve_plan_task_start_timeNot supportedNot supported
tidb_expensive_query_time_thresholdNot supported 4Not supported 4
tidb_force_priorityNot supported 4Not supported 4
tidb_gc_concurrencyNo limitationRead-only 10
tidb_gc_enableNo limitationRead-only 10
tidb_gc_leader_descNot supportedNot supported
tidb_gc_max_wait_timeNo limitationRead-only 10
tidb_gc_run_intervalNo limitationRead-only 10
tidb_gc_scan_lock_modeNo limitationRead-only 10
tidb_general_logNot supported 4Not supported 4
tidb_generate_binary_planRead-only 10Read-only 10
tidb_gogc_tuner_thresholdNo limitationRead-only 10
tidb_guarantee_linearizabilityRead-only 10Read-only 10
tidb_hash_exchange_with_new_collationRead-onlyRead-only
tidb_historical_stats_durationNot supportedNot supported
tidb_isolation_read_enginesNo limitationRead-only 10
tidb_load_based_replica_read_thresholdRead-onlyRead-only
tidb_lock_unchanged_keysRead-onlyRead-only
tidb_log_file_max_daysRead-only 10Read-only 10
tidb_mem_oom_actionRead-onlyRead-only
tidb_mem_quota_analyzeRead-onlyRead-only
tidb_memory_debug_mode_alarm_ratioNot supportedNot supported
tidb_memory_debug_mode_min_heap_inuseNot supportedNot supported
tidb_memory_usage_alarm_keep_record_numRead-onlyRead-only
tidb_memory_usage_alarm_ratioNot supported 4Not supported 4
tidb_merge_join_concurrencyNot supportedNot supported
tidb_metric_query_range_durationNot supported 4Not supported 4
tidb_metric_query_stepNot supported 4Not supported 4
tidb_non_prepared_plan_cache_sizeNot supportedNot supported
tidb_opt_broadcast_cartesian_joinRead-onlyRead-only
tidb_opt_concurrency_factorRead-onlyRead-only
tidb_opt_copcpu_factorRead-onlyRead-only
tidb_opt_write_row_idNot supported 4Not supported 4
tidb_partition_prune_modeNot supportedNot supported
tidb_pessimistic_txn_fair_lockingNot supportedNot supported
tidb_placement_modeNo limitationRead-only 10
tidb_pprof_sql_cpuNot supported 4Not supported 4
tidb_pre_split_regionsRead-onlyRead-only
tidb_prepared_plan_cache_sizeNot supportedRead-only
tidb_rc_read_check_tsRead-onlyRead-only
tidb_rc_write_check_tsRead-onlyRead-only
tidb_read_consistencyRead-onlyRead-only
tidb_record_plan_in_slow_logNot supported 4Not supported 4
tidb_redact_logNot supported 4Not supported 4
tidb_replica_readRead-only 10Read-only 10
tidb_request_source_typeNot supportedNot supported
tidb_restricted_read_onlyNot supported 4Not supported 4
tidb_retry_limitNot supportedNot supported
tidb_row_format_versionNot supported 4Not supported 4
tidb_scatter_regionNo limitationRead-only 10
tidb_server_memory_limitNo limitationRead-only 10
tidb_server_memory_limit_gc_triggerNo limitationRead-only 10
tidb_server_memory_limit_sess_min_sizeNo limitationRead-only 10
tidb_service_scopeRead-onlyRead-only
tidb_simplified_metricsRead-only 10Read-only 10
tidb_skip_missing_partition_statsRead-onlyRead-only
tidb_slow_log_thresholdNot supported 4Not supported 4
tidb_slow_query_fileNot supported 4Not supported 4
tidb_slow_txn_log_thresholdNot supported 4Not supported 4
tidb_stats_load_pseudo_timeoutRead-onlyRead-only
tidb_stats_load_sync_waitNo limitationRead-only 10
tidb_stmt_summary_enable_persistentRead-onlyRead-only
tidb_stmt_summary_file_max_backupsRead-onlyRead-only
tidb_stmt_summary_file_max_daysRead-onlyRead-only
tidb_stmt_summary_file_max_sizeRead-onlyRead-only
tidb_stmt_summary_filenameRead-onlyRead-only
tidb_stmt_summary_history_sizeRead-only 10Read-only 10
tidb_stmt_summary_internal_queryRead-only 10Read-only 10
tidb_stmt_summary_max_sql_lengthRead-only 10Read-only 10
tidb_stmt_summary_max_stmt_countRead-only 10Read-only 10
tidb_stmt_summary_refresh_intervalRead-only 10Read-only 10
tidb_store_limitRead-onlyRead-only
tidb_streamagg_concurrencyNot supportedRead-only
tidb_sysproc_scan_concurrencyNo limitationRead-only 10
tidb_top_sql_max_meta_countNot supported 4Not supported 4
tidb_top_sql_max_time_series_countNot supported 4Not supported 4
tidb_track_aggregate_memory_usageRead-onlyRead-only
tidb_txn_assertion_levelRead-onlyRead-only
tidb_txn_commit_batch_sizeRead-onlyRead-only
tidb_tso_client_batch_max_wait_timeNo limitationRead-only 10
tidb_ttl_delete_batch_sizeNo limitationRead-only 10
tidb_ttl_delete_rate_limitNo limitationRead-only 10
tidb_ttl_delete_worker_countNo limitationRead-only 10
tidb_ttl_job_schedule_window_end_timeNo limitationRead-only 10
tidb_ttl_job_schedule_window_start_timeNo limitationRead-only 10
tidb_ttl_running_tasksNo limitationRead-only 10
tidb_ttl_scan_batch_sizeNo limitationRead-only 10
tidb_ttl_scan_worker_countNo limitationRead-only 10
tidb_txn_modeNo limitationRead-only 10
tidb_use_plan_baselinesRead-onlyRead-only
tidb_wait_split_region_finishNo limitationRead-only 10
tidb_wait_split_region_timeoutNo limitationRead-only 10
tiflash_compute_dispatch_policyRead-onlyRead-only
tiflash_replica_readNot supportedNot supported
tikv_client_read_timeoutNot supportedNot supported
tx_isolation_one_shotNot supportedNot supported
tx_read_tsNot supportedNot supported
txn_scopeNo limitationRead-only 10
validate_password.enableNo limitationAlways enabled 9
validate_password.lengthNo limitationAt least 8 9
validate_password.mixed_case_countNo limitationAt least 1 9
validate_password.number_countNo limitationAt least 1 9
validate_password.policyNo limitationCan only be MEDIUM or STRONG 9
validate_password.special_char_countNo limitationAt least 1 9
wait_timeoutNo limitationRead-only 10

  1. Configuring data placement is not supported on TiDB Cloud Starter, Essential, or Premium.
  2. Configuring resource groups is not supported on TiDB Cloud Starter, Essential, or Premium.
  3. TiDB Cloud Starter and TiDB Cloud Essential do not support downloading the file exported by PLAN REPLAYER through ${tidb-server-status-port} as shown in the example. Instead, TiDB Cloud Starter and TiDB Cloud Essential generate a presigned URL for you to download the file. Note that this URL remains valid for 10 hours after generation.
  4. The feature is unavailable in Security Enhanced Mode (SEM).
  5. Drainer and Pump are not supported on TiDB Cloud.
  6. Plugins are not supported on TiDB Cloud Starter, Essential, or Premium.
  7. To perform Back up and Restore operations on TiDB Cloud Starter, Essential, or Premium, you can use the TiDB Cloud console instead.
  8. To track Slow Query on TiDB Cloud Starter, Essential, or Premium, you can use the TiDB Cloud console instead.
  9. To perform Statement Analysis on TiDB Cloud Starter or TiDB Cloud Essential, you can use the TiDB Cloud console instead.
  10. The variable is read-only on TiDB Cloud Starter and TiDB Cloud Essential.
  11. TiDB Cloud Starter and TiDB Cloud Essential enforce a strong password policy.

Was this page helpful?