oops. they must not have uploaded.
You can send binlog events in realtime from the binary logs with FlexCDC to Kafka (or any system) to take advantage of both worlds.
slides not visible on PLMCE site
Taxonomy upgrade extras: myenv operation MySQL Operations multi instance consolidation testing upgrade
FromDual has the pleasure to announce the release of the new version 1.2.0 of its popular MySQL, Galera Cluster, MariaDB and Percona Server multi-instance environment MyEnv.
The new MyEnv can be downloaded here.
In the …
[Read more]FromDual has the pleasure to announce the release of the new version 1.2.0 of its popular MySQL, Galera Cluster, MariaDB and Percona Server multi-instance environment MyEnv.
The new MyEnv can be downloaded here.
In the inconceivable case that you find a bug in the MyEnv please report it to our bug tracker.
Any feedback, statements and testimonials are welcome as well! Please send them to feedback@fromdual.com.
Upgrade from 1.1.x to 1.2.0
# cd ${HOME}/product
# tar xf /download/myenv-1.2.0.tar.gz
# rm -f myenv
# ln -s myenv-1.2.0 myenv
If you are using plug-ins for showMyEnvStatus …
Last week I posted how to configure and test Ruby and MySQL. Somebody asked me how to handle a dynamic list of columns. So, here’s a quick little program to show you how to read the dynamic list of column:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
require 'rubygems'
require 'mysql'
# Begin block.
begin
# Create a new connection resource.
db = Mysql.new('localhost','student','student','studentdb')
# Create a result set.
rs = db.query('SELECT item_title, item_rating FROM item')
# Read through the result set hash.
rs.each do | row |
out = ""
i = 0
while i < db.field_count
# Check if not last column.
if i < db.field_count - 1
out += "#{row[i]}, "
else
out += "#{row[i]}" … |
As you know there is a great toolset named “MySQL Utilities”, which you can use for solving
various administrative tasks.
mysqldiskusage utility is for calculating MySQL Server’s disk
usage and generating informative reports.
Of course this project is open source and everybody could review
the source code.
A few words about how mysqldiskusage calculates database disk
usage will be crucial for understanding algorithm.
The source tree is:
mysql-utilities-1.5.4/scripts/mysqldiskusage.py
If you open this Python file you will see (line 169-175) :
# We do database disk usage by default.
try:
diskusage.show_database_usage(servers[0], datadir, args, options)
except UtilError:
_, e, _ = sys.exc_info()
print("ERROR: %s" % e.errmsg)
sys.exit(1)
By …
[Read more]This is an idea which i presented at percona live 2015.
Is MySQL an avatar of Apache Kafka ?
Can it be Kafka ?
Yes, it can.
This talk takes a shot at modeling MySQL as Kafka.
PS: it’s unconventional, hence a WILD supposition
slides @
http://www.slideshare.net/jaihind213/can-mysql-bekafka
or
http://www.percona.com/live/mysql-conference-2015/sessions/wild-supposition-can-mysql-be-kafka
It turns out that configuring Perl wasn’t the last step for my
student instance. It appears that I neglected to configure my
student instance to support Java connectivity to MySQL. This post
reviews the configuration of Java to run programs against MySQL.
It also covers the new syntax on how you register a
DriverManager, and avoid Java compilation errors
with the older syntax.
In prior posts, I’ve shown how to use Perl , PHP, Python, and Ruby languages to query a MySQL database on Linux.
You need to install the Open JDK libraries …
[Read more]It’s with great pleasure we announce the general availability of VMware Continuent 4.0 – a new suite of solutions for clustering and replication of MySQL to data warehouses.
VMware Continuent enables enterprises running business-critical database applications to achieve commercial-grade high availability (HA), globally redundant disaster recovery (DR) and performance scaling. The new suite