PostgreSQL: Extension of SQL Information Statistics

Summary Pg_stat_states is an extension plug-in of PostgreSQL database, which is used to collect the running information of SQL in the database, such as the total execution time of SQL, the number of calls, the hit rate of shared memory and so on. Used to monitor the performance of database is an important expansion module of database performanc ...

Added by sn0n on Tue, 27 Aug 2019 11:35:41 +0300

Java Second Kill System Actual Series ~RabbitMQ Dead Letter Queue Processing Overtime Unpaid Orders

Summary:This blog is the tenth in the "Java Second Kill System Practical Series Articles". In this blog, we will adopt RabbitMQ's death letter queue to deal with the situation that "user's death letter queue generates orders successfully but fails to pay late", so we can see the strength of RabbitMQ's death letter queue in t ...

Added by llimllib on Tue, 27 Aug 2019 07:33:20 +0300

MariaDB 10.2.26 xtrabackup Important Steps Record

1. Create test case library tables Welcome to the MariaDB monitor. Commands end with ; or \g.Your MariaDB connection id is 11Server version: 10.2.26-MariaDB-log MariaDB Server Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MariaDB [(none)]> ...

Added by MrOnline on Tue, 27 Aug 2019 00:13:14 +0300

Laravel Best Practices

Principle of Single Responsibility A class and a method should have only one responsibility. For example: public function getFullNameAttribute() { if (auth()->user() && auth()->user()->hasRole('client') && auth()->user()->isVerified()) { return 'Mr. ' . $this->first_name . ' ' . $this->middle_nam ...

Added by jonemo on Fri, 23 Aug 2019 09:20:43 +0300

Development of Big Data Module--Statistical Analysis

After the data warehouse is built, users can write Hive SQL statements to access them and analyze the data. In actual production, which statistical indicators are needed are usually proposed by the relevant departments of data demand, and new statistical requirements will continue to emerge. The following are some typical indicators in website ...

Added by davey10101 on Fri, 23 Aug 2019 06:58:37 +0300

Introduction and Advancement of Elastic Search in springboot: Combination Query, Aggregation Query

Links to the original text: https://blog.csdn.net/topdandan/article/details/81436141 1. Configure elastic Search in spring boot 1.1 Introducing related jar packages into engineering 1.1.1 Add the required jar package to build.gradle I ...

Added by sepodati on Wed, 21 Aug 2019 05:31:28 +0300

Java JDBC Data Source

There are two types of data sources: Ordinary Data Source: Data Source Driven by Database Connection pools include connection pools with database drivers and common third-party connection pools such as DBCP and C3P0.     Data Source with Database Driver 1 //from properties File Loading Data Source Configuration 2 Properties ...

Added by stig1 on Mon, 19 Aug 2019 12:43:52 +0300

Introduction to MySQL - Query Grammar Exercise

Preface: The previous articles introduce the use of DML and DDL statements. This article will mainly describe the commonly used query grammar. In fact, MySQL official website gives many sample databases for your practical query. Below we take the most commonly used employee sample database as the standard, and introduce in detail their commonly ...

Added by swell on Sun, 18 Aug 2019 09:39:58 +0300

JDBC Learning (Section 6: Processing Large Data Objects)

Section I: Overview of JDBC Section II: JDBC Connecting to Database Section III: Use Statement interface to add, delete and change operations Section IV: Use PreparedStatement interface to add, delete and change Section 5: Resultset result set Sectio ...

Added by Johan Beijar on Fri, 16 Aug 2019 16:48:58 +0300

Some Patterns of Channel in Go Learning

In addition to transferring data safely between goroutine s, after reading Concurrency in Go, I lament that channel has so many patterns to use. In my personal learning, I summarize the following common patterns. pipeline concept We take reptiles as an example. Generally, reptiles are divided into the following steps: Grab Page - > Parse Pag ...

Added by ExpertAlmost on Thu, 15 Aug 2019 17:04:02 +0300