Rathish Kumar B
I build and think about software systems - how they behave under real constraints, how they scale, and the tradeoffs that make them hold up over time. Over the past 14+ years, my work has spanned databases, data platforms, cloud architectures, and AI engineering workflows. I write practical notes for engineers and technical leaders who care about understanding systems beyond the surface.
I am open to discussing real-world systems challenges with engineering teams, particularly around data platforms, AI system architecture, and infrastructure cost optimization. If your team is navigating complex technical tradeoffs or looking for an experienced sounding board to review architecture, feel free to reach out on LinkedIn or via the contact form.
Writing
Recent technical notes and systems deep dives.
[Solved] ERROR 1045 (28000): Access denied for user 'user'@'host' (using password: YES)
April 09, 2017 / by Rathish Kumar B
Error message
Error 1045 (28000): Access denied for user ‘user’@’host’ (using password: YES)
Debugging Summary
- Check for typo error: username or password.
- Check the host name and compare it with mysql.user table host name.
- Check user exists or not.
- Check whether host contains IP address or host name.
How to change InnoDB log file size in MySQL?
January 17, 2017 / by Rathish Kumar B
[mysqld]
innodb_log_file_size=xG
SET GLOBAL innodb_fast_shutdown = 0;
[mysqld]
innodb_fast_shutdown = 0
rm /var/lib/mysql/ib_logfile*
sudo service mysqld start
tail /var/lib/mysql/mysqld.err
Why innodb_log_file_size is important?
UNDO operation:
REDO operation:
So what is the importance of the InnoDB log file size? Here size matters!!!.
InnoDB log file size: Total size of the redo logs fits in 1 hour worth of writes during peak traffic.
How much InnoDB is writing per hour?
mysql> pager grep seq;
mysql> show engine innodb status \G select sleep(60); show engine innodb status \G
mysql> pager grep seq;
PAGER set to 'grep seq'
mysql> show engine innodb status \G select sleep(60); show engine innodb status \G
Log sequence number 392311720379
1 row in set (0.17 sec)
1 row in set (1 min 0.00 sec)
Log sequence number 392323861206
1 row in set (0.09 sec)
mysql> select (392323861206 - 392311720379)*60/1024/1024;
+--------------------------------------------+
| (392323861206 - 392311720379)*60/1024/1024 |
+--------------------------------------------+
| 694.70369339 |
+--------------------------------------------+
1 row in set (0.00 sec)
It means, my log file should be around 350 MB. I suggest, try this on your test environment and check the performance before implement on the production environment. Always remember to take a backup of the existing files before removing from the system. If you feel something missing or if you want to share something on the innodb_log_file_size please mention in the comment section. Please click on FOLLOW button on the right side to get more posts on database administration.
mysql> show variables like '%innodb_log_files_in_group%';
+---------------------------+-------+
| Variable_name | Value |
+---------------------------+-------+
| innodb_log_files_in_group | 2 |
+---------------------------+-------+
1 row in set (0.01 sec)
How to allocate innodb_buffer_pool_size in MySQL?
January 08, 2017 / by Rathish Kumar B
What are the features of MySQL 5.7?
October 25, 2016 / by Rathish Kumar B
InnoDB
Online buffer pool resize:
- Configure innodb_buffer_pool_size offline (at startup) or online, while the server is running
- The operation is performed in chunks
- Chunk size is defined by the innodb_buffer_pool_chunk_size configuration option
- Buffer pool size always be equal to or a multiple of innodb_buffer_pool_chunk_size * innodb_buffer_pool_instances
- Default innodb_buffer_pool_chunk_size is 128M
MySQL Partitioning Example
September 06, 2016 / by Rathish Kumar B
How to set up MySQL master - slave replication?
May 24, 2016 / by Rathish Kumar B
[Solved] How to write a stored procedure in MySQL for insert?
February 21, 2016 / by Rathish Kumar B
Problem:
Solutions:
[Solved] How to solve MySQL error code: 1215 cannot add foreign key constraint?
January 22, 2016 / by Rathish Kumar B
Error Message:
Error Code: 1215. Cannot add foreign key constraint
Example:
Error Code: 1215. Cannot add foreign key constraint
Possible Reason:
Case 1: MySQL storage engine.
[Solved] How to solve MySQL error code: 1062 duplicate entry?
January 21, 2016 / by Rathish Kumar B
Error Message:
Example:
Possible Reason:
Case 1: Duplicate value.
How to write SQL query?
January 19, 2016 / by Rathish Kumar B
How to install MySQL server on windows?
January 15, 2016 / by Rathish Kumar B