由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - SQL 2008 64bit performance issue
相关主题
给大家出一道SQL Server 题目吧。(100个包子)菜鸟问题: (转载)
帮配个DELL的服务器。包子感谢. (转载)ORACLE DB SET UP
Data Storage的文章Interview question about Microsoft Access and SQL. please help
高手指点: 服务器SQL Server 2005: How to hash a column?
log shipping 问题SQL Server 2005 Exec( )
SQL Server -- 大家一起来做题 (10个包包) sql server 面试题 (3)
SQL Server怎么查为什么store procedure跑的慢?script language
Recompile SQL Server Store procedure发包子,每周一题
相关话题的讨论汇总
话题: sql话题: raid话题: 64bit话题: issue
进入Database版参与讨论
1 (共1页)
r****n
发帖数: 575
1
最近公司SQL server 从SQL 2005 32bit upgrade 到SQL 2008 64bit。application是
delphi写的windows application.突然发现performance downgrade厉害。现在的RAM有
60多GB。硬盘,CPU都没有到bottleneck. 也排除了network (SAN)的问题。The database has been reindexed and update statistics also. 唯一我觉得
有点疑问的是local harddrive and SAN are both RAID5.但是我们硬件工程师不认为
这是个问题。所以拒绝改成RAID 0 or RAID 1.wom我们装RAID 10也不可能。
现在很困惑,到底是什么让这个performance downgrade?大家有什么意见?有没有谁用
2008 64 bit也有类似performance issue?
谢谢!
y****w
发帖数: 3747
2
如果盘阵没问题,raid5到raid10的提升也是有限的,
看下是哪些sql性能下来了还是有必要的。是普遍的还只是关键的一小部分。区别对待。
版本升级可能伴随优化器的改变,很可能有些关键的地方执行计划变了。
j*****n
发帖数: 1781
3
i'd setup a trace and capture the long running queries. then start from
there.
a9
发帖数: 21638
4
我记得升级数据库后,有些类型,比如int long,varchar,nvarchar之类的会影响比较
大。
找找看看。

database has been reindexed and update statistics also. 唯一我觉得

【在 r****n 的大作中提到】
: 最近公司SQL server 从SQL 2005 32bit upgrade 到SQL 2008 64bit。application是
: delphi写的windows application.突然发现performance downgrade厉害。现在的RAM有
: 60多GB。硬盘,CPU都没有到bottleneck. 也排除了network (SAN)的问题。The database has been reindexed and update statistics also. 唯一我觉得
: 有点疑问的是local harddrive and SAN are both RAID5.但是我们硬件工程师不认为
: 这是个问题。所以拒绝改成RAID 0 or RAID 1.wom我们装RAID 10也不可能。
: 现在很困惑,到底是什么让这个performance downgrade?大家有什么意见?有没有谁用
: 2008 64 bit也有类似performance issue?
: 谢谢!

r****n
发帖数: 575
5
We reversed it back to 2005 32bit and everything runs normal now. Looks like
it is not the hardware issue at this time. Will still need to look into why
the upgrade causing the delays. Trace info isnt helpful either. There is a
lot of idol time for stand profile template. Need to set up more specific
profile to capture the detail of SQL internal activity.
w*******e
发帖数: 1622
6
你这个很有意思呀
我们的SQL2008就没这种问题(至少run了四个月)

like
why
a

【在 r****n 的大作中提到】
: We reversed it back to 2005 32bit and everything runs normal now. Looks like
: it is not the hardware issue at this time. Will still need to look into why
: the upgrade causing the delays. Trace info isnt helpful either. There is a
: lot of idol time for stand profile template. Need to set up more specific
: profile to capture the detail of SQL internal activity.

t*****g
发帖数: 3010
7
我曾经遇到过2000升级到2005时的性能问题,查了半天,是由于一个SQL的写法问题,
那种写法在2000性能可以,但是在2005上慢了10倍。用新的写法写了之后,比在2000下
快了3~4倍。
怀疑是磁盘性能问题的话,可以用性能监视器跟踪一段时间,假如磁盘队列高于存储系
统的最大值,就可能存在瓶颈,磁盘系统最大队列长度可以查出来,不过假如有raid的
话,计算会复杂一些,可以去谷一下看看。

database has been reindexed and update statistics also. 唯一我觉得

【在 r****n 的大作中提到】
: 最近公司SQL server 从SQL 2005 32bit upgrade 到SQL 2008 64bit。application是
: delphi写的windows application.突然发现performance downgrade厉害。现在的RAM有
: 60多GB。硬盘,CPU都没有到bottleneck. 也排除了network (SAN)的问题。The database has been reindexed and update statistics also. 唯一我觉得
: 有点疑问的是local harddrive and SAN are both RAID5.但是我们硬件工程师不认为
: 这是个问题。所以拒绝改成RAID 0 or RAID 1.wom我们装RAID 10也不可能。
: 现在很困惑,到底是什么让这个performance downgrade?大家有什么意见?有没有谁用
: 2008 64 bit也有类似performance issue?
: 谢谢!

t*****g
发帖数: 3010
8
这样话,就只能逐个排查了,找到具体慢的地方,然后逐步缩小范围,我们当时就是这
么干的,用了一礼拜

like
why
a

【在 r****n 的大作中提到】
: We reversed it back to 2005 32bit and everything runs normal now. Looks like
: it is not the hardware issue at this time. Will still need to look into why
: the upgrade causing the delays. Trace info isnt helpful either. There is a
: lot of idol time for stand profile template. Need to set up more specific
: profile to capture the detail of SQL internal activity.

w*******e
发帖数: 1622
9
zkss是什么写法?

【在 t*****g 的大作中提到】
: 我曾经遇到过2000升级到2005时的性能问题,查了半天,是由于一个SQL的写法问题,
: 那种写法在2000性能可以,但是在2005上慢了10倍。用新的写法写了之后,比在2000下
: 快了3~4倍。
: 怀疑是磁盘性能问题的话,可以用性能监视器跟踪一段时间,假如磁盘队列高于存储系
: 统的最大值,就可能存在瓶颈,磁盘系统最大队列长度可以查出来,不过假如有raid的
: 话,计算会复杂一些,可以去谷一下看看。
:
: database has been reindexed and update statistics also. 唯一我觉得

N********n
发帖数: 8363
10
Drill it w/ Perfmon. Should be easy to see going through all the stats.
1 (共1页)
进入Database版参与讨论
相关主题
发包子,每周一题log shipping 问题
扯扯Senior SQL Server DBA咋整 (2)SQL Server -- 大家一起来做题 (10个包包)
大家谁给说说70-433和432得区别SQL Server怎么查为什么store procedure跑的慢?
rsArray 为啥写不全? (转载)Recompile SQL Server Store procedure
给大家出一道SQL Server 题目吧。(100个包子)菜鸟问题: (转载)
帮配个DELL的服务器。包子感谢. (转载)ORACLE DB SET UP
Data Storage的文章Interview question about Microsoft Access and SQL. please help
高手指点: 服务器SQL Server 2005: How to hash a column?
相关话题的讨论汇总
话题: sql话题: raid话题: 64bit话题: issue