当前位置:网站首页>Introduction to PostgreSQL
Introduction to PostgreSQL
2022-08-10 20:56:00 【The wind cloud edge】
Article table of contents
PostgreSQL
PostgreSQL originated in the Department of Computing at the University of California, Berkeley, and was originally conceived in 1986 as the Berkley Postgres Project.In 1995, developers Andrew Yu and Jolly Chen added a SQL translator to Postgres and released it in the open source community, called Postgres95. In 1996, the developers again made major changes to Postgres95 and made it PostgresSQLVersion 6.0 is officially released.
PostgreSQL is a powerful open source object-relational database system that uses and extends the SQL language and incorporates many features to securely store and scale the most complex data workloads.It has earned a strong reputation for its proven architecture, reliability, data integrity, robust feature set, scalability, and the open source community's dedication to the software's continuous delivery performance and innovative solutions.PostgreSQL runs on all major operating systems, has been acid compatible since 2001, and has powerful plugins such as the popular PostGIS geospatial database extender.Since MySQL was acquired by Oracle, PostgreSQL has gradually become the open source relational database of choice.
Features
Data Type
- Basic types: Integer, Numeric, String, Boolean
- Structure types: Date/Time, Array, Range / Multirange, UUID
- Document Types: JSON/JSONB, XML, Key-value (Hstore)
- Geometry types: Point, Line, Circle, Polygon
- Custom Types: Composite, Custom Types
Integrity constraints
- Data unique constraint, not null constraint
- Primary key constraints
- Foreign key constraints
- Exclude constraints
- Explicit locking, Advisory locking
Concurrency, performance
- Index: B-tree, composite index, expression index, local index
- Advanced Indexing: GiST, SP-Gist, KNN GiST, GIN, BRIN, Covering Index, Bloom Filter
- Sophisticated query planner/optimizer, index scan only, multi-column statistics
- Transactions, Nested Transactions
- Multi-version concurrency control
- Parallel read query and build B-tree index
- Table partitioning
- All transaction isolation levels defined in the SQL standard, including Serializable
- Just-in-time (JIT) compilation of expressions
Reliability
- Write Ahead Log (WAL)
- Data replication (asynchronous, synchronous, logical): For Web applications, the characteristics of replication are very important. PostgreSQL can achieve synchronous, asynchronous, and semi-synchronous replication.PostgreSQL's replication is based on WAL and can achieve synchronous replication.At the same time, PostgreSQL also provides stream replication.
- point-in-time recovery
- Active Backup
- Tablespace
Security
- Authentication methods: GSSAPI, SSPI, LDAP, SCRAM-SHA-256, certificate, etc.
- Robust access control system
- Column and row level security
- Multi-factor authentication using certificates and additional methods
Scalability
Stored Functions and Procedures
Procedural languages: PL/PGSQL, Perl, Python (and more)
SQL/JSON path expressions
Foreign Data Wrapper: use standard SQL interface to connect to other databases or streams
Customizable table storage interface
Many extensions provide additional functionality, including PostGIS
Internationalization, text search
Supports international character sets, such as sorting by ICU
Case-insensitive and accent-insensitive collation
Full Text Search
边栏推荐
- 铱钌合金/氧化铱仿生纳米酶|钯纳米酶|GMP-Pd纳米酶|金钯复合纳米酶|三元金属Pd-M-Ir纳米酶|中空金铂合金纳米笼核-多空二氧化硅壳纳米酶
- C语言系列——猜名次、猜凶手、打印杨辉三角
- 【SemiDrive源码分析】【MailBox核间通信】52 - DCF Notify 实现原理分析 及 代码实战
- 哈工大软件构造Lab3(2022)
- Demis Hassabis:AI 的强大,超乎我们的想象
- leetcode 84.柱状图中最大的矩形 单调栈应用
- 【语义分割】2016-SegNet TPAMI
- Tf铁蛋白颗粒包载顺铂/奥沙利铂/阿霉素/甲氨蝶呤MTX/紫杉醇PTX等药物
- QSslSocket has not been declared
- 【CNN】刷SOTA的trick
猜你喜欢
随机推荐
壁仞推出全球最大算力芯片,号称以7nm超越英伟达4nm最新GPU
Implementation of graceful exit in Golang
Transferrin-modified osthole long-circulating liposomes/PEG-PLGA nanoparticles loaded with notoginsenoside R1 ([email prot
CGO 初步认知和基本数据类型转换
姜还是老的辣,看看老战哥的老底儿和严谨劲儿
【图像分类】2018-MobileNetV2
C 语言 时间函数使用技巧(汇总)
【CNN】刷SOTA的trick
kuberentes Auditing 入门
【图像分类】2017-MobileNetV1 CVPR
链表应用----约瑟夫问题
1D Array Dynamics and Question Answers
【一致性hash】负载均衡器分发请求
The servlet mapping path matching resolution
OPPO Enco X2 迎来秋季产品升级 旗舰体验全面拉满
[SemiDrive source code analysis] [MailBox inter-core communication] 51 - DCF_IPCC_Property implementation principle analysis and code combat
servlet映射路径匹配解析
【ACM】dp专场训练
电脑重装系统Win11格式化硬盘的详细方法
参天生长大模型:昇腾AI如何强壮模型开发与创新之根?









