<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Nix World</title>
	<atom:link href="http://onaxer.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://onaxer.com/blog</link>
	<description>blog</description>
	<lastBuildDate>Sun, 13 May 2012 05:28:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Defragmentation of multiple databases in Mysql</title>
		<link>http://onaxer.com/blog/blog/2012/05/13/defragmentation-of-multiple-databases-in-mysql/</link>
		<comments>http://onaxer.com/blog/blog/2012/05/13/defragmentation-of-multiple-databases-in-mysql/#comments</comments>
		<pubDate>Sun, 13 May 2012 05:25:02 +0000</pubDate>
		<dc:creator>Manoj Chauhan</dc:creator>
				<category><![CDATA[Mysql]]></category>
		<category><![CDATA[Optimization of Mysql]]></category>
		<category><![CDATA[Defragmentation mysql]]></category>
		<category><![CDATA[Defragmentation of multiple databases in Mysql]]></category>
		<category><![CDATA[Proper defragmentation of MySQL innodb tables]]></category>

		<guid isPermaLink="false">http://onaxer.com/blog/?p=1332</guid>
		<description><![CDATA[What does table fragmentation mean? This means that there is free data taking up space within each of these tables. This can eventually lead to storage and performance issues. As our database keep growing,  we recognized that the database was getting slower and slower, so we decided to defrag all the tables in all databases.<a href="http://onaxer.com/blog/blog/2012/05/13/defragmentation-of-multiple-databases-in-mysql/">&#160;&#160;Read More...</a>]]></description>
		<wfw:commentRss>http://onaxer.com/blog/blog/2012/05/13/defragmentation-of-multiple-databases-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to scalable your application using nosql</title>
		<link>http://onaxer.com/blog/blog/2012/05/10/how-to-scalable-your-application-using-nosql/</link>
		<comments>http://onaxer.com/blog/blog/2012/05/10/how-to-scalable-your-application-using-nosql/#comments</comments>
		<pubDate>Thu, 10 May 2012 11:06:46 +0000</pubDate>
		<dc:creator>Manoj Chauhan</dc:creator>
				<category><![CDATA[Mysql]]></category>
		<category><![CDATA[Mysql Clusters]]></category>
		<category><![CDATA[HandlerSocket]]></category>
		<category><![CDATA[How to scalable your application]]></category>

		<guid isPermaLink="false">http://onaxer.com/blog/?p=1325</guid>
		<description><![CDATA[How to scalable your application Most of the scalable application on web use MYSQL+memcached+varnish cache as the back end for their applications. Recently some of them shifted to NOSQL for one of the biggest reason ‘performance’. Certainly, NOSQL performs better than MYSQL for simple queries and primary key look-ups. Most of the database queries of<a href="http://onaxer.com/blog/blog/2012/05/10/how-to-scalable-your-application-using-nosql/">&#160;&#160;Read More...</a>]]></description>
		<wfw:commentRss>http://onaxer.com/blog/blog/2012/05/10/how-to-scalable-your-application-using-nosql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scheduling Algorithms used by the Load Balancer</title>
		<link>http://onaxer.com/blog/blog/2012/05/06/scheduling-algorithms-used-by-the-load-balancer/</link>
		<comments>http://onaxer.com/blog/blog/2012/05/06/scheduling-algorithms-used-by-the-load-balancer/#comments</comments>
		<pubDate>Sun, 06 May 2012 13:49:07 +0000</pubDate>
		<dc:creator>Manoj Chauhan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Load Balancer Scheduling Algorithms]]></category>
		<category><![CDATA[Scheduling Algorithms used by the Load Balancer]]></category>

		<guid isPermaLink="false">http://onaxer.com/blog/?p=1323</guid>
		<description><![CDATA[Following scheduling algorithms listed below: Round-Robin Scheduling: Distributes each request sequentially around the pool of real servers. Using this algorithm, all the real servers are treated as equals without regard to capacity or load. Weighted Round-Robin Scheduling: Distributes each request sequentially around the pool of real servers but gives more jobs to servers with greater<a href="http://onaxer.com/blog/blog/2012/05/06/scheduling-algorithms-used-by-the-load-balancer/">&#160;&#160;Read More...</a>]]></description>
		<wfw:commentRss>http://onaxer.com/blog/blog/2012/05/06/scheduling-algorithms-used-by-the-load-balancer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rotating mysql slow query log</title>
		<link>http://onaxer.com/blog/blog/2012/05/02/rotating-mysql-slow-query-log/</link>
		<comments>http://onaxer.com/blog/blog/2012/05/02/rotating-mysql-slow-query-log/#comments</comments>
		<pubDate>Wed, 02 May 2012 09:05:17 +0000</pubDate>
		<dc:creator>Manoj Chauhan</dc:creator>
				<category><![CDATA[Mysql]]></category>
		<category><![CDATA[Rotating mysql slow query log]]></category>

		<guid isPermaLink="false">http://onaxer.com/blog/?p=1321</guid>
		<description><![CDATA[The best practice is to rotate this file daily. In addition you should both analyze the log file producing a top 5 or top 10 list of slow SQL queries each day. You can rotate logs using below script. #/bin/bash SLOW_LOGS_PATH=/var/logs/logs/log-slow-queries.log echo &#8220;Rotating slow logs, please wait&#8230;.&#8221; cp ${SLOW_LOGS_PATH} ${SLOW_LOGS_PATH}.`date +%d-%m-%Y-%H:%M:%S`; &#62; ${SLOW_LOGS_PATH} Thanks Manoj<a href="http://onaxer.com/blog/blog/2012/05/02/rotating-mysql-slow-query-log/">&#160;&#160;Read More...</a>]]></description>
		<wfw:commentRss>http://onaxer.com/blog/blog/2012/05/02/rotating-mysql-slow-query-log/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slave: received end packet from server, apparent master shutdown</title>
		<link>http://onaxer.com/blog/blog/2012/04/21/slave-received-end-packet-from-server-apparent-master-shutdown/</link>
		<comments>http://onaxer.com/blog/blog/2012/04/21/slave-received-end-packet-from-server-apparent-master-shutdown/#comments</comments>
		<pubDate>Sat, 21 Apr 2012 04:14:23 +0000</pubDate>
		<dc:creator>Manoj Chauhan</dc:creator>
				<category><![CDATA[Mysql]]></category>
		<category><![CDATA[apparent master shutdown]]></category>
		<category><![CDATA[apparent mysql master shutdown]]></category>
		<category><![CDATA[reconnecting to retry]]></category>
		<category><![CDATA[Slave I/O thread: Failed reading log event]]></category>
		<category><![CDATA[Slave: received end packet from server]]></category>

		<guid isPermaLink="false">http://onaxer.com/blog/?p=1319</guid>
		<description><![CDATA[I was seeing this message continuously in mysql logs. It is a master-master with one slave setup in which one node had inconsistent tables. I tried to patch this by running a dump on the known-good server and importing that to the broken server + starting slave thread. Below was the result: [root@db-server tmp]# tail<a href="http://onaxer.com/blog/blog/2012/04/21/slave-received-end-packet-from-server-apparent-master-shutdown/">&#160;&#160;Read More...</a>]]></description>
		<wfw:commentRss>http://onaxer.com/blog/blog/2012/04/21/slave-received-end-packet-from-server-apparent-master-shutdown/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to take backup of selective tables in Mysql?</title>
		<link>http://onaxer.com/blog/blog/2012/04/14/how-to-take-backup-of-selective-tables-in-mysql/</link>
		<comments>http://onaxer.com/blog/blog/2012/04/14/how-to-take-backup-of-selective-tables-in-mysql/#comments</comments>
		<pubDate>Sat, 14 Apr 2012 08:49:28 +0000</pubDate>
		<dc:creator>Manoj Chauhan</dc:creator>
				<category><![CDATA[Mysql]]></category>
		<category><![CDATA[How to take backup of selective tables in Mysql]]></category>
		<category><![CDATA[how to take tables backup using mysqldump]]></category>
		<category><![CDATA[hwo to take backup of selective tables]]></category>

		<guid isPermaLink="false">http://onaxer.com/blog/?p=1315</guid>
		<description><![CDATA[We can take the backup of selective tables using mysqldump command in mysql. It will help when we have big database like 400G and we want to do quick backup of some tables for i in `mysql -h 192.168.1.1 -u manoj -pmanoj testdb -e &#8216;show tables&#8217; ` do echo $i; mysqldump -t -u manoj -pmanoj<a href="http://onaxer.com/blog/blog/2012/04/14/how-to-take-backup-of-selective-tables-in-mysql/">&#160;&#160;Read More...</a>]]></description>
		<wfw:commentRss>http://onaxer.com/blog/blog/2012/04/14/how-to-take-backup-of-selective-tables-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change mysql default character set to UTF8 in my.cnf?</title>
		<link>http://onaxer.com/blog/blog/2012/04/03/how-to-change-mysql-default-character-set-to-utf8-in-my-cnf/</link>
		<comments>http://onaxer.com/blog/blog/2012/04/03/how-to-change-mysql-default-character-set-to-utf8-in-my-cnf/#comments</comments>
		<pubDate>Tue, 03 Apr 2012 12:05:52 +0000</pubDate>
		<dc:creator>Manoj Chauhan</dc:creator>
				<category><![CDATA[Mysql]]></category>
		<category><![CDATA[change mysql default character set to UTF8]]></category>
		<category><![CDATA[change mysql default character set to UTF8 in mysql 5.5]]></category>
		<category><![CDATA[how to change mysql default character set to UTF8 in mysql 5.5]]></category>

		<guid isPermaLink="false">http://onaxer.com/blog/?p=1312</guid>
		<description><![CDATA[You can change the default character set to UTF8 in mysql 5.5 using below steps 1. Check current character set mysql&#62; show variables like &#8220;collation_database&#8221;; +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+ &#124; Variable_name      &#124; Value             &#124; +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+ &#124; collation_database &#124; latin1_swedish_ci &#124; +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+ 1 row in set (0.00 sec) mysql&#62; show variables like &#8220;%character%&#8221;;show variables like &#8220;%collation%&#8221;; +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+ &#124; Variable_name           <a href="http://onaxer.com/blog/blog/2012/04/03/how-to-change-mysql-default-character-set-to-utf8-in-my-cnf/">&#160;&#160;Read More...</a>]]></description>
		<wfw:commentRss>http://onaxer.com/blog/blog/2012/04/03/how-to-change-mysql-default-character-set-to-utf8-in-my-cnf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to insert data in MySQL Table</title>
		<link>http://onaxer.com/blog/blog/2011/09/28/how-to-insert-data-in-mysql-table/</link>
		<comments>http://onaxer.com/blog/blog/2011/09/28/how-to-insert-data-in-mysql-table/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 03:44:00 +0000</pubDate>
		<dc:creator>Pankaj Joshi</dc:creator>
				<category><![CDATA[MySQL Basics]]></category>
		<category><![CDATA[Mysql]]></category>

		<guid isPermaLink="false">http://onaxer.com/blog/?p=1296</guid>
		<description><![CDATA[Let’s start inserting data in the table created in our post, table name was employee, we also discussed how to check the table structure in one of our post Step 1) Login to MySQL we will be using user : demo and password as demouser mysql -u demo -p demouser Step 2) use database in<a href="http://onaxer.com/blog/blog/2011/09/28/how-to-insert-data-in-mysql-table/">&#160;&#160;Read More...</a>]]></description>
		<wfw:commentRss>http://onaxer.com/blog/blog/2011/09/28/how-to-insert-data-in-mysql-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get list of tables in a MySQL database</title>
		<link>http://onaxer.com/blog/blog/2011/09/28/how-to-get-list-of-tables-in-a-mysql-database/</link>
		<comments>http://onaxer.com/blog/blog/2011/09/28/how-to-get-list-of-tables-in-a-mysql-database/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 02:52:05 +0000</pubDate>
		<dc:creator>Pankaj Joshi</dc:creator>
				<category><![CDATA[MySQL Basics]]></category>
		<category><![CDATA[Mysql]]></category>

		<guid isPermaLink="false">http://onaxer.com/blog/?p=1290</guid>
		<description><![CDATA[lets discuss now  how we can check  how many tables exist in a MySQL database . Step 1) Login to MySQL we will be using user : demo and password as demouser mysql -u demo -p demouser Step 2) use database in which we need to check table , as in our previous post we<a href="http://onaxer.com/blog/blog/2011/09/28/how-to-get-list-of-tables-in-a-mysql-database/">&#160;&#160;Read More...</a>]]></description>
		<wfw:commentRss>http://onaxer.com/blog/blog/2011/09/28/how-to-get-list-of-tables-in-a-mysql-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Check table structure in MySQL</title>
		<link>http://onaxer.com/blog/blog/2011/09/28/how-to-check-table-structure-in-mysql/</link>
		<comments>http://onaxer.com/blog/blog/2011/09/28/how-to-check-table-structure-in-mysql/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 02:43:43 +0000</pubDate>
		<dc:creator>Pankaj Joshi</dc:creator>
				<category><![CDATA[MySQL Basics]]></category>
		<category><![CDATA[Mysql]]></category>

		<guid isPermaLink="false">http://onaxer.com/blog/?p=1282</guid>
		<description><![CDATA[in our previous  post we discussed how to  add more columns in MySQL table , lets see how we can check table structure in MySQL. Step 1) Login to MySQL we will be using user : demo and password as demouser mysql -u demo -p demouser Step 2) use database in which we need to<a href="http://onaxer.com/blog/blog/2011/09/28/how-to-check-table-structure-in-mysql/">&#160;&#160;Read More...</a>]]></description>
		<wfw:commentRss>http://onaxer.com/blog/blog/2011/09/28/how-to-check-table-structure-in-mysql/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Create a Database in MySQL</title>
		<link>http://onaxer.com/blog/blog/2011/09/27/how-to-create-a-database-in-mysql/</link>
		<comments>http://onaxer.com/blog/blog/2011/09/27/how-to-create-a-database-in-mysql/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 04:17:23 +0000</pubDate>
		<dc:creator>Pankaj Joshi</dc:creator>
				<category><![CDATA[MySQL Basics]]></category>

		<guid isPermaLink="false">http://onaxer.com/blog/?p=1260</guid>
		<description><![CDATA[Once MySQL Server setup is done , lets start by creating a database , in our example we will see how to create a MySQL Database Step 1) Login to MySQL we will be using user : demo and password as demouser mysql -u demo -p demouser Step 2) Now we will be creating a<a href="http://onaxer.com/blog/blog/2011/09/27/how-to-create-a-database-in-mysql/">&#160;&#160;Read More...</a>]]></description>
		<wfw:commentRss>http://onaxer.com/blog/blog/2011/09/27/how-to-create-a-database-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create table in MySQL</title>
		<link>http://onaxer.com/blog/blog/2011/09/27/how-to-create-table-in-mysql/</link>
		<comments>http://onaxer.com/blog/blog/2011/09/27/how-to-create-table-in-mysql/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 04:17:20 +0000</pubDate>
		<dc:creator>Pankaj Joshi</dc:creator>
				<category><![CDATA[MySQL Basics]]></category>
		<category><![CDATA[Mysql]]></category>

		<guid isPermaLink="false">http://onaxer.com/blog/?p=1264</guid>
		<description><![CDATA[In Our previous post we discussed how to create a database in MySQL , lets see how to create tables in MySQL database. Step 1) Login to MySQL we will be using user : demo and password as demouser mysql -u demo -p demouser Step 2) use database in which we need to create table<a href="http://onaxer.com/blog/blog/2011/09/27/how-to-create-table-in-mysql/">&#160;&#160;Read More...</a>]]></description>
		<wfw:commentRss>http://onaxer.com/blog/blog/2011/09/27/how-to-create-table-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add more columns in exsiting MySQL table</title>
		<link>http://onaxer.com/blog/blog/2011/09/27/how-to-add-more-columns-in-exsiting-mysql-table/</link>
		<comments>http://onaxer.com/blog/blog/2011/09/27/how-to-add-more-columns-in-exsiting-mysql-table/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 04:16:54 +0000</pubDate>
		<dc:creator>Pankaj Joshi</dc:creator>
				<category><![CDATA[MySQL Basics]]></category>
		<category><![CDATA[Mysql]]></category>

		<guid isPermaLink="false">http://onaxer.com/blog/?p=1270</guid>
		<description><![CDATA[in our previous  post we discussed how to create table in MySQL Database , lets check now how we can add more columns to existing table . Step 1) Login to MySQL we will be using user : demo and password as demouser mysql -u demo -p demouser Step 2) use database in which we<a href="http://onaxer.com/blog/blog/2011/09/27/how-to-add-more-columns-in-exsiting-mysql-table/">&#160;&#160;Read More...</a>]]></description>
		<wfw:commentRss>http://onaxer.com/blog/blog/2011/09/27/how-to-add-more-columns-in-exsiting-mysql-table/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How To Empty Postfix Mail Queue</title>
		<link>http://onaxer.com/blog/blog/2011/09/26/how-to-empty-postfix-mail-queue/</link>
		<comments>http://onaxer.com/blog/blog/2011/09/26/how-to-empty-postfix-mail-queue/#comments</comments>
		<pubDate>Mon, 26 Sep 2011 15:57:38 +0000</pubDate>
		<dc:creator>Manoj Chauhan</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mail Servers]]></category>
		<category><![CDATA[How To Empty Postfix Mail Queue]]></category>
		<category><![CDATA[mailq]]></category>

		<guid isPermaLink="false">http://onaxer.com/blog/?p=1276</guid>
		<description><![CDATA[This command will delete one specific email from the mailq mailq &#124; tail +2 &#124; grep -v &#8216;^ *(&#8216; &#124; awk  &#8216;BEGIN { RS = &#8220;&#8221; } { if ($8 == &#8220;email@manoj.com&#8221; &#38;&#38; $9 == &#8220;&#8221;) print $1 } &#8216; &#124; tr -d &#8216;*!&#8217; &#124; postsuper -d - Deleting the postfix mail queue I would<a href="http://onaxer.com/blog/blog/2011/09/26/how-to-empty-postfix-mail-queue/">&#160;&#160;Read More...</a>]]></description>
		<wfw:commentRss>http://onaxer.com/blog/blog/2011/09/26/how-to-empty-postfix-mail-queue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a UTF-8 database</title>
		<link>http://onaxer.com/blog/blog/2011/09/20/creating-a-utf-8-database/</link>
		<comments>http://onaxer.com/blog/blog/2011/09/20/creating-a-utf-8-database/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 09:21:19 +0000</pubDate>
		<dc:creator>Manoj Chauhan</dc:creator>
				<category><![CDATA[Mysql]]></category>
		<category><![CDATA[Configuring Database Character Encoding]]></category>
		<category><![CDATA[Configuring+Database+Character+Encoding]]></category>
		<category><![CDATA[Creating a UTF-8 database]]></category>

		<guid isPermaLink="false">http://onaxer.com/blog/?p=1256</guid>
		<description><![CDATA[1. You can create a UTF-8 database with binary UTF-8 collation. CREATE DATABASE test CHARACTER SET utf8 COLLATE utf8_bin; 2. You will also need to set the Server Characterset to utf8. This can be done by adding the following in my.ini for Windows or my.cnf for other OS like linux. It has to be declared<a href="http://onaxer.com/blog/blog/2011/09/20/creating-a-utf-8-database/">&#160;&#160;Read More...</a>]]></description>
		<wfw:commentRss>http://onaxer.com/blog/blog/2011/09/20/creating-a-utf-8-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

