- Mastering PostgreSQL 10
- Hans Jürgen Sch?nig
- 192字
- 2021-06-30 19:03:48
Introducing ICU encodings
When a PostgreSQL database is created, the administrator can choose the encoding, which should be used to store the data. Basically, the configuration decides which characters exist and in which order they are displayed. Here is an example—de_AT@UTF-8. In this case, we will use Unicode characters, which will be displayed in an Austrian sort order (Austrians speak some sort of German). So, de_AT will define the order in which the data will be sorted.
To achieve this kind of sorting, PostgreSQL relies heavily on the operating system. The trouble is that if the sort order of characters changes in the operating system for some reason (maybe because of a bug or because of some other reason), PostgreSQL will have troubles with its indexes. A normal b-tree index is basically a sorted list, and if the sort order changes, naturally, there is a problem.
The introduction of the ICU library is supposed to fix this problem. ICU offers stronger promises than the operating system and is, therefore, more suitable for long-term storage of data. With the introduction of PostgreSQL 10.0, ICU encodings can be enabled.
- Cinema 4D R13 Cookbook
- Getting Started with Clickteam Fusion
- Hands-On Neural Networks with Keras
- 城市道路交通主動控制技術
- Arduino &樂高創意機器人制作教程
- 新手學電腦快速入門
- CompTIA Linux+ Certification Guide
- 電氣控制與PLC技術應用
- Hadoop應用開發基礎
- Dreamweaver CS6精彩網頁制作與網站建設
- Applied Data Visualization with R and ggplot2
- FANUC工業機器人配置與編程技術
- 未來學徒:讀懂人工智能飛馳時代
- 步步驚“芯”
- 計算機辦公應用培訓教程