Showing posts with label disk. Show all posts
Showing posts with label disk. Show all posts

Thursday, February 16, 2012

Calculating table size

I have a BIG database with 8 tables growing rapidly. I would like to estimate the size of a row in disk space so I can predict how big my bd will grow in time. I know the math to calculate this but I'm look for a tool to automate this task. A tool that takes into accout calculating index size aside from table size.

I would really apreciate any help on this.

regards

? Since you already have the tables, with rows of real data, I think you can do better than an estimation tool. Take the current table size: EXEC sp_spaceused 'yourTable' ... then get the number of rows: SELECT COUNT(*) FROM yourTable ... and divide. This will give you a much more realistic estimate than any tool can. -- Adam MachanicPro SQL Server 2005, available nowhttp://www..apress.com/book/bookDisplay.html?bID=457-- <Jorge González@.discussions.microsoft.com> wrote in message news:acc81bad-c554-4d2b-8289-fb1482786568@.discussions.microsoft.com... I have a BIG database with 8 tables growing rapidly. I would like to estimate the size of a row in disk space so I can predict how big my bd will grow in time. I know the math to calculate this but I'm look for a tool to automate this task. A tool that takes into accout calculating index size aside from table size. I would really apreciate any help on this. regards|||

The Disk Usage report in SQL Server Management Studio shows you the current size of your database breaking down the statistics by table, row size, index, partitions, etc.

I'm putting together a blog series on Management Studio reports. In the first post, I put together a 2 minute demo of how to view the reports and export them to Microsoft Excel 2007.

http://blogs.msdn.com/sqlrem/archive/2006/05/16/SSMS_Reports_1.aspx

-Paul

|||? Hi Paul, I'll check out your webcast, but I'd just like to give a bit of feedback on the reports themselves. Although I really love the look and feel and depth of content of these reports, I find that they're too heavy to run on a busy production server -- especially one with a lot of databases and/or a lot of tables. Would it be possible to modify the reports for a future release such that the drill-down data is "lazy loaded" on demand? This would make the reports a lot more useable for enterprise scenarios. -- Adam MachanicPro SQL Server 2005, available nowhttp://www..apress.com/book/bookDisplay.html?bID=457-- <Paul Mestemaker - MSFT@.discussions.microsoft..com> wrote in message news:7fb4862e-7192-496e-b484-e1547a88728d@.discussions.microsoft.com... The Disk Usage report in SQL Server Management Studio shows you the current size of your database breaking down the statistics by table, row size, index, partitions, etc. I'm putting together a blog series on Management Studio reports. In the first post, I put together a 2 minute demo of how to view the reports and export them to Microsoft Excel 2007. http://blogs.msdn.com/sqlrem/archive/2006/05/16/SSMS_Reports_1.aspx -Paul|||

I apologize for the delay in response, I have not setup the alerts properly.

We are somewhat limited in how we can load data into the ReportViewer control in Management Studio. There are two ways the control supports an interactive experience.

Drill-in
This is what we do today. We load in all of the data we need to render the report and show/hide information giving a simulated interactive experience.
|||

Hi Jorge,

You can try the following script on SQL 2000 / 2005

CREATE TABLE #SpaceUsed (name sysname,rows bigint,reserved sysname,data sysname,index_size sysname,unused sysname)

DECLARE @.Counter int
DECLARE @.Max int
DECLARE @.Table sysname

SELECT name, IDENTITY(int,1,1) ROWID
INTO #TableCollection
FROM sysobjects
WHERE xtype = 'U'
ORDER BY lower(name)

SET @.Counter = 1
SET @.Max = (SELECT Max(ROWID) FROM #TableCollection)

WHILE (@.Counter <= @.Max)
BEGIN
SET @.Table = (SELECT name FROM #TableCollection WHERE ROWID = @.Counter)
INSERT INTO #SpaceUsed
EXECUTE sp_spaceused @.Table
SET @.Counter = @.Counter + 1
END

SELECT * FROM #SpaceUsed

DROP TABLE #TableCollection
DROP TABLE #SpaceUsed

Regards

Calculating table size

I have a BIG database with 8 tables growing rapidly. I would like to estimate the size of a row in disk space so I can predict how big my bd will grow in time. I know the math to calculate this but I'm look for a tool to automate this task. A tool that takes into accout calculating index size aside from table size.

I would really apreciate any help on this.

regards

? Since you already have the tables, with rows of real data, I think you can do better than an estimation tool. Take the current table size: EXEC sp_spaceused 'yourTable' ... then get the number of rows: SELECT COUNT(*) FROM yourTable ... and divide. This will give you a much more realistic estimate than any tool can. -- Adam MachanicPro SQL Server 2005, available nowhttp://www..apress.com/book/bookDisplay.html?bID=457-- <Jorge González@.discussions.microsoft.com> wrote in message news:acc81bad-c554-4d2b-8289-fb1482786568@.discussions.microsoft.com... I have a BIG database with 8 tables growing rapidly. I would like to estimate the size of a row in disk space so I can predict how big my bd will grow in time. I know the math to calculate this but I'm look for a tool to automate this task. A tool that takes into accout calculating index size aside from table size. I would really apreciate any help on this. regards|||

The Disk Usage report in SQL Server Management Studio shows you the current size of your database breaking down the statistics by table, row size, index, partitions, etc.

I'm putting together a blog series on Management Studio reports. In the first post, I put together a 2 minute demo of how to view the reports and export them to Microsoft Excel 2007.

http://blogs.msdn.com/sqlrem/archive/2006/05/16/SSMS_Reports_1.aspx

-Paul

|||? Hi Paul, I'll check out your webcast, but I'd just like to give a bit of feedback on the reports themselves. Although I really love the look and feel and depth of content of these reports, I find that they're too heavy to run on a busy production server -- especially one with a lot of databases and/or a lot of tables. Would it be possible to modify the reports for a future release such that the drill-down data is "lazy loaded" on demand? This would make the reports a lot more useable for enterprise scenarios. -- Adam MachanicPro SQL Server 2005, available nowhttp://www..apress.com/book/bookDisplay.html?bID=457-- <Paul Mestemaker - MSFT@.discussions.microsoft..com> wrote in message news:7fb4862e-7192-496e-b484-e1547a88728d@.discussions.microsoft.com... The Disk Usage report in SQL Server Management Studio shows you the current size of your database breaking down the statistics by table, row size, index, partitions, etc. I'm putting together a blog series on Management Studio reports. In the first post, I put together a 2 minute demo of how to view the reports and export them to Microsoft Excel 2007. http://blogs.msdn.com/sqlrem/archive/2006/05/16/SSMS_Reports_1.aspx -Paul|||

I apologize for the delay in response, I have not setup the alerts properly.

We are somewhat limited in how we can load data into the ReportViewer control in Management Studio. There are two ways the control supports an interactive experience.

Drill-in
This is what we do today. We load in all of the data we need to render the report and show/hide information giving a simulated interactive experience.
|||

Hi Jorge,

You can try the following script on SQL 2000 / 2005

CREATE TABLE #SpaceUsed (name sysname,rows bigint,reserved sysname,data sysname,index_size sysname,unused sysname)

DECLARE @.Counter int
DECLARE @.Max int
DECLARE @.Table sysname

SELECT name, IDENTITY(int,1,1) ROWID
INTO #TableCollection
FROM sysobjects
WHERE xtype = 'U'
ORDER BY lower(name)

SET @.Counter = 1
SET @.Max = (SELECT Max(ROWID) FROM #TableCollection)

WHILE (@.Counter <= @.Max)
BEGIN
SET @.Table = (SELECT name FROM #TableCollection WHERE ROWID = @.Counter)
INSERT INTO #SpaceUsed
EXECUTE sp_spaceused @.Table
SET @.Counter = @.Counter + 1
END

SELECT * FROM #SpaceUsed

DROP TABLE #TableCollection
DROP TABLE #SpaceUsed

Regards

Sunday, February 12, 2012

calculating Disk QueueLengths

Hello,
We have raid 5 and raid 1 levels on our disk systems.I know the avg disk
quelengths
should not exceed 2 continously.But is that going to 4 for Raid1 since we have
two disks on raid1 and 10 for raid 5 since we have 5 disks on raid5.
thanks,
Hi
For a raid configured as a single volume the figure is a total for all
drives, so they are within limits although I would hope these are peeks are
not constant values. You may want to read SQL Server 2000 Performance Tuning
Technical Reference by Ed Whalen et al. ISBN 0-7356-1270-6
John
"chinn" <chinn@.discussions.microsoft.com> wrote in message
news:BD18FB90-0652-4C99-82EF-4C6A6888573A@.microsoft.com...
> Hello,
> We have raid 5 and raid 1 levels on our disk systems.I know the avg disk
> quelengths
> should not exceed 2 continously.But is that going to 4 for Raid1 since we
> have
> two disks on raid1 and 10 for raid 5 since we have 5 disks on raid5.
> thanks,
|||So which values are correct is it 2 or 4 for raid 1 ..
Thanks,
"John Bell" wrote:

> Hi
> For a raid configured as a single volume the figure is a total for all
> drives, so they are within limits although I would hope these are peeks are
> not constant values. You may want to read SQL Server 2000 Performance Tuning
> Technical Reference by Ed Whalen et al. ISBN 0-7356-1270-6
> John
> "chinn" <chinn@.discussions.microsoft.com> wrote in message
> news:BD18FB90-0652-4C99-82EF-4C6A6888573A@.microsoft.com...
>
>
|||It's +2 for each disk in your RAID, so for 2 Disks in RAID 1 you get 2 + 2 =
4. This is the peak though, and you shouldn't be hitting this
continuously... If you are you might look at your disk and database
configurations to ensure they're optimal (i.e., where are your
non-clustered indexes being stored? how about your transaction logs, etc.?)
Also the physical aspects - are you using hardware RAID or software RAID?
Do you have separate controllers, etc.
"chinn" <chinn@.discussions.microsoft.com> wrote in message
news:5A765E00-7C9C-468C-B092-E044DB676A52@.microsoft.com...
> So which values are correct is it 2 or 4 for raid 1 ..
> Thanks,

calculating Disk QueueLengths

Hello,
We have raid 5 and raid 1 levels on our disk systems.I know the avg disk
quelengths
should not exceed 2 continously.But is that going to 4 for Raid1 since we have
two disks on raid1 and 10 for raid 5 since we have 5 disks on raid5.
thanks,Hi
For a raid configured as a single volume the figure is a total for all
drives, so they are within limits although I would hope these are peeks are
not constant values. You may want to read SQL Server 2000 Performance Tuning
Technical Reference by Ed Whalen et al. ISBN 0-7356-1270-6
John
"chinn" <chinn@.discussions.microsoft.com> wrote in message
news:BD18FB90-0652-4C99-82EF-4C6A6888573A@.microsoft.com...
> Hello,
> We have raid 5 and raid 1 levels on our disk systems.I know the avg disk
> quelengths
> should not exceed 2 continously.But is that going to 4 for Raid1 since we
> have
> two disks on raid1 and 10 for raid 5 since we have 5 disks on raid5.
> thanks,|||So which values are correct is it 2 or 4 for raid 1 ..
Thanks,
"John Bell" wrote:
> Hi
> For a raid configured as a single volume the figure is a total for all
> drives, so they are within limits although I would hope these are peeks are
> not constant values. You may want to read SQL Server 2000 Performance Tuning
> Technical Reference by Ed Whalen et al. ISBN 0-7356-1270-6
> John
> "chinn" <chinn@.discussions.microsoft.com> wrote in message
> news:BD18FB90-0652-4C99-82EF-4C6A6888573A@.microsoft.com...
> > Hello,
> >
> > We have raid 5 and raid 1 levels on our disk systems.I know the avg disk
> > quelengths
> > should not exceed 2 continously.But is that going to 4 for Raid1 since we
> > have
> > two disks on raid1 and 10 for raid 5 since we have 5 disks on raid5.
> >
> > thanks,
>
>|||It's +2 for each disk in your RAID, so for 2 Disks in RAID 1 you get 2 + 2 =4. This is the peak though, and you shouldn't be hitting this
continuously... If you are you might look at your disk and database
configurations to ensure they're optimal (i.e., where are your
non-clustered indexes being stored? how about your transaction logs, etc.?)
Also the physical aspects - are you using hardware RAID or software RAID?
Do you have separate controllers, etc.
"chinn" <chinn@.discussions.microsoft.com> wrote in message
news:5A765E00-7C9C-468C-B092-E044DB676A52@.microsoft.com...
> So which values are correct is it 2 or 4 for raid 1 ..
> Thanks,

calculating Disk QueueLengths

Hello,
We have raid 5 and raid 1 levels on our disk systems.I know the avg disk
quelengths
should not exceed 2 continously.But is that going to 4 for Raid1 since we ha
ve
two disks on raid1 and 10 for raid 5 since we have 5 disks on raid5.
thanks,Hi
For a raid configured as a single volume the figure is a total for all
drives, so they are within limits although I would hope these are peeks are
not constant values. You may want to read SQL Server 2000 Performance Tuning
Technical Reference by Ed Whalen et al. ISBN 0-7356-1270-6
John
"chinn" <chinn@.discussions.microsoft.com> wrote in message
news:BD18FB90-0652-4C99-82EF-4C6A6888573A@.microsoft.com...
> Hello,
> We have raid 5 and raid 1 levels on our disk systems.I know the avg disk
> quelengths
> should not exceed 2 continously.But is that going to 4 for Raid1 since we
> have
> two disks on raid1 and 10 for raid 5 since we have 5 disks on raid5.
> thanks,|||So which values are correct is it 2 or 4 for raid 1 ..
Thanks,
"John Bell" wrote:

> Hi
> For a raid configured as a single volume the figure is a total for all
> drives, so they are within limits although I would hope these are peeks ar
e
> not constant values. You may want to read SQL Server 2000 Performance Tuni
ng
> Technical Reference by Ed Whalen et al. ISBN 0-7356-1270-6
> John
> "chinn" <chinn@.discussions.microsoft.com> wrote in message
> news:BD18FB90-0652-4C99-82EF-4C6A6888573A@.microsoft.com...
>
>|||It's +2 for each disk in your RAID, so for 2 Disks in RAID 1 you get 2 + 2 =
4. This is the peak though, and you shouldn't be hitting this
continuously... If you are you might look at your disk and database
configurations to ensure they're optimal (i.e., where are your
non-clustered indexes being stored? how about your transaction logs, etc.?)
Also the physical aspects - are you using hardware RAID or software RAID?
Do you have separate controllers, etc.
"chinn" <chinn@.discussions.microsoft.com> wrote in message
news:5A765E00-7C9C-468C-B092-E044DB676A52@.microsoft.com...
> So which values are correct is it 2 or 4 for raid 1 ..
> Thanks,

calculating disk IO

How does one calculate disk IO requirements for SQL queries? Then how do I
measure what is being produced by my disk subsystem? Thanks for the info.
Jasonthis article by Ed Whalen says it all.
you may have to register to view but registration is free and only requires
email addy
http://www.perftuning.com/_whitepapers/RAID.pdf
Greg Jackson
PDX, OR|||OK that is nice to calculate the load the disks can handle. Is there away to
calculate how many IOs are being generated by my sql box?
Jason
"pdxJaxon" <GregoryAJackson@.Hotmail.com> wrote in message
news:%23CKbL5PGFHA.3492@.TK2MSFTNGP12.phx.gbl...
> this article by Ed Whalen says it all.
> you may have to register to view but registration is free and only
> requires email addy
> http://www.perftuning.com/_whitepapers/RAID.pdf
> Greg Jackson
> PDX, OR
>|||Hi
Fire up Windows Performance Monitor and collect the statistics.
Regards
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"JasonMeyer" <jason.meyer@.nospam.isd623.org> wrote in message
news:OKlLFYQGFHA.1044@.TK2MSFTNGP14.phx.gbl...
> OK that is nice to calculate the load the disks can handle. Is there away
to
> calculate how many IOs are being generated by my sql box?
> Jason
> "pdxJaxon" <GregoryAJackson@.Hotmail.com> wrote in message
> news:%23CKbL5PGFHA.3492@.TK2MSFTNGP12.phx.gbl...
>|||Being the noob that I am and trying to learn, but which counter is it?
Thanks.
Jason
"Mike Epprecht (SQL MVP)" <mike@.epprecht.net> wrote in message
news:u2V2OFTGFHA.2736@.TK2MSFTNGP09.phx.gbl...
> Hi
> Fire up Windows Performance Monitor and collect the statistics.
> Regards
> --
> Mike Epprecht, Microsoft SQL Server MVP
> Zurich, Switzerland
> IM: mike@.epprecht.net
> MVP Program: http://www.microsoft.com/mvp
> Blog: http://www.msmvps.com/epprecht/
> "JasonMeyer" <jason.meyer@.nospam.isd623.org> wrote in message
> news:OKlLFYQGFHA.1044@.TK2MSFTNGP14.phx.gbl...
> to
>|||Hi
Look at the objects Physical Disk and Logical Disk.
Logical disk give you figures for the sum of the drives in a RAID
configuration, whilst physical disk gives you figures for each physical
drive.
Counters:
Disk Read Bytes/sec and Disk Write Bytes/sec
Regards
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"JasonMeyer" <jason.meyer@.nospam.isd623.org> wrote in message
news:OS3TOqcGFHA.2620@.tk2msftngp13.phx.gbl...
> Being the noob that I am and trying to learn, but which counter is it?
> Thanks.
> Jason
> "Mike Epprecht (SQL MVP)" <mike@.epprecht.net> wrote in message
> news:u2V2OFTGFHA.2736@.TK2MSFTNGP09.phx.gbl...
away[vbcol=seagreen]
>

calculating disk IO

How does one calculate disk IO requirements for SQL queries? Then how do I
measure what is being produced by my disk subsystem? Thanks for the info.
Jasonthis article by Ed Whalen says it all.
you may have to register to view but registration is free and only requires
email addy
http://www.perftuning.com/_whitepapers/RAID.pdf
Greg Jackson
PDX, OR|||OK that is nice to calculate the load the disks can handle. Is there away to
calculate how many IOs are being generated by my sql box?
Jason
"pdxJaxon" <GregoryAJackson@.Hotmail.com> wrote in message
news:%23CKbL5PGFHA.3492@.TK2MSFTNGP12.phx.gbl...
> this article by Ed Whalen says it all.
> you may have to register to view but registration is free and only
> requires email addy
> http://www.perftuning.com/_whitepapers/RAID.pdf
> Greg Jackson
> PDX, OR
>|||Hi
Fire up Windows Performance Monitor and collect the statistics.
Regards
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"JasonMeyer" <jason.meyer@.nospam.isd623.org> wrote in message
news:OKlLFYQGFHA.1044@.TK2MSFTNGP14.phx.gbl...
> OK that is nice to calculate the load the disks can handle. Is there away
to
> calculate how many IOs are being generated by my sql box?
> Jason
> "pdxJaxon" <GregoryAJackson@.Hotmail.com> wrote in message
> news:%23CKbL5PGFHA.3492@.TK2MSFTNGP12.phx.gbl...
> > this article by Ed Whalen says it all.
> >
> > you may have to register to view but registration is free and only
> > requires email addy
> >
> > http://www.perftuning.com/_whitepapers/RAID.pdf
> >
> > Greg Jackson
> > PDX, OR
> >
>|||Being the noob that I am and trying to learn, but which counter is it?
Thanks.
Jason
"Mike Epprecht (SQL MVP)" <mike@.epprecht.net> wrote in message
news:u2V2OFTGFHA.2736@.TK2MSFTNGP09.phx.gbl...
> Hi
> Fire up Windows Performance Monitor and collect the statistics.
> Regards
> --
> Mike Epprecht, Microsoft SQL Server MVP
> Zurich, Switzerland
> IM: mike@.epprecht.net
> MVP Program: http://www.microsoft.com/mvp
> Blog: http://www.msmvps.com/epprecht/
> "JasonMeyer" <jason.meyer@.nospam.isd623.org> wrote in message
> news:OKlLFYQGFHA.1044@.TK2MSFTNGP14.phx.gbl...
>> OK that is nice to calculate the load the disks can handle. Is there away
> to
>> calculate how many IOs are being generated by my sql box?
>> Jason
>> "pdxJaxon" <GregoryAJackson@.Hotmail.com> wrote in message
>> news:%23CKbL5PGFHA.3492@.TK2MSFTNGP12.phx.gbl...
>> > this article by Ed Whalen says it all.
>> >
>> > you may have to register to view but registration is free and only
>> > requires email addy
>> >
>> > http://www.perftuning.com/_whitepapers/RAID.pdf
>> >
>> > Greg Jackson
>> > PDX, OR
>> >
>>
>|||Hi
Look at the objects Physical Disk and Logical Disk.
Logical disk give you figures for the sum of the drives in a RAID
configuration, whilst physical disk gives you figures for each physical
drive.
Counters:
Disk Read Bytes/sec and Disk Write Bytes/sec
Regards
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"JasonMeyer" <jason.meyer@.nospam.isd623.org> wrote in message
news:OS3TOqcGFHA.2620@.tk2msftngp13.phx.gbl...
> Being the noob that I am and trying to learn, but which counter is it?
> Thanks.
> Jason
> "Mike Epprecht (SQL MVP)" <mike@.epprecht.net> wrote in message
> news:u2V2OFTGFHA.2736@.TK2MSFTNGP09.phx.gbl...
> > Hi
> >
> > Fire up Windows Performance Monitor and collect the statistics.
> >
> > Regards
> > --
> > Mike Epprecht, Microsoft SQL Server MVP
> > Zurich, Switzerland
> >
> > IM: mike@.epprecht.net
> >
> > MVP Program: http://www.microsoft.com/mvp
> >
> > Blog: http://www.msmvps.com/epprecht/
> >
> > "JasonMeyer" <jason.meyer@.nospam.isd623.org> wrote in message
> > news:OKlLFYQGFHA.1044@.TK2MSFTNGP14.phx.gbl...
> >> OK that is nice to calculate the load the disks can handle. Is there
away
> > to
> >> calculate how many IOs are being generated by my sql box?
> >>
> >> Jason
> >> "pdxJaxon" <GregoryAJackson@.Hotmail.com> wrote in message
> >> news:%23CKbL5PGFHA.3492@.TK2MSFTNGP12.phx.gbl...
> >> > this article by Ed Whalen says it all.
> >> >
> >> > you may have to register to view but registration is free and only
> >> > requires email addy
> >> >
> >> > http://www.perftuning.com/_whitepapers/RAID.pdf
> >> >
> >> > Greg Jackson
> >> > PDX, OR
> >> >
> >>
> >>
> >
> >
>

calculating disk IO

How does one calculate disk IO requirements for SQL queries? Then how do I
measure what is being produced by my disk subsystem? Thanks for the info.
Jason
this article by Ed Whalen says it all.
you may have to register to view but registration is free and only requires
email addy
http://www.perftuning.com/_whitepapers/RAID.pdf
Greg Jackson
PDX, OR
|||OK that is nice to calculate the load the disks can handle. Is there away to
calculate how many IOs are being generated by my sql box?
Jason
"pdxJaxon" <GregoryAJackson@.Hotmail.com> wrote in message
news:%23CKbL5PGFHA.3492@.TK2MSFTNGP12.phx.gbl...
> this article by Ed Whalen says it all.
> you may have to register to view but registration is free and only
> requires email addy
> http://www.perftuning.com/_whitepapers/RAID.pdf
> Greg Jackson
> PDX, OR
>
|||Hi
Fire up Windows Performance Monitor and collect the statistics.
Regards
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"JasonMeyer" <jason.meyer@.nospam.isd623.org> wrote in message
news:OKlLFYQGFHA.1044@.TK2MSFTNGP14.phx.gbl...
> OK that is nice to calculate the load the disks can handle. Is there away
to
> calculate how many IOs are being generated by my sql box?
> Jason
> "pdxJaxon" <GregoryAJackson@.Hotmail.com> wrote in message
> news:%23CKbL5PGFHA.3492@.TK2MSFTNGP12.phx.gbl...
>
|||Being the noob that I am and trying to learn, but which counter is it?
Thanks.
Jason
"Mike Epprecht (SQL MVP)" <mike@.epprecht.net> wrote in message
news:u2V2OFTGFHA.2736@.TK2MSFTNGP09.phx.gbl...
> Hi
> Fire up Windows Performance Monitor and collect the statistics.
> Regards
> --
> Mike Epprecht, Microsoft SQL Server MVP
> Zurich, Switzerland
> IM: mike@.epprecht.net
> MVP Program: http://www.microsoft.com/mvp
> Blog: http://www.msmvps.com/epprecht/
> "JasonMeyer" <jason.meyer@.nospam.isd623.org> wrote in message
> news:OKlLFYQGFHA.1044@.TK2MSFTNGP14.phx.gbl...
> to
>
|||Hi
Look at the objects Physical Disk and Logical Disk.
Logical disk give you figures for the sum of the drives in a RAID
configuration, whilst physical disk gives you figures for each physical
drive.
Counters:
Disk Read Bytes/sec and Disk Write Bytes/sec
Regards
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"JasonMeyer" <jason.meyer@.nospam.isd623.org> wrote in message
news:OS3TOqcGFHA.2620@.tk2msftngp13.phx.gbl...[vbcol=seagreen]
> Being the noob that I am and trying to learn, but which counter is it?
> Thanks.
> Jason
> "Mike Epprecht (SQL MVP)" <mike@.epprecht.net> wrote in message
> news:u2V2OFTGFHA.2736@.TK2MSFTNGP09.phx.gbl...
away
>

calculating COUNTER Physical Disk: AVG. DISK QUEUE LENGTH

If I return the Average, Minimum, and Maximum values for the counter Physical Disk: Avg. Disk Queue Length, and those values are 10, 0, 87 respectively, which value do I use to compute the Avg. Disk Queue Length for a 4 disk array(RAID 10): Average, Minimum, or Maximum? The disk(lun) is on a SAN.

In theory it should be maximum 2 per spindle.

There are however other counters which are more important like Avg. Disk Sec/Read and Avg.Disk Sec/Write which should be less than 20ms (optimal) for data drives and 2-3ms for the log drive.

WesleyB

Visit my SQL Server weblog @. http://dis4ea.blogspot.com

calculating COUNTER Physical Disk: AVG. DISK QUEUE LENGTH

If I return the Average, Minimum, and Maximum values for the counter Physical Disk: Avg. Disk Queue Length, and those values are 10, 0, 87 respectively, which value do I use to compute the Avg. Disk Queue Length for a 4 disk array(RAID 10): Average, Minimum, or Maximum? The disk(lun) is on a SAN.

In theory it should be maximum 2 per spindle.

There are however other counters which are more important like Avg. Disk Sec/Read and Avg.Disk Sec/Write which should be less than 20ms (optimal) for data drives and 2-3ms for the log drive.

WesleyB

Visit my SQL Server weblog @. http://dis4ea.blogspot.com