<?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 Sourav Suman on Medium]]></title>
        <description><![CDATA[Stories by Sourav Suman on Medium]]></description>
        <link>https://medium.com/@souravsuman?source=rss-f367641985c3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*_Em5bQpibQkiwbW6.</url>
            <title>Stories by Sourav Suman on Medium</title>
            <link>https://medium.com/@souravsuman?source=rss-f367641985c3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 07:02:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@souravsuman/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[AWS Regions, AZs and IAM Users]]></title>
            <link>https://medium.com/@souravsuman/aws-regions-azs-and-iam-users-1b06d45327cb?source=rss-f367641985c3------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b06d45327cb</guid>
            <category><![CDATA[availability-zone]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[aws-iam]]></category>
            <category><![CDATA[aws-region]]></category>
            <dc:creator><![CDATA[Sourav Suman]]></dc:creator>
            <pubDate>Sun, 10 Mar 2024 15:57:30 GMT</pubDate>
            <atom:updated>2024-03-10T15:57:30.221Z</atom:updated>
            <content:encoded><![CDATA[<p>While studying the concept of AWS, I came under few jargon words that i pretty much common in AWS Service or cloud computing world. So, i thought of writing some thing on the topics.</p><h3>AWS Regions and Availability Zones (AZs) -</h3><p>It is a physical location around the world. Each Region consists of a minimum of three isolated Availability Zones (AZs) within a geographic area. AWS currently has 69 AZs across its Regions. Not all Regions are created equally.</p><p>Best practices for choosing AWS Regions:-</p><ul><li>Regions are distributed globally, allowing customers to choose the one closest to them for hosting their cloud infrastructure.</li><li>Choose a Region close to your location to minimize network latency for end-users.</li><li>Not all services are available in every Region, some services debut in specific Region before expanding to others.</li><li>Cost and Service level agreements(SLA) can vary by Region.</li></ul><p>These Regions have more services than others in their general areas: -</p><ul><li>Americas: US East (N. Virginia), US West (N. California)</li><li>Asia Pacific: Singapore, Sydney, Tokyo</li><li>EU: Frankfurt, Ireland</li></ul><p>Advantages of offering multiple AZs zone :-</p><ul><li><strong>High Availability</strong> — you can design applications to run in multiple AZs for greater fault tolerance.</li><li><strong>Independent Infrastructure</strong> — Each AZs has its own power, cooling and physical security.</li><li><strong>Ultra-low-latency-networks</strong> — AZs are connected via redundant networks.</li></ul><p>AZs is an isolated location within AWS Region designed to be independent and resilient from failures in other AZs. When you create resources like (EC2 instances or RDS databases), you can choose a specific AZ or let AWS choose one randomly.</p><blockquote>Local Zones is an extension of an AWS Region that is geographically close to your users. It provides low-latency access to specific services and resources. Local Zones are ideal for latency-sensitive workloads.</blockquote><p>Endpoints in AWS are URLs that provide access to AWS services, optimized for regions and, in some cases, for specific AZs to ensure that best possible performance. For example, the Amazon S3 service provides different endpoints for each Region (e.g., s3.us-west-2.amazonaws.com for the US West (Oregon) Region).</p><h3>IAM — Identity and Access Management -</h3><p>We create IAM users to assign specific permission to specific users. Ideally, we would not look for the access of all services to all the users. So we create policy and assign that policy to the groups. The groups will contain users restricting it from accessing services. We can assign policy to users directly. Basically, you create policy name that will have set of AWS services like s3, ec2 etc.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b06d45327cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Oracle Storage Parameters]]></title>
            <link>https://medium.com/@souravsuman/oracle-storage-parameters-c66dd95c15d1?source=rss-f367641985c3------2</link>
            <guid isPermaLink="false">https://medium.com/p/c66dd95c15d1</guid>
            <category><![CDATA[performance]]></category>
            <category><![CDATA[oracle]]></category>
            <dc:creator><![CDATA[Sourav Suman]]></dc:creator>
            <pubDate>Mon, 15 Oct 2018 16:25:49 GMT</pubDate>
            <atom:updated>2022-10-31T11:30:45.889Z</atom:updated>
            <content:encoded><![CDATA[<p>I have been reading about how database works internally and came around one of the features, oracle provide for tuning of database <strong>PCTFREE </strong>&amp; <strong>PCTUSED. </strong>These two are the storage parameters in oracle database.</p><p>So after digging into few of the blogs and videos I thought why not to write some info regarding it, so that all the details are at one place.</p><p>To understand it, only thing you have to know is block, extent and segment in database. So, basically segment is a group of extent, extent constitutes blocks and block is the smallest unit to store oracle data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/425/1*jGiy-rQEcxsUm0oSm-v75A.png" /><figcaption>Consider Block having some data in it</figcaption></figure><p>Consider the block shown above, whenever you insert data those data gets resided into different blocks. Generally the block size in database is of 8 kb. You can change this value based on the requirement. If first data <strong>block B1</strong> (logical block or pages) gets filled, the consecutive data blocks will come into picture for storing the data. So then <strong>B2</strong> gets filled, then <strong>B3 </strong>gets filled and so on.</p><p>Now this block will be having one part as block overhead and other part for data. So consider an example where you have a block size of 8kb and block overhead of 1kb and you set the value of <strong>PCTFREE </strong>to 20% then this means that 20% of the 8kb of data block will be free for future update of the data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/189/1*5VRmWYZ7ej_Dy7s69fCT7g.png" /><figcaption>1.6kb size of the block is set fixed for future update of the data and 6.4 kb size of the block will be used for data insertion.</figcaption></figure><p>One use-case scenario where you know you have data which is not going to be updated very frequently like master data. In this case you can decrease the <strong>PCTFREE</strong> value as you know their won’t be frequent update of data.</p><p>Now if you run a delete query on the database then it will delete some data from blocks. Consider this action deletes some data from <strong>B3 block</strong> and then you want to insert data into the table. This action insertion will depend on the <strong>PCTUSED</strong> parameter of oracle. This parameter will decide whether new data will be inserted in new <strong>B4 block</strong> or <strong>B3 block. </strong>So this tells when you can insert data in a block. For example you set <strong>PCTUSED </strong>to 40%. Then</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/141/1*Me5kBzIU0UGrqamt6bQdSw.png" /><figcaption>When block size reaches 2.8 kb after deleting the block is ready for insertion of data.</figcaption></figure><p>So until and unless the block size reaches 2.8 kb you cannot insert data into the data block. The new data will keep on adding to the new data block unless the block size reaches 2.8 kb</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c66dd95c15d1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>