Showing entries 6696 to 6705 of 44876
« 10 Newer Entries | 10 Older Entries »
From MySQL 5.6 partitioning to 5.7 and beyond

As you may already know,  since MySQL 5.7.17, the generic partitioning handler in the MySQL server is deprecated, and is completely removed in MySQL 8.0.

So now, in MySQL 5.7, the storage engine used for a given table is expected to provide its own (“native”) partitioning handler. Currently, only the InnoDB and NDB storage engines do.

MySQL 5.7 supports generic partitions & native partitions

What does that imply for users using partitions in an earlier version MySQL  migrating to 5.7 ?

As the documentation describes it, the generic partitioning handler is still supported in all MySQL 5.7 releases, although it is deprecated in 5.7.17 and later. (Note that “deprecated” is not the same as …

[Read more]
Further improvements on INFORMATION_SCHEMA in MySQL 8.0.3

 

Introduction

With the transactional data dictionary in MySQL 8.0, see MySQL 8.0: Data Dictionary Architecture and Design , INFORMATION_SCHEMA is reimplemented as views over data dictionary tables.

In an earlier post by Gopal Shankar, MySQL 8.0: Improvements to Information_schema , he describes how  MySQL 8.0 dynamic table meta data will default to being cached.…

Docker Compose and App Deployment with MySQL

In this post we show how to use the mysql-server Docker image for local development. We first introduce a simple example app that starts up and tries to connect to a given db until successful. We then show how to start containers for multiple MySQL versions and use our example app to connect to them. […]

Sudoku Recursive Common Table Expression Solver

In this blog post, we’ll look at a solving Sudoku using MySQL 8.0 recursive common table expression.

Vadim was recently having a little Saturday morning fun solving Sudoku using MySQL 8. The whole idea comes from SQLite, where Richard Hipp has come up with some outlandish recursive query examplesWITH clause.

The SQLite query:

WITH RECURSIVE
 input(sud) AS (
   VALUES('53..7....6..195....98....6.8...6...34..8.3..17...2...6.6....28....419..5....8..79')
 ),
 digits(z, lp) AS (
   VALUES('1', 1)
   UNION ALL SELECT
   CAST(lp+1 AS TEXT), lp+1 FROM digits WHERE lp<9
 ),
 x(s, ind) AS (
   SELECT sud, instr(sud, '.') FROM input
   UNION ALL
   SELECT …
[Read more]
Webinar Highlights: What’s New in Monyog & Roadmap Update

Thank you everyone who attended our webinar on “What’s new in Monyog & Roadmap update”.

In this webinar, Shree Nair, Product Manager at Webyog demonstrated the various features introduced in Monyog since v8.1.0. Moreover, Shree showcased a number of scenarios on how to align the new features per use case.

Here’s the complete video for all those who couldn’t attend the webinar.


Summary of the top features discussed in the webinar: Set distinct email distribution list for warning and critical alerts

Monyog allows users to specify separate recipients depending on the state of the alert, i.e., critical, warning or others. The critical alerts such as server going down, slave not running can be sent to the on-call DBAs while other warning alerts can be sent to members of the team.

Trend Graph Analysis

Trend graph analysis makes it easier to compare the state and …

[Read more]
Percona Toolkit 3.0.5 is Now Available

Percona announces the release of Percona Toolkit 3.0.5 on November 21, 2017.

Percona Toolkit is a collection of advanced command-line tools that perform a variety of MySQL and MongoDB server and system tasks too difficult or complex for DBAs to perform manually. Percona Toolkit, like all Percona software, is free and open source.

You download Percona Toolkit packages from the web site or install from official repositories.

This release includes the following changes:

New Features:

[Read more]
ProxySQL PXC Single Writer Mode and auto failover, re-bootstrap

Overview

ProxySQL had been adopted as solution for HA in place of HAProxy in Percona PXC package.
The new solution has a lot of advantages and provide an unbelievable flexibility we did not had before.  But when talking about HA and PXC there was still a gap.

As already discussed in my previous article “ProxySQL and Percona XtraDB Cluster (Galera) Integration”(https://www.percona.com/blog/2016/09/15/proxysql-percona-cluster-galera-integration/),
ProxySQL is working great when using multi-master approach, but trying to have it in single Node writer, was not possible unless using creative (nice way to say wrong) solutions like what I was covering in “ProxySQL and PXC using Replication HostGroup” in the same article.

In the following months, I had few emails and requests from …

[Read more]
MySQL event by Romanian Oracle User Group (RoOUG) & MySQL Community team

Our pleasure to announce that MySQL Community team is present at the RoOUG event with two MySQL talks. Please find the details below:

  • Date: December 12, 2017
  • Place: Bucharest, Romania (Oracle Romania, Floreasca Park, ground floor GF13)
  • Agenda:
    • 18:30 – 18:40 – Registration
    • 18:40 – 19:30 – MySQL InnoDB Cluster – speaker Frédéric Descamps, MySQL Community Manager
    • 19:30 – 19:45 – Coffee Break
    • 19:45 – 20:35 – MySQL Document Store – speaker Frédéric Descamps, MySQL Community Manager
    • 20:35 – 21:00 – Q&A, networking
  • URL (more information and registration):  …
[Read more]
InnoDB Page Compression: the Good, the Bad and the Ugly

In this blog post, we’ll look at some of the facets of InnoDB page compression.

Somebody recently asked me about the best way to handle JSON data compression in MySQL. I took a quick look at InnoDB page compression and wanted to share my findings.

There is also some great material on this topic that was prepared and presented by Yura Sorokin at Percona Live Europe 2017: https://www.percona.com/live/e17/sessions/percona-xtradb-compressed-columns-with-dictionaries-an-alternative-to-innodb-table-compression. Yura also implemented …

[Read more]
MySQL Explain Analyzer

tl;dr: The source is at github.com/Preetam/explain-analyzer and you can try it out here.

I read Performance Impacts of Data Volume a few weeks ago on “Use The Index, Luke!” and found the whole workflow really fascinating. Here’s the first paragraph on that page:

The amount of data stored in a database has a great impact on its performance. It is usually accepted that a query becomes slower with additional data in the database. But how great is the performance impact if the data volume doubles? And how can we improve this ratio? These are the key questions when discussing database scalability.

I was thinking about this and how query EXPLAINs from a test environment can help …

[Read more]
Showing entries 6696 to 6705 of 44876
« 10 Newer Entries | 10 Older Entries »