Solved

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

Posted on 2010-09-10
2
733 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
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
PHP and Soap 3 29
get radio button vale in array 7 37
Why does my array not "dump?" 5 19
Adding through query php 9 11
Every business owner understands the significance of online customer reviews and the impact it can have on sales and revenues. With technology advancing at such a rapid pace, getting online reviews has never been easier, especially when many regions…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now