MySQL, Source Code Analysis, Memory Allocation Mechanism

Preface Memory resources are managed by the operating system, and allocation and recovery operations may perform system calls (for example, malloc algorithm, the larger memory space allocation interface is mmap, and the smaller space is not returned to the operating system after free). Frequent system calls will inevitably reduce system perform ...

Posted by jonorr1 on Sat, 01 Jun 2019 23:42:09 +0200

Performance testing and optimization of PostgreSQL 11 similar image search plug-in imgsmlr 2-single machine partition table (dblink asynchronous call parallel) (400 million images)

Label PostgreSQL, imgsmlr, GiST, image eigenvalues, wavelet transform background Continued "PostgreSQL 11 Similar Image Search Plug-in imgsmlr Performance Test 1 - Single Table (400 million images)" Parallel invocation using partition table + dblink asynchronous interface. (It's better to support imgsmlr gist index scan directly at ...

Posted by synapp2 on Wed, 15 May 2019 10:27:10 +0200

Basic usage of PostgreSQL

Preface PostgreSQL is an open source object relational database management system (ORDBMS). This paper aims to introduce some basic operations of PostgreSQL (hereinafter referred to as pg) for beginners'reference and reference. It should be noted that all the following operations were performed in Ubuntu 16.04, using version 9.6 of PG. For diff ...

Posted by may27 on Tue, 14 May 2019 20:20:13 +0200

General Version of Probabilistic soft logic

I. Introduction Probabilistic soft logic (PSL) is a machine learning framework for developing probabilistic models, developed jointly by the University of California, Santa Cruz and the University of Maryland. At present, its complex environment construction method and Groovy language expression have brought many difficulties to beginners like ...

Posted by jobe1 on Sun, 12 May 2019 12:23:52 +0200

Concise Deployment and Use of MSSQL(SQL Server) on Linux

Label PostgreSQL , ms sql , SQL Server background This paper introduces the simple deployment and use of MS SQL on Linux. https://docs.microsoft.com/zh-cn/sql/linux/quickstart-install-connect-red-hat?view=sql-server-2017 Later, I will briefly introduce how to migrate MS SQL to PostgreSQL. 1 environment CentOS 7.x x64 ECS 2. Environmental ...

Posted by MikeA on Sun, 12 May 2019 02:10:42 +0200

PostgreSQL sharding: citus Series 5 - worker node network optimization

Label PostgreSQL, citus, pgbouncer, network optimization, worker node background Network requirements between citus nodes: 1. The cn node accesses all worker nodes. oltp services are frequently accessed. 2. When data is redistributed, worker nodes visit each other. Access frequency is not high, OLAP business is common, once possible, data ex ...

Posted by nic0las on Sun, 12 May 2019 01:30:39 +0200

PostgreSQL Heap Only Tuple - HOT (Reducing Index Writing IO Enlargement Introduced by UPDATE)

Label PostgreSQL , Heap Only Tuple , HOT background PostgreSQL's current default storage engine generates a new version in the heap when updating records. The old version needs to recycle all index POINT associated with this version before it needs to recycle the old version after VACUUM is used. The KEY of the index of PG is the value of th ...

Posted by Goins on Mon, 06 May 2019 12:45:03 +0200