惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

W
WeLiveSecurity
T
The Exploit Database - CXSecurity.com
C
CXSECURITY Database RSS Feed - CXSecurity.com
S
Security @ Cisco Blogs
T
Threat Research - Cisco Blogs
TaoSecurity Blog
TaoSecurity Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
腾讯CDC
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
The Blog of Author Tim Ferriss
Microsoft Azure Blog
Microsoft Azure Blog
罗磊的独立博客
F
Full Disclosure
博客园 - 【当耐特】
C
CERT Recently Published Vulnerability Notes
Engineering at Meta
Engineering at Meta
Application and Cybersecurity Blog
Application and Cybersecurity Blog
T
Threatpost
I
Intezer
V2EX - 技术
V2EX - 技术
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The Hacker News
The Hacker News
小众软件
小众软件
Google DeepMind News
Google DeepMind News
T
Tailwind CSS Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
B
Blog RSS Feed
Microsoft Security Blog
Microsoft Security Blog
N
News | PayPal Newsroom
MyScale Blog
MyScale Blog
AI
AI
Vercel News
Vercel News
Spread Privacy
Spread Privacy
美团技术团队
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
The GitHub Blog
The GitHub Blog
V
Vulnerabilities – Threatpost
Schneier on Security
Schneier on Security
Cyberwarzone
Cyberwarzone
G
GRAHAM CLULEY
Help Net Security
Help Net Security
Hacker News: Ask HN
Hacker News: Ask HN
Google DeepMind News
Google DeepMind News
MongoDB | Blog
MongoDB | Blog
L
LINUX DO - 热门话题
U
Unit 42
L
LangChain Blog
Recent Announcements
Recent Announcements

博客园 - xpoint

Sybase 11.0.3 bcp数据报错! Windows Server Family 上安装Office 2000 你在使用Gmail,Wallop,MSN Spaces,Three Degrees吗? 网易的邮箱太慢了,还要别的选择吗? 学了学awk,也算是收获 Microsoft PowerToys for Windows XP 给Windows,SCO,AIX添加静态路由 给博客园的bloger提供若干GMail邀请。(暂放半天,明天移帖) 微软的应用程序块列表 了解POP3协议,使用简单的代码监控pop3邮箱,或者不用代码,直接使用telnet 反射的任务 微软为什么把标准提升的这么快, .Net Framework 1.1-> 2.0,连核心的类库都换了! 让你的gVim支持Miscrosoft Visual C++ 2003 设置一个Label控件上文字的字体样式和字体大小随机的代码 得到本机socket选项的全部默认值。 Linux TCP/IP 协议栈源码分析(一) 国外高手参加世界编程大赛时的参赛作品(转载) UltraEdit-32中的小bug。 还是关于《设计模式》
Sybase SQL Server 11.0.x 调优方案...(未完成)
xpoint · 2005-01-26 · via 博客园 - xpoint
 

Sybase SQL Server 11.0.x 调优方案... (未完成)

一些基本概念
性能衡量的指标

1.        响应时间 :完成单一任务所用的时间

2.        吞吐量 一段固定时间内完成的工作量

如何加快响应时间?

1.        减少资源的竞争和等待时间,特别是I/O时间

2.        使用快的组件,SQL Server应用环境分为几个层次

服务器层:内存,CPU,封锁操作,tempdb使用。

数据库层:表的设计,索引的创建和使用,磁盘IO的管理以及设备的使用。

应用层:TSQL查询的优化,应用级的封锁,事务以及游标的使用等。

如何提高吞吐量?

其它因素

1.        良好的数据库设计

2.        全面的查询分析和合适的索引

3.        SQL Server的优化器和网络以及硬件

调优工具

系统表:

一些系统表中Type的含义:

S-系统 U-用户表 P-存储过程 L-日志 R-规则 D-默认 TR-触发器

系统过程:

Sp_lock [spid1,[spid2]] 进程持有的锁

Sp_monitor 报告SQL Server的统计信息

 

Set选项

Set statistics io on|off 是否显示逻辑或物理读写的次数

Set statistics time on|off 是否显示每一个命令进行语法分析和编译的时间

Set statistics subquerycache on|off 是否显示缓冲区碰撞的数目和每一个子查询在缓冲区的数据行数

Set noexec on|off 是否执行SQL语句

Sp_sysmon:产生SQL Server 的活动报表

ShowPlan的使用