<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Ahmed Lotfy's Blog]]></title><description><![CDATA[Ahmed Lotfy's Blog]]></description><link>https://lotfy.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sat, 24 Oct 2026 03:00:07 GMT</lastBuildDate><atom:link href="https://lotfy.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Fundamentals Of
Database
Systems in a Simple Way 
Part I]]></title><description><![CDATA[Database Designer is our hero who designs ERD (Entity Relationship Diagram), creates database objects, maps the database, and makes relations between them…]]></description><link>https://lotfy.hashnode.dev/fundamentals-of-database-systems-in-a-simple-way-part-i</link><guid isPermaLink="true">https://lotfy.hashnode.dev/fundamentals-of-database-systems-in-a-simple-way-part-i</guid><category><![CDATA[Databases]]></category><category><![CDATA[database]]></category><category><![CDATA[SQL]]></category><category><![CDATA[MySQL]]></category><category><![CDATA[Developer]]></category><dc:creator><![CDATA[Ahmed Lotfy]]></dc:creator><pubDate>Fri, 01 Oct 2021 01:56:55 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1633038758739/0PBbSi7LA.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h1 id="motivation">✨ Motivation</h1>
<ul>
<li>A person called <strong><em>Database designer</em></strong> or <strong><em>Database developer</em></strong> , what does he do?? </li>
<li>Have you ever asked yourself how people's information such as <strong>addresses, names, phone numbers and ages </strong>are being stored in big companies such as Facebook?</li>
<li>Why MySQL is being used by many companies such as Uber, Amazon, Netflix, Pinterest, Shopify, Twitter.<br /><h3 id="in-this-article-i-will-answer-all-these-questions-just-bring-your-coffee-and-lets-begin">✍️In this article I will answer all these questions just bring your coffee and let's begin 🥤</h3>
</li>
</ul>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1633041475218/j8YIXHETp.jpeg" alt="Facebook servers and databases" /></p>
<h2 id="what-does-a-person-call-a-database-designer-or-database-developer-do">🧑‍💻  What does a person call a Database designer 👨‍🎨 or Database developer 👨🏻‍💻 do?</h2>
<p><img src="https://media.caramel.la/rJBvs2M9e?r=640" /></p>
<p>Database Designer is our hero who <strong><em>designs </em></strong>ERD (Entity Relationship Diagram), <strong><em>creates </em></strong>database objects, <strong><em>maps</em></strong> the database, and <strong><em>makes </em></strong>relations between them as in the photo below.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1633044219619/jmmzYfQ81.gif" alt="Entity2 (1).gif" /></p>
<h2 id="you-may-panic-and-wonder-what-is-this">💭 You may panic and wonder WHAT IS THIS??!!</h2>
<p><img src="https://c.tenor.com/Xt-50OBdc04AAAAd/eren-eren-yeager.gif" /></p>
<h3 id="dont-panictake-a-deep-breath">Don't Panic...take a deep breath 😮‍💨</h3>
<p>It's just two entities or objects each of them has its attributes or their own stuff, the student has (name as Karim, class as 2B, id as 190222) and Faculty has its own stuff and there is a relation between them where the student is taught by college and college is teaching the student.
<img src="https://c.tenor.com/6pFbfNsqYWgAAAAd/its-actually-pretty-easy-wulff-den.gif" /></p>
<p><strong>Database Designer</strong> must have a solid working knowledge of the following:</p>
<ul>
<li>Data Modeling, Database design</li>
<li>Object-Oriented Analysis and Design techniques</li>
<li>System Architecture, including Database and System performance tuning, as well as hardware and network workload balancing</li>
<li>Database Administration
an understanding of the implementation language and environment
<br /></li>
</ul>
<h2 id="database-developer">🔆Database Developer</h2>
<p>He is responsible for database implementation using RDBMS (Relational Database Management System) such as MySQL, this person must know how to make queries and be good at SQL (Structured Query Language).
<img src="https://i.pinimg.com/originals/59/87/1c/59871c7fb4ca4d906e9ef1f4566cd378.gif" /></p>
<h2 id="how-peoples-information-is-being-stored-in-big-companies-as-facebook">🟢How People's information is being stored in big companies as Facebook?</h2>
<p>When you are signing up for a new account on Facebook some information is required such as first name,  last name, etc...
<img src="https://c.tenor.com/NZqiUoAnAFsAAAAM/cat-computer.gif" />
Your data is stored in tables like the photo below and each account 📒 has its own id 🔑 to be unique, they use efficient algorithms to store your information in an optimized way and the searching process doesn't take a while.
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1633048394558/0y0To7Fql.png" alt="MySQL-RENAME-TABLE-with-View-example.png" /></p>
<h2 id="why-mysql-is-being-used-by-many-companies">❓Why MySQL is being used by many companies? 🤔</h2>
<h3 id="benefits-of-mysql">Benefits of MySQL:</h3>
<ul>
<li><p><strong>Open-source and compatible</strong>: This simply means that anyone can install and use the basic software, while also enabling third parties to modify and customize the source code.</p>
</li>
<li><p><strong>Fast and reliable</strong>: MySQL was developed for speed, and maintains a reputation for being fast, even if this may come at the expense of some additional features. It is also known for its reliability, backed by a large community of programmers that have put the code through tough testing over the years.</p>
</li>
<li><p><strong>Availability</strong>: Online businesses and web platforms need to be able to provide round-the-clock services for a global audience, and high availability is a core feature of MySQL. It uses a range of cluster servers and data replication configurations that ensure uninterrupted uptime even if there is a failure. MySQL also uses a variety of backup and recovery strategies to ensure data is not lost in the event of a system crash or unintentional delete.</p>
</li>
</ul>
<ul>
<li><strong>Scalability</strong>: As data volumes and user loads increase, the database needs to be scaled-up to cope with the additional workload without a drop in performance.  MySQL can be scaled in different ways, typically via replication, clustering or sharding (or a combination of them). It is able to support and process very large databases, though this is likely to have an impact on speed. For an interesting case study, you can read about how Pinterest scaled their MySQL solution here.</li>
</ul>
<ul>
<li><strong>Security</strong>: This is always an important consideration for businesses as they need to protect sensitive data and defend against cyberattacks. MySQL offers encryption using the Secure Sockets Layer (SSL) protocol, data masking, authentication plugins, and other layers of security to protect data integrity. The Enterprise package also includes firewall protection against cyberattacks.</li>
</ul>
<h2 id="still-asking-why-mysql">Still asking why MySQL?</h2>
<p><img src="https://i.pinimg.com/originals/54/c2/f4/54c2f46e85cb031693a6a05d0c8cf401.gif" /></p>
<h2 id="and-now-the-article-is-finished-thank-you-for-reading-it-to-the-end-and-i-hope-you-understand-it">And Now the article is finished 😃, Thank you for reading it to the end and I hope you understand it💖💖</h2>
<p><img src="https://c.tenor.com/BHEkb1EYsaMAAAAM/aplausos-clapped.gif" /></p>
<h2 id="feedback">✔️Feedback</h2>
<h3 id="please-write-your-feedback-whether-its-good-or-not">Please write your feedback whether its good or not😃</h3>
<p><br /></p>
<h2 id="sources">ℹ️Sources:</h2>
<ul>
<li>https://www.linkedin.com/posts/badr-mohamed-b7b4a4186_sql-databases-databasedevelopment-activity-6847553370706726912-UGhQ</li>
</ul>
<ul>
<li>https://www.gangboard.com/blog/what-database-does-facebook-use</li>
</ul>
<ul>
<li>https://www.jobsity.com/blog/5-reasons-why-mysql-is-still-the-go-to-database-management-system</li>
</ul>
]]></content:encoded></item></channel></rss>