<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>PostgreSQL on Jackie&#39;s Personal Blog</title>
    <link>https://jiangjun.netlify.com/tags/postgresql/</link>
    <description>Recent content in PostgreSQL on Jackie&#39;s Personal Blog</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <lastBuildDate>Sat, 14 Aug 2021 22:16:31 +0800</lastBuildDate>
    <atom:link href="https://jiangjun.netlify.com/tags/postgresql/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Postgres 跨版本数据库迁移</title>
      <link>https://jiangjun.netlify.com/post/postgres-upgrade-12to13/</link>
      <pubDate>Sat, 14 Aug 2021 00:00:00 +0000</pubDate>
      <guid>https://jiangjun.netlify.com/post/postgres-upgrade-12to13/</guid>
      <description>&lt;p&gt;Debian 的 Postgres 早就升级到 13 了，但是由于我太懒就一直没有升级数据库，这次要往数据库放新数据了，就想趁这个机会刚好把数据都迁移到 13 吧。以前看过类似资料，postgres 本身提供了升级工具，所以我想找个靠铺点的教程一步步照着来应该问题不大。&lt;/p&gt;</description>
    </item>
    <item>
      <title>Postgres &#43; MIMIC 从头到尾</title>
      <link>https://jiangjun.netlify.com/post/postgres-mimic-a2z/</link>
      <pubDate>Sun, 05 May 2019 00:00:00 +0000</pubDate>
      <guid>https://jiangjun.netlify.com/post/postgres-mimic-a2z/</guid>
      <description>之前其实也写过这个了，但是比较零散和简单。这次换硬盘，也不打算迁移数据库，直接重新建立一次。所以从前到后记录一下。 参考： Installing MIMIC-III in a local Postgres database Why psql can&amp;rsquo;t</description>
    </item>
    <item>
      <title>跟着 mimic-code 探索 MIMIC 数据之 notebooks CRRT (三)</title>
      <link>https://jiangjun.netlify.com/post/mimic-code-notebooks-crrt3/</link>
      <pubDate>Tue, 21 Aug 2018 00:00:00 +0000</pubDate>
      <guid>https://jiangjun.netlify.com/post/mimic-code-notebooks-crrt3/</guid>
      <description>感觉必应随便搞个图下来当封面不错的。再来一次 这一篇为什么隔了好几天才出来呢，因为代码的理解难度突然、陡然、猝不及防的上了个 90 度的坡。我看了好</description>
    </item>
    <item>
      <title>跟着 mimic-code 探索 MIMIC 数据之 notebooks CRRT (二)</title>
      <link>https://jiangjun.netlify.com/post/mimic-code-notebooks-crrt2/</link>
      <pubDate>Thu, 16 Aug 2018 00:00:00 +0000</pubDate>
      <guid>https://jiangjun.netlify.com/post/mimic-code-notebooks-crrt2/</guid>
      <description>书接上回。 上回说到，我们首先自己搜索 d_items 表格找到对应的 item_id，然后运用专业知识对这些 item_id 进行筛选和归类，最后得到真正能够定义 CRRT 时间的那些</description>
    </item>
    <item>
      <title>跟着 mimic-code 探索 MIMIC 数据之 notebooks CRRT (一)</title>
      <link>https://jiangjun.netlify.com/post/mimic-code-notebooks-crrt1/</link>
      <pubDate>Wed, 15 Aug 2018 00:00:00 +0000</pubDate>
      <guid>https://jiangjun.netlify.com/post/mimic-code-notebooks-crrt1/</guid>
      <description>花了几天时间把 mimic-code/notebooks/crrt-notebook.ipynb 从头到尾看了一遍。虽然消化得还不是很好，但是觉得这一篇教程真的是干货满满。决定还是再花点时间仔细跟着 tutorial 走一遍并且整理一遍。和</description>
    </item>
    <item>
      <title>跟着 mimic-code 探索 MIMIC 数据之 tutorials (二)</title>
      <link>https://jiangjun.netlify.com/post/mimic-tutorials-2/</link>
      <pubDate>Fri, 03 Aug 2018 00:00:00 +0000</pubDate>
      <guid>https://jiangjun.netlify.com/post/mimic-tutorials-2/</guid>
      <description>mimic-code 的 tutorials 还提供了 sql-crosstab，很短，我大概看了感觉不是很有用，先放着了。using_r_with_jupyter.ipynb 就是教</description>
    </item>
    <item>
      <title>跟着 mimic-code 探索 MIMIC 数据之 tutorials (一)</title>
      <link>https://jiangjun.netlify.com/post/mimic-tutorials-1/</link>
      <pubDate>Wed, 01 Aug 2018 00:00:00 +0000</pubDate>
      <guid>https://jiangjun.netlify.com/post/mimic-tutorials-1/</guid>
      <description>SQL 算是学完了，结果回去看 mimic-code 发现大多数脚本根本看不懂！想起来小学做数学习题： 课本例题: 小明有 3 个苹果，吃了 1 个，请问小明还有几个苹果 ? 课后习题</description>
    </item>
    <item>
      <title>SQLBolt 课程学习笔记四 (13-18&#43;X 课)</title>
      <link>https://jiangjun.netlify.com/post/sqlbolt-13-18&#43;x/</link>
      <pubDate>Sat, 28 Jul 2018 00:00:00 +0000</pubDate>
      <guid>https://jiangjun.netlify.com/post/sqlbolt-13-18&#43;x/</guid>
      <description>SQL Lesson 13: Inserting rows 第 13 课，添加行 We&amp;rsquo;ve spent quite a few lessons on how to query for data in a database, so it&amp;rsquo;s time to start learning a bit about SQL schemas and how to add new data. 前面都是在学怎么查询数据库，现在该了解一下数据库 Schema （</description>
    </item>
    <item>
      <title>SQLBolt 课程学习笔记五 (番外篇)</title>
      <link>https://jiangjun.netlify.com/post/sqlbolt-more-topics/</link>
      <pubDate>Sat, 28 Jul 2018 00:00:00 +0000</pubDate>
      <guid>https://jiangjun.netlify.com/post/sqlbolt-more-topics/</guid>
      <description>SQL Topic: Subqueries 子查询 You might have noticed that even with a complete query, there are many questions that we can&amp;rsquo;t answer about our data without additional post, or pre, processing. In these cases, you can either make multiple queries and process the data yourself, or you can build a more complex query using SQL subqueries. 一次查询经常回答不了很多</description>
    </item>
    <item>
      <title>SQLBolt 课程学习笔记三 (9-12 课)</title>
      <link>https://jiangjun.netlify.com/post/sqlbolt-9-12/</link>
      <pubDate>Fri, 27 Jul 2018 00:00:00 +0000</pubDate>
      <guid>https://jiangjun.netlify.com/post/sqlbolt-9-12/</guid>
      <description>继续上课。 SQL Lesson 9: Queries with expressions 第 9 课，表达式查询。 In addition to querying and referencing raw column data with SQL, you can also use expressions to write more complex logic on column values in a query. These expressions can use mathematical and string functions along with basic arithmetic to transform values when the query is executed, as shown</description>
    </item>
    <item>
      <title>SQLBolt 课程学习笔记二 (6-8 课)</title>
      <link>https://jiangjun.netlify.com/post/sqlbolt-6-8/</link>
      <pubDate>Thu, 26 Jul 2018 00:00:00 +0000</pubDate>
      <guid>https://jiangjun.netlify.com/post/sqlbolt-6-8/</guid>
      <description>昨天看了大火的《工作细胞》，挺有趣的。血小板太可爱了！ 然后睡觉前看了一下 Todo list： 任重而道远啊，后面的课程还多着呢。继续继续—— SQL Lesson 6: Multi-table queries</description>
    </item>
    <item>
      <title>SQLBolt 课程学习笔记一 (1-5 课)</title>
      <link>https://jiangjun.netlify.com/post/sqlbolt-1-5/</link>
      <pubDate>Wed, 25 Jul 2018 00:00:00 +0000</pubDate>
      <guid>https://jiangjun.netlify.com/post/sqlbolt-1-5/</guid>
      <description>终究还是要回来好好补课，看文档太无聊。看网上很多人都推荐 SQLBolt 这个在线网站学习课程，所以今天就打算来看这个了。 整个课程包括介绍 + 18 节课 + 结束课程</description>
    </item>
    <item>
      <title>PostgreSQL 基础补课</title>
      <link>https://jiangjun.netlify.com/post/postgresql-notes/</link>
      <pubDate>Mon, 09 Jul 2018 00:00:00 +0000</pubDate>
      <guid>https://jiangjun.netlify.com/post/postgresql-notes/</guid>
      <description>接触 MIMIC 数据库一小阵，勉强一边 Google 一边看 mimic-code 提供的脚本搞定了本地数据库并且把所有提供的 concepts 都建立好了。 过程中 R 配合 RPostgreSQL 来连接和操作数据已经相对很容易了</description>
    </item>
    <item>
      <title>MIMIC iii 数据 &#43; PostgreSQL 数据库</title>
      <link>https://jiangjun.netlify.com/post/mimic-iii-postgresql/</link>
      <pubDate>Thu, 21 Jun 2018 00:00:00 +0000</pubDate>
      <guid>https://jiangjun.netlify.com/post/mimic-iii-postgresql/</guid>
      <description>申请的 MIMIC III 数据库 今天终于通过了，下载发现一堆 csv.gz 大小也是惊人。所以自己一一个直接用表格数据导入 R 怕是不可能了，只能去用他们推荐的数据库管理了。</description>
    </item>
  </channel>
</rss>
