Since the introduction of the relational database model by edugatd in 1970, relational databases began to emerge. After more than 40 years of evolution, today's relational databases have a wide variety of features and are widely used. In the face of
Document directory
Supported Data Types
PostgreSQL is a widely used free and open source database. Compared with MySQL, PostgreSQL is more suitable for complicated enterprise computing tasks. MySQL is more widely used in the Internet field,
I. Index type:PostgreSQL provides a variety of index types: B-tree, hash, GIST, and gin. Because they use different algorithms, each index type has a suitable Query type, saving time and resources, the create Index Command creates a B-tree index.1.
PostgreSQL tutorial (8): Index details, postgresql Index
I. Index type:
PostgreSQL provides multiple index types: B-Tree, Hash, GiST, and GIN. Because they use different algorithms, each index type has a suitable Query type, the create index Command
1. Installation Environment InstructionsThe author in this machine under the virtual machine installation, the database has been installed.ubuntu16.04 x64Postgresql:9Wildfly102. Preparation before installationDownload the necessary packages
Use pgpool to achieve high availability of PostgreSQL
Pgpool-ii is used to achieve high availability of PG. Based on the stream replication method, two nodes are automatically switched:
1. Single pgpool
A. Environment:
Pgpool: 192.168.238.129Data1: 1
I. Type of index:
PostgreSQL provides a variety of index types: b-tree, Hash, Gist, and gin, because they use different algorithms, so each index type has its appropriate query type, and by default the CREATE INDEX command creates a B-tree index.1.
What is the latency between the PostgreSQL database stream replication master and standby and should be evaluated for both HA and load balancing. A simple HA architecture, for example, is how much time we allow for data loss in the event of a
PostgreSQL has a wide range of data types available. Users can use the CREATE type command to Add new data types to PostgreSQL. Table 8-1 shows all the built-in common data types. Most of the optional names listed in the aliases column are names
PostgreSQL Type
the default. NET type
specific types of offers
other. NET Types
bool
bool
Int2
Short
BYTE, sbyte, int, long, float, double, decimal, string
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.