Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by aboudj · Jul 20, 2017 at 05:30 PM · databasedatabase handling

what database should i use

I am working on online game, but i got confused when i reached the database section. While searching on google i found that there is 2 types of online database, Firebase and mySQL. I don't know which one to pick for my online game. i need to store in it: username, pass, coin, gems, level,... i need the database to be able to hold high traffic.

sorry for my English. I know that this question is not related to unity but i am asking you as experts.

thank you in advance.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by ZeN12 · Jul 21, 2017 at 07:51 AM

Database is a very complicated topic. If you don't know it don't develop it. My advice is to use services that provide storing data. Or find a back-end developer for this.

If you need to store only player info (score, name...) and you don't need relations between player (like you need to find all player with score between 50 and 100...). In this case you can use non-relational database where you just store a simple JSON. As an option you can use AWS Dynamo. Here is a plugin for this: https://www.assetstore.unity3d.com/en/#!/content/21215.

Another option is to google like this: "unity3d database service"

P.S don't forget to check the prices :)

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
-1

Answer by Soniya_unity · Jul 21, 2017 at 07:56 AM

If You have Backend PHP developer then MySql is best, you can simply store and retrive data by API calling, but if you don't Have any PHP developer then go through XML Parsing. if you wants to work with Database then i think You should have PHP developer.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Jinkata · Jul 20, 2017 at 05:55 PM

Without knowing significantly more this is a question we can't answer for you. There are many many types of databases you can use, though there are a couple standard types. Just as important as what type of database you are going to use is also where/how you are hosting it and how do you access it. This a seriously open question and there's no simple answer.

I'm just assuming you're just starting out considering the type of question you asked and the example DBs you gave, I would recommend starting a free tier Heroku service and host in a Postgres db.

Keep in mind you can always change it later as you scale. Don't get caught up in trying to make the 'right' decision because there probably isn't one, and the time you waste trying to figure out how to do it perfectly (which usually isn't in the long run) you could be using to implement your idea.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

73 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Aws problems when deploying to IOS: MySql.Data.MySqlClient.MySqlException: Unable to create plugin for authentication method 'mysql_native_password'. Argument cannot be null.Parameter name: type 0 Answers

Is there anybody who can look into my code to help me in resolving my error? Data in Database is not updating. 0 Answers

How to upgrade from free to paid version and maintain established player prefrence data? 0 Answers

Where can I find the default "serialized data" files that Unity save and load during run-time / editor time from the inspector? 0 Answers

Can't load(get) data from Firebase (an error occurs) 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges