Profile    Mohammed Shiroz Status   Loading  
Logo
Share This

My mysql
blog and Updates

It's my personal blog and my post about what was my interested in. Not regularly. If you have any questions any discussion, I'm happy you get in touch with me, and try to answer as many as possible!

Blog
Let's See
Back to blog
Filter by:
Tags
//Article

SQL vs NoSQL: How to Choose a Database Without the Hype

SQL vs NoSQL: How to Choose a Database Without the Hype

Blog Summary

"SQL doesn't scale" and "NoSQL is faster" are both half-truths. Four myths, one honest comparison table, when NoSQL really fits, and how MySQL JSON columns give you flexibility without a second database.

Read more
  • 127
  • 88
  • 6

Zero-Downtime Database Migrations: The Expand and Contract Pattern

Zero-Downtime Database Migrations: The Expand and Contract Pattern

Blog Summary

Renaming a column is one line of code and, deployed naively, a short outage. The expand and contract pattern lets you change your schema while old and new code run side by side, with Laravel examples.

Read more
  • 35
  • 99
  • 19

Five Eloquent Mistakes That Quietly Slow Down Your Laravel App

Five Eloquent Mistakes That Quietly Slow Down Your Laravel App

Blog Summary

Eloquent makes database code read like English, which is exactly why its slowest patterns look so innocent. Five common mistakes, why each one hurts as your tables grow, and the one-line fix for every one of them.

Read more
  • 71
  • 60
  • 3

How a Database Index Works: A B-Tree in Five Minutes

How a Database Index Works: A B-Tree in Five Minutes

Blog Summary

You added an index and the query is still slow. Or you added five and now inserts crawl. Both make sense once you can picture a B-tree. Here's the phone book version, in five short minutes.

Read more
  • 79
  • 82
  • 6

Database Transactions in Laravel: When You Need Them and When You Don't

Database Transactions in Laravel: When You Need Them and When You Don't

Blog Summary

Half-saved data is worse than an error. Learn when Laravel's DB::transaction is essential, when it's overkill, how to stop race conditions, and why emails and jobs belong after commit.

Read more
  • 132
  • 54
  • 10

Laravel N+1 Queries: How to Spot Them and Kill Them for Good

Laravel N+1 Queries: How to Spot Them and Kill Them for Good

Blog Summary

Your page was fast with test data and slow in production, and the code never changed. Meet the N+1 query: where it hides in Laravel, how to find it, and the one line that stops it coming back.

Read more
  • 135
  • 107
  • 15

01. About Shiroz

Mohammed Shiroz

Hi, I'm Mohammed Shiroz, a software engineer and AI enthusiast from Sri Lanka who turns ideas into intelligent, real-world solutions. With over 9 years of hands-on experience, I currently lead real estate ERP development at Kate Group, a...

03.My Projects

04. Categories

Ready To Start Your Project ?

Get in Touch
Close