I am currently having some problem when generate report in Nav 4.0 SP1. It takes me 5 minutes for one report.
I am using Nav 4.0 SP1 native database server and all 4 of us experience the same problem. i have set the database server cache size from 10000 to 6000000 (KB) but still the same.
When you run the report what happens? Does a window pop up saying it’s searching the table? I find that most slow running reports are caused by setting filters on fields not in the key used on the dataitem.
First, check your filtered fields against the keys set for the dataitems. For best preformance you want all the fields you filter on to be in the key you are using for the dataitem. (Remember that primary key fields are added to the end of each key by the system) You also may want to consider the order of the fields in the key. It may end up that you have to create a new key or add fields to an existing key to speed it up. If adding new fields to an existing key that was not created for the report specifically, you should really only add them to the end of the key. If this isn’t optimal then consider creating a new key. Adding fields to the middle of an existing key may affect other functionality using this key.
Look at your dataitem structure as well. Are you filtering down your repetitive dataitems effectively? For instance if you are running thru all the Customer Ledger Entry records for each Posted Sales Line record your report retreives then it will take a very long time to run.
If neither of these work you may want to consider showing us what the report is doing internally so we can get a better idea of what could be done to resolve it.