Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what kind of database are used in games?

Tags:

types

database

what common and popular database/(types of database) used in games?

  1. MMORPG
  2. browser based ,flash games
  3. video games
like image 618
Aditya P Avatar asked Mar 12 '11 10:03

Aditya P


People also ask

Which database is best for games?

A Database for Video Games Whether you're a solo developer or working on AAA titles, MongoDB gives you the best way to work with data.

Is MySQL used in games?

Of Course You Can Use MySQL Let's get this out of the way: lots of successful games and their related companies use MySQL.

Is SQL used for game development?

Game Developers So while you don't use SQL to build a game, it's still good to know it. It allows your game to smoothly interact with the relational databases that contain important game-related data.

What are the 4 types of database?

Four types of database management systemshierarchical database systems. network database systems. object-oriented database systems.


2 Answers

1) As far as I know, World of Warcraft runs on Oracle RDBMS. Not sure about the implementation details, however, it seems that low priority data (like the location of a character, attribute status etc) gets dumped into database in intervals and high priority data (level, item transfer) occurs real time (hence the noticeable delay sometimes.)

Also Guild Wars uses Microsoft SQL Server but nor in RDBMS manner. They store binary data within tables that look like (char_id, last_update, data) and the game servers periodically serialize a character into a byte array, then push to DB servers. That's the same method used to transfer players between servers. Everyone is just a chunk of data.

2) As ThiefMaster said, any DB. If you see php on frontend, there is a good chance there is MySQL or PostgreSQL at the back. If you see ASP* variants, look for MS SQL Server.. Like websites.

3) Everything occurs in memory (generally.. Say, the Football Manager requires a database due to vast amounts of data processed.) A Database would just be an overkill.

like image 139
Ekin Koc Avatar answered Oct 04 '22 05:10

Ekin Koc


  1. At least WoW uses Oracle. But any good RDBMS would do the job as long as it can work with the huge amount of data.

  2. Usually MySQL. But see #1 - any DB can do the job

  3. No database at all - why would e.g. a game like Half-Life use a database.

like image 24
ThiefMaster Avatar answered Oct 04 '22 04:10

ThiefMaster