<?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" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Adegbite Ayoade Abel on Medium]]></title>
        <description><![CDATA[Stories by Adegbite Ayoade Abel on Medium]]></description>
        <link>https://medium.com/@tripleaceme?source=rss-4fcb95bbaae0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*S2-YYUH4HeSSnHjLWfG5Ag.jpeg</url>
            <title>Stories by Adegbite Ayoade Abel on Medium</title>
            <link>https://medium.com/@tripleaceme?source=rss-4fcb95bbaae0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 16:12:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tripleaceme/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Why Businesses Have Multiple Branches: Understanding AWS Regions & Availability Zones]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://tripleaceme.medium.com/why-businesses-have-multiple-branches-understanding-aws-regions-availability-zones-26b6c2d04ed0?source=rss-4fcb95bbaae0------2"><img src="https://cdn-images-1.medium.com/max/1482/1*iRJZUZNXjvCRLnt0LaHJHw.png" width="1482"></a></p><p class="medium-feed-snippet">Learn how AWS uses distributed infrastructure to improve performance, resilience, and availability.</p><p class="medium-feed-link"><a href="https://tripleaceme.medium.com/why-businesses-have-multiple-branches-understanding-aws-regions-availability-zones-26b6c2d04ed0?source=rss-4fcb95bbaae0------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://tripleaceme.medium.com/why-businesses-have-multiple-branches-understanding-aws-regions-availability-zones-26b6c2d04ed0?source=rss-4fcb95bbaae0------2</link>
            <guid isPermaLink="false">https://medium.com/p/26b6c2d04ed0</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[growth-hacking]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Adegbite Ayoade Abel]]></dc:creator>
            <pubDate>Sun, 02 Aug 2026 21:28:33 GMT</pubDate>
            <atom:updated>2026-08-02T21:28:33.311Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How Your House Already Uses AWS IAM]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://tripleaceme.medium.com/how-your-house-already-uses-aws-iam-c185c518dbce?source=rss-4fcb95bbaae0------2"><img src="https://cdn-images-1.medium.com/max/1511/1*yRnIrEKx-QzBJAGbUJrYlA.png" width="1511"></a></p><p class="medium-feed-snippet">Confused by AWS IAM? Discover how your house already uses the same security principles and learn how AWS applies them in the cloud.</p><p class="medium-feed-link"><a href="https://tripleaceme.medium.com/how-your-house-already-uses-aws-iam-c185c518dbce?source=rss-4fcb95bbaae0------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://tripleaceme.medium.com/how-your-house-already-uses-aws-iam-c185c518dbce?source=rss-4fcb95bbaae0------2</link>
            <guid isPermaLink="false">https://medium.com/p/c185c518dbce</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Adegbite Ayoade Abel]]></dc:creator>
            <pubDate>Thu, 30 Jul 2026 23:18:59 GMT</pubDate>
            <atom:updated>2026-07-30T23:22:03.081Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Building an AI-Powered Self-Serve Analytics Platform: Part 1]]></title>
            <link>https://tripleaceme.medium.com/building-an-ai-powered-self-serve-analytics-platform-part-1-eaa3558f78c1?source=rss-4fcb95bbaae0------2</link>
            <guid isPermaLink="false">https://medium.com/p/eaa3558f78c1</guid>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[dashboard]]></category>
            <dc:creator><![CDATA[Adegbite Ayoade Abel]]></dc:creator>
            <pubDate>Sun, 23 Mar 2025 16:02:30 GMT</pubDate>
            <atom:updated>2025-03-23T16:02:30.635Z</atom:updated>
            <content:encoded><![CDATA[<p>Say goodbye to complex queries and hello to effortless insights.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/0*qgCBsIPcCJSiuUcV.jpeg" /></figure><p>As a data professional, one of the biggest challenges is managing multiple stakeholder requests simultaneously. It’s even worse as a one-person data team, the workload can quickly become overwhelming when different departments need insights at the same time.</p><p>Instead of manually handling every request, why not empower stakeholders to instantly get the answers they need? This is where <strong>AI-powered self-serve analytics</strong> comes in. Allowing users to query data in natural language and receive immediate responses makes decision-making faster and more efficient without bottlenecking the data team.</p><p>In the second part of this two-part series, I’ll introduce you to <a href="https://youtu.be/1VD0OExV8X0"><strong>Brainni</strong></a>, an <strong>AI-powered self-serve analytics platform. </strong>I&#39;ll also explore the technologies behind it and how they seamlessly integrate into a fully functional product. But first, let’s explore the concept of self-serve analytics, a growing trend in the <a href="https://solutionsreview.com/business-intelligence/the-best-self-service-analytics-tools-and-software/"><strong>BI market.</strong></a></p><h3>What is Self-Serve Analytics?</h3><p>Self-serve analytics enables non-technical users to retrieve insights from data without relying on a data team. Rather than submitting requests and waiting for analysts to process them, users can simply ask questions in plain English and receive structured responses, such as tables or charts, instantly.</p><p>This approach democratizes data access, ensuring that business teams can make <strong>faster, data-driven decisions</strong> without the need for SQL or technical expertise.</p><h3>Why Build a Self-Serve Analytics Platform?</h3><ol><li><strong>Eliminates Data Team Bottlenecks</strong>: Reduces the number of ad hoc requests, allowing data teams to focus on more complex tasks.</li><li><strong>Faster Decision-Making: </strong>Stakeholders get immediate insights instead of waiting for reports.</li><li><strong>Improves Data Accessibility: </strong>Even non-technical users can extract insights independently.</li><li><strong>Scalable Solution: </strong>Serves multiple departments without requiring a larger data team.</li><li><strong>Cost-Effective: </strong>Reduces manual reporting efforts and improves efficiency.</li></ol><h3>General Considerations for Building a Self-Serve Analytics Platform</h3><p>Developing an effective self-serve analytics platform involves thoughtful planning and implementation. Here are key factors to consider:</p><h4>1. Understanding User Needs</h4><ul><li>Identify the typical questions and insights users seek from the data.</li><li>Collaborate with stakeholders to understand their decision-making processes.</li><li>Ensure the platform supports both simple and complex queries.</li></ul><h4>2. Selecting a Query Engine</h4><ul><li>Choose a reliable and scalable backend for data processing (e.g., MySQL, PostgreSQL, or Snowflake).</li><li>Ensure the engine can handle large datasets efficiently.</li><li>Optimize query performance to minimize response times.</li></ul><h4>3. Implementing AI for Query Processing</h4><ul><li>Integrate AI to interpret natural language queries and convert them into executable SQL or equivalent queries.</li><li>Provide users with intelligent suggestions and error corrections.</li><li>Continuously train the AI to improve accuracy based on user interactions.</li></ul><h4>4. Designing a User-Friendly Interface</h4><ul><li>Create a clean and intuitive web or mobile app.</li><li>Provide search bars, dropdown filters, and interactive visualizations.</li><li>Offer guided query-building options for non-technical users.</li></ul><h4>5. Ensuring Data Security</h4><ul><li>Implement strict authentication and authorization controls.</li><li>Apply role-based access management to protect sensitive data.</li><li>Maintain compliance with data protection regulations like GDPR or CCPA.</li></ul><h4>6. Adding Logging and Monitoring</h4><ul><li>Track user queries, system performance, and error logs for continuous improvement.</li><li>Analyze query patterns to identify frequently accessed data and optimize performance.</li><li>Provide administrators with dashboards for real-time monitoring.</li></ul><h4>7. Providing Export and Reporting Features</h4><ul><li>Enable users to download results in formats like CSV, Excel, or PDF.</li><li>Offer automated reporting and scheduled exports for recurring data needs.</li><li>Provide integration with external BI tools for further analysis.</li></ul><p>All of those points are worth considering, but don’t overthink it. Start with an MVP and refine it as you go.</p><p>That said, let’s dive into the components of <a href="https://youtu.be/1VD0OExV8X0"><strong>Brainni</strong></a>.</p><h3>So, What’s Brainni All About?</h3><p>Brainni is an AI-driven analytics platform designed to empower users with <strong>self-service data analysis</strong>, eliminating the need for technical expertise.</p><p>It enables businesses and individuals to <strong>extract insights, track queries, and explore data efficiently</strong>.</p><h3><strong>Check Out What Brainni Can Do</strong></h3><ol><li><strong>Natural Language Querying</strong><br> Brainni lets users ask questions in plain English and instantly translates them into actionable data queries. No SQL or coding knowledge is needed — just type and get insights.</li><li><strong>Query Logging &amp; Tracking</strong><br> Brainni keeps a history of all user queries for easy reference and further analysis. It helps users track trends, refine searches, and understand data patterns over time.</li><li><strong>AI-Driven Data Interpretation</strong><br> With AI-powered insights, Brainni automatically detects trends, anomalies, and key patterns. It also provides contextual explanations to support data-driven decisions.</li><li><strong>CSV Download &amp; Data Exploration</strong><br> Users can download analyzed datasets in CSV format for further exploration. This enables offline analysis, integration with other tools, and detailed reporting.</li><li><strong>Secure User Authentication</strong><br> Brainni ensures that only authorized users can access data using strong security protocols to protect sensitive information.</li></ol><p>You can <a href="https://www.youtube.com/watch?v=1VD0OExV8X0"><strong>see the Demo Here</strong></a></p><p>Stay tuned for the second part of this series, where I’ll walk you through how to build Brainni from scratch.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eaa3558f78c1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Your Thought Process Matters More Than the Solution During Interviews]]></title>
            <link>https://tripleaceme.medium.com/why-your-thought-process-matters-more-than-the-solution-during-interviews-11b8dd57fcea?source=rss-4fcb95bbaae0------2</link>
            <guid isPermaLink="false">https://medium.com/p/11b8dd57fcea</guid>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[mistakes]]></category>
            <category><![CDATA[jobs]]></category>
            <category><![CDATA[thoughts]]></category>
            <category><![CDATA[analytics]]></category>
            <dc:creator><![CDATA[Adegbite Ayoade Abel]]></dc:creator>
            <pubDate>Wed, 05 Mar 2025 21:26:41 GMT</pubDate>
            <atom:updated>2025-03-10T19:03:54.321Z</atom:updated>
            <content:encoded><![CDATA[<p>One of the candidates&#39; (myself included) biggest mistakes during interviews is focusing solely on the solution without explaining how they arrived at it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Lw8-Zgj8h4kp5Bez" /><figcaption>Photo by <a href="https://unsplash.com/@linkedinsalesnavigator?utm_source=medium&amp;utm_medium=referral">LinkedIn Sales Solutions</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>I recently watched a session from <a href="https://www.youtube.com/redirect?event=channel_header&amp;redir_token=QUFFLUhqbEpOcllrcU9EMXRFdVQ3RHJmZlVWOWxOYXROd3xBQ3Jtc0ttbVhlak4yWHNTYTRwT3J5Q25NRGtqS0x1em14YmV3YzdoRmxtZ3JXV3pLYjdnbGp5cTVOUm5FaTJVc3p3MWdNang2M3JPVVdPOUhfaGM0RkVibHFXc0xZVm9KOVptOWczZ2t1U0o3eDdLR3JKOTZ0WQ&amp;q=mavenanalytics.io">Maven Analytics</a> featuring Maddison Scott on <a href="https://youtu.be/L-Gt8IRoXe4?si=K2vSaokhNGuWTzKJ"><em>How to Land Your First Analytics Engineering Role</em></a>, and this was one of my key takeaways.</p><p>A lot of times, interviewers aren’t just evaluating whether you can solve a problem — they’re assessing <em>how</em> you approach it. Your ability to break down a problem, consider different approaches, and make trade-offs is what sets you apart.</p><p>I started interviewing for Analytics Engineering roles this year, and from my most recent experience, here’s what I realized.</p><h3>Why the Thought Process Matters</h3><ol><li><strong>Problem-Solving Mindset:</strong> Analytics engineers work with complex data problems. Interviewers want to see <em>how</em> you think, not just whether you can get the right answer.</li><li><strong>Debugging and Optimization:</strong> Real-world data problems don’t have perfect solutions. If you hit an issue in production, your debugging approach matters more than your ability to recall a syntax fix.</li><li><strong>Scalability and Trade-Offs:</strong> The best solution isn’t always the most obvious one. If you can articulate why you chose a certain approach over another (e.g., performance vs. maintainability), you show depth in your thinking.</li><li><strong>Communication Skills:</strong> A great analytics engineer must be able to explain their work to a range of stakeholders, whether it’s analysts, data scientists, or business teams. The interview is the perfect opportunity to showcase this skill. While you might enjoy discussing technical details with a CTO or Team Lead, it’s just as important to break things down clearly for non-technical stakeholders</li></ol><h3>How to Demonstrate Your Thought Process in an Interview</h3><ol><li><strong>Start with Clarification:</strong> Restate the problem to ensure you understand it correctly. Ask questions if needed.</li><li><strong>Outline Your Approach:</strong> Before writing code, explain how you’d tackle the problem. What data modeling technique will you use? What trade-offs are you considering?</li><li><strong>Think Aloud While Coding:</strong> As you write queries or scripts, explain why you’re structuring them a certain way. Mention performance considerations, indexing, or data quality issues.</li><li><strong>Highlight Constraints and Edge Cases:</strong> Show that you’re thinking beyond the happy path. What happens if the data is incomplete? How does your solution scale?</li><li><strong>Summarize Your Solution:</strong> Before moving on, recap your approach and mention possible improvements.</li></ol><h3>Case Study: SQL Performance Optimization</h3><p>One of the questions I get asked a lot is to optimize a slow SQL query that joins multiple tables to get customer order history.</p><blockquote>❌ <strong>Bad Response:</strong></blockquote><blockquote>I rewrote the query using a CTE and added an index on the <strong>customer_id</strong> column.</blockquote><p>This has mostly been my approach, but I’ve noticed that after explaining my solution, the conversation sometimes ends without further feedback. As my friend <a href="https://www.linkedin.com/in/abdulquadri-ayodeji/overlay/about-this-profile/"><strong>Abdulquadri</strong></a> would say, “Explain your thought process in detail—don’t hold back.”</p><p>✅ <strong>Great Response:</strong><br>First, I checked the execution plan to identify the bottleneck. I noticed that the join between <strong>orders</strong> and <strong>customers </strong>was performing a full table scan.</p><blockquote>To improve performance, I considered using indexes, partitioning, or even denormalizing some data. I chose to create an index on <strong>customer_id </strong>because it reduced scan time by 80%.</blockquote><blockquote>I also replaced a subquery with a CTE to make the query more readable and avoid redundant calculations. If this were a high-traffic query, I’d also explore materialized views or caching to further optimize it.</blockquote><p>See the difference?</p><p>Now, I make sure to go deeper by walking through my reasoning step by step, highlighting trade-offs, and inviting the interviewer to engage by asking if they’d like me to expand on any part.</p><p>Another question: A data analyst reports discrepancies on the dashboard. How would you ensure this doesn’t happen again?</p><blockquote>❌ <strong>Bad Response:</strong></blockquote><blockquote>I’ll monitor the pipeline more closely.</blockquote><p>Notice how brief the response is, even though it covers the necessary action.</p><blockquote>✅ <strong>Great Response:</strong><br>To prevent similar issues, I’d implement automated data validation at different stages. I’d add dbt tests to catch missing or incorrect joins, set up alerts in Airflow to flag incomplete data loads, and use OpenMetadata to track data lineage. Additionally, I’d document assumptions about data transformations so future analysts can understand how the numbers are generated. This way, instead of just fixing errors reactively, we proactively reduce the chances of discrepancies happening again.</blockquote><p>So whether you’re applying for an analytics engineering role or any data-related position, don’t just focus on the <strong><em>what,</em></strong><em> </em>explain the <strong><em>why</em> and <em>how</em>.</strong> The best candidates stand out not because they get the perfect answer, but because they showcase how they think through problems.</p><p>If you’ve ever been in an interview where your approach made a difference, I’d love to hear about it! How do you articulate your thought process in technical interviews?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=11b8dd57fcea" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Data-Driven Culture: More Than Just Collecting Data]]></title>
            <link>https://tripleaceme.medium.com/building-a-data-driven-culture-more-than-just-collecting-data-d5e5c3ef6bdc?source=rss-4fcb95bbaae0------2</link>
            <guid isPermaLink="false">https://medium.com/p/d5e5c3ef6bdc</guid>
            <category><![CDATA[strategy]]></category>
            <category><![CDATA[company]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[culture]]></category>
            <category><![CDATA[data-driven]]></category>
            <dc:creator><![CDATA[Adegbite Ayoade Abel]]></dc:creator>
            <pubDate>Tue, 11 Feb 2025 10:11:18 GMT</pubDate>
            <atom:updated>2025-02-11T12:34:05.754Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IcSrOVAsKcXpONOmXnTh4Q.jpeg" /><figcaption>Generated by ChatGPT</figcaption></figure><p>In today’s digital world, simply having data isn’t enough. A truly <strong>data-driven organization</strong> is one where data isn’t just collected, it’s woven into the company’s culture, decision-making, and daily operations. But how does an organization truly become data-driven?</p><h3>The Role of Culture in Data-Driven Organizations</h3><p>A company doesn’t become data-driven overnight. It requires cultural adoption, and this can happen in two ways:</p><ol><li><strong>Top-Down Approach:</strong> Leadership drives the data-first mindset, influencing managers and employees. While effective, this approach can be slow and met with resistance.</li><li><strong>Bottom-Up Approach:</strong> Employees and mid-level managers integrate data-driven thinking into their work, influencing leadership. This approach often leads to faster adoption and innovation.</li></ol><p>Ultimately, from <strong>colleagues to team leads to executives and stakeholders</strong>, data must be embraced at every level for true transformation.</p><h3>Collecting Data is Just Step One</h3><p>Gathering the right data is critical, but <strong>data alone doesn’t make an organization data-driven</strong>. To be useful, data must be:</p><ul><li><strong>Accessible:</strong> Easy to find and retrieve.</li><li><strong>Queryable: </strong>Structured in a way that allows for meaningful searches.</li><li><strong>Shareable: </strong>Available to the right teams.</li><li><strong>Joinable: </strong>Connected with other datasets to provide richer insights.</li></ul><h3>Beyond Reporting: The Power of Analysis</h3><p>Having well-organized data enables reporting, which is essential but limited. <strong>Reporting tells a story of what happened, but not why it happened.</strong> That’s where analysis comes in.</p><h3>The Role of Reporting</h3><p>Reporting is <strong>descriptive, </strong>it organizes data into summaries to track performance. It’s useful for:</p><ul><li>Monitoring KPIs and trends.</li><li>Establishing baselines for comparison.</li><li>Identifying unusual patterns or anomalies.</li></ul><p>For example:<br><em>“Our YouTube channel gained 575 new subscribers on January 6th at 10:03 a.m.” which is beyond our usual daily subscribers</em></p><p>That’s useful information but it doesn’t explain <strong>why</strong> this happened.</p><h3>The Role of Analysis</h3><p>Analysis is <strong>prescriptive, </strong>it digs deeper into the data to understand causes and make recommendations.</p><p>For example:<br><em>“The spike in YouTube subscribers happened because our company was mentioned by a TikTok user and a retweet from an X user. if we want to replicate this success, we should seek similar media exposure.”</em></p><p>While <strong>reporting describes the past, analysis helps shape the future</strong> by providing insights for better decision-making. Both are needed to move forward. Analysis can help replicate good things that reporting showed and help mitigate bad things reporting flagged.</p><h3>Why Alerting Matters</h3><p>Another key element of a data-driven approach is <strong>alerting, </strong>automated notifications that flag anomalies. Alerting helps businesses quickly detect:</p><ul><li>Unusual activity within a business unit.</li><li>Spikes or drops in performance.</li><li>Critical issues before they escalate.</li></ul><p>As John Gardner once said:<br><em>“As organizations grow larger and more complex, people at the top depend less on firsthand experience, and more on heavily processed data.”</em></p><h3>Moving Forward: Building a Data-First Strategy</h3><blockquote>It’s always exciting when stakeholders talk about AI initiatives until you take a closer look at their data landscape. More often than not, the enthusiasm for AI far outweighs the actual readiness to support it.</blockquote><blockquote>The harsh reality is that many companies don’t even have the data foundation to drive meaningful analytics, let alone AI but they want to jump to cutting-edge AI applications without addressing fundamental questions like:</blockquote><blockquote>• Do we even have enough data to train reliable models? <br>• Is our data accurate, consistent, and accessible? <br>• Are our governance and security frameworks in place? <br>• Do we have a well-defined data strategy to support AI adoption?</blockquote><blockquote>I started reading “Creating a Data Driven Organization by Carl Anderson” and one of the key things that stood out for me in my own words from the few chapters I’ve read is that “Without a strong data foundation, AI is just another buzzword in the boardroom.”</blockquote><blockquote>It’s like trying to build a skyscraper on quicksand 😂😂😂😂, its doomed from the start. Then refining what <a href="https://www.linkedin.com/in/opeyemifabiyi/">Opeyemi Fabiyi</a> said in my word, <strong>Before AI, fix your data</strong></blockquote><p>My response to Opeyemi Fabiyi&#39;s LinkedIn <a href="https://www.linkedin.com/posts/opeyemifabiyi_monday-data-recap-4-activity-7294658573706366976-19Y7?utm_source=share&amp;utm_medium=member_desktop"><strong>post</strong></a>. Becoming a data-driven organization means <strong>moving beyond surface-level insights</strong> and embracing data in decision-making. It requires asking the right questions:</p><ul><li>Should we roll out a new feature without A/B testing?</li><li>How do we measure user acceptance?</li><li>Do we have enough active users for meaningful analysis?</li></ul><p>A true <strong>data-driven organization</strong> does more than look at past performance, it proactively <strong>uses data to shape the future</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5e5c3ef6bdc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Single-Cloud vs. Multi-Cloud: Choosing the Right Approach]]></title>
            <link>https://tripleaceme.medium.com/single-cloud-vs-multi-cloud-choosing-the-right-approach-d22daff364c3?source=rss-4fcb95bbaae0------2</link>
            <guid isPermaLink="false">https://medium.com/p/d22daff364c3</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[storage]]></category>
            <dc:creator><![CDATA[Adegbite Ayoade Abel]]></dc:creator>
            <pubDate>Wed, 05 Feb 2025 09:02:20 GMT</pubDate>
            <atom:updated>2025-02-05T09:02:20.095Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*uNo9Svig_PaIB4NH.png" /><figcaption><a href="https://www.ascendcloudsolutions.com/cloud-migration-jokes-and-memes-to-help-you-find-your-silver-lining">Cloud migration jokes and memes</a></figcaption></figure><p>As organizations move their infrastructure and applications to the cloud, one key decision they face is whether to adopt a <strong>single-cloud</strong> or a <strong>multi-cloud</strong> strategy. Each approach has its benefits and trade-offs, and choosing the right one depends on factors like cost, reliability, scalability, and business needs.</p><h3>The Big Three Cloud Providers</h3><p>The cloud computing market is dominated by three major providers:</p><ol><li><strong>Amazon Web Services (AWS): </strong>The market leader, offering a vast range of services with global availability.</li><li><strong>Microsoft Azure:</strong> A strong competitor, especially favored by enterprises already using Microsoft products.</li><li><strong>Google Cloud: </strong>Known for its data analytics and machine learning capabilities.</li></ol><p>Each of these providers offers similar core services, but with unique features and pricing models:</p><ul><li><strong>File Storage</strong>: AWS S3, Azure Blob Storage, Google Cloud Storage</li><li><strong>Computation</strong>: AWS EC2, Azure Virtual Machines, Google Compute Engine</li><li><strong>Databases</strong>: AWS RDS, Azure SQL Database, Google Cloud SQL</li></ul><h3>What Is a Single-Cloud Approach?</h3><p>A <strong>single-cloud approach</strong> means relying on one cloud provider such as AWS, Google Cloud, or Microsoft Azure for all your infrastructure, storage, and computing needs.</p><h3>Advantages of a Single-Cloud Approach</h3><p>✅ <strong>Simplified Management: </strong>Using a single provider makes it easier to manage services, monitor usage, and optimize resources without worrying about compatibility between multiple platforms.</p><p>✅ <strong>Better Integration: </strong>Cloud providers offer seamless integration across their ecosystem. For example, AWS Lambda, Amazon S3, and AWS RDS work effortlessly together.</p><p>✅ <strong>Cost Savings</strong>: Cloud vendors often offer discounts for committing to long-term contracts or bulk usage, which can help reduce expenses.</p><p>✅ <strong>Stronger Security and Compliance:</strong> Managing security policies and compliance requirements is easier when all resources are in one cloud environment.</p><h3>Challenges of a Single-Cloud Approach</h3><p>⚠️ <strong>Vendor Lock-In:</strong> Relying on one provider can make it difficult and costly to migrate to another platform if needed.</p><p>⚠️ <strong>Risk of Downtime:</strong> If your provider experiences an outage, your entire infrastructure could be affected.</p><p>⚠️ <strong>Limited Flexibility: </strong>You are restricted to the services and pricing model of a single vendor, which may not always be the best fit for your needs.</p><h3>What Is a Multi-Cloud Approach?</h3><p>A <strong>multi-cloud approach</strong> means using multiple cloud providers to host different parts of your infrastructure. For example, a company might run its data analytics on Google Cloud, store backups on AWS, and use Microsoft Azure for machine learning.</p><h3>Advantages of a Multi-Cloud Approach</h3><p>✅ <strong>Avoiding Vendor Lock-In: </strong>With multiple cloud providers, you’re not dependent on a single vendor’s pricing, policies, or service limitations.</p><p>✅ <strong>Improved Reliability and Redundancy: </strong>If one provider experiences downtime, you can shift workloads to another provider to maintain uptime.</p><p>✅ <strong>Optimized Performance and Cost</strong>: Different providers offer different pricing models and performance capabilities, allowing you to choose the best provider for specific workloads.</p><p>✅ <strong>Compliance and Geographical Flexibility:</strong> Some organizations need to comply with regulations that require data to be stored in specific regions, and a multi-cloud approach can help meet those requirements.</p><h3>Challenges of a Multi-Cloud Approach</h3><p>⚠️ <strong>Increased Complexity</strong>: Managing multiple cloud providers requires additional monitoring, security policies, and expertise.</p><p>⚠️ <strong>Higher Operational Costs: </strong>While using multiple clouds can optimize spending, it can also increase operational overhead due to data transfer fees and integration challenges.</p><p>⚠️ <strong>Security Risks:</strong> Each provider has different security policies and tools, making it harder to maintain a unified security strategy.</p><h3>Which Approach Should You Choose?</h3><p>The decision between <strong>single-cloud</strong> and <strong>multi-cloud</strong> depends on your organization’s priorities:</p><ul><li><strong>Go Single-Cloud If:</strong><br>✅ You want a <strong>simplified and cost-effective</strong> cloud management experience.<br>✅ Your applications integrate well with a single provider’s services.<br>✅ You’re willing to accept vendor lock-in for better pricing and support.</li><li><strong>Go Multi-Cloud If:</strong><br>✅ You need <strong>high availability</strong> and disaster recovery.<br>✅ You want to avoid reliance on a single provider.<br>✅ You have compliance requirements that require storing data across different regions or providers.</li></ul><p>While single-cloud offers simplicity and cost savings, multi-cloud provides flexibility and resilience. Organizations must weigh these factors carefully to build a cloud strategy that aligns with their long-term objectives</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d22daff364c3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Parallel Computing Simplified]]></title>
            <link>https://tripleaceme.medium.com/parallel-computing-simplified-6128f8c898c7?source=rss-4fcb95bbaae0------2</link>
            <guid isPermaLink="false">https://medium.com/p/6128f8c898c7</guid>
            <category><![CDATA[modern]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[pipeline]]></category>
            <category><![CDATA[computing]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Adegbite Ayoade Abel]]></dc:creator>
            <pubDate>Tue, 04 Feb 2025 18:35:25 GMT</pubDate>
            <atom:updated>2025-02-04T18:35:25.660Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/694/1*GUnQ3lnlVFML504jMGfKcQ.png" /></figure><p>Parallel computing is at the heart of modern data processing, allowing large-scale tasks to be completed efficiently. It optimizes memory usage and enhances processing power by breaking tasks into smaller subtasks and distributing them across multiple computers that work simultaneously.</p><h3>An Everyday Analogy</h3><p>Imagine<a href="https://behindthedata.substack.com/"><strong><em> Behind the Data</em></strong></a><strong><em> Merchandise</em></strong> just received an order for 1,000 branded hoodies, and they all need to be neatly folded and packed for delivery. If only one employee is folding, it would take a long time to complete the task.</p><p>Now, suppose the senior warehouse assistant can fold 100 hoodies in 15 minutes, while junior assistants take 30 minutes to fold the same amount. If only one person could work at a time, you’d obviously choose the fastest employee.</p><p>However, if you divide the workload, giving 250 hoodies to four junior assistants to work in parallel, they will finish in <strong>1 hour and 15 minutes</strong>. Meanwhile, if the senior assistant had done it alone, it would have taken <strong>2 hours and 30 minutes</strong>. By distributing the work, the task is completed much faster.</p><h3>The Benefits and Trade-Offs of Parallel Computing</h3><p>Just like in the hoodie-folding example, parallel computing has two key benefits:</p><ol><li><strong>Increased Processing Power</strong>: Splitting tasks across multiple processors allows them to finish much faster than a single processor working alone.</li><li><strong>Efficient Memory Usage: </strong>Instead of loading an entire dataset into one computer’s memory, data can be divided into smaller chunks and processed separately, reducing the strain on any single machine.</li></ol><p>However, there are trade-offs. In the hoodie-folding example, splitting the batch into four piles might take <strong>10 minutes</strong>, and collecting the folded hoodies might take another <strong>5 minutes</strong>. This extra coordination time means the total task takes <strong>1 hour and 30 minutes</strong> instead of <strong>1 hour and 15 minutes</strong>. Similarly, in computing, breaking a task into smaller subtasks and merging the results requires communication between processing units, which adds some overhead. If the gains from parallel processing are small, the extra effort may not be worth it.</p><h3>When Should You Consider Parallel Computing?</h3><p>Parallel computing is not always necessary. Here are some cases where it makes sense to use it:</p><ul><li><strong>Processing Large Datasets:</strong> If your task involves huge amounts of data that would overwhelm a single computer’s memory, parallel computing helps distribute the load.</li><li><strong>Speeding Up Complex Calculations:</strong> If a task takes too long to run on one machine, breaking it into parts can significantly reduce execution time.</li><li><strong>Handling Real-Time Data Processing:</strong> In applications like financial transactions, fraud detection, or video processing, parallel computing ensures quick responses.</li><li><strong>Scaling Workloads in Cloud Computing:</strong> Cloud-based services rely on parallel computing to distribute workloads efficiently across multiple servers.</li></ul><p>On the other hand, if your task is small and the cost of splitting and coordinating the work outweighs the performance gain, it might be better to run it on a single machine.</p><p>Parallel computing is a powerful approach to handling large-scale processing tasks, but it requires careful planning. Understanding when and how to apply it ensures that you maximize efficiency while minimizing unnecessary overhead. Whether you’re managing a warehouse or optimizing data workflows, the key is finding the right balance between speed, cost, and complexity.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6128f8c898c7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Choosing the Right Table Type in Snowflake: A Cost Optimization, Time Travel, and Fail-Safe…]]></title>
            <link>https://tripleaceme.medium.com/choosing-the-right-table-type-in-snowflake-a-cost-optimization-time-travel-and-fail-safe-e89ad30b35b2?source=rss-4fcb95bbaae0------2</link>
            <guid isPermaLink="false">https://medium.com/p/e89ad30b35b2</guid>
            <category><![CDATA[visualization]]></category>
            <category><![CDATA[retention]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[analysis]]></category>
            <category><![CDATA[engineering]]></category>
            <dc:creator><![CDATA[Adegbite Ayoade Abel]]></dc:creator>
            <pubDate>Tue, 14 Jan 2025 09:02:16 GMT</pubDate>
            <atom:updated>2025-01-14T09:02:16.041Z</atom:updated>
            <content:encoded><![CDATA[<h3>Choosing the Right Table Type in Snowflake: A Cost Optimization, Time Travel, and Fail-Safe Perspective</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gWjtr_vKtGfptoAHV7pkhg.png" /><figcaption>Table Types in Snowflake Data Warehouse</figcaption></figure><p>When setting up tables in Snowflake, understanding how features like <strong>Cost Optimization</strong>, <strong>Time Travel</strong>, and <strong>Fail-Safe</strong> tie into table types is critical. This guide will help you make informed decisions about the table type that best fits your use case while balancing functionality, cost, and recovery options.</p><h3>Table Types and Their Impact</h3><h4>1. Permanent Tables</h4><ul><li><strong>Time Travel</strong>: Supported for up to 1 day (default) or extended to 90 days for Enterprise editions.</li><li><strong>Fail-Safe</strong>: Provides a 7-day recovery window after the Time Travel period ends.</li><li><strong>Cost Implications</strong>: Higher storage costs due to Time Travel and Fail-Safe retention, but necessary for critical data.</li></ul><p><strong>Best For</strong>:</p><ul><li>Historical data requiring frequent rollbacks or audits.</li><li>Critical business operations where data loss is unacceptable.</li></ul><p><strong>Example:</strong></p><pre>CREATE TABLE critical_sales (<br>    id INT, <br>    amount FLOAT<br>) DATA_RETENTION_TIME_IN_DAYS = 7;</pre><h4>2. Temporary Tables</h4><ul><li><strong>Time Travel</strong>: Not supported.</li><li><strong>Fail-Safe</strong>: Not supported.</li><li><strong>Cost Implications</strong>: Minimal storage cost since data is session-bound and removed automatically.</li></ul><p><strong>Best For</strong>:</p><ul><li>Intermediate computations.</li><li>One-off data transformations or testing.</li></ul><p><strong>Example:</strong></p><pre>CREATE TEMPORARY TABLE temp_data (id INT, value FLOAT);</pre><h4>3. Transient Tables</h4><ul><li><strong>Time Travel</strong>: Supported, but often limited or disabled to save costs.</li><li><strong>Fail-Safe</strong>: Not supported, reducing storage costs.</li><li><strong>Cost Implications</strong>: Cheaper than permanent tables due to no Fail-Safe charges.</li></ul><p><strong>Best For</strong>:</p><ul><li>Non-critical data that can be regenerated.</li><li>Staging environments or temporary storage.</li></ul><p><strong>Example:</strong></p><pre>CREATE TRANSIENT TABLE staging_sales (id INT, amount FLOAT);</pre><h4>4. External Tables</h4><ul><li><strong>Time Travel</strong>: Not supported.</li><li><strong>Fail-Safe</strong>: Not supported.</li><li><strong>Cost Implications</strong>: Lower costs since data resides in external storage like S3, Azure Blob, or GCS.</li></ul><p><strong>Best For</strong>:</p><ul><li>Querying external data without importing it into Snowflake.</li><li>Reducing Snowflake storage costs for infrequently accessed data.</li></ul><p><strong>Example:</strong></p><pre>CREATE EXTERNAL TABLE ext_sales<br>WITH LOCATION = &#39;@external_stage/sales/&#39;<br>FILE_FORMAT = (TYPE = &#39;CSV&#39;);</pre><h3>Cost Optimization Through Table Types</h3><p>When choosing a table type, consider these cost-saving strategies:</p><ul><li><strong>Transient Tables</strong>: Eliminate Fail-Safe costs for non-critical data.</li><li><strong>Minimize Retention Periods</strong>: Reduce the DATA_RETENTION_TIME_IN_DAYS for permanent tables to lower storage costs.</li><li><strong>Use External Tables</strong>: Store rarely accessed data externally to avoid Snowflake storage charges.</li><li><strong>Temporary Tables</strong>: Avoid long-term storage costs for ephemeral data.</li></ul><h3>Time Travel and Fail-Safe in Table Selection</h3><ol><li><strong>For Critical Data</strong>:<br>Use <strong>Permanent Tables</strong> to leverage both Time Travel and Fail-Safe for robust recovery options. e.g. Financial transactions or regulatory reporting</li><li><strong>For Non-Critical or Staging Data</strong>:<br>Opt for <strong>Transient Tables</strong> where Fail-Safe is unnecessary. e.g. Temporary log aggregation or staging pipelines.</li></ol><p><strong>3. For Short-Lived or Disposable Data</strong>:<br>Choose <strong>Temporary Tables</strong> to minimize costs and avoid retention complexities. e.g. Intermediate transformations during ETL processes.</p><p><strong>4. For External Data</strong>:<br>Select <strong>External Tables</strong> for lightweight, cost-effective querying. e.g. Archival data or external event logs.</p><h3>Decision Table for Table Types</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qgsN2m1cMc3LXiWVQfSDYA.png" /></figure><h3>Conclusion</h3><p>Selecting the right table type in Snowflake depends on balancing functionality, cost, and recovery needs. <strong>Permanent Tables</strong> are best for critical, high-recovery data, while <strong>Transient</strong> and <strong>Temporary Tables</strong> suit short-term or non-critical data.</p><p>For external data, <strong>External Tables</strong> offer cost-effective querying without data duplication.</p><p>By understanding the trade-offs between Time Travel, Fail-Safe, and cost implications, you can make informed choices that align with your data strategy and budget.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e89ad30b35b2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Data Retention for Tables in Snowflake and Best Practices for Cost Optimization]]></title>
            <link>https://tripleaceme.medium.com/understanding-data-retention-for-tables-in-snowflake-and-best-practices-for-cost-optimization-95ad87ab1873?source=rss-4fcb95bbaae0------2</link>
            <guid isPermaLink="false">https://medium.com/p/95ad87ab1873</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[time]]></category>
            <category><![CDATA[optimization]]></category>
            <category><![CDATA[cost]]></category>
            <category><![CDATA[snowflake]]></category>
            <dc:creator><![CDATA[Adegbite Ayoade Abel]]></dc:creator>
            <pubDate>Mon, 13 Jan 2025 12:02:03 GMT</pubDate>
            <atom:updated>2025-01-13T12:02:03.222Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xpPo-IAMQqhNnqGj" /><figcaption>Photo by <a href="https://unsplash.com/@bashton?utm_source=medium&amp;utm_medium=referral">Benjamin Ashton</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In Snowflake, <strong>data retention</strong> is a critical concept for managing your data lifecycle effectively. Whether you’re storing data for compliance, historical analysis, or operational purposes, understanding how Snowflake handles data retention can help you optimize costs while ensuring data is available when needed.</p><p>In this post, we’ll explore how <strong>data retention for tables</strong> works in Snowflake, discuss <strong>best practices for setting retention periods</strong>, and provide recommendations for <strong>cost optimization</strong>.</p><h3>What is Data Retention in Snowflake?</h3><p>Data retention in Snowflake refers to how long historical versions of your data are kept after it’s modified, deleted, or dropped. Snowflake provides <strong>Time Travel</strong> and <strong>Fail-safe</strong> features to manage the retention of your data, but both have different use cases and implications for cost and accessibility.</p><h4>Time Travel</h4><p>Time Travel in Snowflake allows you to <strong>access historical versions of your data</strong> (such as a table or a schema) within a defined retention period. This is useful when you need to recover data after accidental modifications or deletions, perform audits, or roll back changes.</p><ul><li><strong>Default Retention Period</strong>: By default, Time Travel is set to <strong>1 day</strong> (24 hours) for newly created tables.</li><li><strong>Maximum Retention Period</strong>: You can configure Time Travel retention periods from <strong>1 to 90 days</strong> based on your needs.</li><li><strong>Types of Operations</strong>: Time Travel enables querying historical data, recovering deleted rows, and even restoring dropped tables, schemas, or databases.</li></ul><h4>Fail-safe</h4><p>Fail-safe is an additional protection mechanism that Snowflake provides to recover data after the Time Travel retention period has expired. However, data in Fail-safe is only accessible by Snowflake support and is typically intended for disaster recovery.</p><ul><li><strong>Retention Period</strong>: Fail-safe retains data for <strong>7 days</strong> after the Time Travel period expires.</li><li><strong>Access</strong>: Unlike Time Travel, data in Fail-safe is not directly accessible to users. You would need to contact Snowflake support to retrieve it.</li></ul><h3>Best Practices for Setting Data Retention Periods</h3><p>Setting the appropriate retention period is crucial for ensuring data availability, regulatory compliance, and <strong>cost efficiency</strong>. Here are some <strong>best practices</strong> to consider when configuring retention for your tables in Snowflake:</p><h4>1. Align Retention Periods with Business Needs</h4><ul><li><strong>Short-term retention</strong> (e.g., <strong>1 to 7 days</strong>) is suitable for most operational use cases where you only need access to recent data or need to recover from accidental changes in a short window of time.</li><li><strong>Long-term retention</strong> (e.g., <strong>30 to 90 days</strong>) is ideal for data that needs to be kept for auditing, compliance, or historical analysis purposes.</li><li><strong>Zero or minimal retention</strong> is appropriate for data that doesn’t require historical tracking and is either ephemeral or frequently refreshed.</li></ul><h4>2. Set Custom Retention Periods for Different Tables</h4><p>Snowflake allows you to configure <strong>different retention periods</strong> for different tables or schemas, depending on the data’s importance and sensitivity.</p><ul><li><strong>Critical Tables</strong>: For mission-critical tables, such as financial records, customer data, or audit logs, a <strong>longer Time Travel retention</strong> period (30 to 90 days) is advisable.</li><li><strong>Non-Critical or Temporary Tables</strong>: For transient data, such as staging tables or intermediate results in ETL pipelines, you can set a <strong>shorter retention period</strong> (e.g., 1 day or 7 days) to reduce costs.</li></ul><h4>3. Automate Data Expiry</h4><p>Use <strong>Snowflake’s automatic data expiry</strong> feature to control the expiration of data stored in tables. You can set the <strong>retention period</strong> for each table individually by specifying the DATA_RETENTION_TIME_IN_DAYS parameter:</p><pre>ALTER TABLE &lt;database_name&gt;.&lt;schema_name&gt;.&lt;table_name&gt; <br>SET DATA_RETENTION_TIME_IN_DAYS = &lt;number_of_days&gt;;</pre><p>This helps you avoid retaining unnecessary data, particularly if you are working with tables that don’t need to be kept for long periods.</p><h3>Cost Optimization Tips for Data Retention</h3><p>While Snowflake offers flexibility in managing data retention, the longer the retention period, the higher the associated storage costs. Here are several <strong>cost optimization strategies</strong> for data retention in Snowflake:</p><h4>1. Reduce Retention for Non-Essential Data</h4><p>If certain tables or schemas do not require historical versions of data, consider <strong>reducing the retention period</strong> or even setting it to <strong>zero</strong> to minimize costs. For instance, if your staging tables or intermediate results don’t need to be kept for more than a few hours or a day, consider using short retention periods.</p><h4>2. Use Manual Data Expiry for Non-Critical Tables</h4><p>For non-critical data, it’s a good practice to <strong>manually expire data</strong> by dropping tables after they’ve served their purpose. This will not only save on storage costs but also improve the efficiency of your Snowflake environment.</p><pre>DROP TABLE &lt;database_name&gt;.&lt;schema_name&gt;.&lt;table_name&gt;;</pre><p>By proactively managing data expiration, you ensure that you’re not paying for unnecessary storage.</p><h4>3. Leverage Snowflake’s Data Sharing</h4><p>For large datasets, instead of copying data into different environments, consider using <strong>Snowflake’s data sharing</strong> feature to allow other departments or business units to access the data without duplicating it. This can significantly reduce the storage footprint and associated costs.</p><h4>4. Archive Data to External Storage</h4><p>For long-term retention of data that is infrequently accessed, you can consider archiving it to <strong>external storage</strong> (like AWS S3, Azure Blob Storage, or Google Cloud Storage). Snowflake’s <strong>External Tables</strong> allow you to query this archived data without having to keep it in Snowflake’s storage.</p><pre>CREATE OR REPLACE EXTERNAL TABLE &lt;table_name&gt; <br>  WITH LOCATION = &#39;s3://path_to_archive_bucket&#39;<br>  FILE_FORMAT = (TYPE = &#39;CSV&#39;);</pre><p>This approach helps in keeping your Snowflake environment lean, focusing on the most active and essential data.</p><h3>Conclusion: Finding the Right Balance</h3><p>Effective <strong>data retention management</strong> is crucial for balancing <strong>data accessibility</strong>, <strong>compliance</strong>, and <strong>cost efficiency</strong>. By carefully configuring retention periods for your tables, leveraging automation, and optimizing storage usage, you can create a Snowflake environment that meets your business needs while minimizing unnecessary costs.</p><h4>Recommended Retention Periods:</h4><ul><li><strong>1–7 days</strong> for operational data or adhoc tables.</li><li><strong>30–90 days</strong> for audit logs, financial data, and other critical data.</li><li><strong>Zero</strong> or <strong>shorter periods</strong> for data that doesn’t require retention (e.g., staging or temporary tables).</li></ul><p>Adopting the best practices for data retention and using optimization strategies can help you maintain a Snowflake environment that is both cost-effective and fully aligned with your data management goals.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=95ad87ab1873" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding the UNDROP Command for Data Retrieval in Snowflake]]></title>
            <link>https://tripleaceme.medium.com/understanding-the-undrop-command-for-data-retrieval-in-snowflake-aeea4417e22e?source=rss-4fcb95bbaae0------2</link>
            <guid isPermaLink="false">https://medium.com/p/aeea4417e22e</guid>
            <category><![CDATA[warehouse]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[pipeline]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[management]]></category>
            <dc:creator><![CDATA[Adegbite Ayoade Abel]]></dc:creator>
            <pubDate>Fri, 10 Jan 2025 11:31:55 GMT</pubDate>
            <atom:updated>2025-01-10T11:31:55.213Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3fVqUlodRPbPuOuz" /><figcaption>Photo by <a href="https://unsplash.com/@vision?utm_source=medium&amp;utm_medium=referral">vision webagency</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In the world of data management, <strong>accidental deletions</strong> can happen for a variety of reasons: user error, unintended queries, or system issues. When this occurs, it’s crucial to have mechanisms in place to restore data quickly and efficiently. Fortunately, Snowflake offers a powerful command called <strong>UNDROP</strong>, which allows you to restore a table that has been dropped, without needing to rely solely on Time Travel.</p><p>In this post, we’ll explore how the UNDROP command works, its application in Snowflake, and its importance in <strong>data retrieval</strong>.</p><h3>What is the UNDROP Command?</h3><p>The UNDROP command is a feature in Snowflake that enables you to <strong>recover a dropped table</strong>. When a table is dropped in Snowflake, it doesn&#39;t immediately get deleted. Instead, Snowflake retains the table’s data in a <strong>soft-delete state</strong> for a retention period. This retention period is determined by your <strong>data retention settings</strong> and can be used to restore the table, even after it has been dropped.</p><p>Once the table has been dropped, you can use the UNDROP command to restore it, including its structure and data, as it existed before the drop operation.</p><h4>Basic Syntax for UNDROP Command</h4><pre>UNDROP TABLE &lt;database_name&gt;.&lt;schema_name&gt;.&lt;table_name&gt;;</pre><p>This command will restore the dropped table to its original state (including the schema and data) without requiring any backup or manual intervention.</p><h3>How Does the UNDROP Command Work?</h3><p>When you drop a table in Snowflake, the data associated with it is not immediately removed from the underlying storage. Instead, it is kept in a “soft-deleted” state, allowing the table to be <strong>restored within a defined retention period</strong>.</p><ul><li>The <strong>retention period</strong> typically defaults to <strong>1 day</strong> (24 hours) but can be extended up to <strong>90 days</strong> depending on the Snowflake account’s settings.</li><li>If you attempt to UNDROP a table after the retention period has passed, the operation will fail because the data is no longer available for recovery.</li></ul><p>Thus, the UNDROP command can only be used to recover tables within this retention period.</p><h3>Why is UNDROP Important for Data Retrieval?</h3><ol><li><strong>Accidental Deletion Recovery</strong>: It acts as a fail-safe against accidental deletions. If you accidentally drop a table, you don’t have to rely on Time Travel or backups to restore it.</li><li><strong>Simplicity and Speed</strong>: The UNDROP command is quick and easy to use, making it a simple method for restoring a table without having to deal with complex processes.</li><li><strong>Reduces Dependency on Backups</strong>: Instead of relying on external backups or Time Travel alone, UNDROP provides a built-in recovery option.</li><li><strong>Complementing Other Recovery Methods</strong>: It works seamlessly with Time Travel, as you can combine both methods to ensure data is fully recovered.</li></ol><h3>When Should You Use UNDROP?</h3><ul><li><strong>When a table is dropped by mistake</strong>: If you accidentally drop a table, UNDROP can quickly restore it, allowing you to continue working without disruption.</li><li><strong>When you need to retrieve an entire table</strong>: If you want to recover the entire structure and data of a table, UNDROP provides a straightforward solution.</li><li><strong>In the context of short-term data loss</strong>: If the table was recently dropped and is within the retention period, UNDROP is the best tool for retrieval.</li></ul><h3>Key Considerations</h3><ul><li><strong>Retention Period</strong>: Remember that the UNDROP command is only effective within the retention period of the dropped table (typically 1 to 90 days). After this period, the data will be purged, and UNDROP will no longer work but can be retrieved using fail-safe (typically 1 to 7 days after the retention period is over) in collaboration with Snowflake staff.</li><li><strong>Can’t Recover Specific Rows</strong>: UNDROP restores the entire table but doesn’t allow you to recover specific rows or partitions. If you need fine-grained recovery, you’ll need to use <strong>Time Travel</strong> or query the <strong>backup data</strong>.</li><li><strong>Restores Tables, Schemas, and Databases</strong>: The UNDROP command is not limited to tables. It can also be used to restore <strong>dropped schemas</strong> and <strong>dropped databases</strong> in Snowflake.</li><li><strong>Full Recovery</strong>: When you use UNDROP on a schema or database, all of the contained objects (such as tables, views, and other structures) are restored as well.</li></ul><h3>Conclusion</h3><p>The UNDROP command is an invaluable tool in Snowflake for restoring accidentally dropped tables. Its simplicity, speed, and effectiveness make it an excellent choice for quick data retrieval, especially when combined with Snowflake’s Time Travel feature for more comprehensive data management strategies.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aeea4417e22e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>