Wang Sicong " Eating " Project - Shared Charging Bao - DB Design and Practice of Management and Sales Analysis System
Label
PostgreSQL, Internet of Things, Shared Charging Pool, Business Analysis System, Multi-table Association, Detailed Completion, Banning Association, ltree Tree Type, Parallel Computing, PostgreSQL 10 Black Technology, Sales Management
background
Share rechargeable treasures, bicycles, umbrellas, girlfriends, cars, etc. Shared economy has ...
Posted by lbraine on Thu, 20 Dec 2018 16:42:05 -0800
PostgreSQL 10.0 preview feature enhancement - dynamic view pg_stat_activity adds database management process information
Label
PostgreSQL, 10.0, pg_stat_activity, management process, background process, work process, parallel computing process
background
PostgreSQL is a process model. Some management processes will be fork at startup and after startup, and the user's service process will be generated when the user connects.
for example
1. Posmaster, responsibl ...
Posted by melody on Thu, 20 Dec 2018 05:15:05 -0800
PostgreSQL 10.0 preview Enhancement - Standby Support " Time, byte " Six-dimensional Delay
Label
PostgreSQL, 10.0, Time Measurement Standby Delay, pg_stat_replication
background
Four fields in the pg_stat_replication view record WAL loci fed back from the standby. As follows:
postgres=# \d pg_stat_replication
View "pg_catalog.pg_stat_replication"
Column | Type | Modifiers
---------- ...
Posted by oshecho on Tue, 18 Dec 2018 23:15:04 -0800
PostgreSQL 10.0 preview performance enhancements - hash index metapage cache, high concurrency enhancements
Label
PostgreSQL , 10.0 , hash index
background
hash index is a very old index access method in PostgreSQL, and it is also a very classic index.
The hash value of the index field is stored in the hash index, not the original value. The original value is stored in the btree index.
Therefore, when the field is very large, the btree index may n ...
Posted by spartan789 on Tue, 18 Dec 2018 20:54:04 -0800
12 - (OLTP) String Search for HTAP Database PostgreSQL Scenario and Performance Testing - Fuzzy Query before and after
Label
PostgreSQL, HTAP, OLTP, OLAP, Scenario and Performance Testing
background
PostgreSQL is a database with a long history, which can be traced back to 1973. It was first awarded by the 2014 Computer Turing Prize winner and the originator of relational database. Michael_Stonebraker PostgreSQL has similar functions, performance, architectur ...
Posted by Koobazaur on Sun, 16 Dec 2018 23:24:03 -0800
Flask and PostgreSQL on Heroku
Links to the original text: Flask and PostgreSQL on Heroku
Heroku is becoming my favorite platform for deploying simple Python applications. Heroku actually provides you with a fully managed system, and you can deploy your application in just a few minutes. Not to mention that its free version (1 dyno, Postgres dev plan) actually gives us mor ...
Posted by pitn on Fri, 14 Dec 2018 19:00:03 -0800
Dynamic Output (ToB Massive Log Conversion Service) - Aliyun HybridDB for PostgreSQL Best Practice
Label
PostgreSQL, UDF, Dynamic Format, Format, JOIN, OSS External Table
background
Some businesses need to categorize data into dynamic outputs, such as some common log services, where all users'logs are recorded in a unified format, but each end user has different fields of interest, and even different needs for data conversion for each use ...
Posted by LarryK on Fri, 14 Dec 2018 07:18:03 -0800
HTAP database PostgreSQL scenario and performance test 31 - (OLTP) high throughput data in and out (heap, line sweep, no index) - burn after reading (read and write high throughput simultaneous test)
Label
PostgreSQL, HTAP, OLTP, OLAP, Scenario and Performance Testing
background
PostgreSQL is a database with a long history, which can be traced back to 1973. It was first awarded by the 2014 Computer Turing Prize winner and the originator of relational database. Michael_Stonebraker PostgreSQL has similar functions, performance, architectur ...
Posted by i on Thu, 13 Dec 2018 20:06:13 -0800
master/salve handover based on async stream in pgsql 9.1
vm uses Oracle vm Virtual Box 5.2.4 r119785 (Qt5.6.2)
os uses debian 8.2
pgsql was 9.1.22
ip planning is as follows: two network segments
# 192.168.56.x
# 192.168.165.x
node1
bond0 192.168.56.100
bond0:1 192.168.56.101
eth0
eth1
bond1 192.168.165.100
bond1:1 192.168.165.101
eth2
eth3
node2
bond0 192.168.56.200
bond0:1
e ...
Posted by juancuca on Thu, 13 Dec 2018 01:12:07 -0800
Sequelize Chinese Document v4 - Transactions - Transaction
Transactions - Transactions
Examples of applications for this series of articles have been published. GitHub: sequelize-docs-Zh-CN.
Fork can help improve or Star can focus on updates. Welcome Star.
Sequelize supports two ways of using transactions:
A transaction that will automatically commit or roll back based on the result of the promis ...
Posted by amit beniwal on Wed, 12 Dec 2018 05:03:06 -0800