Trouble in NAV SQL Server

ayashi
Member Posts: 78
Dear all,
I'm having trouble in lookup cust. ledger entry, somehow the Navision seems to process forever ... when I try to use this command :
Select top 1 * from Cust.LedgerEntryTable
The sql keep giving me "executing query batch ..." status, and it seems that the problem exists only for particular table, since other tables are fine.
This causing the posting process can be done too ...
Do you guys know why is this happening ?
Thx before
I'm having trouble in lookup cust. ledger entry, somehow the Navision seems to process forever ... when I try to use this command :
Select top 1 * from Cust.LedgerEntryTable
The sql keep giving me "executing query batch ..." status, and it seems that the problem exists only for particular table, since other tables are fine.
This causing the posting process can be done too ...
Do you guys know why is this happening ?
Thx before
0
Comments
-
It's very difficult to assist via a forum...
Can you try to run a profiler and see what odd results you get?
I usually use "SP:StmtCompleted", but this might not help you, because the statement doesn't end ... .
Try to see if the statement causes reads. You can also use the performance monitor for this, and see in what way it reads the disk with the database files... .0 -
What do you mean 'when you use that command', did you write SQL code yourself, are you running the query from the query analyzer, or is it an issue in the NAV database?0
-
add to the top of you query the following statement it will improve the performance
SET TRANSACTION ISOLATION READ UNCOMMITTED
I'm guessing you are writing some report. So the you only doing a read.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