Sql server 2000

vishesh
Member Posts: 60
Hi all,
I want some help abt indexes in the sql server.
and also i have just read abt the update statistic in slq 2005 is it possible in sql 2000.
Please reply.
I want some help abt indexes in the sql server.
and also i have just read abt the update statistic in slq 2005 is it possible in sql 2000.
Please reply.
Vishesh Singh
Technical Consultant
Technical Consultant
0
Comments
-
It is also possible in SQL2000 (and also very much necessary for performance).Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Thanks kriki
how can i find any help regarding this.
I have never worked on indexes and updating statistics.
Please provide any feedback so that i can work on this topic.
ThanksVishesh Singh
Technical Consultant0 -
This is from the SQL Performance DOC
SQL indexes rebuilt
You must rebuild SQL Indexes regularly for all Navision tables. You can use the following SQL Transact
to rebuild indexes:SET TRANSACTION ISOLATION LEVEL SERIALIZABLE CREATE UNIQUE CLUSTERED INDEX "CompanyName$TableName$0" ON "DatabaseName"."dbo"."CompanyName$TableName" ("Field1InPrimaryKey”,” Field2InPrimaryKey”,…) WITH DROP_EXISTING CREATE UNIQUE NONCLUSTERED INDEX "$SecondaryKey1" ON "DatabaseName "."dbo"." CompanyName$TableName" ("Field1InSecondaryKey1","Field2InSecondaryKey1",…) WITH DROP_EXISTING CREATE UNIQUE NONCLUSTERED INDEX "$SecondaryKey2" ON "DatabaseName "."dbo"." CompanyName$TableName" ("Field1InSecondaryKey2","Field2InSecondaryKey2",…) WITH DROP_EXISTING … IF @@TRANCOUNT > 0 COMMIT TRAN
You must schedule the rebuilt of indexes for a table based on:
�� Whether or not records can be deleted or modified in the table.
�� Whether or not records are inserted sequentially in the index.
�� The number of indexes (keys) in the table.
�� The number of records in the table.0 -
Please reply this post
I need feed back for indexes and updating statistics
thanks and regards.Vishesh Singh
Technical Consultant0 -
What more do you need? Have you downloaded all doc's from the download selection and the Toolkit from partnerguide?0
-
Mark,
About rebuilding the indexes, can you have a look at this thread?
http://www.mibuso.com/forum/viewtopic.php?t=11653
There is a question about the execution plans which worries me a bit... .0 -
-
GoMad wrote:Kriki,
a quick question before I deploy the weekly rebuild at one of our customers.
I was always told that you have to "warm up" a sql database by performing a database test. (Which loads the execution plan of all the indexes into the cache of the SQL Server)
At our customer this alone takes about 1 full day.
My question is: Is the execution plan still in the cach after I rebuild the indexes using the rebuild index task of SQL 2005?
Regards,
At our customer, when the database isn't warmed up, there are serious performance issues...0 -
Thanks to all of you for your valuable replies.
My concern is how to regarding the performance of the sql 2000.
How can i do indexing and also updating the statistics.
I have not got anything on the download section.
Please provide me some study material for the performance tuning for Navision on sql server options.
Thanks and Regards.Vishesh Singh
Technical Consultant0 -
http://www.mibuso.com/dlinfo.asp?FileID=356
This is the SQL doc.
Do you have access to partnersource for the Toolkit?0 -
Waldo wrote:GoMad wrote:Kriki,
a quick question before I deploy the weekly rebuild at one of our customers.
I was always told that you have to "warm up" a sql database by performing a database test. (Which loads the execution plan of all the indexes into the cache of the SQL Server)
At our customer this alone takes about 1 full day.
My question is: Is the execution plan still in the cach after I rebuild the indexes using the rebuild index task of SQL 2005?
Regards,
At our customer, when the database isn't warmed up, there are serious performance issues...
After some investigation and some pm's we have found out that after rebuilding the index the execution plan get's an obsolete flag. This means that when the query will be executed a new execution plan will be generated.
To avoid this runtime, the execution plan needs to be recompiled after rebuilding the indexes.
More information at:
http://www.sql-server-performance.com/n ... istics.asp
http://msdn2.microsoft.com/en-us/library/ms181055.aspx
Does anybody have some statemens for that?0 -
Hi all,
Thanks for the material link posted by by regarding the performance tuning.
But after going through the material it seems it require insight into sql server. I m new for database administrator.
Let me do some homework and if I have any query ll let you guys know.
ThanksVishesh Singh
Technical Consultant0 -
Hi all,
I have done the following things to maintain the indexes in sql server 2000.
In the Enterprise Manager on the rightclick of the table i got the manage indexes in the all task.
There all the keys defined on the table are shown. and i can edit any key i like, for that i just click on the key and then click edit and i have shown the all the field in the key now if i click on ok then it takes some time and process is successful.
I have certain questions to ask:
Is this the index management.
There is a boolean field there where it asked abt the dont recompute statistics(not recommended) its clearly says that if i click this flag then the statistics ll not be recomputed.
Second question is regarding this flag is this the statistics i was referring in my previous post.
Sorry for giving so much details
Please give some guidance for this.
Thanks and Regards.Vishesh Singh
Technical Consultant0 -
NEVER touch the Navision-tables from enterprise manager! You can (at best) lose the things you changed in enterprise manager.
For Index-statistics and rebuilding, you need to create a SQL job or a SQL maintainance plan. The SQL-wizards can be handy to do it.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions