SQL vs YAML - I need your opinion on data storage

Discussion in 'Plugin Development' started by CruzAPI, Apr 7, 2021 at 9:07 AM.

  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. Offline

    timtower Administrator Administrator Moderator

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

    CraftCreeper6

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

    MrDaniel

    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.

Share This Page