(notes to the whole stack) 8.MYSQL optimization summary

1. Database table structure optimization a. select the most applicable field attribute and index According to the actual situation: for example, limit the length of varchar field, set fixed length char; use enum. b. use connections instead of subqueries According to the actual situation: try not to use subquery if it can be rewritten as join.// ...

Added by shadowk on Tue, 29 Oct 2019 16:18:43 +0200

Attribute table of grid data obtained by C + ArcEngine

This is the function of the attribute table of the grid data of or. In my attribute table, there are count and value fields, where value is the elevation value of the grid data, count is the number of times value appears in the image, and the function of this program is to get the maximum count, so as t ...

Added by anatak on Mon, 28 Oct 2019 17:22:43 +0200

Several methods of EF CORE update

1. Query before modifying The entity is obtained by context, so the context immediately begins to trace it. When you change the tracking entity's property value, the context changes the entity's EntityState to Modified, and ChangeTracker records the old and new property values. When SaveChanges is c ...

Added by tekkenlord on Sun, 27 Oct 2019 09:09:51 +0200

Optimization of Oracle distributed query statement

Analysis: Because the optimizer cannot judge or obtain the statistics of the remote table, the original execution plan will execute by default by pulling the remote table (regardless of its size) to the local and reconnecting, so if the remote table is large, it will be relatively slow, and the above qu ...

Added by jeff_papciak on Sat, 26 Oct 2019 19:22:08 +0300

OCA/OCP Oracle database 12c exam guide reading notes: Chapter 18: The AWR and the Alert System

The following Automatic Workload Repository is represented by AWR 12c is self managed most of the time. Maintenance tasks run automatically and diagnostic information is collected regularly. Diagnosing performance problems is time-consuming and requires skills. 12c has the Alert system and diagnostic ad ...

Added by antonbrk on Sat, 26 Oct 2019 17:00:37 +0300

Using Oracle Data Guard with a Sharded Database

This article describes how to deploy a sharded database with adg function. 1. Environment introduction The roles and database versions of each node are shown in the following table:The instance name is named by the system itself. 2. Create Shard Catalog Database Here we use the silent method to create the directory database on odb01. [oracle@o ...

Added by backyard on Wed, 23 Oct 2019 21:55:43 +0300

args and **kwargs in Python

http://book.pythontips.com/en/latest/args_and_kwargs.html https://stackoverflow.com/questions/3394835/use-of-args-and-kwargs Many new Python users will be confused about the source code of github and python standard library as well as various * args and **kwargs in the online examples. Here's an explanation. First of all: *Args and * * kwar ...

Added by sobbayi on Wed, 23 Oct 2019 05:42:04 +0300

Talk about the deleteConfig of nacos config

order This paper mainly studies the deleteConfig of nacos config ConfigController nacos-1.1.3/config/src/main/java/com/alibaba/nacos/config/server/controller/ConfigController.java @Controller @RequestMapping(Constants.CONFIG_CONTROLLER_PATH) public class ConfigController { private static final Logger log = LoggerFactory.getLogger(ConfigCon ...

Added by PhdJB on Tue, 22 Oct 2019 23:17:03 +0300

Using logstash to synchronize MySQL data to ES

Summary                         But without special business requirements, the official logstash has its advantages.    when using logstash, we should first understand its characteristics, and then decide whether to use i ...

Added by ztealmax on Tue, 22 Oct 2019 21:17:59 +0300

mysql practice 1: SQL Foundation

mysql introduction and installation mysql introduction mysql is a famous open source relational database. It was first opened by AB company, and later it came to Sun company. After Sun was acquired by Oracle, mysql was owned by Oracle. Since then, mysql has been commercialized, and the database named mariadb has been open-source as a branch of ...

Added by blear on Tue, 22 Oct 2019 01:00:16 +0300