{
  "restricted_databases": ["metrics_schema"],
  "restricted_tables": [
    {
      "schema": "mysql",
      "name": "expr_pushdown_blacklist"
    },
    {
      "schema": "mysql",
      "name": "gc_delete_range"
    },
    {
      "schema": "mysql",
      "name": "gc_delete_range_done"
    },
    {
      "schema": "mysql",
      "name": "opt_rule_blacklist"
    },
    {
      "schema": "mysql",
      "name": "tidb"
    },
    {
      "schema": "mysql",
      "name": "global_variables"
    },
    {
      "schema": "information_schema",
      "name": "attributes"
    },
    {
      "schema": "information_schema",
      "name": "cluster_config"
    },
    {
      "schema": "information_schema",
      "name": "cluster_hardware"
    },
    {
      "schema": "information_schema",
      "name": "cluster_info"
    },
    {
      "schema": "information_schema",
      "name": "cluster_load"
    },
    {
      "schema": "information_schema",
      "name": "cluster_log"
    },
    {
      "schema": "information_schema",
      "name": "cluster_slow_query"
    },
    {
      "schema": "information_schema",
      "name": "cluster_statements_summary"
    },
    {
      "schema": "information_schema",
      "name": "cluster_statements_summary_evicted"
    },
    {
      "schema": "information_schema",
      "name": "cluster_statements_summary_history"
    },
    {
      "schema": "information_schema",
      "name": "cluster_systeminfo"
    },
    {
      "schema": "information_schema",
      "name": "inspection_result"
    },
    {
      "schema": "information_schema",
      "name": "inspection_rules"
    },
    {
      "schema": "information_schema",
      "name": "inspection_summary"
    },
    {
      "schema": "information_schema",
      "name": "metrics_summary"
    },
    {
      "schema": "information_schema",
      "name": "metrics_summary_by_label"
    },
    {
      "schema": "information_schema",
      "name": "metrics_tables"
    },
    {
      "schema": "information_schema",
      "name": "placement_policies"
    },
    {
      "schema": "information_schema",
      "name": "resource_groups"
    },
    {
      "schema": "information_schema",
      "name": "slow_query"
    },
    {
      "schema": "information_schema",
      "name": "statements_summary"
    },
    {
      "schema": "information_schema",
      "name": "statements_summary_evicted"
    },
    {
      "schema": "information_schema",
      "name": "statements_summary_history"
    },
    {
      "schema": "information_schema",
      "name": "tidb_hot_regions"
    },
    {
      "schema": "information_schema",
      "name": "tidb_hot_regions_history"
    },
    {
      "schema": "information_schema",
      "name": "tidb_servers_info"
    },
    {
      "schema": "information_schema",
      "name": "tiflash_segments"
    },
    {
      "schema": "information_schema",
      "name": "tiflash_tables"
    },
    {
      "schema": "information_schema",
      "name": "tiflash_tables"
    },
    {
      "schema": "information_schema",
      "name": "tikv_region_peers"
    },
    {
      "schema": "information_schema",
      "name": "tikv_region_status"
    },
    {
      "schema": "information_schema",
      "name": "tikv_store_status"
    },
    {
      "schema": "performance_schema",
      "name": "pd_profile_allocs"
    },
    {
      "schema": "performance_schema",
      "name": "pd_profile_block"
    },
    {
      "schema": "performance_schema",
      "name": "pd_profile_cpu"
    },
    {
      "schema": "performance_schema",
      "name": "pd_profile_goroutines"
    },
    {
      "schema": "performance_schema",
      "name": "pd_profile_memory"
    },
    {
      "schema": "performance_schema",
      "name": "pd_profile_mutex"
    },
    {
      "schema": "performance_schema",
      "name": "tidb_profile_allocs"
    },
    {
      "schema": "performance_schema",
      "name": "tidb_profile_block"
    },
    {
      "schema": "performance_schema",
      "name": "tidb_profile_cpu"
    },
    {
      "schema": "performance_schema",
      "name": "tidb_profile_goroutines"
    },
    {
      "schema": "performance_schema",
      "name": "tidb_profile_memory"
    },
    {
      "schema": "performance_schema",
      "name": "tidb_profile_mutex"
    },
    {
      "schema": "performance_schema",
      "name": "tikv_profile_cpu"
    }
  ],
  "restricted_variables": [
    {
      "name": "hostname",
      "restriction-type": "replace",
      "readonly": true,
      "value": "localhost"
    },
    {
      "name": "datadir",
      "restriction-type": "replace",
      "readonly": true,
      "value": "/usr/local/mysql/data/"
    },
    {
      "name": "plugin_dir",
      "restriction-type": "hidden"
    },
    {
      "name": "plugin_load",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_check_mb4_value_in_utf8",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_config",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_enable_collect_execution_info",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_enable_slow_log",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_enable_telemetry",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_expensive_query_time_threshold",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_force_priority",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_general_log",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_memory_usage_alarm_ratio",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_metric_query_range_duration",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_metric_query_step",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_opt_write_row_id",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_pprof_sql_cpu",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_record_plan_in_slow_log",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_redact_log",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_restricted_read_only",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_row_format_version",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_slow_query_file",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_slow_log_threshold",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_slow_txn_log_threshold",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_top_sql_max_meta_count",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_top_sql_max_time_series_count",
      "restriction-type": "hidden"
    },
    {
      "name": "ddl_slow_threshold",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_enable_stmt_summary",
      "restriction-type": "hidden",
      "readonly": true
    },
    {
      "name": "tidb_stmt_summary_internal_query",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_stmt_summary_refresh_interval",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_stmt_summary_history_size",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_stmt_summary_max_stmt_count",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_stmt_summary_max_sql_length",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_stmt_summary_enable_persistent",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_stmt_summary_file_max_size",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_stmt_summary_file_max_days",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_stmt_summary_file_max_backups",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_stmt_summary_filename",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_audit_redact_log",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_enable_async_commit",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_enable_resource_control",
      "restriction-type": "hidden"
    },
    {
      "name": "tidb_enable_vector_type",
      "restriction-type": "hidden"
    },
    {
      "name": "interactive_timeout",
      "readonly": true
    },
    {
      "name": "max_allowed_packet",
      "readonly": true
    },
    {
      "name": "skip_name_resolve",
      "readonly": true
    },
    {
      "name": "sql_log_bin",
      "readonly": true
    },
    {
      "name": "tidb_ddl_disk_quota",
      "readonly": true
    },
    {
      "name": "tidb_ddl_enable_fast_reorg",
      "readonly": true
    },
    {
      "name": "tidb_ddl_error_count_limit",
      "readonly": true
    },
    {
      "name": "tidb_ddl_flashback_concurrency",
      "readonly": true
    },
    {
      "name": "tidb_ddl_reorg_batch_size",
      "readonly": true
    },
    {
      "name": "tidb_ddl_reorg_priority",
      "readonly": true
    },
    {
      "name": "tidb_ddl_reorg_worker_cnt",
      "readonly": true
    },
    {
      "name": "tidb_enable_1pc",
      "readonly": true
    },
    {
      "name": "tidb_enable_async_commit",
      "readonly": true
    },
    {
      "name": "tidb_enable_auto_analyze",
      "readonly": true
    },
    {
      "name": "tidb_enable_ddl",
      "readonly": true
    },
    {
      "name": "tidb_enable_gc_aware_memory_track",
      "readonly": true
    },
    {
      "name": "tidb_enable_gogc_tuner",
      "readonly": true
    },
    {
      "name": "tidb_enable_local_txn",
      "readonly": true
    },
    {
      "name": "tidb_enable_resource_control",
      "readonly": true
    },
    {
      "name": "tidb_enable_stmt_summary",
      "readonly": true
    },
    {
      "name": "tidb_enable_top_sql",
      "readonly": true
    },
    {
      "name": "tidb_enable_tso_follower_proxy",
      "readonly": true
    },
    {
      "name": "tidb_gc_concurrency",
      "readonly": true
    },
    {
      "name": "tidb_gc_enable",
      "readonly": true
    },
    {
      "name": "tidb_gc_max_wait_time",
      "readonly": true
    },
    {
      "name": "tidb_gc_run_interval",
      "readonly": true
    },
    {
      "name": "tidb_gc_scan_lock_mode",
      "readonly": true
    },
    {
      "name": "tidb_generate_binary_plan",
      "readonly": true
    },
    {
      "name": "tidb_gogc_tuner_threshold",
      "readonly": true
    },
    {
      "name": "tidb_guarantee_linearizability",
      "readonly": true
    },
    {
      "name": "tidb_log_file_max_days",
      "readonly": true
    },
    {
      "name": "tidb_scatter_region",
      "readonly": true
    },
    {
      "name": "tidb_server_memory_limit",
      "readonly": true
    },
    {
      "name": "tidb_server_memory_limit_gc_trigger",
      "readonly": true
    },
    {
      "name": "tidb_server_memory_limit_sess_min_size",
      "readonly": true
    },
    {
      "name": "tidb_simplified_metrics",
      "readonly": true
    },
    {
      "name": "tidb_stats_load_sync_wait",
      "readonly": true
    },
    {
      "name": "tidb_sysproc_scan_concurrency",
      "readonly": true
    },
    {
      "name": "tidb_tso_client_batch_max_wait_time",
      "readonly": true
    },
    {
      "name": "tidb_ttl_delete_batch_size",
      "readonly": true
    },
    {
      "name": "tidb_ttl_delete_rate_limit",
      "readonly": true
    },
    {
      "name": "tidb_ttl_delete_worker_count",
      "readonly": true
    },
    {
      "name": "tidb_ttl_job_enable",
      "readonly": true
    },
    {
      "name": "tidb_ttl_job_schedule_window_end_time",
      "readonly": true
    },
    {
      "name": "tidb_ttl_job_schedule_window_start_time",
      "readonly": true
    },
    {
      "name": "tidb_ttl_running_tasks",
      "readonly": true
    },
    {
      "name": "tidb_ttl_scan_batch_size",
      "readonly": true
    },
    {
      "name": "tidb_ttl_scan_worker_count",
      "readonly": true
    },
    {
      "name": "tidb_wait_split_region_finish",
      "readonly": true
    },
    {
      "name": "tidb_wait_split_region_timeout",
      "readonly": true
    },
    {
      "name": "txn_scope",
      "readonly": true
    },
    {
      "name": "validate_password.enable",
      "readonly": true
    },
    {
      "name": "tidb_pessimistic_txn_fair_locking",
      "readonly": true
    },
    {
      "name": "tidb_replica_read",
      "readonly": true
    },
    {
      "name": "tidb_enable_dist_task",
      "readonly": true
    },
    {
      "name": "tidb_cloud_storage_uri",
      "restriction-type": "hidden"
    }
  ],
  "restricted_status": [
    {
      "name": "tidb_gc_leader_desc",
      "restriction-type": "hidden"
    }
  ],
  "restricted_static_privileges_col": ["File_priv", "Shutdown_priv"]
}
