<?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 Buğra Onur Genç on Medium]]></title>
        <description><![CDATA[Stories by Buğra Onur Genç on Medium]]></description>
        <link>https://medium.com/@bugraonurgenc?source=rss-82283eb10ab5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*hSqJJzMWzd0prM2Q</url>
            <title>Stories by Buğra Onur Genç on Medium</title>
            <link>https://medium.com/@bugraonurgenc?source=rss-82283eb10ab5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 19:59:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bugraonurgenc/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[ETL vs ELT Made Simple: Which Data Integration Method Is Right for You?]]></title>
            <link>https://medium.com/ko%C3%A7-fiat-kredi/etl-vs-elt-made-simple-which-data-integration-method-is-right-for-you-984536d6005b?source=rss-82283eb10ab5------2</link>
            <guid isPermaLink="false">https://medium.com/p/984536d6005b</guid>
            <category><![CDATA[elt-pipeline]]></category>
            <category><![CDATA[data-warehouse]]></category>
            <category><![CDATA[etl-pipeline]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Buğra Onur Genç]]></dc:creator>
            <pubDate>Thu, 26 Mar 2026 18:05:39 GMT</pubDate>
            <atom:updated>2026-03-26T18:05:39.877Z</atom:updated>
            <content:encoded><![CDATA[<p>In the world of data, two terms appear very often: <strong>ETL</strong> and <strong>ELT</strong>. Firstly, they may sound difficult or very technical. However, the main idea is actually simple.</p><p>Both ETL and ELT are ways to move data from one place to another. Mostly Big Companies use these methods to collect data from different systems, prepare it, and store it in one central place for reporting and analysis.</p><p>The easiest way to understand them is this:</p><p><strong>ETL transforms data before loading it.</strong></p><p><strong>ELT loads data first and transforms it later.</strong></p><p>This is the main difference.</p><h3><strong>Why do companies need ETL or ELT?</strong></h3><p>Nowadays, companies collect data from many sources. For example, customer data may be in one system, payment data in another, and website activity in another tool.</p><p>If a company wants to create reports, dashboards, or business insights, all this data must come together in one place. But raw data is usually not perfect. It may include missing values, repeated records, different formats, or wrong information.</p><p>Because of this, companies need a process that can move and organize the data correctly. This is where ETL and ELT help.</p><h3>What does ETL mean?</h3><p>ETL stands for:</p><ul><li><strong>Extract</strong></li><li><strong>Transform</strong></li><li><strong>Load</strong></li></ul><p>Let us look at these steps one by one.</p><h4>Extract</h4><p>This means taking data from a source system. The source can be a database, an application, an Excel file, or another digital platform.</p><h4>Transform</h4><p>This means cleaning and changing the data. For example, the system may fix date formats, remove duplicate rows, rename fields, or combine data from different systems.</p><h4>Load</h4><p>This means putting the cleaned data into the final target system, usually a data warehouse.</p><p>So, in ETL, the data is prepared first and loaded after that.</p><h4>ETL with a simple example</h4><p>Imagine that you buy vegetables from the market. Before putting them into the fridge, you wash them, clean them, and cut them.</p><p>This is similar to ETL.</p><p>First, you take the vegetables. Then, you prepare them. Finally, you store them.</p><p>In the same way, ETL takes data, transforms it, and only then loads it into the target system.</p><h4>What does ELT mean?</h4><p>ELT stands for:</p><ul><li><strong>Extract</strong></li><li><strong>Load</strong></li><li><strong>Transform</strong></li></ul><p>The first step is still the same. Data is taken from source systems.</p><p>The difference starts in the next step. In ELT, the data is loaded into the target system first. After that, the transformation happens inside the target system.</p><p>So, in ELT, raw data is stored first and cleaned later.</p><h4>ELT with a simple example</h4><p>Let us use the same vegetable example again.</p><p>This time, you buy the vegetables and put them into the fridge immediately. Later, when you want to cook, you wash and cut them.</p><p>This is how ELT works.</p><p>The data is loaded first, and the transformation happens later.</p><h4>The main difference between ETL and ELT</h4><p>The main difference is the order of the steps.</p><p>With <strong>ETL</strong>, data is transformed before loading.<br> With <strong>ELT</strong>, data is loaded before transforming.</p><p>This may look like a small difference, but it changes how the whole data process works.</p><h4>Why do some companies use ETL?</h4><p>ETL is useful when a company wants strong control over the data before it enters the final system. It is also common in traditional data warehouses and older system structures.</p><p>One important advantage of ETL is that the final system only receives clean and ready data. This can make reporting easier and more stable.</p><p>However, ETL can also take more time because the data must be processed before loading. It can also be less flexible if the company later wants to work with raw data again.</p><h4>Why do some companies use ELT?</h4><p>ELT is very popular in modern cloud systems. Today, many cloud data warehouses are powerful enough to store large amounts of raw data and transform it inside the platform.</p><p>One advantage of ELT is speed. Data can be loaded quickly without waiting for every transformation step to finish first.</p><p>Another advantage is flexibility. Since the raw data is stored, teams can use it later for different needs.</p><p>The difficult part is that raw data can be messy. If the process is not managed well, the system can become harder to understand.</p><h4>A simple example with customer names</h4><p>Imagine that a company receives customer names in different formats:</p><ul><li>bugra genc</li><li>BUGRA GENC</li><li>Buğra Genç</li></ul><p>The company wants all names to follow the same format.</p><p>In an <strong>ETL</strong> process, the names are cleaned before they are loaded into the warehouse.</p><p>In an <strong>ELT</strong> process, all versions are loaded first, and the standard format is created later inside the warehouse.</p><p>The goal is the same, but the process is different.</p><h4>Which one is better?</h4><p>There is no single answer for every company.</p><p>ETL is often better when the company wants strict control and only wants ready data in the final system.</p><p>ELT is often better when the company uses cloud platforms, works with big data, and needs more flexibility.</p><p>Today, many modern data teams prefer ELT, but ETL is still widely used. Both are important, and both solve real business problems.</p><h4>Final thoughts</h4><p>ETL and ELT may sound complicated at first, but their logic is very clear once you break them down.</p><p>Both methods help companies move data, organize it, and make it useful for reporting, dashboards, and business decisions.</p><p>The key idea is simple:</p><p><strong>ETL = Extract, Transform, Load</strong><br><strong>ELT = Extract, Load, Transform</strong></p><p>Or even more simply:</p><p><strong>ETL = Clean first, then store</strong><br><strong>ELT = Store first, then clean.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=984536d6005b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ko%C3%A7-fiat-kredi/etl-vs-elt-made-simple-which-data-integration-method-is-right-for-you-984536d6005b">ETL vs ELT Made Simple: Which Data Integration Method Is Right for You?</a> was originally published in <a href="https://medium.com/ko%C3%A7-fiat-kredi">Koç Stellantis Finansman Teknoloji</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Make a Report in Power BI Report Builder]]></title>
            <link>https://medium.com/ko%C3%A7-fiat-kredi/make-a-report-in-power-bi-report-builder-a6f504cd920c?source=rss-82283eb10ab5------2</link>
            <guid isPermaLink="false">https://medium.com/p/a6f504cd920c</guid>
            <category><![CDATA[etl]]></category>
            <category><![CDATA[power-bi-report-builder]]></category>
            <category><![CDATA[power-bi-report-server]]></category>
            <category><![CDATA[microsoft-power-bi]]></category>
            <dc:creator><![CDATA[Buğra Onur Genç]]></dc:creator>
            <pubDate>Thu, 05 Feb 2026 12:54:56 GMT</pubDate>
            <atom:updated>2026-02-05T12:54:56.803Z</atom:updated>
            <content:encoded><![CDATA[<p>Power BI Report Builder is a program to create paginated reports. A paginated report is a report with pages. It is very good for tables, printing, and exporting. A great majority of company use it to send reports as PDF or Excel files</p><p>In this article, you will learn how to make a simple report. You will connect to data, write a basic query, show the data in a table, and export the report.</p><p>You need:</p><p>• Power BI Report Builder installed</p><p>• Access to a database (SQL Server, Oracle, etc.)</p><ul><li>A table or view in the database (your report data)</li></ul><p>Start a new report</p><p>Open Power BI Report Builder. On the top menu, click File &gt; New. You will see report options. Choose Table or Matrix Wizard. This is the easiest way to create a report because it helps you step by step.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*UaxMpJWqO-x3I8zLxAP3pQ.png" /></figure><p>When you choose the wizard, you will see a setup screen. Here you will create a dataset.</p><p>Create a Data Source (connect to the database)</p><p>A Data Source is a connection to your database. Your report uses it to read data.</p><p>In the wizard, choose Create a dataset. Then create a New Data Source. Give it a simple name like MyDataSource.</p><p>Next, choose the database type. For example:</p><p>• If you use SQL Server, choose Microsoft SQL Server</p><p>• If you use Oracle, choose Oracle</p><p>Click Build and enter your connection details. This can be a server name, username, and password, depending on your company setup. After that, click Test Connection. If the test is successful, click OK.</p><p>Now your report can communicate to the database.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*tLg-Ivn4Jh0xPdblhMUPGA.png" /></figure><p>Then you will see the connections on the left bar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/329/1*CSTdF12xC9G5hNQhT5t9rw.png" /></figure><p>Create a Dataset</p><p>A Dataset is the data your report will use. It is usually an SQL query.</p><p>Keep your first query very simple. Example:</p><p>SELECT</p><p>customer_name,</p><p>report_date,</p><p>amount,</p><p>status</p><p>FROM my_table(generally preferred Views)</p><p>This query selects four columns from a table(your_table). You can change the names to match your system. If you are not sure about the table name, ask your team or check the database views.</p><p>Most of the time, instead of using a table , you may prefer to use a view if we are working with SQL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*XZh-FEUPCivh51gVEScKmQ.png" /></figure><p>If you want your report to be faster, you can limit the data. For example, you can show only recent data. This is an example idea</p><p>SELECT customer_name,report_date,amount,status FROM my_table</p><p>WHERE report_date &gt;= CURRENT_DATE — 7</p><p>After you write the query, click Next.</p><p>Build the table in the wizard</p><p>Now the wizard shows the fields from your dataset. You will choose what you want to see in the table.</p><p>Select your fields (for example customer_name, report_date, amount, status) and put them into the table values. Then continue and finish the wizard. Report Builder will create the table automatically on the report page.</p><p>At this point, you already have a working report layout.</p><p>Make the report clean and easy to read</p><p>Now you can do small edits to make it look better.</p><p>Click the table header row and make it Bold. This helps users read the report easily. You can also change the format for date , numbers and Currency.</p><p>For the date column, you can show a clean date format like dd.MM.yyyy.</p><p>For the amount column, you can show decimals like #,0.00.</p><p>Also, adjust the column width. If the text is cut, make the column wider. These small changes are important, especially for PDF export.</p><p>You can also add a report title. Click Insert &gt; Text Box and write a title like “Daily Report” or “Weekly Summary”. Make the font a little bigger.</p><p>Preview the report</p><p>Click Run (Preview). Report Builder will run your SQL query and show the report with real data.</p><p>If you see an error, the common reasons are:</p><p>• Wrong server or login details</p><p>• No permission to read the table</p><p>• A mistake in the SQL query</p><p>Fix the problem and run again.</p><p>Export to PDF or Excel</p><p>When the preview looks good, you can export the report.</p><p>In preview mode, click Export and choose:</p><p>• PDF for printing and clean pages</p><p>• Excel for working with the data</p><p>Paginated reports are strong here because the layout stays stable and clear.</p><p>Save the report</p><p>Click File &gt; Save and save your report as an .rdl file. Later you can open it and update the query, layout, or formatting.</p><p>If your company uses Report Server, you can also publish the report there, so other people can open it from the server.</p><p>After you build the first report, the next step is usually parameters. Parameters let users choose a date range, status, or customer without changing the SQL code. This makes the report more useful.</p><p>Conclusion</p><p>Now you know the basic flow:</p><p>1. Create a new report using the wizard</p><p>2. Connect to the database (Data Source)</p><p>3. Write your query (Dataset)</p><p>4. Build a table</p><p>5. Preview and export</p><p>This is the easiest way to get started with Power BI Report Builder.</p><p>In the next article, we’ll move on to ETL — how to extract data from the source, transform/clean it, and load it into a target structure so your reports can run daily/weekly in a more reliable and scalable way.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a6f504cd920c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ko%C3%A7-fiat-kredi/make-a-report-in-power-bi-report-builder-a6f504cd920c">Make a Report in Power BI Report Builder</a> was originally published in <a href="https://medium.com/ko%C3%A7-fiat-kredi">Koç Stellantis Finansman Teknoloji</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CAP Teoremi: Dağıtık Sistemlerin Kaçınılmaz Üç Silahşörü]]></title>
            <link>https://medium.com/ko%C3%A7-fiat-kredi/cap-teoremi-da%C4%9F%C4%B1t%C4%B1k-sistemlerin-ka%C3%A7%C4%B1n%C4%B1lmaz-%C3%BC%C3%A7-silah%C5%9F%C3%B6r%C3%BC-c8bd7b2b97c9?source=rss-82283eb10ab5------2</link>
            <guid isPermaLink="false">https://medium.com/p/c8bd7b2b97c9</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[consistency]]></category>
            <category><![CDATA[partition]]></category>
            <category><![CDATA[high-availability]]></category>
            <category><![CDATA[distributed-systems]]></category>
            <dc:creator><![CDATA[Buğra Onur Genç]]></dc:creator>
            <pubDate>Mon, 04 Aug 2025 07:23:35 GMT</pubDate>
            <atom:updated>2025-09-10T13:21:55.330Z</atom:updated>
            <content:encoded><![CDATA[<p>Dağıtık sistemler, günümüz yazılım mimarilerinin temelini oluşturur. Mikroservisler ve NoSQL veritabanları gibi yapılar, veriyi dağıtık bir ortamda yönetmenin zorluklarıyla karşılaşır. Bu noktada CAP Teoremi, dağıtık sistemlerin hangi sınırlamalarla çalıştığını anlamamıza yardımcı olur.</p><p>Bu yazımızda CAP teoremini derinlemesine inceleyecek, üç temel bileşeni olan <strong>Consistency, Availability, Partition Tolerance</strong> kavramlarını açıklayacak ve gerçek dünyadaki sistemlerin bu üçlü arasında nasıl tercih yaptığını tartışacağız.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*4pCdODJ_o9-no46uE54PYQ.png" /></figure><p><strong>CAP Teoremi Nedir?</strong></p><p>CAP Teoremi, dağıtık bir sistemde aynı anda <strong>tutarlılık (Consistency)</strong>, <strong>erişilebilirlik (Availability)</strong> ve <strong>bölünme toleransı (Partition Tolerance)</strong> özelliklerinden en fazla ikisini garanti edebileceğimizi söyler.</p><p>Bu üç özellik şu şekilde tanımlanır:</p><ul><li><strong>Consistency (Tutarlılık)</strong>: Her istemci her zaman en güncel verilere ulaşır. Sistemde bir güncelleme yapıldığında, tüm node’lar bu değişikliği yansıtır.</li><li><strong>Availability (Erişilebilirlik)</strong>: Her istek bir yanıt alır (başarılı ya da hata), sistem her zaman kullanılabilir durumdadır.</li><li><strong>Partition Tolerance (Bölünme Toleransı)</strong>: Ağda oluşabilecek kopukluklara (network partition) rağmen sistem çalışmaya devam eder.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/739/1*ymyVRHxHifYcbO1rzV3Qcw.png" /></figure><p><strong>Not: Node Nedir?</strong></p><p>Dağıtık sistemlerde “<strong>node</strong>” terimi, sistemin bir parçası olan bağımsız bir sunucuyu (ya da mantıksal işlemi) ifade eder. Her node, verinin bir kısmını saklayabilir, işlem yapabilir veya kullanıcıya hizmet verebilir. Birden fazla node birlikte çalışarak sistemin bütününü oluşturur. Örneğin, Cassandra veritabanında her node bir veri kümesinin kopyasını tutabilir ve bu sayede hem yük dağıtımı hem de hata toleransı sağlanır.</p><p><strong>Neden Üçü Bir Arada Olamaz?</strong></p><p>CAP Teoremi, bir dağıtık sistemde aynı anda <strong>Consistency (Tutarlılık)</strong>, <strong>Availability (Erişilebilirlik)</strong> ve <strong>Partition Tolerance (Bölünme Toleransı)</strong> özelliklerinin üçünün birden tam anlamıyla sağlanamayacağını bizlere belirtmektedir.</p><p>Bunun temel sebebi, <strong>ağ bölünmesinin (partition)</strong> dağıtık sistemlerde kaçınılmaz olmasıdır. Ağ üzerinde bir kopukluk veya iletişim bozukluğu yaşandığında sistemin node’ları birbirleriyle iletişim kuramaz hale gelir. Bu durumda sistemin <strong>Consistency</strong> ve <strong>Availability</strong> arasında bir seçim yapması gerekir.</p><p><strong>1. Consistency’yi tercih edersek:</strong></p><p>Sistem, tüm node’ların aynı anda tutarlı veri sunmasını garanti etmeye çalışır. Ancak bir ağ bölünmesi yaşandığında, bazı node’lar güncel veriye ulaşamayacağı için sistem bu node’lardan gelen istekleri reddeder. Yani veri tutarlılığını korumak adına, erişilebilirlikten (availability)’den taviz verilir. Bu durumda kullanıcı bazı verilere ulaşamayacağı senaryo yaşanır, sistem ise bekle diyebilir ya da hata döndürülebilir.</p><p><strong>2. Availability’yi tercih edersek:</strong></p><p>Sistem, her koşulda kullanıcıya bir yanıt vermeyi garanti eder. Ancak ağ bölünmesinde bazı node’lar diğerleriyle iletişim kuramıyorsa, bu node’lar kendi başlarına yanıt verir ve bu yanıtlar tutarsız olabilir. Yani erişilebilirlik sağlanır ama verinin tutarlılığı (consistency) garanti edemeyiz.</p><p><strong>Örneğimizi gerçek hayat üzerinde canlandırırsak:</strong></p><p>Birden fazla şubesi olan bir banka düşünün. Eğer merkez ofisle bağlantı koparsa (<strong>partition</strong>), İstanbul şubesine gelen bir müşteriye kredi verildiğinde bu bilgi Ankara şubesine ulaşamayabilir. Eğer banka önce merkezle senkron olmalıyım diyerek işlemi bekletirse tutarlılığı korur ama hizmet veremez (<strong>availability </strong>kaybolur). Tersine, müşteri beklemesin diyerek işlemi yaparsa, veriler geçici olarak tutarsız hale gelebilir.</p><p><strong>Üçlü Arasında Tercih: CP, CA, AP Sistemleri</strong></p><p>Gerçek dünyadaki sistemler genellikle aşağıdaki kombinasyonlardan birini tercih eder:</p><p><strong>a. CP (Consistency + Partition Tolerance)</strong></p><ul><li>Sistemi tutarlı tutmak önceliklidir. Ağ bölünmesi durumunda bazı node’lar yanıt vermeyebilir.</li><li><strong>Örnek:</strong> HBase, MongoDB</li></ul><p><strong>b. AP (Availability + Partition Tolerance)</strong></p><ul><li>Sistemin her zaman cevap verebilir olması önceliklidir. Ancak, veriler tutarsız olabilir.</li><li><strong>Örnek:</strong> Cassandra, Couchbase, DynamoDB</li></ul><p><strong>c. CA (Consistency + Availability)</strong></p><ul><li>Bu kombinasyon <strong>partition yoksa</strong> mümkündür. Gerçek dünyadaki dağıtık sistemlerde partition oluşumu kaçınılmaz olduğundan bu teori pratiğe çok uygun değildir.</li><li><strong>Örnek:</strong> Tek node’lu klasik RDBMS sistemleri</li></ul><p><strong>CAP Teoremi’nin Gölgesinde Sistem Tasarımı</strong></p><p>Modern sistemlerde “<strong>eventual consistency</strong> (nihai tutarlılık)”, “<strong>strong consistency</strong> (güçlü tutarlılık)” gibi kavramlarla CAP teoremi arasında denge kurulmaya çalışılır.</p><ul><li><strong>Eventual Consistency:</strong> AP sistemlerinde veriler zamanla tutarlı hale gelir. Örneğin, Amazon’un alışveriş sepetini düşünebiliriz.</li><li><strong>Strong Consistency:</strong> CP sistemlerinde veriler her zaman günceldir. Bankacılık uygulamaları buna bir örnek olarak verilebilir.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/655/1*cSFywfzaksp2WeglYK5ErA.png" /></figure><p><strong>Yanılgılar ve Gerçekler</strong></p><ul><li>CAP Teoremi, her üç özellikten sadece ikisinin sağlanabileceğini söyler. Ancak bu, üçünün kısmen sağlanamayacağı anlamına gelmez.</li><li>Günümüz sistemlerinde, bu özellikler çoğu zaman senaryoya göre esnek şekilde uygulanır. Örneğin, bir bankacılık uygulamasında para transferi gibi işlemler <strong>strong consistency</strong> gerektirir çünkü verinin her yerde aynı olması kritik öneme sahiptir. Öte yandan, sosyal medya platformlarında bir gönderiye yapılan beğeni sayısının anlık olarak güncellenmesi <strong>eventual consistency</strong> ile yeterli olabilir; sistem zamanla tutarlı hale gelir ve bu tür gecikmeler kullanıcı deneyimini olumsuz etkilemez.</li></ul><p><strong>Örnek Senaryo:</strong></p><p>Oracle SQL Developer kullanarak bir müşteri tablosunda işlem yapıldığını düşünelim. Aşağıdaki gibi bir sorgu ile tek bir node üzerinde işlem yapılabilir:</p><p>SELECT * FROM musteri WHERE musteri_id = 101;</p><p>Bu sorgu, Oracle’ın tek-node yapısında <strong>CA</strong> modeline uygun şekilde her zaman güncel ve doğru veri döner. Ancak sistem RAC (Real Application Clusters) mimarisi ile dağıtıldığında, farklı node’lardan gelen sorgular ağ bölünmesi durumunda farklı yanıtlar dönebilir.</p><p>Örneğin, bir node üzerinde aşağıdaki güncelleme yapılmış olsun:</p><p>UPDATE musteri SET bakiye = bakiye — 100 WHERE musteri_id = 101;</p><p>Eğer bu güncelleme node A üzerinde yapılıp henüz node B’ye senkronize edilmemişse ve biz node B’den veri çekmeye çalışırsak:</p><p>— Node B’ye düşen sorgu</p><p>SELECT bakiye FROM musteri WHERE musteri_id = 101;</p><p>Güncel olmayan bir veri dönebilir. Bu da <strong>availability</strong> lehine yapılmış bir tercihle <strong>consistency</strong>nin feda edildiği bir durumu temsil eder.</p><p>Dolayısıyla, Oracle SQL Developer kullanılarak yapılan sorgular bile arka planda CAP teoremi sınırlarında çalışır. Tekil sistemlerde CA davranışı sergileyen Oracle, RAC gibi dağınık ortamlarda CAP ikilemleri ile karşılaşır.</p><p><strong>Sonuç</strong></p><p>CAP Teoremi, dağıtık sistemlerdeki üç temel özellik olan tutarlılık, erişilebilirlik ve ağ bölünmesi toleransı arasında bir seçim yapmamız gerektiğini net bir şekilde ortaya koyar. Teorik olarak aynı anda üçünü birden tam anlamıyla sağlayamayız. Pratikte ise sistemler tasarlanırken ihtiyaçlara göre bu özelliklerden bazıları önceliklendirilir.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8bd7b2b97c9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ko%C3%A7-fiat-kredi/cap-teoremi-da%C4%9F%C4%B1t%C4%B1k-sistemlerin-ka%C3%A7%C4%B1n%C4%B1lmaz-%C3%BC%C3%A7-silah%C5%9F%C3%B6r%C3%BC-c8bd7b2b97c9">CAP Teoremi: Dağıtık Sistemlerin Kaçınılmaz Üç Silahşörü</a> was originally published in <a href="https://medium.com/ko%C3%A7-fiat-kredi">Koç Stellantis Finansman Teknoloji</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ACID Nedir? Veritabanı İşlemlerinin Dört Temel Güvencesi]]></title>
            <link>https://medium.com/ko%C3%A7-fiat-kredi/acid-nedir-veritaban%C4%B1-i%CC%87%C5%9Flemlerinin-d%C3%B6rt-temel-g%C3%BCvencesi-8886b710482f?source=rss-82283eb10ab5------2</link>
            <guid isPermaLink="false">https://medium.com/p/8886b710482f</guid>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Buğra Onur Genç]]></dc:creator>
            <pubDate>Thu, 29 May 2025 11:17:16 GMT</pubDate>
            <atom:updated>2025-06-17T08:09:35.909Z</atom:updated>
            <content:encoded><![CDATA[<p>Bu makalede verilerin doğru, güvenilir ve tutarlı bir şekilde saklanması ve işlenmesi için <strong>ACID</strong> prensipleri büyük bir rol oynar. Peki, nedir bu ACID?</p><p>ACID şu başlıkların birleşimi ile oluşmaktadır.</p><p><strong>Atomicity (Atomiklik)</strong>, <strong>Consistency (Tutarlılık)</strong>,<strong>Isolation (Yalıtım)</strong> ve <strong>Durability (Kalıcılık)</strong> kavramlarının baş harflerinden oluşur. Hadi bu kavramlar üzerinde detaylı bilgilere bakalım.</p><p><strong>Atomicity :</strong> Bir veritabanı işleminde yer alan tüm adımların <strong>eksiksiz</strong> bir şekilde tamamlanması gerekir. Eğer işlem sırasında bir hata meydana gelirse (örneğin elektrik kesintisi), yapılan hiçbir değişiklik kalıcı olmaz. Sistem otomatik olarak eski hâline dönmelidir.</p><p><strong>Örnek:</strong> Bir e-ticaret sitesinde sipariş oluşturulurken hem stoktan ürün düşülmesi hem de ödeme alınması gerekiyor. Eğer ödeme sırasında bir hata olursa, ürün stoğunun da düşmemesi gerekir. Atomicity sayesinde ya her şey yapılır ya da hiçbir şey yapılmaz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/623/1*4OPzNKTe0EJyo_p-76IIXw.png" /><figcaption>Oracle Sql’de atomicity örneği</figcaption></figure><p>Bu örnekte, herhangi bir hata oluşursa ROLLBACK sayesinde tüm değişiklikler geri alınır, yani işlem ya tamamen olur ya da hiç olmaz.</p><p><strong>C= Consistency nedir?</strong></p><p>Veritabanında yapılan her işlemin, sistemde tanımlı olan kurallar ve kısıtlamalara uygun şekilde gerçekleşmesini sağlar. Bir işlem tamamlandığında, veritabanı hâlâ geçerli bir durumda olmalıdır. Yani işlem öncesinde tutarlı olan veri, işlem sonrasında da tutarlılığını korumalıdır.</p><p>Bu kurallar; veri türü kısıtlamaları, NOT NULL, UNIQUE, PRIMARY KEY, FOREIGN KEY gibi yapılar ve özel doğrulama kuralları (CHECK) olabilir. Eğer bu kurallar işlem sırasında ihlal edilirse, sistem işlemi iptal eder ve veritabanı tutarsız hâle gelmeden önceki hâline geri döner.</p><p>Örnekle Açıklayalım ; Sizin bir müşteri bilgilerini tuttuğunuz bir tablonuz ve tablonuzun içerisinde ise Telefon Numarasını tuttuğunuz bir alan olduğunu <a href="http://xn--varsayalm-2pb.ve/">varsayalım.</a> Ve siz veritabanı tasarımınızı yaparken bu telefon numarası alanına en fazla girilecek karakter sayısını 11 olarak tanımladınız. Kullanıcı telefon bilgisi 10 hane veya 12 hane şeklinde girmesini <a href="http://engeller.ve/">engeller.</a>Kullanıcı istediği veriyi kaydetmemesini sağlar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*HjXHQ-62o6SZ4UmLBN8wmw.png" /><figcaption>Tablo Oluşturulurken eklenen constraint</figcaption></figure><p>Burada ki tablomuzda müşteri için bir veri eklediğimizde telefon numarasının 11 hane olması zorunlu kılınmıştır.Eğer kullanıcı telefon numarasında ki karakter sayısını 11 haneden farklı bir şey girmek istediğinde sistem buna izin vermeyecektir.</p><p><strong>I = Isolation nedir?</strong></p><p>Isolation (Yalıtım), birden fazla işlemin aynı anda çalıştığı durumlarda, her işlemin diğerinden bağımsız olarak yürütülmesini sağlar. Yani işlemler sanki tek başlarına çalışıyormuş gibi davranır. Bu sayede ara işlemlerden doğan tutarsızlıklar kullanıcıya yansımaz.</p><p>Örnekle açıklayalım ;</p><p>Siz ATM’den para çekerken, bir başka işlem aynı hesaba erişmeye çalıştığında, işlemler birbirini etkilememelidir. Yani siz 1000 TL çektikten sonra, başka bir işlem o 1000 TL’yi hâlâ hesapta varmış gibi görmemelidir. Oracle üzerinden örnek ile ilerleyelim. Oracle hali hazırda ki isolation seviyesi Read Commited olarak çalışmaktadır.</p><p>Veritabanında isolation seviyesini aşağıda ki kod şeklinde değiştirebilmemiz mümkün kılmaktadır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/573/1*W0Hu2QxihR3E_j2JAzoewg.png" /><figcaption>Isolation seviyemizi ayarlamak için kullanılır.</figcaption></figure><p>Bu sayede artık isolation seviyemizi serializable hale getirmiş olmaktayız.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/1*fZhedV6H7l5vJzvYFyPVgw.png" /></figure><p>Bu durumda başka bir işlem aynı verilere ulaşmaya çalıştığında, işlem ya bekletilir ya da hata alır. Böylece yalıtım sağlanır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/767/1*OQ_I0gITb3gusayHWTR93w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*LBp8UGZb697fQoffifye5A.png" /></figure><p><strong>D = Durable nedir?</strong></p><p>Bir işlem başarıyla tamamlandıysa, yapılan değişiklikler <strong>kalıcı</strong> hâle gelir ve sistem arızası (örneğin güç kesintisi vb ) sonrasında bile bu değişiklikler kaybolmaz. Hadi bir örnekle birlikte inceleyelim</p><p><strong>Örnek:</strong> Bir müşteri bilgisi başarıyla kaydedildiyse ve sistem aniden kapanırsa, bilgiler silinmez. Veritabanı sistemleri genellikle bu tür durumlar için işlem günlükleri (log) tutar ve sistemi son sağlam hâline döndürebilir.</p><p>Oracle, işlem verilerini <strong>REDO LOG</strong> dosyalarına yazar. Bir işlem COMMIT edildiğinde:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/691/1*j3ShcpZQKvPQA_GloPon2Q.png" /></figure><p>Bu işlem sonrası elektrik kesilse bile, Oracle log dosyalarından işlemi kurtarır. İşlem “kalıcı” hâle gelmiştir.</p><p><strong>Sonuç olarak,</strong> ACID prensipleri; veri bütünlüğü, tutarlılığı, izolasyonu ve kalıcılığı garanti ederek özellikle finans, sağlık ve e-ticaret gibi alanlarda hayati bir rol oynar. Bu prensipler, veritabanı işlemlerinin güvenilirliğini sağlarken, kullanıcıların da sisteme olan güvenini pekiştirir.</p><p>Ancak, dağıtık sistemlerin yaygınlaşmasıyla birlikte, her zaman ACID prensiplerini tam anlamıyla uygulamak mümkün olmayabilir. Bu noktada karşımıza, dağıtık veritabanı sistemlerinin tasarımında önemli bir rol oynayan <strong>CAP Teoremi</strong> çıkmaktadır.Bir sonra ki yazımızda da CAP Teoreminden bahsediyor olacağız.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8886b710482f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ko%C3%A7-fiat-kredi/acid-nedir-veritaban%C4%B1-i%CC%87%C5%9Flemlerinin-d%C3%B6rt-temel-g%C3%BCvencesi-8886b710482f">ACID Nedir? Veritabanı İşlemlerinin Dört Temel Güvencesi</a> was originally published in <a href="https://medium.com/ko%C3%A7-fiat-kredi">Koç Stellantis Finansman Teknoloji</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Veri Denklemini Çözmek: E-Ticaret Sistemi Üzerinden Normalizasyonun Gizemli Dünyası]]></title>
            <link>https://medium.com/@bugraonurgenc/veri-denklemini-%C3%A7%C3%B6zmek-e-ticaret-sistemi-%C3%BCzerinden-normalizasyonun-gizemli-d%C3%BCnyas%C4%B1-fedb2d51721a?source=rss-82283eb10ab5------2</link>
            <guid isPermaLink="false">https://medium.com/p/fedb2d51721a</guid>
            <dc:creator><![CDATA[Buğra Onur Genç]]></dc:creator>
            <pubDate>Fri, 03 Jan 2025 13:21:27 GMT</pubDate>
            <atom:updated>2025-01-03T13:21:27.270Z</atom:updated>
            <content:encoded><![CDATA[<p>Bir yazılım mühendisinin elinde, veritabanı tasarımı adeta bir sanat eserine dönüşebilir. Peki, bu eseri yaratırken asıl sırrın ne olduğunu biliyor musunuz? Bu sır, “normalizasyon” adı verilen büyüleyici bir süreçte saklı. Eğer doğru uygulanırsa, sistemlerinizi kusursuz bir düzenle çalıştırabilir; yanlış uygulanırsa, performans kabuslarının başrolü olabilir. Bugün, size normalizasyonun perde arkasını göstereceğim. Ama bu sıradan bir hikaye değil, çünkü karmaşık bir <strong>e-ticaret sistemi</strong> üzerinden bu gizemi adım adım keşfedeceğiz.</p><p><strong>Hikayenin Başlangıcı: Kaotik Bir Veritabanı</strong></p><p>Günümüzde bir çok insan alışverişlerini internet üzerinden gerçekleştirmektedir.Bizler bu alışverişi sağlıyoruz ancak bunun arka planında veriler nasıl tutulur , nasıl tutulması uygundur , nelere dikkat edilmeli gibi parametreler devreye girmektedir.Sizlere bunu örnekler üzerinden açıklayarak daha anlaşılır bir hale getirelim.</p><p>Bir e-ticaret devinin veritabanını hayal edin. Kullanıcılar, ürünler, siparişler ve ödemeler birbirine geçmiş bir labirent gibi. Her şey tek bir tabloya sıkışmış durumda ve bu tablo her gün daha da karmaşıklaşıyor</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JAuSNGHbPwouINjc5p2epA.png" /></figure><p>Böyle bir tablonuz olsa ne hissedersiniz?</p><p>Karmaşıklık , Tekrar edilen veriler , güncelleme problemleri ve potansiyel veri tutarsızlıkları bu labirentin karanlık köşeleri.</p><p>İşte tam bu noktada, normalizasyon devreye giriyor. Adeta bir dedektif gibi, bu karmaşayı çözmeye ve her parçayı ait olduğu yere yerleştirmeye başlıyoruz.</p><ol><li><strong>Adım: Atomik Parçalara Ayırmak (1. Normal Form)</strong></li></ol><p>İlk sır, <strong>atomik veriler</strong>. Yani, her bir hücre bölünemez olmalı ve her satır benzersiz bir yapıya sahip olmalı. Şanslıyız, çünkü elimizdeki tablo bu gereksinimi zaten karşılıyor. Ama bu sadece başlangıç. Asıl gizem şimdi başlıyor.</p><p><strong>2. Adım: Bağımlılıkları Ortadan Kaldırmak (2. Normal Form)</strong></p><p>İkinci sır, “Bağımlılıkları ortadan kaldırın!” diyor. Tablomuzdaki bazı alanlar (örneğin, kullanıcı adı veya ürün bilgisi) aslında birincil anahtara doğrudan bağlı değil. Bu bağımlılıkları çözmek için tabloyu parçalara ayırarak başlıyoruz.Ve Elimizde 1 tane olan tablomuzdan 4 tane yeni tablomuz oluşuyor bu sayede bağımlıklarımı ortadan kaldırıp aralarında ki ilişkiyi kurmaya başlıyoruz.</p><figure><img alt="Kullanıcı Tablosu" src="https://cdn-images-1.medium.com/max/408/1*tXlSLPEsqEZNUoRgMzbkkw.png" /><figcaption>Kullanıcı Tablosu</figcaption></figure><p>• Kullanıcı adı bilgisi, Sipariş ID ile ilişkilidir ve Ürün ID’den bağımsızdır. Bu yüzden kullanıcı bilgilerini ayrı bir tabloya taşıyoruz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/1*8xh4jCTz7mCajjSnumwWAQ.png" /><figcaption>Ürün Tablosu</figcaption></figure><p>• Ürün bilgileri (Ürün Adı, Marka ve Kategori) siparişten bağımsızdır. Bu yüzden ürün bilgilerini ayrı bir tabloya taşıyoruz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*HjoFS0SIzUd22UinM5ogQA.png" /><figcaption>Sipariş Tablosu</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/324/1*ba9hoerIL6oCvKQicu_5Mw.png" /><figcaption>Sipariş-Ürün Tablosu</figcaption></figure><p>Bir sipariş birden fazla üründen oluşabileceği için bir ara tabloya ihtiyacımız var. Bu tablo, her siparişte hangi ürünlerin olduğunu gösterecek.</p><p>Yukarıdaki ayrıştırma işlemleri tamamlandığında, veritabanımız artık 2NF’ye uygun hale gelir. Bu yapıyla birlikte artık ;</p><p>• <strong>Kullanıcı bilgileri</strong> (Kullanıcı ID, Kullanıcı Adı) artık sipariş bilgilerinden bağımsızdır.</p><p>• <strong>Ürün bilgileri</strong> (Ürün ID, Ürün Adı, Marka, Kategori) artık sipariş bilgilerinden bağımsızdır.</p><p>• <strong>Sipariş bilgileri</strong> (Sipariş ID, Kullanıcı ID, Ödeme Türü, Tutar) artık ürünlerden bağımsızdır.</p><p><strong>Sipariş-Ürün ilişkisi</strong>, siparişler ve ürünler arasındaki bağlantıyı net bir şekilde kurar.</p><p>Her şey bununla bitmemekte devamında 3.NF ile devam edip transitif bağımlıkları keşfetmekteyiz.</p><p><strong>3. Adım: Transitif Bağımlılıkları Kesmek (3. Normal Form)</strong></p><p>ürünlerin bağlı olduğu “Marka” ve “Kategori” bilgileri. Bu bilgiler arasında bir bağ varsa, bu bağı daha net bir şekilde ifade etmek için yeni bir tablo oluştururak başlıyoruz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/508/1*14NI76HjytK-Ymy1ZGZZ1g.png" /><figcaption>Marka Tablosu</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/466/1*bAgfkzx8xNk27Cd462G7dA.png" /><figcaption>Güncellenmiş-Ürün Tablosu</figcaption></figure><p><strong>Sonuç: Labirentin Çözümü</strong></p><p>Tüm bu adımlar sonunda, elimizde temiz, düzenli ve yüksek performanslı bir veritabanı tasarımı var. Bu sistem, yalnızca bugünün ihtiyaçlarını karşılamakla kalmıyor, aynı zamanda gelecekteki değişikliklere de hazır. İşte sonuç tablomuz:</p><p>1. <strong>Kullanıcı Tablosu</strong></p><p>2. <strong>Ürün Tablosu</strong></p><p>3. <strong>Marka Tablosu</strong></p><p>4. <strong>Sipariş Tablosu</strong></p><p>5. <strong>Sipariş-Ürün İlişkisi Tablosu</strong></p><p>Bu yapıyla birlikte elde ettiğimiz avantajlar:</p><ul><li><strong>Veri tekrarından kurtulduk.</strong></li><li><strong>Veri tutarsızlığı riskini sıfıra indirdik.</strong></li><li><strong>Sorguların performansını artırdık.Daha az CPU</strong></li></ul><p>Normalizasyon, sıradan bir araçtan öte bir sanattır. Ama unutmayın, bu sanat doğru şekilde kullanılmalı. Bazı durumlarda, performansı artırmak için <strong>denormalizasyon</strong> gerekebilir. Ancak, normalizasyonu anlamadan denormalizasyon yapmaya çalışmak, bir labirentten çıkmaya çalışırken elinizdeki haritayı yakmaya benzer.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fedb2d51721a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>