SQL vs YAML - I need your opinion on data storage

Discussion in 'Plugin Development' started by CruzAPI, Apr 7, 2021.

Thread Status:
Not open for further replies.
  1. Offline

    CruzAPI

    What do you think it's better, use YAML or SQL to data storage in a bukkit plugin? Like permissions(groups, permissions, timed permissions), user informations(money, ip, uuid, nickname, language, ban) and ban history.

    Which one is better to data configuration/serialization?

    And to get the data which is faster?

    What are the PRO's and CON's of them?

    Do you have other way to data storage? Tell me.
     
  2. Online

    timtower Administrator Administrator Moderator

    @CruzAPI Well, that is long term storage, if you do it right then you cache things.
     
  3. Offline

    CraftCreeper6

    @CruzAPI
    Permissions in YML
    User information in SQL.
     
  4. Offline

    Chr0mosom3

    YAML VS SQL
    Pretty good comparison

    I personally use MongoDB. It's NoSQL and can be changed on the fly, and it's pretty fast.
     
    Newdel likes this.
Thread Status:
Not open for further replies.

Share This Page