MySQL高可用 - 多种方案] 草稿 [ √ ] 正式发布 [ ] 正在修改 名称 mysql 高可用方案探究 作者 飞鸿无痕 版本 V1.0 日期 2012-09-04 博客地址 http://blog.chinaunix.net/uid/20639775.html 1 前言 Mysql 高可用一直是 mysql 业界不断讨论的热点问题,其中涉及的东西比较多,可 Lvs+Keepalived、Heartbeat、MMM、mysql cluster 三种方式, 由 于 时 间 关 系 这 里 不 对 mysql cluster 做 介 绍 , 有 兴 趣 的 可 以 访 问 http://blog.chinaunix.net/uid-20639775-id-201960.html,下面就逐一地来详细介绍其他几种高 可用方案。 2 Lvs+Keepalived+Mysql 单点写入主主同步高可用方案 keepalived 作为故障转移,提高系统的可用性。但是一般的 mysql 高可用为了实现 mysql 数据的一致性,一般都是采用单点写入,本方案采用 keepalived 中的 sorry_server 来实现写入数据库为单点的需求。本方案实现的功能是当网络有问题、 mysql 有问题、服务器宕机、keepalived 服务停止后,服务器能自动跳转到备用机, 当主服务器服务启动起来后会自动切换回来。0 码力 | 31 页 | 874.28 KB | 1 年前3
MySQL Installer Guide........................................................................ 3 3 Setting Alternative Server Paths with MySQL Installer ..................................................................... .................................................................................... 9 4.1 MySQL Server Configuration with MySQL Installer ............................................................. ....................................................................................... 14 4.1.5 Server File Permissions ...............................................................................0 码力 | 42 页 | 448.90 KB | 1 年前3
Using MySQL for Distributed Database ArchitecturesMySQL Group Replication) © 2018 Percona. 12 Q1:What Failure Modes Do you Consider ? Server Crash/Server Hardware Failure Software Bugs and Storage Corruption Network Failure “Datacenter” Failure 44 Transaction Commit Flow © 2018 Percona. 45 PXC 5.7 Performance Improvements http://bit.ly/2qGCr0T and http://bit.ly/2pzvAIW © 2018 Percona. 46 PMM Dashboard for PXC © 2018 Percona. 47 application server 1 application server 2 application server 3 PXC node 1 PXC node 2 PXC node 3 ProxySQL © 2018 Percona. 57 ProxySQL on application side application server 1 application server 2 application0 码力 | 67 页 | 4.10 MB | 1 年前3
Analyzing MySQL Logs with ClickHouseFiles High Compression (column store + LZ4) • Typically 100x faster than MySQL on Single Server • Semi-Linear Scalability to 100s of nodes High Performance © 2018 Percona. 8 MySQL Wire /etc/clicktail/clicktail-example.conf as /etc/clicktail/clicktail.conf and customize it • APIHost = http://localhost:8123/ • clicktail –c /etc/clicktail/clicktail.conf • To See how it works • service User Account etc Has information about Connection Events Available in MySQL Enterprise, Percona Server, MariaDB © 2018 Percona. 18 Audit Log Record Example {"audit_record":{"name":"Query","record0 码力 | 43 页 | 2.70 MB | 1 年前3
TokuDB索引结构2015年Percona公司收购Tokutek公司 • TokuDB内部的K-V存储引擎为ft-index • TokuMx: ft-index + MongoDB Server层代码 InnoDB TokuDB MyISAM MySQL Server层 MySQL Storage层 Linux 文件系统层 TokuDB特点 • 支持事务(ACID)的MySQL存储引擎 • 插入性能大大高于InnoDB(分形树vs TokuDB事务(二) TokuDB事务(三) 总结(一) 总结(二) 参考资料 • http://github.com/Percona/tokudb-engine • http://openinx.github.io/2015/11/25/ft-index-implement/ • http://pan.baidu.com/s/1bnFkCEV Thank you0 码力 | 19 页 | 1.97 MB | 1 年前3
MySQL Enterprise EditionDocument Store Oracle Premier Support “We chose MySQL Enterprise Edition over Microsoft SQL Server as it provided all the tools we needed to secure our database at low costs, compared to the astronomically & Non-SQL data access • Auto sharding of data • Java, C++, memcached, HTTP Drivers • Java, C++, memcached, HTTP • MySQL Native C Library • MySQL Drivers for ODBC, JDBC,.Net, Python Optimized for use with SSD • Multiple Index Type (B-tree, R-tree, Hash, Full Text, etc.) • Server-side Thread Pool • Connection Thread Caching • Diagnostics, and SQL Tracing OLTP and0 码力 | 2 页 | 375.59 KB | 1 年前3
Kubernetes Operator 实践 - MySQL容器化& 5.7 Master Slave1 Slave2 MySQL 集群:1 主 2 从 MySQL 容器化系统架构 REST CLI Kubernetes Master API Server Scheduler Controller Manager NodeM kubelet kube-proxy docker mysql pod-5 mysql pod-6 … … Mysql Operator pod … … mysql Pod-T 0. 创建 CRD 3. 集群管理 2. 调度 pod Ceph MySQL-Operator 主流程 API Server Reflector DeltaFIFO Local Storage Callbacks OnAdd OnUpdate OnDelete WorkQueue List/Watch Informers • Listers • DeepCopy code-generator MySQL 容器化系统架构 REST CLI Kubernetes Master API Server Scheduler Controller Manager NodeM kubelet kube-proxy docker mysql pod-5 mysql pod-6 … …0 码力 | 42 页 | 4.77 MB | 1 年前3
如何用 MySQL 构建全方位高可用应用和/或其附属公司。保留所有权利。 •Oracle Clusterware 将服务器场中 的服务器组合为一个群集 – 以 Oracle RAC 为核心 •Oracle Cluster 12c 包括 MySQL Server 代理 •对 MySQL 数据库进行计划内迁移 和自动故障转移 – 对使用受管 VIP 的应用程序不可见 – 共享存储,一次 1 个实例 4/16/2017 在 Oracle Clusterware Clara, CA, US Major Building Blocks (1) 22 M M M M M Com. API Replication Plugin API MySQL Server Group Comm. System (Corosync) Group Com. Engine 2017/4/16 Percona Live 2016 - Santa Clara, CA • 无共享,无单点故障 • 自我修复 + 联机运行 99.999% 可用性 • 关键字/值 + 复杂的关系查询 • SQL + Memcached + JavaScript + Java + HTTP/REST & C++ SQL + NoSQL • 开源 + 商业版本 • 通用硬件 + 管理、监视工具 总体拥有成本低 4/16/2017 版权所有 2015,Oracle 和/或其附属公司。保留所有权利。0 码力 | 40 页 | 2.19 MB | 1 年前3
Реализация MySQL wire протокола в ClickHouseпротоколом. 2 Существующие в ClickHouse интерфейсы Утилита командной строки Нативный интерфейс (TCP) HTTP JDBC Driver ODBC Driver 3 Актуальность задачи Отсутствие необходимости собирать нативный клиент найден баг в стандартном MySQL клиенте, предложен патч с исправлением: https://github.com/mysql/mysql-server/pull/267 Исходный код: https://github.com/yandex/ClickHouse/commits?author=yurriy 12 Результаты0 码力 | 13 页 | 464.59 KB | 1 年前3
Best Practices for MySQL with SSDs............................................................. 3 3. Optimizing MySQL Server and Percona Server for SSDs ................................................................... 5 4. Flush need to be considered to maximize performance and system value. In the software domain, MySQL Server is a commonly used Relational Database Management System (RDBMS).This whitepaper clarifies how today's substantial business advantage. The paper focuses on Percona Server – a free, fully compatible, open source MySQL Server enhancement. Because Percona Server is optimized for the I/O subsystem, it was selected0 码力 | 14 页 | 416.88 KB | 1 年前3
共 16 条
- 1
- 2













