Solved

OXID Shop: Can I just change table type from InnoDB to MyISAM?

Posted on 2010-09-10
2
753 Views
Last Modified: 2012-06-27
Hi,

I run the OXID onlineshop on my server. To synchronize with the inventory control system, I use a plugin called "eShopConnector". It is a Windows Software, that synchronizes the inventory to the shop.

During the synchronisation, verry often I got a process with the state "freeing items" and during the time, the process was in the state (about 2-5 minutes), the update of the inventory get stalled. Now I changed the type of the "articles" table from InnoDB to MyISAM and everything works fine for me now.

My Question is now: Can I simply redeclare the type of the table or do I have to expect some negative consequences?
0
Comment
Question by:LL0rd
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Expert Comment

by:stojanovicigi
ID: 33652955
The biggest difference between innoDB and MyISAM engines is that innoDB engine allow relations between table.
If the "articles" table is not related with any of table then you can change the table engine without consequences, but if the table has relation to some other table, than you can expect that something wan't work good or wan't work at all.

If the table was innoDB that was because 2 reasons:
1) The table must be innoDB because it's related with some other tables
2) Your default DB engine is InnoDB and your MySQL server creates innoDB tables by default.

So, be careful and check does Insert, update and delete statements work.
With other words, if you delete some article check are all data deleted from all tables related to that article.
0
 
LVL 20

Accepted Solution

by:
virmaior earned 500 total points
ID: 33653604
a third issues that could arise has to do with transactions.  MyISAM does not really support them; InnoDB does.

But odds on, you can probably just change the table type.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question