MYSQL WORKBENCH - Alexandru Ioan Cuza University · VISUAL SCHEMA DESIGN - CONT • Change...
Transcript of MYSQL WORKBENCH - Alexandru Ioan Cuza University · VISUAL SCHEMA DESIGN - CONT • Change...
ABOUT
• Free unified visual tool • Target: • database architects • developers • DBA’s (DataBase Admins)
• Provides: • Data modeling • SQL development • Administration tools
• Cross platform: • Windows • MacOSX • Linux
VISUAL SCHEMA DESIGN
• Main characteristics: • Uses Model Driven Database Design • Model and Schema Validation (commercial version only) • Uses all MySQL specific features, including advanced ones like:
partitioning, InnoDB, Views, stored SQL Procedures. • Forward engineering • existing model into: • physical database • SQL scripts
• generated SQL scripts run on the server at runtime • Reverse engineering • Sources: • existing databases • SQL scripts
VISUAL SCHEMA DESIGN - CONT
• Change Management • database schema versioning • schema syncronization and comparison utility • synchronization (with conflict management) between a
model and a live database – both ways • comparison between: • two live databases • model and a live database
• Visualisal representation of differences
• Documentation • each table/row can have it’s own documentation • flexible report generation based on all model data
SQL DEVELOPMENT
• Integrated Visual SQL Editor • syntax highlight • EXPLAIN support • Parallel execution of multiple SQL queries • Easy edit of the data using standard grid format • Data can be exported into several formats (CSV, HTML, XML,
SQL INSERT) • Complex history support • Most used SQL Selects, DML and DDL code can be saved/
grouped into snippets.
SERVER ADMINISTRATION
• User administration (privileges, passwords, access lists) • Server configuration (runtime parameters for fine
tunning) • Server logs (error logs, binary logs, InnoDB logs) into
a single interface • Database(s) import and export • General server and system status (load, users,
queries no, etc)
SAVING MODELS - MWB
• Models are saved into .mwb files (zip files), which contains the following files: • document.mwb.xml • lock • @db/data.db
• Very little information regarding mwb file structure and format. • No DTD or XSL files found L