掌握高级MySQL 8:构建高性能分布式数据库指南

需积分: 9 9 下载量 161 浏览量 更新于2024-07-16 收藏 12MB PDF 举报
"Advanced MySQL 8 是一本专为业务规模数据库管理设计的指南,无论企业大小,都广泛采用 MySQL 来访问和处理全球范围内的企业级数据。本书深入挖掘 MySQL 的全部潜力,特别关注在高流量网站、企业系统以及打包软件运行环境中实现和管理大规模分布式 MySQL 集群,以确保数据库性能的极致发挥。 作者 Eric Vanier、Birju Shah 和 Tejaswi Malepati 以其丰富的经验,从实际操作和最佳实践角度出发,带领读者步入高级 MySQL 8 的世界。通过本书,读者将学习如何构建、优化和维护高效稳定的分布式数据库架构,包括集群配置、故障转移、负载均衡、安全性和性能监控等方面的技术。 本书不仅涵盖了基础知识,如 SQL 查询优化、存储引擎选择、索引设计,还深入探讨了 MySQL 8 的新特性和改进,如 InnoDB Clusters、多可用区部署(Multi-AZ)、以及与 NoSQL 数据库的集成策略。读者可以借此提升对 MySQL 高可用性、可扩展性和容错性的理解。 版权方面,Advanced MySQL 8 的所有权利受 2019 年 Packt Publishing 所保护,未经出版商事先书面许可,禁止任何形式的复制、存储或传输。尽管作者和 Packt Publishing 已尽最大努力确保信息的准确性,但本书提供的内容不保证无误,也不承担因使用本书内容而产生的直接或间接损失的责任。 此外,本书在提及公司和产品时尽可能正确使用商标信息,但 Packt Publishing 不对这些信息的准确性提供保证。本书由 Pravin Dhandre 主编,经过了精心策划和审阅,旨在为 MySQL 技术人员提供实用且全面的学习资源。阅读 Advanced MySQL 8,将帮助读者在日益竞争激烈的 IT 领域保持技术领先,提升企业的数据库管理能力。"
2018-05-25 上传
Practice makes a man perfect. But to practice, you need some knowledge and training. This book helps you with that. Most day-to-day and practical scenarios are covered in this book. Chapter 1, MySQL 8 - Installing and Upgrading, describes how to install MySQL 8 on different flavors of Linux, upgrade to MySQL 8 from previous stable releases, and also downgrade from MySQL 8. Chapter 2, Using MySQL, takes you through the basic uses of MySQL, such as creating databases and tables; inserting, updating, deleting, and selecting data in various ways; saving to different destinations; sorting and grouping results; joining tables; managing users; other database elements such as triggers, stored procedures, functions, and events; and getting metadata information. Chapter 3, Using MySQL (Advanced), covers the latest additions to MySQL 8, such as the JSON datatype, common table expressions, and window functions. Chapter 4, Configuring MySQL, shows you how to configure MySQL and basic configuration parameters. Chapter 5, Transactions, explains the four isolation levels of RDBMS and how to use MySQL for transactions. Chapter 6, Binary Logging, demonstrates how to enable binary logging, various formats of binary logs, and how to retrieve data from binary logs. Chapter 7, Backups, covers various types of backups, the pros and cons of each method, and which one to choose based on your requirements. Chapter 8, Restoring Data, covers how to recover data from varies backups. Chapter 9, Replication, explains how to set up various replication topologies. The recipes on switching a slave from master-slave to chain replication and switching a slave from chain replication to master-slave is something that will interest the readers. Chapter 10, Table Maintenance, covers cloning tables. Managing big tables is something that this chapter will make you a maestro of. Installation and usage of third-party tools is also covered in this chapter. Chapter 11, Managing Tablespace, deals with recipes that will teach the readers how to resize, create, copy, and manage tablespaces. Chapter 12, Managing Logs, takes readers through error, general query, slow query, and binary logs. Chapter 13, Performance Tuning, explains query and schema tuning in detail. There are ample recipes in the chapter that will cover this. Chapter 14, Security, focuses on the aspects of security. Recipes on securing installation, restricting networks and users, setting and resetting of passwords, and much more in covered are detail.
2011-10-12 上传
High Performance MySQL is the definitive guide to building fast, reliable systems with MySQL. Written by noted experts with years of real-world experience building very large systems, this book covers every aspect of MySQL performance in detail, and focuses on robustness, security, and data integrity. High Performance MySQL teaches you advanced techniques in depth so you can bring out MySQL's full power. Learn how to design schemas, indexes, queries and advanced MySQL features for maximum performance, and get detailed guidance for tuning your MySQL server, operating system, and hardware to their fullest potential. You'll also learn practical, safe, high-performance ways to scale your applications with replication, load balancing, high availability, and failover. This second edition is completely revised and greatly expanded, with deeper coverage in all areas. Major additions include: Emphasis throughout on both performance and reliability Thorough coverage of storage engines, including in-depth tuning and optimizations for the InnoDB storage engine Effects of new features in MySQL 5.0 and 5.1, including stored procedures, partitioned databases, triggers, and views A detailed discussion on how to build very large, highly scalable systems with MySQL New options for backups and replication Optimization of advanced querying features, such as full-text searches Four new appendices The book also includes chapters on benchmarking, profiling, backups, security, and tools and techniques to help you measure, monitor, and manage your MySQL installations.