[SQL Server]sql server operations studio first touch

日前,SQL Server Team发布了一款轻量、跨平台且免费的SQL Server数据库开发和操作工具,

名为SQL Server operations studio,不管你的SQL Server是在docker、windows、linux、azure、mac,

一律爽快支持。


Sqlops目前也open source在githup,sqlops使用Electron framework并建构在Visual Studio Code shell,

这工具我个人觉得最强大的地方,就是提供客制dashboard,并具有高交互体验,

这可以让我们透过chat更了解SQL Server状态,下面我简单介绍。

@变更色彩布景主题

ctrl+shift+p or ctrl+, 并输入color

我喜欢dark。

套用后,我的使用者配置文件就会立即更新(所有配置文件皆为json)。

@go to definition or peak definition

这功能很实用,当我需要查看table layout,SSMS我大多透过sp_help或generate scripts,

现在sqlops不用这么麻烦了,两者差别就是,预览定义资讯并不会新开tab,更方便我们直接检视。

@Tsql code snippets

透过ctrl+F2 ,批次修改变量

把默认TableName一次性改成rico

@Actual Execution plan

文字执行计划也会一并显示

@custom dashboard

我建立几个以前常用的dashboard,连接数据库后,相关资讯一目了然。

也可以查看详细数据

这样我就知道session59被session58 blocking更详细资讯。

Create insight

选择你需要的chat类型并设定好后,按下create insight。

修改queryfile文件路径后,贴回你的使用者配置文件即可。

参考

Manage servers and databases with Insight widgets in SQL Operations Studio (preview)

Tutorial: Build a custom insight widget

Tutorial: Add the five slowest queries sample widget to the database dashboard

Building Custom Dashboard Widgets in SQL Operations Studio

Tutorial: Enable the table space usage sample insight widget using SQL Operations Studio (preview)

sqlops-widgets

SQL Operations Studio – Comprehensive guide to the new database DevOps tool!

Announcing SQL Operations Studio for preview

What is Microsoft SQL Operations Studio (preview)?

sqlopsstudio

原文:大专栏  [SQL Server]sql server operations studio first touch


猜你喜欢

转载自www.cnblogs.com/chinatrump/p/11490891.html
今日推荐