Extremly slowly for insert

David.InformaticaDavid.Informatica Member Posts: 6
edited 2004-10-19 in Navision Attain
I have a big problem.
When I insert a record in a table, I lock it for a much seconds.

Comments

  • kinekine Member Posts: 12,562
    Please, more info about hardware of Server, about DB size, (SQL or Navision DB), info about the table (size, no. of records) etc...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • David.InformaticaDavid.Informatica Member Posts: 6
    Is a Navision BD.
    Cache is 800 MB
    CommitCache TRUE.
    The server has 256GB of Hard Disk and 4GB of RAM.
    The server have RAID5
  • kinekine Member Posts: 12,562
    1. tip: RAID 1 is preffered for Database - RAID 5 have slow writing...

    Question: Are you using autoincrement on some field in this table?
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • David.InformaticaDavid.Informatica Member Posts: 6
    No use Autoincrement.But modify are very slowly
  • kinekine Member Posts: 12,562
    Try look at Harddisk Write queue on server in Performance monitor. If it goes to 100% for longer time (time when insert is performed), there is problem (or not optimised point) in your HDDs. Documentation (and I) recomanded to use RAID 1 (faster write op.) and More physical discs (parallel write - may be 100% gain of performance) - split DB to more files on these discs...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • David.InformaticaDavid.Informatica Member Posts: 6
    I try to put a server with out raid5 and i say you anything about that
Sign In or Register to comment.