2

在公司项目开发中,数据库是怎么管理的?

 3 years ago
source link: https://www.v2ex.com/t/781731
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  程序员

在公司项目开发中,数据库是怎么管理的?

  raaaaaar · 1 小时 22 分钟前 · 254 次点击
  1. 在校学生,还没有接触到具体的公司规范,但是在学校里一个还不错的技术部门里体验了两年。
  1. 建表是提前在程序运行前就建立好吗?还是直接在程序中初始化? 最近开始用到了数据库设计工具,提前设计好了后直接就生成 SQL 了,所以我想知道,你们是提前就把表初始化了,还是在运行时初始化呢?

  2. 如果提前建立好,怎么自动化这个过程呢? 经常会有线上 BUG,要重新初始化数据库,那么怎么自动化呢?直接让运维写个脚本,然后到时候 call 他让他重启吗?

  3. 你们在开发过程中,会写数据库的设计文档吗?

  4. 如果要写的话,是用的什么工具来管理的呢?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK