Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



Reply
MySQL - Best storage engine
Old 07-19-2011, 12:05 PM MySQL - Best storage engine
Average Talker

Posts: 20
Trades: 0
... for a web-based strategy game?
InnoDB or MyISAM?
hellboy124 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-19-2011, 12:16 PM Re: MySQL - Best storage engine
NullPointer's Avatar
Will Code for Food

Posts: 2,815
Name: Matt
Location: Irvine, CA
Trades: 0
http://en.wikipedia.org/wiki/Myisam#...on_with_InnoDB

Quote:
Originally Posted by hellboy124 View Post
... for a web-based strategy game?
That's not a lot to go on, but I imagine that a larger portion of the queries are writes with a game as opposed to a normal website. If that's the case I'd say innodb would perform better.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
NullPointer is online now
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Old 07-19-2011, 12:18 PM Re: MySQL - Best storage engine
lynxus's Avatar
Awesomeo-Maximo

Posts: 1,618
Location: UK
Trades: 1
innodb supports transactions / rollbacks.
Myisam will provide better performance overall, as it doesnt have the same overhead.

As your gonna be running a game, you may find innodb better for "transactional" data.

But either will do fine tbh.
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


lynxus is offline
Reply With Quote
View Public Profile Visit lynxus's homepage!
 
Old 07-19-2011, 12:48 PM Re: MySQL - Best storage engine
Average Talker

Posts: 20
Trades: 0
OK, Tnx
hellboy124 is offline
Reply With Quote
View Public Profile
 
Old 08-04-2011, 02:48 PM Re: MySQL - Best storage engine
Average Talker

Posts: 23
Trades: 0
InnoDB will do the trick. MyISAM table level locking will hurt you a lot when there will be many players and lot of data you have to write. InnoDB in MySQL 5.5 has much better performance as compared to earlier versions.
__________________

Please login or register to view this content. Registration is FREE
mwasif is offline
Reply With Quote
View Public Profile Visit mwasif's homepage!
 
Old 11-10-2011, 11:52 AM Re: MySQL - Best storage engine
Junior Talker

Posts: 1
Trades: 0
if you have a huge amount of traffic between your websites and your MySQL the you should use a engine that has rowlocking instead of table locking!

Die MyISAM-Speicher-Engine no transaction securnes for fulltext search
Die InnoDB-Speicher-Engine yes transaction securnes
Die MERGE-Speicher-Engine
Die MEMORY-Speicher-Engine
Die BDB-Speicher-Engine yes transaction securnes
Die EXAMPLE-Speicher-Engine
Die FEDERATED-Speicher-Engine
Die ARCHIVE-Speicher-Engine
Die CSV-Speicher-Engine
Die BLACKHOLE-Speicher-Engine
Die Cluster Engine

login to your mysql server and check wich engines are running;

mysql -u root -p

at the mysql prompt type in

mysql> show engines; hit enter

and you will see are picture like this

+--------------------+---------+-------------------------------------
| Engine | Support | Comment
+--------------------+---------+-------------------------------------
| FEDERATED | NO | Federated MySQL storage engine
| MRG_MYISAM | YES | Collection of identical MyISAM table
| MyISAM | YES | MyISAM storage engine
| BLACKHOLE | YES | /dev/null storage engine (anything y
| CSV | YES | CSV storage engine
| MEMORY | YES | Hash based, stored in memory, useful
| ARCHIVE | YES | Archive storage engine
| InnoDB | DEFAULT | Supports transactions, row-level loc
| PERFORMANCE_SCHEMA | YES | Performance Schema


The more important ist to optimize your server depends on traffic parameters;

a good idea for basic understanding is to check out for thoose kind of parameters with phpmyadmin localhost and the klick on status;

if you need more information just ask me;

best regards twagalux on the way writing his ultimate mysql book a real guide for learning mysql and be sure i have 20 years of experience


cu
twagalux is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to MySQL - Best storage engine
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.39310 seconds with 12 queries