SQL 2005 and Navision 4.0 SP2 Update 3 Mysterium
Sorcerer
Member Posts: 107
Hello out there,
right now i've got a new issue with our beloved navision....
first the facts: Navision DB 2.60, Navision Client 4.0 SP2 Update 3, SQL Server 2005 SP1 (Enterprise)
After converting the database from sql 200 and 3.70 to 2005 and 4.0 by recovering a navision backup into a new database we have a strange problem.
If the users try to set an Applied Entry into the lines (Journal or sales/purchase line) the entry form opens filtered by the account / item. now the form hangs and there is no chance to get back the client must be closed. so far so bad. if i try this from the same machine, client, computer with my account (same user rights / setup) the form opens fine the applied entry can be set without problems. the only difference between the other user is that i've created the database. even the db_owner role doesn't change anything. (now i've got to say that we have a pretty hughe database with round about 14 million g/l ledger entries and 7 million item ledger entries but that doesnt seem to be a problem for my account)
has anyone an idea how to avoid this problem? (sql jobs like update / create stats runs every night, rebuilding indexes every weekend)
thank you
right now i've got a new issue with our beloved navision....
first the facts: Navision DB 2.60, Navision Client 4.0 SP2 Update 3, SQL Server 2005 SP1 (Enterprise)
After converting the database from sql 200 and 3.70 to 2005 and 4.0 by recovering a navision backup into a new database we have a strange problem.
If the users try to set an Applied Entry into the lines (Journal or sales/purchase line) the entry form opens filtered by the account / item. now the form hangs and there is no chance to get back the client must be closed. so far so bad. if i try this from the same machine, client, computer with my account (same user rights / setup) the form opens fine the applied entry can be set without problems. the only difference between the other user is that i've created the database. even the db_owner role doesn't change anything. (now i've got to say that we have a pretty hughe database with round about 14 million g/l ledger entries and 7 million item ledger entries but that doesnt seem to be a problem for my account)
has anyone an idea how to avoid this problem? (sql jobs like update / create stats runs every night, rebuilding indexes every weekend)
thank you
0
Comments
-
could you tell me what this kb article is about?
we are no partner so we can not view this.
thank you.0 -
Sorcerer wrote:could you tell me what this kb article is about?
we are no partner so we can not view this.
thank you.
you could try thisChange the clustered index on Microsoft SQL Server
In Microsoft Dynamics NAV 4.0, use the key properties to determine which key is the clustered index on SQL Server. Microsoft Dynamics NAV 4.0 always adds the primary key to the end of a query. If you change the clustered index from the primary key to another key, SQL Server will be less likely to make query plans that include a clustered index scan.
For more information about how to use key properties, refer to the documentation in Performance Troubleshooting Guide for Navision.ovidiu
Best Regards0 -
We have run into this issue with a technical upgrade (client only) of a large 3.60 database (~100 GB). We see the issue when scrolling thru the larger ledger tables.
Microsoft gave us the technote referred to above. None of the options provided a workable solution. Changing the clustered index just resulted in SQL doing a scan of the new index.
We found that removing the clusted index would help sometimes, but not always.
We are currently working with a MS Escalation Engineer on this issue.There are no bugs - only undocumented features.0 -
Hello bbrown
Could you keep us posted on this issue. One of my client is running into this issue. For them it's the customer table, just scrolling through it on the list form causes client to hang.0 -
Will do..
My original post is at http://www.mibuso.com/forum/viewtopic.php?t=13154&postdays=0&postorder=asc&start=0
The client is runing 3.60 native for their live system. They are running SQL in a test system. This performance issue has forced a delay in bringing SQL live. They have hit their busy season, so the cut-over probably will not happen until after the holidays.There are no bugs - only undocumented features.0 -
our database is about 100 GB so this issue seems to be a problem with big databases...
and we can say that it does not happen with client 3.70 and sql 2000.
but what i can not understand is that everything works fine if i use my account (database creator).....0 -
This issue is not limited to large databases. It is only more noticable. I have been able to duplicate this issue with a standard CRONUS database. The delay is only detectable with Client Monitor, but it is there. With a larger database the delay becomes noticable by the end-user.There are no bugs - only undocumented features.0
-
Yes this client has 500000 customers, so the wait just makes Navision client unresponsive.0
-
Our client has around 325,000 customers. They notice the issue more with the ledger entry forms (customer, inventory, G/L). They can scroll to the bottom quickly, but experience a delay when they reach the bottom and try to scroll back up.
A similar delay is seen when they reach the top and try to scroll back down. It can take over 30 seconds to move to the next record.There are no bugs - only undocumented features.0 -
ok. after our weekend jobs (optimizing keys out of navision => rebuild index, updating/creating statistics) it seems navision can be used now. the users can work again with the ledger forms.
i've also restarted the sql server because the tempdb has grown to 6gb!!
could anyone tell me if the problem would be solved if the database is set to compatibility level 80 (SQL 2000)?0 -
i've also restarted the sql server because the tempdb has grown to 6gb
Having a large tempdb is not a problem. SQL uses tempdb for its workspace (cursors, etc.). When a SQL is restarted tempdb is recreated at its orginal size and must expand again as needed. This expansion has the same impact as auto-expanding any other database file.There are no bugs - only undocumented features.0 -
Is the problem of slow scrolling when reaching the bottom and going back up solveg in SP3?
We are experimenting the same things here. For one table, it was solved by adding MaintainSIFTIndex for the key in question that had previosly been disabled.0 -
no. find more for this topic here:
http://www.mibuso.com/forum/viewtopic.php?t=131540
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
