蠎周刊 - PgWeeklyhttps://weekly.pychina.org/2019-04-08T20:33:07+08:00Postgres Weekly : Issue 2292019-04-04T15:32:00+08:002019-04-08T20:33:07+08:00Pythoneermtag:weekly.pychina.org,2019-04-04:/pgweekly/pgw-229.html<p>原文: <a href="https://postgresweekly.com/issues/299">Postgres Weekly Issue 299: April 3, 2019</a></p>
<p><img alt="..." src="https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/ssoylsgxn7il7w6zynuj.jpg"></p>
<ul>
<li><a href="https://postgresweekly.com/link/61543/web">Postgres 获得 'Generated Column' 支持</a><ul>
<li>Peter Eisentraut</li>
</ul>
</li>
</ul>
<p>It's always great to see Postgres gaining support for an SQL-standard feature and this commit begins with a simple example of how one type of generated column will work in the future …</p><p>原文: <a href="https://postgresweekly.com/issues/299">Postgres Weekly Issue 299: April 3, 2019</a></p>
<p><img alt="..." src="https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/ssoylsgxn7il7w6zynuj.jpg"></p>
<ul>
<li><a href="https://postgresweekly.com/link/61543/web">Postgres 获得 'Generated Column' 支持</a><ul>
<li>Peter Eisentraut</li>
</ul>
</li>
</ul>
<p>It's always great to see Postgres gaining support for an SQL-standard feature and this commit begins with a simple example of how one type of generated column will work in the future. MySQL 5.7 introduced a similar feature and SQL Server calls them computed columns.</p>
<ul>
<li><a href="https://postgresweekly.com/link/61546/web">用 pg_dump / pg_restore 进行 Postgres 升级 </a><ul>
<li>Jobin Augustine, Vallarapu, et al.</li>
</ul>
</li>
</ul>
<p>Last time they looked at using pg_dumpall, now it’s pg_dump and pg_restore’s turn under the spotlight.</p>
<ul>
<li><a href="https://postgresweekly.com/link/61548/web">在 PostgreSQL 数据库中监控的度量标准</a><ul>
<li>InfluxData </li>
<li>sponsor</li>
</ul>
</li>
</ul>
<p>There are several key metrics you’ll want to keep track of when it comes to database performance, and they’re not all database-specific.</p>
<p>(<code>是也乎:</code></p>
<p><img alt="..." src="https://copm.s3.amazonaws.com/2e860b79.jpg"></p>
<p>这种很搭的赞助商才对味儿</p>
<p>)</p>
<ul>
<li><a href="https://postgresweekly.com/link/61549/web">2019 年 PostgreSQL 趋势报告</a><ul>
<li>ScaleGrid</li>
</ul>
</li>
</ul>
<p>A multi-cloud DBaaS provider surveyed users at last month’s PostgresConf and shares the results here. AWS comes in as the most popular cloud platform to host Postgres on and cost is the biggest reason to choose Postgres.</p>
<ul>
<li><a href="https://postgresweekly.com/link/61550/web">就等 PostgreSQL 12: REINDEX CONCURRENTLY</a><ul>
<li>Hubert depesz Lubaczewski</li>
</ul>
</li>
</ul>
<p>In Postgres 12, the REINDEX command (which rebuilds an index from a table’s current data) gains an option to have it build the index in the background and switch it into play upon completion.</p>
<ul>
<li><a href="https://postgresweekly.com/link/61552/web">用 TimescaleDB 为 PostgreSQL 的 Azure 数据库就物联网和时间序列工作负载提供动力</a><ul>
<li>Sunil Kamath (Microsoft)</li>
</ul>
</li>
</ul>
<p>A new partnership with Timescale that introduces support for TimescaleDB (a Postgres extension that focuses on time-series support) on Azure for customers building IoT and time-series workloads.</p>
<ul>
<li>
<p><a href="https://postgresweekly.com/link/61553/web">如何将大规模并行 Postgres 数据库迁移进 Kubernetes </a></p>
<ul>
<li>Oz Basarir (Pivotal)</li>
</ul>
</li>
<li>
<p><a href="https://postgresweekly.com/link/61554/web">Pgpool-II 4.1 中的语句级负载平衡</a></p>
<ul>
<li>PgPool</li>
</ul>
</li>
<li>
<p><a href="https://postgresweekly.com/link/61556/web">Migra: Like diff But For Postgres Schemas</a></p>
<ul>
<li>Robert Lechte</li>
</ul>
</li>
</ul>
<p>Written in Python and can be used from your own Python scripts or the command line.</p>
<p>(<code>是也乎:</code></p>
<p>哈, Python 喜欢干的事儿...</p>
<p>)</p>
<ul>
<li><a href="https://postgresweekly.com/link/61557/web">ActiveRecordExtended 1.0: Adds Additional Postgres Functionality to Ruby's Active Record</a><ul>
<li>George Protacio-Karaszi</li>
</ul>
</li>
</ul>
<p>Active Record, as commonly used in Ruby on Rails apps to interact with databases, is naturally database agnostic but Postgres has so many extra querying features it’s a shame not to be able to use them. This gem adds things like array and JSON querying, CTEs, and unions to the mix.</p>
<ul>
<li><a href="https://postgresweekly.com/link/61559/web">repmgr 4.3 发布</a><ul>
<li>2ndQuadrant </li>
</ul>
</li>
</ul>
<p>A popular tool for replication and failover management that includes several usability improvements in this release.</p>
<h2>社区/活动</h2>
<blockquote>
<p>🗓 Upcoming Postgres Events</p>
</blockquote>
<ul>
<li><a href="https://postgresweekly.com/link/61560/web">pgconf.de 2019 (May 10 in Leipzig, Germany)</a><ul>
<li>德国 (May 10 in Leipzig, Germany)</li>
</ul>
</li>
</ul>
<p>The latest edition of the highly successful German-speaking PostgreSQL conference.</p>
<ul>
<li>
<p><a href="https://postgresweekly.com/link/61561/web">PGDay.IT 2019 (May 16 in Bologna, Italy)</a></p>
<ul>
<li>意大利 (May 16 in Bologna, Italy)</li>
</ul>
</li>
<li>
<p><a href="https://postgresweekly.com/link/61562/web">PGCon 2019 (May 28 in Ottawa, Canada)</a></p>
<ul>
<li>加拿大 (May 28 in Ottawa, Canada) </li>
</ul>
</li>
</ul>
<p>An annual conference for users and developers to meet and discuss all things Postgres.</p>
<ul>
<li><a href="https://postgresweekly.com/link/61563/web">Postgres Vision 2019 (June 24 in Boston, MA)</a><ul>
<li>USA (June 24 in Boston, MA)</li>
</ul>
</li>
</ul>
<h2>是也乎</h2>
<ul>
<li>190404 <a href="http://zoomquiet.org/">Zoom.Quiet</a> 用时 13 分钟 完成快译.</li>
<li>190404 <a href="http://zoomquiet.org/">Zoom.Quiet</a> 用时 3 分钟 完成格式转抄.</li>
</ul>Postgres Weekly : Issue 472014-02-19T21:42:00+08:002014-02-19T21:43:59+08:00Pythoneermtag:weekly.pychina.org,2014-02-19:/pgweekly/pgw-47.html<p>原文: <a href="http://postgresweekly.com/issues/47">Postgres Weekly Issue 47: February 19, 2014</a></p>
<ul>
<li><a href="http://www.craigkerstiens.com/2014/02/15/PostgreSQL-9.4-What-I-Wanted/?utm_source=postgresweekly&utm_medium=email">PostgreSQL 9.4 - 对此俺有什么期望</a></li>
</ul>
<p>PostgreSQL 9.4 已经指日可待了,
虽然以前俺唠叨过,但是,他们依然没有都包含进 …</p><p>原文: <a href="http://postgresweekly.com/issues/47">Postgres Weekly Issue 47: February 19, 2014</a></p>
<ul>
<li><a href="http://www.craigkerstiens.com/2014/02/15/PostgreSQL-9.4-What-I-Wanted/?utm_source=postgresweekly&utm_medium=email">PostgreSQL 9.4 - 对此俺有什么期望</a></li>
</ul>
<p>PostgreSQL 9.4 已经指日可待了,
虽然以前俺唠叨过,但是,他们依然没有都包含进去.
当然,现在你依然可以进入列表以及#postgresql IRC 继续唠叨...</p>
<p><code>Craig Kerstiens</code></p>
<ul>
<li><a href="https://www.eventbrite.com/e/pgconf-nyc-2014-tickets-5944459037?discount=PGWEEKLY14&aff=pgweekly">PGConf NYC 2014 放票了 - New York - 四月 3-4</a></li>
</ul>
<p>本次 PGConf 已经公布了日程,想去的,俺这儿有 PG Weekly 专用的优惠码 ;-)</p>
<p><code>Eventbrite</code></p>
<ul>
<li><a href="http://blog.databasepatterns.com/2014/02/trees-paths-recursive-cte-postgresql.html?utm_source=postgresweekly&utm_medium=email">数据库范式: 在PG 中通过 RECURSIVE 使用 Trees 和 Paths</a></li>
</ul>
<p>CTEs 能难以致信的提升 Postgres 的表达能力,
允许你不用 plpgsql 或是 其它 pl 语言进行递归查询!
这儿已经有些实例,比如折腾 Trees 和 Paths.</p>
<p><code>Database Patterns</code></p>
<ul>
<li><a href="http://tapoueh.org/blog/2014/02/17-aggregating-nba-data-PostgreSQL-vs-MongoDB.html?utm_source=postgresweekly&utm_medium=email">对 NBA 数据进行聚合, PostgreSQL vs MongoDB</a></li>
</ul>
<p>又一场在关系数据库和无模式数据库间的业务比对,
以相同的事务为目标,对比双方怎么折腾出结果来.</p>
<p><code>Dimitri Fontaine</code></p>
<ul>
<li><a href="http://blogs.enterprisedb.com/2014/02/14/valentines-day-a-day-to-love-postgres-2/?utm_source=postgresweekly&utm_medium=email">情人节, 爱PG</a></li>
</ul>
<p>如果你想在这天入 PG 教,这儿提供了一个不错的资源列表给你.
当然,如果你自个儿有其它积累,也欢迎增补到其中!</p>
<p><code>Marc Linster</code></p>
<ul>
<li><a href="http://www.slideshare.net/MarkusWinand/indexes-neglectedperformanceallrounder?utm_source=postgresweekly&utm_medium=email">索引: 被忽视的性能多面手</a></li>
</ul>
<p>每当遇到性能问题追加硬件往往就能解决,
从而忽视了 索引 的能力.
这儿有一次 FOSDEM 中的对话,
给出了各种在人家哪儿是什么用 索引 跨越性能问题的体验.</p>
<p><code>Marcus Winand</code></p>
<h1>是也乎</h1>
<ul>
<li>140219 <a href="http://zoomquiet.org/">Zoom.Quiet</a> 用时 13 分钟 完成快译.</li>
<li>140219 <a href="http://zoomquiet.org/">Zoom.Quiet</a> 用时 3 分钟 完成格式转抄.</li>
</ul>