```
<?xml version="1.0" encoding="UTF-8"?>
<!-- - - Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License. - You
may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0
- - Unless required by applicable law or agreed to in writing, software -
distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the
License for the specific language governing permissions and - limitations
under the License. -->
<!DOCTYPE mycat:server SYSTEM "server.dtd">
<mycat:server xmlns:mycat="http://io.mycat/">
<system>
<property name="useSqlStat">1</property> <!-- 1為開啟實時統計、0為關閉 -->
</system>
<user name="root" defaultAccount="true">
<property name="password">123456</property>
<property name="schemas">TESTDB</property>
</user>
<user name="sn">
<property name="password">123456</property>
<property name="schemas">TESTDB</property>
<property name="readOnly">true</property>
</user>
</mycat:server>
```
- 關系型數據庫
- 簡介
- mysql
- 簡介
- 命令行
- 服務端
- 客戶端
- 基礎
- 連接數據庫
- 數據庫操作
- 數據庫增刪
- 存儲引擎
- 簡介
- innodb
- 存儲格式
- 存儲順序
- 并發處理
- Myisam
- 存儲格式
- 存儲順序
- 并發處理
- memory
- 數據表操作
- 創建數據表
- 主鍵約束
- 單字段主鍵
- 多字段聯合主鍵
- 外鍵約束
- 非空約束
- 唯一約束
- 默認約束
- 自動增長
- 查看數據表結構
- describe
- show
- 修改數據表
- 數據類型和運算符
- 數據類型
- 數據操作
- join
- inner join
- left outer join
- right outer join
- full outer join
- cross join
- disctinct
- having
- 數據備份
- 優化
- 慢查詢
- 開啟慢查詢
- 查看日志
- 精確記錄查詢時間
- 索引
- 簡介
- 類型
- 普通索引
- 唯一索引
- 主鍵索引
- 全文索引
- 原則
- 列獨立
- like
- or
- 復合索引
- 智能優化
- group by
- 鎖
- 分區
- 分表
- 視圖
- 存儲過程
- 存儲函數
- 觸發器
- 事務
- 讀寫分離
- 主從復制
- 主數據庫
- 從數據庫
- 主數據庫鎖定
- 非關系型數據庫
- mongodb
- 簡介
- mysql與mongodb性能比較
- 安裝
- Windows
- 基礎
- 基本概念
- 數據類型
- 常用操作
- 數據庫
- 集合
- 文檔
- 幫助命令
- 用戶管理
- 概述
- 超級管理員
- redis
- 安裝
- 安裝
- redis.conf
- 運行
- 主從
- 主
- 從
- 測試
- 中間件
- mycat
- 簡介
- 安裝
- 配置文件
- server.xml
- 讀寫分離
- server.xml
- schema.xml
- 高可用