justbetter/magento2-optimizeflattable 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

justbetter/magento2-optimizeflattable

最新稳定版本:1.0.2

Composer 安装命令:

composer require justbetter/magento2-optimizeflattable

包简介

Module for optimizing Magento flat table generation

README 文档

README

In Magento 2 when you want to index many text fields to the flat tables you could run into the Syntax error or access violation: 1118 Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. error.

The reason being every field taking up length for 255 characters while this is often not used.

This module aims to reduce the chance of this happening by checking the product attributes with backend type varchar used in the flat table, and determine the actual length of the column. Instead of taking the default value of 255.

Installation

Run

composer require justbetter/magento2-optimizeflattable

After enabling the module your problems indexing to the flat tables should be resolved!

统计信息

  • 总下载量: 3.59k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 4
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-26