MySQL Installer Guide
........................................................................ 3 3 Setting Alternative Server Paths with MySQL Installer ..................................................................... ............................................................................. 9 4.1 MySQL Server Configuration with MySQL Installer ............................................................... 10 4 ....................................................................................... 14 4.1.5 Server File Permissions ...............................................................................0 码力 | 42 页 | 448.90 KB | 1 年前3Best 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 年前3Analyzing MySQL Logs with ClickHouse
Files 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 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","record []","host":"localhost","os_user":"","ip":"","db":"sbtest"}} © 2018 Percona. 19 Percona Server Configuration • Install Audit Plugin • INSTALL PLUGIN audit_log SONAME 'audit_log.so'; • Configure Audit0 码力 | 43 页 | 2.70 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 replicated state machine (using MySQL GCS). – Application connects using a floating host name. – Name server gets updated whenever the primary router fails and a new one is elected. – Application seamlessly0 码力 | 40 页 | 2.19 MB | 1 年前3MySQL高可用 - 多种方案
keepalived 作为故障转移,提高系统的可用性。但是一般的 mysql 高可用为了实现 mysql 数据的一致性,一般都是采用单点写入,本方案采用 keepalived 中的 sorry_server 来实现写入数据库为单点的需求。本方案实现的功能是当网络有问题、 mysql 有问题、服务器宕机、keepalived 服务停止后,服务器能自动跳转到备用机, 当主服务器服务启动起来后会自动切换回来。 VIP 分别进行设置,为读写分离做准备。 扩展不是很方便。 可以在后面添加多个从服务器,并做到负载均衡。 缺点: 在启动或者恢复后会立即替换掉定义的 sorry_server,因此如果要实现指 定条件替换或者不替换需要通过其他方式实现,比如:临时更改 mysql 的端口等。 切换需要 1s 左右的时间。 2.4 方案实战 2.4.1 适用场景 zhangxy@test.com } notification_email_from jiankong@test.com smtp_server mail.test.com smtp_connect_timeout 30 router_id LVS1 } vrrp_sync_group test0 码力 | 31 页 | 874.28 KB | 1 年前3Using MySQL for Distributed Database Architectures
MySQL 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 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 application application server 3 PXC node 1 PXC node 2 PXC node 3 5 7 ProxySQL ProxySQL ProxySQL © 2018 Percona. 58 ProxySQL at PMM © 2018 Percona. 59 Cloud Only Options •Amazon RDS •Amazon Aurora •Google0 码力 | 67 页 | 4.10 MB | 1 年前3Kubernetes 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 年前3MySQL 8.0.17 调优指南(openEuler 20.09)
Smmu”设置为“Disable” 。 步骤2 关闭预取。 1. 在BIOS中,选择“Advanced>MISC Config”,单击Enter键进入。 2. 将“CPU Prefetching Configuration”设置为“Disabled”,单击F10键保存退 出。 ----结束 MySQL 8.0.17 调优指南(openEuler 20.09) 2 硬件调优 2020-10-15 3 30 码力 | 11 页 | 223.31 KB | 1 年前3使用 Docker 建立 MySQL 集群
使用 Docker 建立 Mysql 集群 软件环境介绍 操作系统:Ubuntu server 64bit 14.04.1 Docker 版本 1.6.2 数据库:Mariadb 10.10 (Mariadb 是 MySQL 之父在 MySQL 被 Oracle 收购之后 创建的分支,性能上优于 MySQL 开源版本) 第一步 安装 Docker 对于 Ubuntu,建议直接联网安装 Docker mdb1 /bin/bash 进入主数据库容器内之后, vi /etc/mysql/my.cnf 把“server-id = 1”行的注释去掉即可,保存,退出容器,然后 docker restart mdb1 同样的,把从数据库的 my.cnf 修改“server-id = 2”,需要是比主 server-id 大的数字,mdb2 同样需要重启。 3.4 使用客户端连接上主数据库,这里我使用的是 mysql0 码力 | 3 页 | 103.32 KB | 1 年前3TokuDB索引结构
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(分形树vs0 码力 | 19 页 | 1.97 MB | 1 年前3
共 14 条
- 1
- 2