- 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.
- Hands-On Artificial Intelligence on Amazon Web Services
- 會聲會影X5視頻剪輯高手速成
- 機器學習與大數據技術
- Visual C# 2008開發技術詳解
- Hands-On Linux for Architects
- 21天學通Java Web開發
- 數據掘金
- 云原生架構進階實戰
- FPGA/CPLD應用技術(Verilog語言版)
- 深度學習與目標檢測
- Salesforce Advanced Administrator Certification Guide
- 一步步寫嵌入式操作系統
- 工業機器人集成應用
- Java Deep Learning Projects
- CPLD/FPGA技術應用