DB设计工具——dbschema

本文介绍了如何配置数据库连接,并利用dbschema工具通过鼠标创建目标表格,详细阐述了数据库设计过程。
摘要由CSDN通过智能技术生成
 
Preface
 
    I've got a db design job about meeting room booking system last week.There're many suitable tools which can be used to handle this kind of job such as power designer,ERwin,HeidiSQL,dbschema,etc.Today,I'm gonna demonstrate the last one —— dbschema.This is the official website: https://www.dbschema.com
 
Introduce
 
    dbschema is a rather simply used tool even you're a novice in designing db system.The dbschema which is downloaded on official website only free for 15 days,then you have to pay for license for later useage but there's no limit in function at all.It provide two modes in designing layout of your system.One is offline mode and the other one is connecting to db servers.You can easily synchronize tables of database with your designed tables as soon as possible by refreshing them from time to time.It also supports almost all popular rdbms such as oracle,db2,MySQL,postgreSQL.There're many key features which you can found in the homepage of official website.I'm not going to describe each one of them.
 
Procedure
 
    The meeting room booking system(I'll call it "mrbs" .) I  contains four tables:employee,department,conference_room,room_reservation.The detail of tables shows below.
 
employee table
1 id             自增id                int(11)
2 user_id        工号                  int(11)
3 user_name      用户名称              varchar(20)
4 user_phone     用户手机号             bigint
5 user_email     用户邮箱              varchar(50)
6 user_dept_id   用户所在部门id         int(11)
7 user_status    在职、离职等           tinyint(4)
8 create_time    用户创建时间           datetime
9 update_time    用户信息修改时间       datetime

 

department table
1 id              自增id                 int(11)
2 dept_id         部门id                 int(11)
3 dept_name       部门名称               varchar(30)
4 parent_id       父级id                 tinyint(4)
5 tlevel          层级id                 tinyint(4)
6 create_time     部门创建时间            datetime    
7 update_time     部门信息修改时间        datetime

 

conference_room table
<
简化数据库设计和管理。 使用友好的GUI工具编辑,记录和浏览复杂的数据库。 使用布局简化数据库设计。 通过关注数据库架构的特定部分,可以更好地理解复杂的数据库。 使用我们直观的UI,可以很容易地为复杂模式创建数据库设计。 该界面使您能够简单地通过拖放或双击来执行复杂的动作。 同时轻松浏览来自多个表的数据。 无需成为SQL专家! DbSchema将帮助您编写SQL查询。 具有文本自动补全功能的强大编辑器。 支持所有SQL和NoSQL数据库 DbSchema通过创建自己的保存到项目文件中的架构的本地副本以独特的方式工作。 本地项目文件可以: 使用GIT或任何其他版本控制系统与团队一起处理项目文件 将设计保存到XML项目文件并使用任何文本编辑器将其打开 在多台服务器上部署一个架构 在不同版本之间迁移一个架构并生成迁移脚本 没有数据库连接的设计架构( 脱机 ) 为您的数据库架构生成PDF或交互式HTML5文档。 DbSchema可以比较不同数据库或不同项目文件之间的方案,显示它们并生成迁移脚本。 如果数据库缺少外键,则可以创建将仅保存在DbSchema中的虚拟外键 。 它们将帮助您更好地了解数据库。 这些外键用绿色标记。 使用可配置,随机和反向正则表达式 。 使用JDBC驱动程序连接到任何数据库,对结构进行反向工程,并将其作为ER图查看。 利用具有文本自动完成功能,Groovy脚本支持,脚本和查询执行功能的强大SQL编辑器。 将数据从CSV,XML等加载到数据库中。 使用文本输入,按钮和图表构建简单的Web报表或应用程序。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值