Did you know that you can subscribe to Oracle Magazine for free? It doesn’t have much content on MySQL, but it’s not such a bad thing to stay at least a little bit in touch with what Oracle is doing with the Oracle database server, too. You can subscribe online free.
Dealing with MySQL you might need to deal with RAID recovery
every so often. Sometimes because of client lacking the proper
backup or sometimes because recovering RAID might improve
recovery, for example you might get point in time recovery while
backup setup only takes you to the point where last binary log
was backed up. I wanted for a chance to write instructions for
recovery for long time
and finally I had gotten the problems with my ReadyNAS Pro 6 which I was setting up/testing
at home for use for backups. I got it doing initial sync while it
spotted the problem with one other drive and as such RAID volume
failed. ReadyNAS has Debian inside and as you can get root login
via SSH it can be recovered as any generic Linux server.
When you restart the system RAID5 volume …
[Read more]
Percona Live in London is getting closer, and
Oct 24 will soon be with us. Before that I hope to finish my
delayed honeymoon in S.t Petersburg, move house and Travel to New
York (I am glad I am NOT doing that today, Hurricane Irene
doesn't seem like a nice lady).
I have done some more work on my presentation, and I hope this
will end up being pretty interesting. At the same time, Recorded
Future is in the middle of some major rewamping on the backend,
so things are a bit hectic, to say the least.
The other week we had an issue with one of our slaves falling
behind and having problems to catch up. I did not have my
accelerator working on that machine, so I started it, and
immediately the slave was catching up way faster than before, so
again I have proven to myself that this puppy …
Core file can be quite helpful to troubleshoot MySQL Crashes yet
it is not always easy to get, especially with recent Linux
distributions which have security features to prevent core files
to be dumped by
setuid processes (and MySQL Server is most commonly ran changing
user from “root” to “mysql”). Before you embark on enabling core
file you should consider two things – disk space and restart
time. The core file will dump all MySQL Server memory content
including buffer pool which can be tens on even hundreds GB of
disk space. It can also take very long time to write this amount
of data to the disk. If you are using “pid” with core files,
which you probably should, as getting different samples often
help developers to find what is wrong easier, you may be looking
at many times the amount of memory MySQL consumes worth of disk
space.
You have to do couple of changes to enable core files. First you need …
[Read more]Tungsten Enterprise allows users to join MySQL databases into powerful clusters that offer 24x7 availability, simple maintenance, and automatic distribution of SQL queries of masters and slaves. Tungsten works with your favorite, off-the-shelf MySQL build and does not require application changes.
In this webcast we describe how we build Tungsten clusters capable of managing 50M transactions per
Have you ever noticed that, if you implemented Facebook like or Facebook Share in wordpress blog and when people click Like the shared post on user wall looks not good most of the time. This is because you didn’t implement the facebook open graph meta data in your blog post or page. As a result when facebook parse the link sometimes they can’t parse it properly that you expected.
To solve the situation you’ve to add open graph meta data in your site. Some days ago I manually added this in my blog’s theme, but later I decided to make a wordpress plugin so that it become easier to use and share with others.
My plugin features:
1. Automatically set facebook open …
[Read more]Scalability is about application, architecture and infrastructure design, and careful management of server components.
1. Object Relational Mappers
ORMs are popular among developers but not among performance experts. Why is that? Primarily these two engineers experience a web application from entirely different perspectives. One is building functionality, delivering features, and results are measured on fitting business requirements. Performance and scalability are often low priorities at this stage. ORMs allow developers to be much more productive, abstracting away the SQL difficulties of interacting with the backend datastore, and allowing them to concentrate on building the features and functionality.
On the performance side the picture is a bit different. By leaving SQL query writing to an ORM, you are faced with complex queries that the database cannot optimize …
[Read more]
Oracle University now features Live Virtual Classes where you
interact directly with trainers through lectures and labs. The
trainers are Oracle University expert instructors who deliver an
educational experience that is comparable to our traditional
in-class training—without the need for expensive travel.
So Go Virtual, the following MySQL Live Virtual Classes
are now available:
- MySQL for Database Administrators
- MySQL for Beginners
- Introduction to MySQL 5.5
- …
Oracle University now features Live Virtual Classes where you
interact directly with trainers through lectures and labs. The
trainers are Oracle University expert instructors who deliver an
educational experience that is comparable to our traditional
in-class training—without the need for expensive travel.
So Go Virtual, the following MySQL Live Virtual Classes
are now available:
- MySQL for Database Administrators
- MySQL for Beginners
- Introduction to MySQL 5.5
- …
Read the original article at 5 Tips for Better Database Change Management
Deploying new code that includes changes to your database schema doesn't have to be a process fraught with stress and burned fingers. Follow these five tips and enjoy a good nights sleep.
1. Deploy with Roll Forward & Rollback Scripts
When developers check-in code that requires schema changes, that release should also require two scripts to perform database changes. One script will apply those changes, alter tables to add columns, change data types, seed data, clean data, create new tables, views, stored procedures, functions, triggers and so forth. A release should also include a rollback script, which would return tables to their previous state.
This idea of database change management is popular as Migrations in Ruby …
[Read more]