当前位置:网站首页>Mysql database reports an error: row size too large (> 8126) Changing some columns to TEXT or BLOB or using ROW_ FORMAT=DY
Mysql database reports an error: row size too large (> 8126) Changing some columns to TEXT or BLOB or using ROW_ FORMAT=DY
2022-07-06 12:41:00 【wx5caecf2ed0645】
1. Problem description :
Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED may help


2. The reasons causing :
1. There are many data in the table , Too many logs are generated , The default log file size is too small ;
2. Different engines use different storage formats .MyISAM Yes 3 A row storage format :fixed/dynamic/compressed.InnoDb stay MyIASM Based on the new introduction Barracuda. As for the default settings of different engines , And the differences between various storage formats ,
3. Solution
Mode one : modify Mysql Database configuration file
hold Mysql Database my.ini Configuration item innodb_log_file_size=512M modify 1024M, Just restart the database service .
Mode two : Modify other engines
Database information before modification :
Change to engine :


Mode three :
Try adding the following options to the configuration file :
To activate the new file format : innodb_file_format = Barracuda
Store each table in its own file : innodb_file_per_table = 1
To prevent accidents : innodb_strict_mode = ON
To store long variable length column values , Please use dynamic or compressed row format for large tables .
for example , Use ALTER TABLE LargeTable ENGINE = InnoDB ROW_FORMAT = DYNAMIC;
边栏推荐
- 1081 rational sum (20 points) points add up to total points
- By v$rman_ backup_ job_ Oracle "bug" caused by details
- Arduino get random number
- JS数组常用方法的分类、理解和运用
- Gravure sans fil Bluetooth sur micro - ordinateur à puce unique
- Common DOS commands
- Classification, understanding and application of common methods of JS array
- [golang] leetcode intermediate - fill in the next right node pointer of each node & the k-smallest element in the binary search tree
- (1) Introduction Guide to R language - the first step of data analysis
- MySQL時間、時區、自動填充0的問題
猜你喜欢

NRF24L01故障排查

ES6 grammar summary -- Part I (basic)

Programming homework: educational administration management system (C language)

Particle system for introduction to unity3d Foundation (attribute introduction + case production of flame particle system)

(4) Data visualization of R language -- matrix chart, histogram, pie chart, scatter chart, linear regression and strip chart

(五)R语言入门生物信息学——ORF和序列分析

Unity3D基础入门之粒子系统(属性介绍+火焰粒子系统案例制作)

ORA-02030: can only select from fixed tables/views

ES6 grammar summary -- Part 2 (advanced part es6~es11)

数据库课程设计:高校教务管理系统(含代码)
随机推荐
Flink late data processing (3)
In 2020, the average salary of IT industry exceeded 170000, ranking first
Compilation principle: preprocessing of source program and design and implementation of lexical analysis program (including code)
Meanings and differences of PV, UV, IP, VV, CV
Intermediate use tutorial of postman [environment variables, test scripts, assertions, interface documents, etc.]
MySQL takes up too much memory solution
FairyGUI摇杆
SSD technical features
There is no red exclamation mark after SVN update
Redis cache update strategy, cache penetration, avalanche, breakdown problems
2022.2.12 resumption
程序设计大作业:教务管理系统(C语言)
[Offer29] 排序的循环链表
MySQL时间、时区、自动填充0的问题
(课设第一套)1-4 消息传递接口 (100 分)(模拟:线程)
记一次云服务器被密码爆破的经历——关小黑屋、改密码、改端口
Arduino get random number
idea中好用的快捷键
Générateur d'identification distribué basé sur redis
C programming exercise