|
Showing 1 - 4 of
4 matches in All Departments
Move data back and forth between database and application. The
must-have knowledge in this book helps programmers learn how to use
the official driver, MySQL Connector/Python, by which Python
programs communicate with the MySQL database. This book takes you
from the initial installation of the connector through basic query
execution, then through more advanced topics, error handing, and
troubleshooting. The book covers both the traditional API as well
as the new X DevAPI. The X DevAPI is part of MySQL 8.0 and is an
API that can be used with connectors for several programming
languages and is used from the command-line interface known as
MySQL Shell. You will learn to use the connector by working through
code examples and following a discussion of how the API calls work.
By the end of the book, you will be able to use MySQL as the
back-end storage for your Python programs, and you'll even have the
option of choosing between SQL and NoSQL interfaces. What You'll
Learn Install MySQL Connector/Python Connect to MySQL and configure
database access Execute SQL and NoSQL queries from your Python
program Trap errors and troubleshoot problems Store data from
different languages using MySQL's character set support Work in the
X DevAPI that underlies all of MySQL's language connectors Who This
Book Is For Developers familiar with Python who are looking at
using MySQL as the back-end database. No prior knowledge of
Connector/Python is assumed, but readers should be familiar with
databases and the Python programming language.
Create and run a real-time, highly-available, and high-redundancy
version of the world's most popular open-source database, MySQL.
You will understand the advantages and disadvantages of the MySQL
NDB Cluster solution, and when MySQL NDB Cluster is the right
choice. Pro MySQL NDB Cluster walks you through the full lifecycle
of a MySQL Cluster installation: starting with the installation and
initial configuration, moving through online configuration and
schema changes, and completing with online upgrades. Along the way,
you will learn to monitor your cluster, make decisions about schema
design, implement geographic replication, troubleshoot and optimize
performance, and much more. This book covers the many programming
APIs that are supported by MySQL NDB Cluster. There's also robust
coverage of connecting to MySQL NDB Cluster from Java, SQL,
memcached, and even from C++. From any of these languages, you'll
be able to connect and store and retrieve data as your applications
demand. The book: Covers MySQL NDB Cluster concepts and
architecture Takes you through the MySQL NDB Cluster lifecycle from
installation to upgrades Guides you through DBA and Developer
decisions when working with MySQL NDB Cluster What You'll Learn
Understand the shared-nothing architecture behind MySQL NDB Cluster
Plan, install, and configure a MySQL NDB Cluster environment
Perform everyday tasks such as backing up, restoring, and upgrading
Develop applications from Java, memcached, C++, and SQL
Troubleshoot and resolve application performance problems Master
enterprise-level features such the MySQL NDB Cluster Manager Who
This Book Is For Database administrators and developers who are
looking into deploying MySQL NDB Cluster, or who already have a
cluster in production and want to increase their knowledge and
ability to handle routine administrative tasks and troubleshooting.
The book also is for those developers wanting to employ MySQL NDB
Cluster as their chosen storage engine from Java, memcached, and
C++ applications.
Know how locks work in MySQL and how they relate to transactions.
This book explains the major role that locks play in database
systems, showing how locks are essential in allowing
high-concurrency workloads. You will learn about lock access levels
and lock granularities from the user level as well as table locks
to record and gap locks. Most importantly, the book covers
troubleshooting techniques when locking becomes a pain point.
Several of the lock types in MySQL have a duration of a
transaction. For this reason, it is important to understand how
transactions work. This book covers the basics of transactions as
well as transaction isolation levels and how they affect locking.
The book is meant to be your go-to resource for solving locking
contention and similar problems in high-performance MySQL database
applications. Detecting locking issues when they occur is the first
key to resolving such issues. MySQL Concurrency provides techniques
for detecting locking issues such as contention. The book shows how
to analyze locks that are causing contention to see why those locks
are in place. A collection of six comprehensive case studies
combine locking and transactional theory with realistic lock
conflicts. The case studies walk you through the symptoms to look
for in order to identify which issue you are facing, the cause of
the conflict, its analysis, solution, and how to prevent the issue
in the future. What You Will Learn Understand which lock types
exist in MySQL and how they are used Choose the best transaction
isolation level for a given transaction Detect and analyze lock
contention when it occurs Reduce locking issues in your
applications Resolve deadlocks between transactions Resolve InnoDB
record-level locking issues Resolve issues from metadata and schema
locks Who This Book Is For Database administrators and SQL
developers who are familiar with MySQL and want to gain a better
understanding of locking and transactions as well as how to work
with them. While some experience with MySQL is required, no prior
knowledge of locks and transactions is needed.
Identify, analyze, and improve poorly performing queries that
damage user experience and lead to lost revenue for your business.
This book will help you make query tuning an integral part of your
daily routine through a multi-step process that includes monitoring
of execution times, identifying candidate queries for optimization,
analyzing their current performance, and improving them to deliver
results faster and with less overhead. Author Jesper Krogh
systematically discusses each of these steps along with the data
sources and the tools used to perform them. MySQL 8 Query
Performance Tuning aims to help you improve query performance using
a wide range of strategies. You will know how to analyze queries
using both the traditional EXPLAIN command as well as the new
EXPLAIN ANALYZE tool. You also will see how to use the Visual
Explain feature to provide a visually-oriented view of an execution
plan. Coverage of indexes includes indexing strategies and index
statistics, and you will learn how histograms can be used to
provide input on skewed data distributions that the optimizer can
use to improve query performance. You will learn about locks, and
how to investigate locking issues. And you will come away with an
understanding of how the MySQL optimizer works, including the new
hash join algorithm, and how to change the optimizer's behavior
when needed to deliver faster execution times. You will gain the
tools and skills needed to delight application users and to squeeze
the most value from corporate computing resources. What You Will
Learn Monitor query performance to identify poor performers Choose
queries to optimize that will provide the greatest gain Analyze
queries using tools such as EXPLAIN ANALYZE and Visual Explain
Improve slow queries through a wide range of strategies Properly
deploy indexes and histograms to aid in creating fast execution
plans Understand and analyze locks to resolve contention and
increase throughput Who This Book Is For Database administrators
and SQL developers who are familiar with MySQL and need to
participate in query tuning. While some experience with MySQL is
required, no prior knowledge of query performance tuning is needed.
|
You may like...
Loot
Nadine Gordimer
Paperback
(2)
R398
R369
Discovery Miles 3 690
Loot
Nadine Gordimer
Paperback
(2)
R398
R369
Discovery Miles 3 690
|