Script to Check, Repair, Optimize MyISAM tables.
“Lazy” suits more to a Linux System Engineer. ….. Introducing scripting with a touch of HTML formatting. The below script will grep all DB’s and will, Check for the corrupted tables Repair it Optimize...
View ArticleWhat does 2>&1 means ?
I found this line at the end of each script in crontab. I was amazed to find what’s the importance and use of 2>&1. If you are familiar with UNIX I/O redirection, syntax similar to the following...
View ArticleBash script to find Unix Server (Upload/Download) speed
Logic: Speed=Size/time (MB/s) Step 1: Create a blank file of some size, say 10MB. Step 2: Transfer this file to the server for which we want to find out speed Step 3: Binary operation to get speed i.e...
View ArticleXtrabackup Script
Percona XtraBackup is an open-source hot backup utility for MySQL - based servers that doesn’t lock your database during the backup. It can back up data from InnoDB, XtraDB, and MyISAM tables on...
View ArticleAuto table sync in Master-Slave replication environment
It’s been a while since last post, I’ve been busy and so had been away from blogging. from past 2 months, I was working extensively with Percona Mysql and since many applications of ours are into...
View ArticleIncremental Backup using Innobackup
This is not new, their are many scripts available in Google but they lack many things while taking Incremental backups using Innobackup. at-least I couldn’t find one. . If you guys have then yes have...
View Article