简体   繁体   English

每个Magento安装相同版本的数据库中的表数差异

[英]Discrepancy in Number of Tables in Database of each Magento Installation of same Version

I am currently using Magento version 1.4.0.0. 我目前正在使用Magento 1.4.0.0版。 For different clients, when I install this same version of Magento, I get different number of tables in database of each of the clients. 对于不同的客户端,当我安装相同版本的Magento时,我在每个客户端的数据库中获得不同数量的表。

I think the normal total number of tables is 267, but this prediction may be incorrect. 我认为表的正常总数是267,但这种预测可能不正确。 Please correct my statement or mention, regarding the default number of database tables that should get installed for Magento CE version 1.4.0.0. 关于应该为Magento CE 1.4.0.0安装的默认数据库表数,请更正我的陈述或提及。

However, sometimes I get 258 number of tables, sometimes 260 & sometimes 265. It has become a great pain area for me, understanding about the correct number of database tables which should get installed by default. 但是,有时我会得到258个表,有时是260个,有时是265个。对于我来说,它已经成为一个非常痛苦的领域,了解默认情况下应该安装的正确数据库表的数量。 Can somebody please tell me why this is happening for Magento CE version 1.4.0.0? 有人可以告诉我为什么Magento CE版本1.4.0.0会发生这种情况吗?

Any help is greatly appreciated. 任何帮助是极大的赞赏。

Edit:- 编辑:-
I often find the Bundle Products related tables or the tables with a suffix of "_idx" missing quite a times. 我经常发现Bundle Products相关表或后缀为“_idx”的表格丢失了很多次。
If Magento database structure of the number of tables depend upon the catalog usage (say of Bundle / Configurable / Grouped), then it will be very much error-prone to every administrator & will be creating more ambiguities to them, for configuring / creating the catalog products. 如果表的数量的Magento数据库结构取决于目录的使用(比如Bundle / Configurable / Grouped),那么每个管理员都会非常容易出错,并且会给他们带来更多的歧义,用于配置/创建目录产品。

Magento creates temporary tables for a number of reasons, including re-indexing actions and how your site is configured (eg flat catalog, etc). Magento创建临时表的原因有很多,包括重新编制索引操作以及如何配置站点(例如平面目录等)。 Can you be more specific about which "extra" tables you are seeing? 您能更具体地了解您所看到的“额外”表格吗? They're likely to be either temporary tables or caching/index tables. 它们可能是临时表或缓存/索引表。

Thanks, Joe 谢谢,乔

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM