Coder Social home page Coder Social logo

Comments (5)

star7th avatar star7th commented on August 16, 2024

from showdoc.

star7th avatar star7th commented on August 16, 2024

from showdoc.

panluoyant avatar panluoyant commented on August 16, 2024

主要是MySQL更好管理,有着强大的备份功能,并且MySQL在二次开发中可能更有利。MySQL有更丰富的功能和更强的扩展性,能够更好地支持复杂的查询和操做。还有,我想将数据和主程序分开进行管理
希望您可以考虑这个功能,其实数据结构并不复杂,1张用于存储用户,一张用于存储文档。
可以参考NextCloud的做法,它同时支持Sqlite和MySQL

from showdoc.

star7th avatar star7th commented on August 16, 2024

ShowDoc使用Sqlite的理由如下:

PHP环境默认支持Sqlite,所以只需要安装好PHP环境,即可使用ShowDoc,无须再安装mysql。这对于不懂mysql的开发者(如App开发者)来说会更容易一些。同时方便官方维护ShowDoc,不用维护和测试两个数据库版本

Sqlite的性能并不差,对于总项目数在一万以内的情况,基本不用考虑性能问题。所以完全足够普通公司或者团队的使用。关于对sqlite性能的质疑,可以参考这位不知名网友的文章 https://www.cnblogs.com/derekhan/p/10897421.html

Sqlite数据库文件放在/Sqlite目录下,迁移和备份都十分简单,直接复制/转移该目录即可

Showdoc考虑到维护成本的问题,不打算支持两种数据库,只会选择其一。

from showdoc.

star7th avatar star7th commented on August 16, 2024

多年实践经验表明Sqlite数据库很好用。如果没有真实实践过的用户反馈新的Sqlite引起的使用和性能问题,那么将维持现状。

from showdoc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.