on 03-24-2009 2:30 PM
Hi all,
I need to run statisitcs on a single table. We're on ECC5/SQL2000. DB20 says it's not supported on this system. Any ideas?
Thanks,
Samer
why don't you do if for the tablespace containing the table?.... statistics do not take long to run.
Regards
Juan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually, you're using MSSQL so statistics are created automatically by the query optimizer.
Read,
http://msdn.microsoft.com/en-us/library/ms187348.aspx
Seems like theres no need to update stats after all.
will be a good idea to run DBCHECK in DB13 to see if theres any missing statistics, if theres none then you're fine.
Regards
Juan
Hello Sameer,
These is no concept of tablespaces in MSSQL server
so if you want to update stats you will have to do on single table
Here is the procedure:
go to DB02 and then click on single table statistics
then it will ask for the table name and then anaylze,then you can update statisitcs
Let me know of any issues
Rohit
hi
when you go to DB02 you can find single table anaylsis in the left part of the screen(Please expore the screen a bit if you dont find it)
then give the name of table and the anaylze,then you will see five tabs coming in the screen
Size,Index,runtime stats, field. settings
click on indexes,click on each index and then update statistics in the above part of the screen,you will be able to do that
Rohit
Hi again Rohit,
I've uploaded a screenshot of my db02 to this http://www.barberfoods.com/images/samer/db02.jpg
Maybe it's because it's the end of the day here for me, but I can't seem to find the "Single Table Analysis"
Thanks again!
Samer
Sameer if you are not able to do that through DB02,you have one more option of doing that through SQL server
Just go through the following blog
Rohit
Hai,
Are you using AUTO UPDATE STATISTICS option in SQL server.
This option is present in SQL Server 2000.
You can try to update the statistics using the UPDATE STATISTICS (Transact-SQL).
Check below link.....
http://msdn.microsoft.com/en-us/library/ms190397.aspx
SAP Note: 327494.
Regards,
Yoganand.V
hello Sameer
7200 means 2 hrs i.e really long time...
as I posted in my earlier post also if you are not able to do through SAP,do it from SQL server
please follow the procedure mentioned in the following blog:
Rohit
Hi SK
Please check the following link:
I hope this helps
Regards
Chen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.