官术网_书友最值得收藏!

NoSQL capabilities

PostgreSQL is more than a relational database and a SQL language. PostgreSQL is now home to different NoSQL data types. The power of PostgreSQL and schema less data stores enables developers to build reliable and flexible applications in an agile way.

PostgreSQL supports the JavaScript Simple Object Notation (JSON) data type, which is often used to share data across different systems in modern RESTful web applications. In PostgreSQL release 9.4, PostgreSQL introduced another structured binary format to save JSON documents instead of using the JSON format in prior versions. The new data type is called JSONB. This data type eliminates the need to parse a JSON document before it's committed to the database. In other words, PostgreSQL can ingest a JSON document at a speed comparable with document databases, while still maintaining compliance with ACID. In PostgreSQL version 9.5, several functions are added to make handling JSON documents much easier. In version 10, full text search is supported for JSON and JSONB documents.

Key/value pairs are also supported by the PostgreSQL hstore extension. hstore is used to store semi-structured data, and it can be used in several scenarios to decrease the number of attributes that are rarely used and often contain null values.

Finally, PostgreSQL supports the Extensible Markup Language (XML) data type. XML is very flexible and is often used to define document formats. XML is used in RSS, Atom, SOAP, and XHTML. PostgreSQL supports several XML functions to generate and create XML documents. Also, it supports XPath to find information in an XML document.

主站蜘蛛池模板: 宁城县| 砀山县| 万州区| 雷山县| 衡阳县| 南靖县| 筠连县| 凤庆县| 宝丰县| 砀山县| 蓬溪县| 金沙县| 泰和县| 赞皇县| 汝州市| 鹤庆县| 宜兴市| 札达县| 兴国县| 綦江县| 岳普湖县| 文昌市| 福州市| 山东省| 广平县| 曲水县| 澄城县| 罗平县| 北票市| 寿光市| 常州市| 大化| 宁安市| 黑龙江省| 安阳市| 沛县| 徐州市| 客服| 浪卡子县| 白山市| 城市|