Change of SQLIndex property

fufikk
Member Posts: 104
Hi,
I've been doing some reading on changing the SQLIndex property to achieve better index selectivity in SQL. My particular interest is in T355 - Ledger Entry Dimension. I do wonder what would happen if the PK would start with "Entry No." instead of "Table ID" (in the SQLIndex). Unfortunatelly, I do not have a test database at the moment that would have enough data in that table to observe any positive or negative impact of that action.
So I figured, I ask here if anyone has any experience with that. Any replies are appreciated
I've been doing some reading on changing the SQLIndex property to achieve better index selectivity in SQL. My particular interest is in T355 - Ledger Entry Dimension. I do wonder what would happen if the PK would start with "Entry No." instead of "Table ID" (in the SQLIndex). Unfortunatelly, I do not have a test database at the moment that would have enough data in that table to observe any positive or negative impact of that action.
So I figured, I ask here if anyone has any experience with that. Any replies are appreciated

0
Comments
-
The selectivity will be better. Microsoft did it with Table 37 at a certain time. They created an extra index with "Document No.","Document Type","Line No." if I remember correctly.
Depending on the number of data it will take some time to change the SQLIndex property because it will rebuild the clustered index.
It will probably be more performant. But as always: before putting something in production, test it to see if it is more performant.
PS: For performance: don't create a secondary key with the new key. It will slow down insert performance a lot for only helping a little the reading performance.
Also keep the fillfactor of the table at max 90% (this is not a 'hard' rule but just a number [educated guess!] to start with).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