<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: minat-hub</title>
    <description>The latest articles on DEV Community by minat-hub (@minathub).</description>
    <link>https://dev.to/minathub</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F503275%2F2173ea18-b076-4dc8-bfba-39c3da32b75f.jpg</url>
      <title>DEV Community: minat-hub</title>
      <link>https://dev.to/minathub</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/minathub"/>
    <language>en</language>
    <item>
      <title>MySQL vs PostgreSQL: Which is Better for Data Warehouses?</title>
      <dc:creator>minat-hub</dc:creator>
      <pubDate>Thu, 28 Apr 2022 20:44:17 +0000</pubDate>
      <link>https://dev.to/minathub/mysql-vs-postgresql-which-is-better-for-data-warehouses-4jg2</link>
      <guid>https://dev.to/minathub/mysql-vs-postgresql-which-is-better-for-data-warehouses-4jg2</guid>
      <description>&lt;p&gt;Both MySQL and PostgreSQL are open-source, relational database management systems (or databases, for short). They’re commonly used for storing data in web applications, but they can also be used for other kinds of applications, for example, as data warehouses. &lt;/p&gt;

&lt;p&gt;This article will introduce you to the main features of MySQL and PostgreSQL, and help you decide which one is best for your data warehouse. You will also get a look at how both databases handle data and how they’re structured.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Are Data Warehouses?
&lt;/h2&gt;

&lt;p&gt;A data warehouse is a type of data management platform that is intended to aid business intelligence (BI) and analytics activities. Data warehouses are designed solely for querying and analysis, and they frequently store massive volumes of historical data. A data warehouse's data is typically derived from a variety of sources, including application event logs and transaction applications.&lt;/p&gt;

&lt;p&gt;A data warehouse is a system that collects and organizes massive amounts of data from various sources. Its analytical capabilities enable businesses to gain vital business insights from their data, allowing them to make better decisions. It accumulates historical records over time that can be extremely useful to data scientists and industry experts.&lt;/p&gt;

&lt;p&gt;A cloud data warehouse is a data repository that is stored in the cloud, rather than on-premises. This approach offers many advantages: it allows you to scale your data warehouse capacity as your business needs grow, it gives you access to a wide range of data storage and processing services, and it reduces your overall data center footprint. &lt;/p&gt;

&lt;p&gt;However, a cloud data warehouse requires a robust data infrastructure and processes to manage the increased workload and is typically more expensive to scale horizontally than on-premises data warehouses. On the other hand, a cloud data warehouse is a great option if your organization requires immediate access to a large amount of data, or if you want to test the waters with a data warehouse before committing to on-premises infrastructure.&lt;/p&gt;

&lt;h2&gt;
  
  
  MySQL for Data Warehouses
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--K7T6SS-P--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ccfc3q10y4yvcr4xaod8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--K7T6SS-P--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ccfc3q10y4yvcr4xaod8.png" alt="SQL architecture" width="880" height="550"&gt;&lt;/a&gt;&lt;br&gt;
                                   &lt;a href="https://www.stitchdata.com/blog/why-how-to-replicate-mysql-to-data-warehouse/"&gt;Source&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;MySQL is an open-source software, which means anyone can install, use, and tweak it. It also means it is simple to grasp and free. Its source code can be examined and modified to meet specific needs. It also offers support for various data types and character sets. It is particularly good for large databases with high-speed needs. &lt;/p&gt;

&lt;p&gt;MySQL is a widely used open-source database management system. It is not surprising that this database is used for data warehouses. While MySQL is great for creating fast transactional databases, it isn't great for serious analytical work, especially when faced with various data sources. &lt;/p&gt;

&lt;p&gt;If you find yourself in a situation where you need to perform deep analytical tasks involving different data sources, you should consider setting up a data warehouse. &lt;/p&gt;

&lt;h2&gt;
  
  
  PostgreSQL for Data Warehouses
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--teRJpfcL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cjly914oggaadm5q1r87.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--teRJpfcL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cjly914oggaadm5q1r87.png" alt="Postgres architecture" width="634" height="488"&gt;&lt;/a&gt;&lt;br&gt;
            &lt;a href="https://severalnines.com/database-blog/running-data-warehouse-postgresql"&gt;Source&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;PostgreSQL is the most commonly used open-source data warehouse for mission-critical applications. PostgreSQL offers a wide range of features for large-scale data warehousing. These include a relational data model; advanced data analysis capabilities including data masking, window functions, and aggregation framework; and robust built-in replication, clustering, and failover replication. &lt;/p&gt;

&lt;p&gt;In addition to these, PostgreSQL also provides data scaling capabilities (up to thousands of nodes), data security and compliance, support for high availability, disaster recovery, multi-site deployments, and an integrated BI toolset (including reporting and data visualization). &lt;/p&gt;

&lt;p&gt;The most alluring feature of PostgreSQL is that is open source and enjoys wide community support. PostgreSQL is a great choice for building data warehouses because of its comprehensive features.&lt;/p&gt;

&lt;h2&gt;
  
  
  MySQL vs PostgreSQL
&lt;/h2&gt;

&lt;p&gt;When it comes to data warehousing, MySQL and PostgreSQL are two of the most popular open-source databases. Both databases are commonly used for building data warehouses due to their comprehensive feature sets. PostgreSQL, in particular, is a great choice for building data warehouses due to its robust replication and scaling features. On the other hand, MySQL is a great option for organizations that require a robust on-premises data warehouse but don’t need the high availability, scale, and functionality of a PostgreSQL data warehouse.&lt;/p&gt;

&lt;p&gt;Because MySQL does not support subqueries in view definitions, it is effectively useless for BI systems, as data warehouses are commonly thought of as a type of mart. Postgres includes a number of tools and extensions, such as pgAgent and Language Pack, making it an excellent data warehouse solution.&lt;/p&gt;

&lt;p&gt;For very huge OLTP-oriented systems with application-generated lookups and a very properly crafted schema, MySQL outperforms PostgreSQL. This is because InnoDB is very quick and convenient for this type of use case, whereas PostgreSQL's storage garbage collector can cause issues at scale. However, since data warehouses are typically bulk-loaded with relatively infrequent individual record updates, the garbage collector isn't a major issue.&lt;/p&gt;

&lt;p&gt;While PostgreSQL has a much better query optimizer, much better join handling, and much more flexibility in general querying than MySQL, this is a huge asset in an analytics environment such as a data warehouse.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Although MySQL's SQL flavor is very similar to that of most other leading dialects, MySQL still appears to lack some unique features that make analysis easier in Postgres. Postgres, despite being row-oriented, can easily handle analytical queries. It only takes a few adjustments and measurements. Though Postgres is an excellent choice, please remember that, in certain cases, a cloud-based warehouse might be easier to handle and sustain in the long run.&lt;br&gt;
&lt;a href="https://dev.tourl"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>database</category>
      <category>sql</category>
      <category>datascience</category>
      <category>postgres</category>
    </item>
    <item>
      <title>MY HACKTOBERFEST JOURNEY</title>
      <dc:creator>minat-hub</dc:creator>
      <pubDate>Sat, 31 Oct 2020 20:00:54 +0000</pubDate>
      <link>https://dev.to/minathub/my-hacktoberfest-journey-3h0f</link>
      <guid>https://dev.to/minathub/my-hacktoberfest-journey-3h0f</guid>
      <description>&lt;h3&gt;
  
  
  Meet Me
&lt;/h3&gt;

&lt;p&gt;My name is Nike and the reason i joined the DEV community is because the link came with Hacktoberfest email so i don't really know what i am doing here (Kidding... or maybe i am not). I decided to participate in hacktoberfest because i wanted to learn how the whole open source thingy worked. &lt;/p&gt;

&lt;h3&gt;
  
  
  Background
&lt;/h3&gt;

&lt;p&gt;I am completely brand new to open source, i mean at the beginning of October i didn't even know how Github worked. And my coding journey has been like just 3 months old but i can assure you that i have lots of projects under my belt. P.S how many project do i have to do before i get to senior developer level, that Tesla wouldn't buy itself. &lt;/p&gt;

&lt;h3&gt;
  
  
  Progress
&lt;/h3&gt;

&lt;p&gt;My hacktoberfest journey has been kind of a roller coaster. After checking out the first project i wanted to contribute to, i did a lot of rubbish on my laptop for like 2 days then abandoned it for like 2 weeks because i seemed to be doing the opposite of everything i should be doing and i was getting quite frustrated yunno (Based on i can't come and kill myself). But my stubborn nature cannot allow me to leave a project unfinished so i sat down one day and said Nike you cannot miss the chance to get free T-shirt. &lt;/p&gt;

&lt;p&gt;That day, i read all i could on how to create pull requests on github and got started on my open source journey. When you cross that first mile the rest of the journey becomes sweet and exciting. I would then go on to make 6 pull requests in 2 days. Now i am your go-to person for everything git and github. I love coding and building cool stuffs.&lt;/p&gt;

&lt;h3&gt;
  
  
  Contributions
&lt;/h3&gt;

&lt;p&gt;Check out my contributions and projects on my &lt;a href="https://github.com/minat-hub"&gt;github&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Reflections
&lt;/h3&gt;

&lt;p&gt;I would definitely participate in another Hacktoberfest. I learnt a lot of things during this period especially perseverance. I didn't really make any interesting connections during the challenge (Maybe one) but i would love to know you my awesome reader so free free to hit me up. My next step in open source would be to find more projects i can contribute to so if you know any, please send me in the right directions. &lt;/p&gt;

&lt;p&gt;Dear reader, follow me here i will write more articles in the future you will definitely learn from.&lt;/p&gt;

</description>
      <category>hacktoberfest</category>
    </item>
    <item>
      <title>Bienvenue!</title>
      <dc:creator>minat-hub</dc:creator>
      <pubDate>Sat, 31 Oct 2020 19:00:38 +0000</pubDate>
      <link>https://dev.to/minathub/bienvenue-5fbl</link>
      <guid>https://dev.to/minathub/bienvenue-5fbl</guid>
      <description>&lt;p&gt;This is my first post.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
