当前位置:网站首页>The query type of MySQL is very inefficient.
The query type of MySQL is very inefficient.
2022-04-23 03:19:00 【Bonyin】
scene
Doing it mysql When the database table synchronization task , There is a table of data 30 Ten thousand , Two of these fields are text, longtext type . When using a third-party synchronization tool for data synchronization , appear Io abnormal , Efficiency is very low .
Solution
- First try at text,longtext Type fields are indexed , Find the task of performing synchronization in the tool , It can't improve efficiency . Mainly in the select a,b When these two fields ,msyql The bottom didn't go index.
- Ideas 2: Consider putting these two text Type fields are extracted into a temporary table , Create an integer primary key index in the temporary table , Query efficiency will be very high . The synchronization task moves these two temporary tables . Finally, make a multi table Association on the data warehouse side .
版权声明
本文为[Bonyin]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220626055291.html
边栏推荐
- C WPF UI framework mahapps switching theme
- ThreadLocal test multithreaded variable instance
- Fundamentals of software testing and development
- JS recursive tree structure calculates the number of leaf nodes of each node and outputs it
- Top 9 task management system in 2022
- Comprehensive calculation of employee information
- PID debugging of coding motor (speed loop | position loop | follow)
- Scenario Title: how does system a use the page of system B
- How does Microsoft solve the problem of multiple programs on PC side -- internal implementation
- Chapter 9 of C language programming (fifth edition of Tan Haoqiang) analysis and answer of exercises for users to establish their own data types
猜你喜欢

New ORM framework -- Introduction to beetlsql

超好用的Excel异步导出功能
![Detailed description of MySQL index [B + tree index, hash index, full-text index, overlay index]](/img/1a/a22b4a35d3c083438d0f766a5ecb08.png)
Detailed description of MySQL index [B + tree index, hash index, full-text index, overlay index]
![General test technology [II] test method](/img/b7/f661f446616ad6bfbbf48eb03ea82d.png)
General test technology [II] test method

A comprehensive understanding of static code analysis

【VS Code】解决jupyter文件在vs code中显示异常的问题

Quartz. Www. 18fu Used in net core

Charles uses three ways to modify requests and responses

It can receive multiple data type parameters - variable parameters

TCP three handshakes and four waves
随机推荐
JS, bind the event for a label with input, and then bind the stand-alone event in the parent element. The event is executed twice and solved
全新的ORM框架——BeetlSQL介绍
为什么BI对企业这么重要?
After the mobile phone is connected to the computer, how can QT's QDIR read the mobile phone file path
socket編程 send()與 recv()函數詳解
Use of slice grammar sugar in C #
2022a special equipment related management (elevator) work license question bank and simulation examination
A comprehensive understanding of static code analysis
Iotos IOT middle platform is connected to the access control system of isecure center
Cefsharp stores cookies and reads cookies
TCP three handshakes and four waves
Eight elder brothers chronicle [4]
Utgard connection opcserver reported an error caused by: org jinterop. dcom. common. JIRuntimeException: Access is denied. [0x800
Docker拉取mysql并连接
Scenario Title: how does system a use the page of system B
be based on. NETCORE development blog project starblog - (2) environment preparation and creation project
[mock data] fastmock dynamically returns the mock content according to the incoming parameters
2022 Shandong Province safety officer C certificate work certificate question bank and online simulation examination
场景题:A系统如何使用B系统的页面
. net tip: talk about the problem that the scoped service cannot be obtained in the middleware structure