惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 三生石上(FineUI控件)
GbyAI
GbyAI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
I
InfoQ
Latest news
Latest news
H
Help Net Security
D
Darknet – Hacking Tools, Hacker News & Cyber Security
T
The Exploit Database - CXSecurity.com
雷峰网
雷峰网
Know Your Adversary
Know Your Adversary
人人都是产品经理
人人都是产品经理
C
Cisco Blogs
NISL@THU
NISL@THU
P
Proofpoint News Feed
Y
Y Combinator Blog
I
Intezer
博客园_首页
P
Proofpoint News Feed
Spread Privacy
Spread Privacy
C
CERT Recently Published Vulnerability Notes
G
Google Developers Blog
P
Privacy & Cybersecurity Law Blog
MyScale Blog
MyScale Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
有赞技术团队
有赞技术团队
S
Schneier on Security
N
Netflix TechBlog - Medium
C
Cybersecurity and Infrastructure Security Agency CISA
T
The Blog of Author Tim Ferriss
K
Kaspersky official blog
博客园 - 聂微东
S
Securelist
Recent Announcements
Recent Announcements
A
About on SuperTechFans
Microsoft Azure Blog
Microsoft Azure Blog
Last Week in AI
Last Week in AI
大猫的无限游戏
大猫的无限游戏
宝玉的分享
宝玉的分享
The GitHub Blog
The GitHub Blog
博客园 - 司徒正美
Vercel News
Vercel News
WordPress大学
WordPress大学
M
MIT News - Artificial intelligence
U
Unit 42
T
Tailwind CSS Blog
云风的 BLOG
云风的 BLOG
B
Blog
aimingoo的专栏
aimingoo的专栏
H
Hackread – Cybersecurity News, Data Breaches, AI and More

Use The Index, Luke!

Index Usage For EXTRACT(YEAR FROM …), YEAR(…) etc. Index INCLUDE Clause: How it works and when to use it Upcoming Training: SQL Performance Kick-Start and modern SQL Spanish Translation and Other News Big News In Databases: new SQL standard, cloud wars, ACIDRain (Spring 2017)
Big News In Databases: Cloud Wars, IBM’s Renaming Insanity, Three Major Releases
2017-11-06 · via Use The Index, Luke!

Big News In Databases — Fall 2017


Don’t fall behind: Here’s the most important database news from the last six months.

SQL on The Rise

NoSQL pioneer Google writes that their Spanner database is becoming a SQL system (summary). Salesforce uses Artificial Intelligence to translate natural language to SQL. Even some ORM0 vendors say it is better to use SQL. Seems like SQL has a positive vibe.

The highly popular article “Why SQL is beating NoSQL, and what this means for the future of data” is a very nice write-up of why SQL had become frowned upon, and how it is now gaining new popularity right.

The Cloud War Continues

In the previous edition, I reported about the sudden spike in license costs for the Oracle database in Amazon’s AWS and Microsoft’s Azure cloud environments.

In July the opposite happened for users of Microsoft SQL Server: the cost of running the Standard Edition in Amazon’s AWS cloud was reduced by between 29 and 52 percent.

There is a saying that there are only two hard things in computer science: (0) cache invalidation, (1) naming things, (2) and off-by-one errors. In June, IBM renamed the products in the Db2 family and thereby demonstrated how to cause great harm by choosing poor names.

Old NameNew Name
DB2 for LUWDb2
DB2 for z/OSDb2 for z/OS
DB2 for iSeriesDb2 for i

Note the subtle but groundbreaking innovation to write the “b” in Db2 as a lower case letter.

All sarcasm aside: Previously, DB2 was a common element in the names of different products of the same family. The “for” addendum made a distinction between each product. As these products offer different features,1 the distinction is quite important.

The new name Db2 doesn’t allow this distinction anymore because it represents the whole family as well as one specific product. This lack of differentiation becomes a real problem when searching the internet: webpages about the former product DB2 for LUW might not contain “LUW” anymore. Reducing the iSeries addendum to i doesn’t improve searching either.

Wikipedia says “A name is a term used for identification.” I doubt the new names fulfill this purpose sufficiently.

One thing is for sure: the new naming is an upgrade for the LUW version. The reverse of this conclusion shines an interesting light on the other variants. IBM also looses grounds in the just published Gartner Magic Quadrant for Operational Databases 2017—it’s now far behind SAP and Amazon Web Services (AWS).

Other Vendors Rethink Release Numbering

I have already mentioned that the next MySQL major release after 5.7 will be MySQL 8.0. In the meantime, a release candidate is available.

The next major release of the Oracle Database will be 18c (instead of 12.2.0.2). New releases will be annual and the version will be the last two digits of the release year (see also: release roadmap).

Starting with the just released PostgreSQL 10, there is no dot in the major versions of PostgreSQL anymore.

New Database Releases

In the past six month there were three major releases among the most popular SQL databases.

SQL Server 2017 (October 2017)

My personal picks from the “new features” list:

PostgreSQL 10 (October 2017)

My favorite new features:

MariaDB 10.2 (May 2017)

MariaDB3 10.2 introduces two very important features that will also appear in MySQL 8.0:

News on my Sites

Articles I published or updated:

From Twitter, in Great Brevity (follow me on Twitter)

You can’t learn everything in one day. Subscribe the newsletter via E-Mail, Bluesky or RSS to gradually catch up. Have a look at modern-⁠sql.com as well.

About the Author

Photo of Markus Winand

Markus Winand provides insights into SQL and shows how different systems support it at modern-sql.com. Previously he made use-the-index-luke.com, which is still actively maintained. Markus can be hired as trainer, speaker and consultant via winand.at.

Footnotes

  1. Object-relational mapping tools such as Sequel (mentioned in the article), Hibernate, Doctrine, …

  2. IBM itself publishes “The SQL reference for cross-platform development” to document the common SQL functionality for developers.

  3. The main limitation is the “batch mode” which is mostly used for queries accessing column store indexes. See “What You Need to Know about the Batch Mode Window Aggregate Operator in SQL Server 2016: Part 1” for a good intro.

  4. MariaDB is the MySQL clone continued by the original creator of MySQL after Oracle indirectly acquired MySQL through Sun in 2009.