久久久久久久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. 主站蜘蛛池模板: 天天干天天插 | 精品久久久久久久久久 | 嫩草一区二区三区 | 国产黄色在线观看 | 在线观看中文视频 | 欧美a级成人淫片免费看 | 永久免费在线观看 | 欧美精品一二三 | 91国产精品| 久久久久久久久久久久久久国产 | 四虎网站在线观看 | 国产亚洲一级 | 国产精品99久久久久久宅男 | 玖玖免费 | 精品国产色 | 国产视频日韩 | 欧美一区二区三区在线播放 | 黑人中文字幕一区二区三区 | 日韩中文字幕 | 成人av免费在线观看 | 91直接看| 日韩av在线不卡 | 欧美在线视频a | 亚洲成人av在线播放 | 亚洲一区 中文字幕 | 日本精品视频一区二区三区四区 | 日韩福利 | 天堂资源最新在线 | 色综合久| 91精品国产综合久久婷婷香蕉 | 日韩有码一区 | 久久成人av| 国产精品免费一区二区三区 | 九一视频在线观看 | 久久99精品久久久久久 | 亚洲欧美日韩精品久久亚洲区 | 天堂网avav | 亚洲国产精品成人综合久久久 | 中文字幕在线观看 | 久久精品一区二区三区四区 | 亚洲精品一 |