dbTalk Databases Forums  

Doubt on Update Statistics

comp.databases.sybase comp.databases.sybase


Discuss Doubt on Update Statistics in the comp.databases.sybase forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
raja
 
Posts: n/a

Default Doubt on Update Statistics - 09-25-2008 , 09:13 AM






Hi,

I have the following doubts regarding update statistics.

1. I have updated the statistics of a particular table/index. Where
can i find the last date on which i have updated the statistics for a
particular table/index ?
2. If i update the statistics of a particular table, will the
statistics of that particular table's indexes will also get updated ?

Please explain in detail.

Thanks in Advance.

With Regards,
Raja.


Reply With Quote
  #2  
Old   
Bret_Halford
 
Posts: n/a

Default Re: Doubt on Update Statistics - 09-25-2008 , 11:06 AM






On Sep 25, 8:13*am, raja <dextersu... (AT) gmail (DOT) com> wrote:
Quote:
Hi,

I have the following doubts regarding update statistics.

1. I have updated the statistics of a particular table/index. Where
can i find the last date on which i have updated the statistics for a
particular table/index ?
2. If i update the statistics of a particular table, will the
statistics of that particular table's indexes will also get updated ?
1) See the "moddate" column in the sysstatistics table

2) The docs say "If you do not specify an index name, the command
["update statistics <table>"] updates the distribution statistics for
all the indexes in the specified table. Giving an index name updates
statistics for that index only. "


Reply With Quote
  #3  
Old   
Bret_Halford
 
Posts: n/a

Default Re: Doubt on Update Statistics - 09-25-2008 , 11:06 AM



On Sep 25, 8:13*am, raja <dextersu... (AT) gmail (DOT) com> wrote:
Quote:
Hi,

I have the following doubts regarding update statistics.

1. I have updated the statistics of a particular table/index. Where
can i find the last date on which i have updated the statistics for a
particular table/index ?
2. If i update the statistics of a particular table, will the
statistics of that particular table's indexes will also get updated ?
1) See the "moddate" column in the sysstatistics table

2) The docs say "If you do not specify an index name, the command
["update statistics <table>"] updates the distribution statistics for
all the indexes in the specified table. Giving an index name updates
statistics for that index only. "


Reply With Quote
  #4  
Old   
Bret_Halford
 
Posts: n/a

Default Re: Doubt on Update Statistics - 09-25-2008 , 11:06 AM



On Sep 25, 8:13*am, raja <dextersu... (AT) gmail (DOT) com> wrote:
Quote:
Hi,

I have the following doubts regarding update statistics.

1. I have updated the statistics of a particular table/index. Where
can i find the last date on which i have updated the statistics for a
particular table/index ?
2. If i update the statistics of a particular table, will the
statistics of that particular table's indexes will also get updated ?
1) See the "moddate" column in the sysstatistics table

2) The docs say "If you do not specify an index name, the command
["update statistics <table>"] updates the distribution statistics for
all the indexes in the specified table. Giving an index name updates
statistics for that index only. "


Reply With Quote
  #5  
Old   
Bret_Halford
 
Posts: n/a

Default Re: Doubt on Update Statistics - 09-25-2008 , 11:06 AM



On Sep 25, 8:13*am, raja <dextersu... (AT) gmail (DOT) com> wrote:
Quote:
Hi,

I have the following doubts regarding update statistics.

1. I have updated the statistics of a particular table/index. Where
can i find the last date on which i have updated the statistics for a
particular table/index ?
2. If i update the statistics of a particular table, will the
statistics of that particular table's indexes will also get updated ?
1) See the "moddate" column in the sysstatistics table

2) The docs say "If you do not specify an index name, the command
["update statistics <table>"] updates the distribution statistics for
all the indexes in the specified table. Giving an index name updates
statistics for that index only. "


Reply With Quote
  #6  
Old   
Bret_Halford
 
Posts: n/a

Default Re: Doubt on Update Statistics - 09-25-2008 , 11:06 AM



On Sep 25, 8:13*am, raja <dextersu... (AT) gmail (DOT) com> wrote:
Quote:
Hi,

I have the following doubts regarding update statistics.

1. I have updated the statistics of a particular table/index. Where
can i find the last date on which i have updated the statistics for a
particular table/index ?
2. If i update the statistics of a particular table, will the
statistics of that particular table's indexes will also get updated ?
1) See the "moddate" column in the sysstatistics table

2) The docs say "If you do not specify an index name, the command
["update statistics <table>"] updates the distribution statistics for
all the indexes in the specified table. Giving an index name updates
statistics for that index only. "


Reply With Quote
  #7  
Old   
Bret_Halford
 
Posts: n/a

Default Re: Doubt on Update Statistics - 09-25-2008 , 11:06 AM



On Sep 25, 8:13*am, raja <dextersu... (AT) gmail (DOT) com> wrote:
Quote:
Hi,

I have the following doubts regarding update statistics.

1. I have updated the statistics of a particular table/index. Where
can i find the last date on which i have updated the statistics for a
particular table/index ?
2. If i update the statistics of a particular table, will the
statistics of that particular table's indexes will also get updated ?
1) See the "moddate" column in the sysstatistics table

2) The docs say "If you do not specify an index name, the command
["update statistics <table>"] updates the distribution statistics for
all the indexes in the specified table. Giving an index name updates
statistics for that index only. "


Reply With Quote
  #8  
Old   
Bret_Halford
 
Posts: n/a

Default Re: Doubt on Update Statistics - 09-25-2008 , 11:06 AM



On Sep 25, 8:13*am, raja <dextersu... (AT) gmail (DOT) com> wrote:
Quote:
Hi,

I have the following doubts regarding update statistics.

1. I have updated the statistics of a particular table/index. Where
can i find the last date on which i have updated the statistics for a
particular table/index ?
2. If i update the statistics of a particular table, will the
statistics of that particular table's indexes will also get updated ?
1) See the "moddate" column in the sysstatistics table

2) The docs say "If you do not specify an index name, the command
["update statistics <table>"] updates the distribution statistics for
all the indexes in the specified table. Giving an index name updates
statistics for that index only. "


Reply With Quote
  #9  
Old   
Bret_Halford
 
Posts: n/a

Default Re: Doubt on Update Statistics - 09-25-2008 , 11:06 AM



On Sep 25, 8:13*am, raja <dextersu... (AT) gmail (DOT) com> wrote:
Quote:
Hi,

I have the following doubts regarding update statistics.

1. I have updated the statistics of a particular table/index. Where
can i find the last date on which i have updated the statistics for a
particular table/index ?
2. If i update the statistics of a particular table, will the
statistics of that particular table's indexes will also get updated ?
1) See the "moddate" column in the sysstatistics table

2) The docs say "If you do not specify an index name, the command
["update statistics <table>"] updates the distribution statistics for
all the indexes in the specified table. Giving an index name updates
statistics for that index only. "


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.