Computer information system

Computer information system Definition: data intensive, man-machine interactive computer system with the main purpose of providing information services Features: large quantity, lasting, sharing and providing a variety of services Structure: 1,Resource Management(DBMS and DB All on this layer) Various data information and resource manage ...

Posted by LeslieHart on Sat, 01 Jan 2022 08:38:57 +0100

PostgreSQL materialized view quick start

This article introduces PostgreSQL materialized views, which are used to store physical query results and can be updated periodically. A view is a virtual table of the underlying physical table, which itself does not save data. In order to distinguish it from the simple view, the underlying table data can also be updated through the view by d ...

Posted by Kwakhed on Mon, 27 Dec 2021 18:33:13 +0100

PostgreSQL -- Query Optimization -- organize plan tree

2021SC@SDUSC summary PostgreSQL code I am responsible for: query compilation and execution Analysis content of this blog: Query Optimization - generate plan The whole process of query optimization can be divided into three stages: preprocessing, generating path and generating plan. In the last blog, I analyzed the process of generating the ...

Posted by bampot on Sun, 26 Dec 2021 09:47:40 +0100

Get previous and next business day practice

Get previous and next business day practiceprefaceIn fact, this article has been published and discussed before. In the previous article, I introduced how to build a working day table through the sql statement of postgresql database, and how to use sql syntax to obtain the working day or natural day of a certain day, but I found that many detai ...

Posted by JSHINER on Mon, 20 Dec 2021 10:14:04 +0100

You need to know something about the storage of PostgreSQL data

PostgerSQL object identifier OID OID is an identifier used in PostgreSQL to identify database objects (database, table * *, view, * * stored procedure, etc.), which is represented by an unsigned integer of 4 bytes. It is the primary key of most system tables in PostgreSQL. Type oid represents an object identifier. There are also alias types ...

Posted by leung on Fri, 17 Dec 2021 19:19:59 +0100

PostgreSQL DBA most commonly used SQL

Create relevant views according to the data dictionary to facilitate query create schema dba; create view dba.ro_conflicts as select datname,pg_stat_get_db_conflict_all(oid) conflict_all,pg_stat_get_db_conflict_bufferpin(oid) conflict_bufferpin,pg_stat_get_db_conflict_lock(oid) conflict_lock,pg_stat_get_db_conflict_snapshot(oid) conflict_ ...

Posted by phpnoobie on Wed, 15 Dec 2021 17:25:57 +0100

Topology Topology_ 8:TopoGeometry Constructor

8. TopoGeometry constructor 8.1. CreateTopoGeom CreateTopoGeom - from the array of topological elements tg_type: 1:[multi]point, 2:[multi]line,3:[multi]poly, 4:collection creates a new topological geometry object 8.1. 1. Summary topogeometry CreateTopoGeom(varchar toponame, integer tg_type, integer layer_id, topoelementarray tg_objs); topog ...

Posted by dsantamassino on Tue, 14 Dec 2021 18:29:31 +0100

Topology topology_ 4: Topology constructor

4. Topology constructor 4.1. CreateTopology CreateTopology - create a new topology schema and register the new schema in the topology. Topology table. 4.1. 1. Summary integer CreateTopology(varchar topology_schema_name); integer CreateTopology(varchar topology_schema_name, integer srid); integer CreateTopology(varchar topology_schema_name, ...

Posted by Peredy on Fri, 10 Dec 2021 17:21:15 +0100

Topology topology_ 3: Topology and topology geometry management

3. Topology and topology geometry management 3.1. AddTopoGeometryColumn AddTopoGeometryColumn - adds a topology geometry column to the existing table and registers the new column as a layer in the topology. And return to the new layer_id. 3.1. 1. Summary integer AddTopoGeometryColumn(varchar topology_name, varchar schema_name, varchar tabl ...

Posted by funkyres on Thu, 09 Dec 2021 18:42:32 +0100

Introduction to PostgreSQL architecture

PostgreSQL is the most open source database like oracle. We can compare Oracle and learn its architecture, which is easier to understand. The main structure of PostgreSQL is as follows: 1. Storage structure PG data storage structure is divided into logical storage structure and physical storage structure. Among them: logical storage structur ...

Posted by steekyjim on Thu, 09 Dec 2021 14:43:08 +0100