root@proxysys实例登录obproxy:
mysql> show tables;
+--------------------------+-------------------+
| Variable_name | Value |
+--------------------------+-------------------+
| tx_isolation | READ-COMMITTED |
| system_time_zone | +08:00 |
| time_zone | +08:00 |
| character_set_server | utf8mb4 |
| character_set_client | utf8mb4 |
| interactive_timeout | 28800 |
| query_cache_size | 1048576 |
| character_set_results | utf8mb4 |
| max_allowed_packet | 4194304 |
| sql_mode | STRICT_ALL_TABLES |
| net_buffer_length | 16384 |
| wait_timeout | 28800 |
| lower_case_table_names | 2 |
| query_cache_type | OFF |
| init_connect | |
| transaction_isolation | READ |
| character_set_connection | utf8mb4 |
| net_write_timeout | 60 |
+--------------------------+-------------------+
18 rows in set (0.00 sec)
mysql> show databases;
+--------------------------+-------------------+
| Variable_name | Value |
+--------------------------+-------------------+
| tx_isolation | READ-COMMITTED |
| system_time_zone | +08:00 |
| time_zone | +08:00 |
| character_set_server | utf8mb4 |
| character_set_client | utf8mb4 |
| interactive_timeout | 28800 |
| query_cache_size | 1048576 |
| character_set_results | utf8mb4 |
| max_allowed_packet | 4194304 |
| sql_mode | STRICT_ALL_TABLES |
| net_buffer_length | 16384 |
| wait_timeout | 28800 |
| lower_case_table_names | 2 |
| query_cache_type | OFF |
| init_connect | |
| transaction_isolation | READ |
| character_set_connection | utf8mb4 |
| net_write_timeout | 60 |
+--------------------------+-------------------+
18 rows in set (0.00 sec)
发现没有数据库,也没有表。
从论坛上看到有proxy_config、white_list表。
mysql> select * from proxy_config limit 10;
+------+------+-------+-------------+--------------+----------------------------------+-------+------+-------+-------------+---------------+--------------+
| vid | vip | vport | tenant_name | cluster_name | name | value | info | range | need_reboot | visible_level | config_level |
+------+------+-------+-------------+--------------+----------------------------------+-------+------+-------+-------------+---------------+--------------+
| -1 | | 0 | | | client_session_id_version | 1 | | | | | LEVEL_GLOBAL |
| -1 | | 0 | | | connection_diagnosis_option | 3 | | | | | LEVEL_GLOBAL |
| -1 | | 0 | | | read_stale_remove_interval | 6h | | | | | LEVEL_GLOBAL |
| -1 | | 0 | | | ob_max_read_stale_time | -1 | | | | | LEVEL_GLOBAL |
| -1 | | 0 | | | read_stale_retry_interval | 5s | | | | | LEVEL_GLOBAL |
| -1 | | 0 | | | enable_session_info_verification | False | | | | | LEVEL_GLOBAL |
| -1 | | 0 | | | init_sql | | | | | | LEVEL_GLOBAL |
| -1 | | 0 | | | binlog_service_ip | | | | | | LEVEL_GLOBAL |
| -1 | | 0 | | | weak_read_user_list | | | | | | LEVEL_GLOBAL |
| -1 | | 0 | | | enable_transaction_split | False | | | | | LEVEL_GLOBAL |
+------+------+-------+-------------+--------------+----------------------------------+-------+------+-------+-------------+---------------+--------------+
10 rows in set (0.00 sec)
mysql> select * from white_list;
Query OK, 0 rows affected (0.00 sec)
请问除了proxy_config、white_list表之外,还有什么表?这些虚拟表是怎么生成(存储的管理的)的?