问答文章1 问答文章501 问答文章1001 问答文章1501 问答文章2001 问答文章2501 问答文章3001 问答文章3501 问答文章4001 问答文章4501 问答文章5001 问答文章5501 问答文章6001 问答文章6501 问答文章7001 问答文章7501 问答文章8001 问答文章8501 问答文章9001 问答文章9501

什么是Microsoft SQL Server 2012系统的核心服务?

发布网友 发布时间:2022-05-01 14:07

我来回答

2个回答

懂视网 时间:2022-04-10 05:35

6. In the Edit Filter dialog box, select DatabaseName from the list of available data columns on the left. Expand the Like option and enter string value
AdventureWorks2012; then press the OK button as shown in the following screenshot:

 技术分享

7. In the Edit Filter dialog box, select SessionLoginName from the list of available data columns on the left. Expand the Like option and enter string value James; then press the OK button as shown in following screenshot:

技术分享

8. Click on the Organize Columns… button in Events Selection tab of Trace Properties dialog box. Select TextData data column and then keep clicking on Up button repeatedly to move the column up the order in the list, until the column appears as the second item, at the top of the list underneath EventClass data column. Do this same exercise also for the data columns DatabaseName and SessionLoginName so that the final order of the data columns should look like as shown in following screenshot. Press OK in the Organize Columns dialog box:

 技术分享

9. Click on the Run button to run the trace in the Trace Properties dialog box.

Now, we will open two instances of SQL Server Management Studio one by one that connect to SQL Server with the logins James and Peter respectively and run a few queries.
1. Open the first instance of SSMS and connect to SQL Server with the login credentials of James. In the query window, type and execute the T-SQL statements as shown in following script:

USE [AdventureWorks2012]
GO
SELECT * FROM [Sales].[Customer]
GO
USE [master]
GO
SELECT * FROM sys.databases
GO

2. Open a second instance of SSMS and connect to SQL Server with the login credentials of Peter. In the query window, type and execute the same T-SQL
queries as shown in previous step.
3. Switch to SQL Server Profiler window that is running the trace. Examine the trace data as shown in following screenshot:

技术分享

 

Tips:Use of DatabaseID
We can alternatively use DatabaseID data column instead of DatabaseName to specify a filter on a particular database. For this, we must know system
assigned ID value for a specific database. This value can be retrieved by either calling DB_ID(‘AdventureWorks2012‘) metadata function or querying sys.databases catalog view.

The following section lists some of data columns that are commonly used in trace filters:

  • ApplicationName: A filter can be specified on this data column so that only trace events raised by a particular client application are captured
  • DatabaseID: A filter can be specified on this data column so that only trace eventsraised for a specific database are captured
  • DatabaseName: A filter can be specified on this data column so that only trace events raised for a specific database are captured
  • HostName: A filter can be specified on this data column so that only trace events raised from a specific host or client machine are captured
  • LoginName: A filter can be specified on this data column so that only trace events raised by a specific login are captured
  • ObjectID: A filter can be specified on this data column so that only trace events raised for a specific object are captured
  • ObjectName: A filter can be specified on this data column so that only trace events raised for a specific object are captured
  • SessionLoginName: A filter can be specified on this data column so that only trace events raised by a specific login are captured
  • SPID: A filter can be specified on this data column so that only trace events raised from a specific session connection are captured
  •  

    Microsoft.SQL.Server2012.Performance.Tuning.Cookbook学习笔记(一)

    标签:state   compute   spec   peter   nec   cli   dial   spi   other   

    热心网友 时间:2022-04-10 02:43

    Microsoft SQL Server 2012是微软发布的新一代数据平台产品,全面支持云技术与平台,并且能够快速构建相应的解决方案实现私有云与公有云之间数据的扩展与应用的迁移。
    SQL Server 2012包含企业版(Enterprise)、标准版(Standard),另外新增了商业智能版(Business Intelligence)。微软表示,SQL Server 2012发布时还将包括Web版、开发者版本以及精简版。
    声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com
    如果只有铬黑T试剂,能否测定钙离子,如何测定? 金银花茶的做法窍门 怎样制作金银花茶 怎么快速取消订单 有关"听"开头的成语 王卡看腾讯视频不显示免流 大王卡腾讯视频不显示免流 谁给推荐几部国产的好看的、卟幼稚的、新鲜的动画片 好看的、不幼稚的国产动画片有哪些? 太早的不要,要连续动画片 上传速度慢是什么原因? sql server 2012 express 版本和 standard 备份文件版本是否一致? MICROSOFT SQL SERVER 2012 STANDARD是什么意思? 墙面插座、插座面板什么好 插座面板里埋在墙里面的那个东西叫什么? 凯立德车车载导航屏幕校准怎样退出 汽车导航怎么把触摸校正在哪里 开关插座墙壁面板cd301 86型 3位二插 六孔6孔 三位两怎么接线2孔 每次启动车都让屏幕校正,怎么消除? 车载导航触屏校准在哪 六安霍邱身份证前几位数是多少 342501开头的身份证是哪里的 我喜欢篮球 小学6年级作文 600字 急用 运动会小学四六年级运篮球作文 小学三年级作文作文网我的篮球三百字. 小学六年级作文《记一次篮球运球跑比赛》 关于蓝球的作文 格力空调制热几个小时后显示频出现化霜的字幕并且不是怎么回事 莫名其妙被投诉了,朋友圈也会被限制吗?怎么解决? 一个人和一头牛打架,结果牛被人挤光了奶,求电影名? 美国文学教授和挤奶女工是哪部电影? 支付宝里把绑定的银行卡删除了就可以清空个人资料嘛 绝地求生在游戏语音里,自己说话别人能听见 但是听不见队友说话,为什么 支付宝银行卡解绑教程:支付宝银行卡怎么删除步骤 绝地求生语音队友能听到我的游戏声音怎么办 如何从SQL Server企业版“降级”到标准版 打游戏开语音能说话听得见队友声音听不见游戏声音关了语音又听得见游戏声音什么情况? 绝地求生能听到游戏声音,不能听到队友声音。开YY都是好的怎么解决,哪位大神告知一下 绝地求生为什么听不见队友说话,游戏声音都可以就是自己说话队友听不见 队友说话我听不见 端游绝地求生听不到队友说话 pubg听不见队友声音 最近在网上看到茉莉碧螺春,听说是新品,属于红茶,有这种茶吗,碧螺春是不是属于绿茶呢? 梦见自己杀人也自杀了,意味着什么? 梦到杀人请高手解梦 梦见杀人,求解 重装学习国强,原来的分还在吗 新38师 是不是38师没了 张胜武师长,国民*军第三军十七师师长,有谁知道这个人,听说还在世,帮帮忙打听一下。 为什么河北省会不在保定 中互联流量电信物联卡怎么查流量? 梁兴初是上将吗?