<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>SQL on Xinlin&#39;s Blog</title>
    <link>https://xinlin-z.github.io/tags/sql/</link>
    <description>Recent content in SQL on Xinlin&#39;s Blog</description>
    <generator>Hugo -- 0.147.8</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 19 Jul 2026 12:29:25 +1200</lastBuildDate>
    <atom:link href="https://xinlin-z.github.io/tags/sql/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Database Practice: SQLite and PostgreSQL</title>
      <link>https://xinlin-z.github.io/posts/dbms/</link>
      <pubDate>Sun, 19 Jul 2026 12:29:25 +1200</pubDate>
      <guid>https://xinlin-z.github.io/posts/dbms/</guid>
      <description>&lt;h2 id=&#34;database-design&#34;&gt;Database Design&lt;/h2&gt;
&lt;p&gt;Database is a system to manage data, which is built on file system offered by OS. Broadly speaking, there are two cases in which database is utilized:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;OLTP&lt;/strong&gt;, OnLine Transaction Process, for supporting daily business&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;OLAP&lt;/strong&gt;, OnLine Analysis Process, for supporting data analysis in &lt;strong&gt;Data Warehouse&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Database design is actually the design of data tables (entities) and their relationships. The design purposes are:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;store information without unnecessary redundancy&lt;/li&gt;
&lt;li&gt;retrieve information easily and fast&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;normal-form-nf&#34;&gt;Normal Form (NF)&lt;/h3&gt;
&lt;p&gt;NFs are used to eliminate information redundancy. The higher NF, the less redundancy.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
