Inconsistent Sumindex Tables
 
            
                
                    faisal_khan                
                
                    Member Posts: 3                
            
                        
            
                    Hi,
While doing the TEST for Item Ledger Entry, i got the message of inconsistent 32$0.
I am trying to create the replica of ILE and inserting the data from the old ILE. But seems it is not working as it has already took about 120 hours to insert 4 million records.
I am using the database of SQL.
Any idea of correcting this sumindex table??
Thanks
                While doing the TEST for Item Ledger Entry, i got the message of inconsistent 32$0.
I am trying to create the replica of ILE and inserting the data from the old ILE. But seems it is not working as it has already took about 120 hours to insert 4 million records.
I am using the database of SQL.
Any idea of correcting this sumindex table??
Thanks
Faisal Khan
0                
            Comments
- 
            Did you insert those records using a Navision process or did you insert them using a SQL script?0
- 
            Maybe you should set the MaintainSIFTIndex to false, for all keys, then save the table.
 Then go File Database Information Tables and optimize the table.
 Then design it again and set the MaintainSIFTIndex to true again, this will reinsert the records.
 This would be the only way I would go about this.
 -a0
- 
            Hi,
 First I used the navision process by using the TRANSFERFIELDS to insert data from old table to the new table. It took more than 50 hours, so i stopped it. Then i used the insert into query from sql to insert the record. The insertion is completed in abt 132 hrs. And it has filled the Sumindex tables also.
 Mean while transaction has happened for the last 4-5 days. so i cannot simply replace these tables. Now any idea how to compare the old and the new sumindex tables and do the correction in the OLD one.
 ThanksFaisal Khan0
- 
            There must be something wrong with your SQL script to leave your sumindex values inconsistent. I always tell my customers to not directly write into the SQL tables, because this is exactly the kind of trouble you run into. You may think you understand the sumindex logic, but I doubt that you have it all taken care of.
 I'm afraid I won't be able to help you on this one.0
- 
            The same problem was solved as it follows:
 1. Tabledata saved in Access (a more generic DTC could be used). In case of restore the user accout in SQL should have been defined as datawriter too.
 2. With super user account and proper license authorization all the MaintainSQLIndex were cleared, table was compiled and saved in object designer.
 3. All previous MaintainSQLIndex boxes were selected again and as soon as the table definition was compiled and saved again, the index tables have been regenerated.First things first: Human life's value has to be practically recognized.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
- 323 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


