Today new version of JSON UDF functions: 0.3.0 was released. This
is major release which contains new functionality. You can
download functions from the MySQL Labs website.
What was added?
Functions JSON_EXTRACT, JSON_CONTAINS_KEY, JSON_APPEND,
JSON_REMOVE, JSON_REPLACE, JSON_SET now accept both string
and integer arguments as array indexes. (Bug
#70393/17491709)
Now syntax JSON_EXTRACT(doc, 'key', 1); is accepted.
New function JSON_SAFE_MERGE checks JSON documents for
validity before merging them. In addition JSON_MERGE now
merges valid documents, having array as root element. (Bug
#70575/17583568)
JSON_VALID now accepts array as a root element of the JSON
document (Bug #70567/17583282)
Also this release contains following bug fixes:
71050/17882710 …
Profiling mysqld on windows using visual studio 2012 profiler tool (vsperfcmd)
Recently, when I was doing performance assessment of one innodb feature using sysbench standard tool then I observed performance drop in the feature. I had some hands on experience with codeanalyst (AMD's tool) so I did sampling profiling. I attached profiler vsperf to mysqld when sysbench client was doing transaction with some concurrent threads and captured the data for 1 minute. Just for information, there are 2 technique of profiling -1 sampling and instrumentation. For instrumentation, I had limitation because a)our test framework starts mysqld in instrumentation profiler needs to start mysqld b) in-between framework does shutdown for some clean-up of data and c) instrumentation profiling requires debug build. The codeanalyst does not provide very detailed data like 'vsperf' provides. Using visual studio IDE, we can profile (sampling or instrumentation). In my …[Read more]
One of the most important and daily activity of DBA is taking backup and restore operations. Some times also required to create a new replicated server (Slave), which can be easily made possible with xtrabackp utility. The restore and backup is very fast as compared to traditional backup utility. The tool can be downloaded here.
Percona Xtrabackup is free, open source hot backup utility for MySQL and it's fork. It doesn't lock the database during the backup process.
Utility:
xtrabackup - a compiled C
binary for only InnoDB/XtraDB data.
innobackupex - a perl script that provides
functionality to backup whole MySQL instance with InnoDB, MyISAM
and XtraDB tables.
…
It's again that time of the year. Analysts are spending oceans of
words to predict the future, companies are making plans for the
next year and people are resting and enjoying the break with
their families. To me, this is the perfect time to reflect on my
choices, the direction I'm headed to and consider if I still love
what I do.
At the beginning of the year I decided to
join MongoDB (formerly 10gen). The more I
think about it, the more I realize I've been wrong. Yes, it's
been the worst decision in my life not to join MongoDB when I was
first offered the opportunity years ago. At that time an
insightful friend asked me to consider the opportunity. At that
time I didn't see what I see today.
I didn't see the …
It's again that time of the year. Analysts are spending oceans of
words to predict the future, companies are making plans for the
next year and people are resting and enjoying the break with
their families. To me, this is the perfect time to reflect on my
choices, the direction I'm headed to and consider if I still love
what I do.
At the beginning of the year I decided to
join MongoDB (formerly 10gen). The more I
think about it, the more I realize I've been wrong. Yes, it's
been the worst decision in my life not to join MongoDB when I was
first offered the opportunity years ago. At that time an
insightful friend asked me to consider the opportunity. At that
time I didn't see what I see today.
I didn't see the …
MySQL Passwords have evolved with versions 5.6 and 5.7 and we now have ways to ensure strength and expiration. There are some ‘tinker toy’s missing that keep it from being a complete system.
We do have a way of expiring passwords and forcing a user to change their password. But there is now way for the database to warn users that their password is about to expire or has expired. There is no way to check to see if if user changed their password and then changed it back to their ol’ favorite. There is no way to see when the password was changed last or any time before. There is no way to force these changes every X period or make sure some accounts do not change (root, accounts used for applications). Now of this is extremely complex to create and over a few blog posts, you will get a chance to help design …
[Read more]MySQL Enterprise Monitor (MEM) is part of the MySQL Enterprise Edition, and MEM provides real-time visibility into the performance and availability of all your MySQL databases. MEM and the MySQL Query Analyzer continuously monitor your databases and alerts you to potential problems before they impact your system. It’s like having a “Virtual DBA Assistant” at your side to recommend best practices to eliminate security vulnerabilities, improve replication, optimize performance and more. As a result, the productivity of your developers, DBAs and System Administrators is improved significantly.
With MEM, you have a couple of notification options for receiving information when MEM has received an event alert. An event alert is a “significant deviation from the baseline performance …
[Read more]I like the image of this city of Mesa Verde. It’s fascinating to see how ancient cities were built, especially as an inhabitant of one of the worlds largest cities today, New York. I’m a long time relational database guy. I worked at scores of dot-coms in the 90′s as an old-guard Oracle DBA, and […]
Percona announces the release of Percona Monitoring Plugins 1.1.1 to address the critical bug that appears after the 1.1 upgrade.
Changelog:
* Cacti mysql graphs stop working with data input field
“server-id” after 1.1 upgrade (bug 1264814)
* Non-integer poller errors for MySQL Query Response Time (bug
1264353)
A new tarball is available from downloads area or RPM and DEB packages from our software repositories. The plugins are fully supported for customers with a Percona Support contract and free installation services are provided as part of some contracts. In addition as part of …
[Read more]When you pass a SQL command through MySQL it has to be compliant with MySQL syntax as it will have to go through the MySQL parser. Can we pass non MySQL syntax compatible selects to a target ODBC database ? MariaDB CONNECT Storage Engine allows through ODBC to access heterogeneous data sources like Oracle or [...]