SQL optimization process of TiDB of database Series
The previous article introduced Execution plan in TiDB , this article will continue to introduce the SQL optimization process in TiDB, and understand the implementation logic of TiDB optimizer from the two stages of logical optimization and physical optimization.
1. SQL optimization process
SQL optimization in TiDB is divided into two stage ...
Posted by timbr8ks on Mon, 03 Jan 2022 05:49:43 +0100
Redis beginner's notes
preface:
Learn some notes on Redis by yourself 📒
Write it down, and it's convenient for you to look through it
Course link: https://coding.imooc.com/class/151.html
Book recommendation: Redis development and operation and maintenance
First article: https://sleepymonster.cn
Here is just an introduction or a search ~
For a specific ...
Posted by bb_sarkar on Mon, 03 Jan 2022 05:17:45 +0100
es learning notes
1, es introduction?
1 es introduction
Introduction: es is an open source distributed (full-text) search engine based on Apache lucene. It provides a simple restful API to hide the complexity of Lucene. es database analogy:
Relational DBdatabasetablesrowsFields (columns)ElasticsearchIndexes (incices)typesdocumentsfields
ES is also a distr ...
Posted by funkyfela on Mon, 03 Jan 2022 04:40:46 +0100
MySQL data recovery "ceiling"“
1, Background
  when we use the database, we will inevitably encounter the situation that the data is deleted by mistake, which may be business operation errors and code bug s; It may also be an operation and maintenance error, etc; However, we can divide all operations into the following categories:
Data loss due to DMLData loss due ...
Posted by jaygattis on Mon, 03 Jan 2022 03:46:29 +0100
Adnroid [SQLite database storage]
SQLite database storage
Write in front
SQLite is a lightweight relational database. Its operation speed is very fast and occupies very few resources. It usually only needs a few hundred K of memory, so it is especially suitable for mobile devices. SQLite not only supports the standard SQL syntax, but also follows the ACID transaction of th ...
Posted by orionblue on Mon, 03 Jan 2022 02:08:01 +0100
Clickhouse copier data replication - migration case
background
Because the new environment is online, data needs to be migrated from the old environment to the new environment.
Scheme Research
Scheme 1: copy data directory
First, observe the directory structure of ClickHouse on the file system (configured in the configuration file / ECT / ClickHouse server / config. XML)
), for ease ...
Posted by pilau on Mon, 03 Jan 2022 00:36:17 +0100
Mybatis mapping relationship
Mybatis mapping
one-on-one
//Custom mapping
<resultMap type="User" id="userRoleResult">
<result column="roleName" property="userRoleResult">
</resultMap>
<select id="getUserList5" resultMap="userRoleResult">
select
su.id,
su.userCode,
su.userName,
su.gender,
su.phone,
sr.roleName
FROM
...
Posted by digitalgod on Sun, 02 Jan 2022 23:56:53 +0100
5-TDengine integrates SpringBoot, MyBatis, MyBatisPlus
background
In the previous experience, taos client, RESTful Connector and JDBC-JNI are used. This time, we experience an example closer to the actual application scenario: the integration of TDengine with SpringBoot, MyBatis, MyBatisPlus, etc.
Officials have brought their own examples, https://github.com/taosdata/TDengine/tree/develop/tests/e ...
Posted by PhilGDUK on Sun, 02 Jan 2022 22:50:05 +0100
Django database operations
CRUD (add, delete, modify, query)
1 increase
There are two ways to add data. 1)save By creating a model class object, execute the save() method of the object and save it to the database.
>>> from datetime import date
>>> book = BookInfo(
btitle='Journey to the West',
bpub_date=date(1988,1,1),
bread=10,
bcomm ...
Posted by dwfait on Sun, 02 Jan 2022 19:52:22 +0100
Deployment of zabbix and tidb
See the architecture and introduction of tidb
TiDB Overall Architecture | PingCAP Docs understands the overall architecture of TiDB.https://docs.pingcap.com/zh/tidb/v4.0/tidb-architecture brief introduction
          TiDB yes PingCAP The Open Source Distributed Relational Database, designed and developed independently by the company, is a hy ...
Posted by janhouse00 on Sun, 02 Jan 2022 17:30:40 +0100