The theme for this series of posts is, and indicated in the
previous post, "Try and try, again", and there
will be more of this now when I start to make this work by
playing with Oracle, with PL/SQL and with the restrictions of
Oracle Express (which is the version I have available).
So, what we have right now is a way of "sending" SQL statements
from Oracle to MariaDB, the question is when and how to send them
from Oracle. The idea for this was then to use triggers on the
Oracle tables to send the data to MariaDB, like this, assuming we
are trying to replicate the orders table from Oracle to
MariaDB:
In Oracle, and assuming that the
extproc I have that created to send UDP …
MySQL is the database of choice for most OpenStack components (Ceilometer is a notable exception). If you start with a small deployment, it will probably run like a charm. But as soon as the dataset grows, you will suddenly face several challenges. We will write a series of blog posts explaining the issues you may hit and how to overcome them.
Where is MySQL used in OpenStack?
Have a look at the logical diagram of OpenStack below (click the image for a larger view).
The diagram is a bit outdated: Neutron appears as Quantum and newer components like Heat are not pictured. But it shows that a database has to be used to store metadata or runtime information. And although …
[Read more]MySQL Connector/Python v2.0 goes GA with version 2.0.1 GA. It is available for download from the MySQL Developer Zone! The previous post about 2.0 described what changed and what was added, here’s an overview:
- Incompatibilities
- Supported Python: 2.6 and 2.7 and 3.3 and 3.4
- Raw Cursors Return bytearray Objects
- LOAD LOCAL DATA INFILE On by Default
- New features
- New Cursors return dictionaries and named tuples
- Options Files Support Added
- Packaging and support files removed …
We are very happy to introduce a new MySQL utility named
'mysqlbinlogmove', which is used to relocate binary log files.
This utility is one of two new utilities included in MySQL
Utilities release-1.6.0 Alpha. The other utility is
'mysqlgrants', which is used to display the privileges (grants)
of database objects.
Note: I use "binary log" to refer to both "kinds" of binary log
files (binlog and relay log files) in general, and use "binlog"
to refer specifically to those that are not "relay log"
files.
The mysqlbinlogmove utility allows you to move binary log files
to a new location taking care of correctly updating the
respective index file for you. This utility can be very useful if
you want to change the location to store the binlog file and you
want to move all of the binary log files. It is also handy to
archive older binary log files to a new location thereby saving
disk space in the server's partition.
…
We are very happy to introduce a new MySQL utility named “mysqlbinlogmove“, which is used to relocate binary log files. This utility is one of two new utilities included in MySQL Utilities release-1.6.0 Alpha. The other utility is “mysqlgrants“, which is used to display the privileges (grants) of database objects.
Note: I use “binary log” to refer to both “kinds” of binary log files (binlog and relay log files) in general, and use “binlog” to refer specifically to those that are not “relay log” files.
The mysqlbinlogmove utility allows you to move binary log files to a new location taking care of correctly updating the respective index file for you. This utility can be very useful if you want to change the location to store the binlog file and you want to move all of the binary log files. It is also handy to archive older binary log files to a new location thereby saving disk …
[Read more]We are happy to announce mysqlgrants, a new utility that allows users to display the privileges of grantees over database objects. Together with mysqlbinlogmove, these are the new utilities included in MySQL Utilities release-1.6.0 Alpha.
Mysqlgrants allows you to know which users have access to a specific object or list of objects. Furthermore, it can also show the list of privileges that each user has over said object(s). In short, mysqlgrants simplifies the task of monitoring grants in MySQL helping you ensure users do not have more permissions than necessary, thus keeping data more secure.
Main Features
Below is a summary of the main features of the mysqlgrants utility:
- Helps DBAs to see which users have what level of access for each object listed.
- Supports several types of reporting: list just the grantees, the grantees and their respective grants or the …
The MySQL Utilities Team is pleased to announce the general
availability (GA) release of MySQL Utilities. This release
includes a number of improvements for useabilty, stability, and a
few enhancements. A complete list of all improvements can be
found in our release_notes.
New Enhancements! This release represents a stable release of the
product. Along with several defect patches, we also include the
following enhancements.
- The mysqlserverclone utility now checks diskspace as a prerequisite to cloning the server.
- The --force option was removed from the mysqlfailover utility to remove confusion on its purpose.
- A warning is issued if the mysqld --skip-innodb option is used because this option is ignored in MySQL 5.7 and later.
- Utilities can correctly parse and display the PROXY …
The MySQL Utilities Team is pleased to announce the alpha release
of MySQL Utilities. This release represents a new evolution of
the product including the following enhancements.
- The mysqlprocgrep utility now displays the processes and connections killed during a --kill operation. The displayed rows come from the appropriate SHOW PROCESSLIST entries.
- The mysqlbinlogmove utility was added. It relocates binary log files, and moves files based on their sequence number or modified date.
- The mysqlgrants utility was added. It displays grants per object, and produces reports by user, user with grants, and GRANT statement.
- Health reports can now be generated for a list of slaves without a master specified. In this case, "No master specified" appears for connection status for each slave, instead of an error.
How Can I Download MySQL Utilities? You can download MySQL …
Are you attending Oracle Open World? Would you like to know more
about Oracle DevOps products for managing your MySQL servers? If
so, stop by Tuesday, September 30 at 10:15 in the Hotel
Nikko - Bay View and join us for a hands on lab (HOL9234) for
MySQL Utilities and Connector/Python.
We will present the basics for getting started using Python to
manage your MySQL servers. MySQL Utilities includes utilities for
a wide variety of operations from displaying GRANT statements to
setting up automatic failover for replication.
Check out the abstract for the HOL here.
For a long time, the MySQL development community and many others have wanted a server that worked without FRM files. The motivation behind removing FRM files, and the design goals around new data dictionary, can be explored in more detail in the blog post by Ståle Deraas “A New Data Dictionary for MySQL”.
And now for the good news! We have a MySQL Labs Release ready with a preview of the new Data Dictionary!
What is in the first MySQL Data Dictionary labs release?
First of all, the FRM files are now gone. The MySQL server no longer creates FRM files, ever. The server stores table meta-data in the data dictionary tables which use the InnoDB storage engine. For more details on the schema definitions of data dictionary tables, see …
[Read more]