久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<legend id='UlGpX'><style id='UlGpX'><dir id='UlGpX'><q id='UlGpX'></q></dir></style></legend>

      <i id='UlGpX'><tr id='UlGpX'><dt id='UlGpX'><q id='UlGpX'><span id='UlGpX'><b id='UlGpX'><form id='UlGpX'><ins id='UlGpX'></ins><ul id='UlGpX'></ul><sub id='UlGpX'></sub></form><legend id='UlGpX'></legend><bdo id='UlGpX'><pre id='UlGpX'><center id='UlGpX'></center></pre></bdo></b><th id='UlGpX'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='UlGpX'><tfoot id='UlGpX'></tfoot><dl id='UlGpX'><fieldset id='UlGpX'></fieldset></dl></div>

      <tfoot id='UlGpX'></tfoot>
      • <bdo id='UlGpX'></bdo><ul id='UlGpX'></ul>
    1. <small id='UlGpX'></small><noframes id='UlGpX'>

      更改“Mysql Row size too large"的限制

      Change limit for quot;Mysql Row size too largequot;(更改“Mysql Row size too large的限制)

    2. <small id='n0L9F'></small><noframes id='n0L9F'>

        <bdo id='n0L9F'></bdo><ul id='n0L9F'></ul>
          <tbody id='n0L9F'></tbody>
        <i id='n0L9F'><tr id='n0L9F'><dt id='n0L9F'><q id='n0L9F'><span id='n0L9F'><b id='n0L9F'><form id='n0L9F'><ins id='n0L9F'></ins><ul id='n0L9F'></ul><sub id='n0L9F'></sub></form><legend id='n0L9F'></legend><bdo id='n0L9F'><pre id='n0L9F'><center id='n0L9F'></center></pre></bdo></b><th id='n0L9F'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='n0L9F'><tfoot id='n0L9F'></tfoot><dl id='n0L9F'><fieldset id='n0L9F'></fieldset></dl></div>

              <legend id='n0L9F'><style id='n0L9F'><dir id='n0L9F'><q id='n0L9F'></q></dir></style></legend>
                <tfoot id='n0L9F'></tfoot>
              • 本文介紹了更改“Mysql Row size too large"的限制的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                如何更改限制

                行大小太大 (> 8126). 將某些列更改為 TEXT 或 BLOB 或使用 ROW_FORMAT=DYNAMIC 或 ROW_FORMAT=COMPRESSED 可能會有所幫助.在當前行格式中,內聯存儲 768 字節的 BLOB 前綴.

                表格:

                id int(11) 否姓名 文字 否日期 日期 否時間 時間 否調度 int(11) 否類別 int(11) 否top_a varchar(255) 否top_b varchar(255) 否top_c varchar(255) 否top_d varchar(255) 否top_e varchar(255) 否top_f varchar(255) 否top_g varchar(255) 否top_h varchar(255) 否top_i varchar(255) 否top_j varchar(255) 否top_title_a varchar(255) 否top_title_b varchar(255) 否top_title_c varchar(255) 否top_title_d varchar(255) 否top_title_e varchar(255) 否top_title_f varchar(255) 否top_title_g varchar(255) 否top_title_h varchar(255) 否top_title_i varchar(255) 否top_title_j varchar(255) 否top_desc_a 文本 否top_desc_b 文本 否top_desc_c 文本 否top_desc_d 文本 否top_desc_e 文本 否top_desc_f 文本 否top_desc_g 文本 否top_desc_h 文本 否top_desc_i 文本 否top_desc_j 文本 否狀態 int(11) 否admin_id int(11) 否

                解決方案

                serverfault 上也有人問過這個問題.><塊引用>

                你可能想看看這個文章解釋了很多關于 MySQL 行大小.需要注意的是,即使您使用TEXT 或 BLOB 字段,您的行大小仍可能超過 8K(限制為InnoDB) 因為它存儲了每個內聯字段的前 768 個字節頁面.

                解決此問題的最簡單方法是使用 Barracuda 文件格式與 InnoDB.這基本上完全擺脫了這個問題僅存儲指向文本數據的 20 字節指針而不是存儲前 768 個字節.

                <小時>

                適用于 OP 的方法是:

                1. 將以下內容添加到 [mysqld] 部分下的 my.cnf 文件中.

                  innodb_file_per_table=1innodb_file_format = 梭子魚

                2. ALTER 表使用ROW_FORMAT=COMPRESSED.

                  ALTER TABLE nombre_tabla引擎=InnoDBROW_FORMAT=壓縮KEY_BLOCK_SIZE=8;

                <小時>

                上述方法可能仍不能解決您的問題.這是InnoDB的已知(并驗證)錯誤strong> 引擎,現在的臨時修復是回退到 MyISAM 引擎作為臨時存儲.所以,在你的 my.cnf 文件中:

                internal_tmp_disk_storage_engine=MyISAM

                How can I change the limit

                Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED may help. In current row format, BLOB prefix of 768 bytes is stored inline.

                Table:

                id  int(11) No       
                name    text    No       
                date    date    No       
                time    time    No       
                schedule    int(11) No       
                category    int(11) No       
                top_a   varchar(255)    No       
                top_b   varchar(255)    No       
                top_c   varchar(255)    No       
                top_d   varchar(255)    No       
                top_e   varchar(255)    No       
                top_f   varchar(255)    No       
                top_g   varchar(255)    No       
                top_h   varchar(255)    No       
                top_i   varchar(255)    No       
                top_j   varchar(255)    No       
                top_title_a varchar(255)    No       
                top_title_b varchar(255)    No       
                top_title_c varchar(255)    No       
                top_title_d varchar(255)    No       
                top_title_e varchar(255)    No       
                top_title_f varchar(255)    No       
                top_title_g varchar(255)    No       
                top_title_h varchar(255)    No       
                top_title_i varchar(255)    No       
                top_title_j varchar(255)    No       
                top_desc_a  text    No       
                top_desc_b  text    No       
                top_desc_c  text    No       
                top_desc_d  text    No       
                top_desc_e  text    No       
                top_desc_f  text    No       
                top_desc_g  text    No       
                top_desc_h  text    No       
                top_desc_i  text    No       
                top_desc_j  text    No       
                status  int(11) No       
                admin_id    int(11) No 
                

                解決方案

                The question has been asked on serverfault too.

                You may want to take a look at this article which explains a lot about MySQL row sizes. It's important to note that even if you use TEXT or BLOB fields, your row size could still be over 8K (limit for InnoDB) because it stores the first 768 bytes for each field inline in the page.

                The simplest way to fix this is to use the Barracuda file format with InnoDB. This basically gets rid of the problem altogether by only storing the 20 byte pointer to the text data instead of storing the first 768 bytes.


                The method that worked for the OP there was:

                1. Add the following to the my.cnf file under [mysqld] section.

                  innodb_file_per_table=1
                  innodb_file_format = Barracuda
                  

                2. ALTER the table to use ROW_FORMAT=COMPRESSED.

                  ALTER TABLE nombre_tabla
                      ENGINE=InnoDB
                      ROW_FORMAT=COMPRESSED 
                      KEY_BLOCK_SIZE=8;
                  


                There is a possibility that the above still does not resolve your issues. It is a known (and verified) bug with the InnoDB engine, and a temporary fix for now is to fallback to MyISAM engine as temporary storage. So, in your my.cnf file:

                internal_tmp_disk_storage_engine=MyISAM
                

                這篇關于更改“Mysql Row size too large"的限制的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                相關文檔推薦

                How to use windowing functions efficiently to decide next N number of rows based on N number of previous values(如何有效地使用窗口函數根據 N 個先前值來決定接下來的 N 個行)
                reuse the result of a select expression in the quot;GROUP BYquot; clause?(在“GROUP BY中重用選擇表達式的結果;條款?)
                Does ignore option of Pyspark DataFrameWriter jdbc function ignore entire transaction or just offending rows?(Pyspark DataFrameWriter jdbc 函數的 ignore 選項是忽略整個事務還是只是有問題的行?) - IT屋-程序員軟件開發技
                Error while using INSERT INTO table ON DUPLICATE KEY, using a for loop array(使用 INSERT INTO table ON DUPLICATE KEY 時出錯,使用 for 循環數組)
                pyspark mysql jdbc load An error occurred while calling o23.load No suitable driver(pyspark mysql jdbc load 調用 o23.load 時發生錯誤 沒有合適的驅動程序)
                How to integrate Apache Spark with MySQL for reading database tables as a spark dataframe?(如何將 Apache Spark 與 MySQL 集成以將數據庫表作為 Spark 數據幀讀取?)
                    <bdo id='G8UCh'></bdo><ul id='G8UCh'></ul>
                    <tfoot id='G8UCh'></tfoot>
                      <tbody id='G8UCh'></tbody>
                    <legend id='G8UCh'><style id='G8UCh'><dir id='G8UCh'><q id='G8UCh'></q></dir></style></legend>

                    <small id='G8UCh'></small><noframes id='G8UCh'>

                  • <i id='G8UCh'><tr id='G8UCh'><dt id='G8UCh'><q id='G8UCh'><span id='G8UCh'><b id='G8UCh'><form id='G8UCh'><ins id='G8UCh'></ins><ul id='G8UCh'></ul><sub id='G8UCh'></sub></form><legend id='G8UCh'></legend><bdo id='G8UCh'><pre id='G8UCh'><center id='G8UCh'></center></pre></bdo></b><th id='G8UCh'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='G8UCh'><tfoot id='G8UCh'></tfoot><dl id='G8UCh'><fieldset id='G8UCh'></fieldset></dl></div>

                        1. 主站蜘蛛池模板: 精品国产一区二区三区成人影院 | jlzzjlzz欧美大全 | 中文字幕亚洲视频 | 中文字幕在线免费观看 | 在线看免费的a | 欧美另类日韩 | 精品一区二区电影 | 成人a网| 亚洲综合区 | 精品视频一区二区三区在线观看 | 国产精品毛片无码 | 国产精彩视频在线观看 | 亚洲一区二区三区观看 | 国产成人99久久亚洲综合精品 | 免费特级黄毛片 | 日韩精品在线网站 | 精品国产一区二区三区在线观看 | 国产欧美一区二区在线观看 | 免费观看毛片 | 欧美色999| 欧美a区 | 国产精品国产精品国产专区不卡 | 西西裸体做爰视频 | 天天干亚洲 | 精品伊人久久 | 亚洲视屏| 亚洲三级av | 精品一区二区三 | 国产精品精品久久久 | 91精品www | av一区二区三区 | 久久精品一区二区 | 久久精品国产久精国产 | 成人一区二区三区在线观看 | 亚洲第一网站 | 天啪 | 国产精品亚洲成在人线 | 欧美综合视频 | 99亚洲视频| 成人性视频免费网站 | 久久久久亚洲av毛片大全 |