A database contains one or more named schemas, and the schema contains tables. The pattern also contains other named objects, including data types, functions, and operators. The same object name can be used in a different pattern without causing a
Project used in the PostgreSQL earthdistance () function to calculate the distance between two points on the Earth, the Chinese information is too little, I found an English, speak a very good article, I hereby translate, hope to be able to help
1. Download
To the website to download the latest PostgreSQL Studio, I downloaded pgstudio_1.2-bin. zip because there are no Tomcat in my computer.
If the computer has a good configuration of tomcat, you can download Pgstudio_1.2.zip, after
First, IntroductionPostgreSQL has a very useful built-in function generate_series, which can produce a series of padding data according to different rules.Second, the grammar
function
parameter Type
return type
1. Characteristics of the index 1.1 accelerating the retrieval of conditionsThe query slows down as the amount of table data becomes larger, uses the index on the table's criteria fields, quickly navigates to records that might satisfy the criteria,
System WIN10, installing PostgreSQL and PostGIS.Initially installed in the official website to download the PostgreSQL9.5 version, encountered a lot of problems, and later replaced by 9.4.4, experienced 3 days, finally installed successfully.Quietly
Date Operation1.operation current date and timeOracle Select sysdate from dual; PostgreSQL Select current_date;Select now (); Return date Time also includes time zone2. The acquisition subdomain of the operating timeOracle: Select to_char
I. Introduction of PostgreSQL1. What is PostgreSQLThe PostgreSQL database is the most powerful open source database available, supporting rich data types such as JSON jsonb type, array type, and custom types. And it provides a rich interface that
prepare before compiling 1. Installing mingw installation MinGW (either directly installed MinGW or the others as Code :: blocks supplied with installed MinGW ), enter: gcc-v can display the version information like, my version is Mingw32 4.9.2 . 2.
Concurrency control is the key technology of DBMS, concurrency control technology is also called synchronization mechanism, and its implementation usually relies on the underlying concurrency control mechanism. The operating system provides a
After the previous text PostgreSQL compilation installation and debugging (a), continue to talk about the installation and debugging PostgreSQL.The previous article explained how to compile and install PostgreSQL on a Linux system, and this time
1, MySQL relatively young, for the first appearance in 1994 years. It claims to be the most popular open source database. MySQL is the M in the lamp (for web development packages, including Linux, Apache, and Perl/php/python). Most applications
[SQL] View PlainCopy
1, quite with the MySQL show databases;
[SQL] View PlainCopy
Select Datname from pg_database;
[SQL] View PlainCopy
2, equivalent to the MySQL show tables;
[SQL] View PlainCopy
So far, we have processed file-based replication (or log shipping) and simple stream-based replication settings. In both cases, after the transaction is committed on master, the data is submitted and received by slave. It will still be lost at the
3.3 Do the basic backupIn the previous section, you have seen that enabling archiving requires only a few lines of command and provides great flexibility. In this section, we will see how to create a so-called base backup, which can be used later
Because recently to do a data study, need to put the data into storage, open source database, students may generally choose MySQL, but some of the MySQL functions can be too tired, so I replaced with Oracle more similar to the PostgreSQL, recently
Oid: the Object ID of the row ). This field only appears when the with oids is used when the table is created, or when the default_with_oids configuration parameter is set. This field is of the oId type (with the same name as the field ).
Example:
Today, I learned how to use PL/pgsql to write the PostgreSQL storage process. There is really little information on the Internet. The only thing I can find is to copy it. I 'd like to copy the PostgreSQL documentation, let's talk about the problem
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.