---
title: Att underhålla en högpresterande miljö
description: To maintain a highly performing Dynamics AX environment, index and statistics maintenance are extremely important aspects. we utilize a set of widely used maintenance scripts developed by Ola Hallengren. experience tweaking the parameters for each environment, OLTP, VLDB, Index fragmentation
image: https://blog.accigo.se/hubfs/EKG-Blogg%202%20crop.png
---

Sök

- [Karriär](https://karriar.accigo.se/)
- [Kontakt](https://accigo.se/kontakt/)

[![Site logo](https://accigo.se/wp-content/themes/sleek/dist/assets/site-logo.svg)](https://accigo.se/)

- Erbjudande
  
  ![](https://accigo.se/wp-content/uploads/2025/05/Accigo-microsoft.png)
  
  ### Prata med en av våra experter
  
  Om du har några frågor eller funderingar är du alltid välkommen att höra av dig till oss.
  
  [Kontakta oss](https://accigo.se/kontakt/)
  
    - [Business Application](https://accigo.se/verksamhetssystem/)
      
          - [Dynamics 365 Business Central](https://accigo.se/verksamhetssystem/dynamics-365-business-central/)
          - [Dynamics 365 Customer Insights](https://accigo.se/verksamhetssystem/dynamics-365-customer-insights/)
          - [Dynamics 365 Sales](https://accigo.se/verksamhetssystem/dynamics-365-sales/)
          - [Dynamics 365 Supply Chain](https://accigo.se/verksamhetssystem/dynamics-365-supply-chain/)
          - [Dynamics 365 Customer Service](https://accigo.se/verksamhetssystem/dynamics-365-customer-service/)
          - [Dynamics 365 Finance](https://accigo.se/verksamhetssystem/dynamics-365-finance/)
    - [Modern Work M365](https://accigo.se/modern-workplace/)
      
          - [User Adoption](https://accigo.se/modern-workplace/microsoft-365-adoption/)
          - [Informationssäkerhet & compliance](https://accigo.se/modern-workplace/informationssakerhet-microsoft/)
          - [Employee Experience](https://accigo.se/modern-workplace/microsoft-employee-experience/)
          - [Copilot 365](https://accigo.se/modern-workplace/microsoft-copilot-365/)
    - [Security](https://accigo.se/security/)
      
          - [Secure Digital Transformation](https://accigo.se/security/secure-digital-transformation/)
          - [Governance, Risk & Compliance](https://accigo.se/security/governance-risk-compliance/)
          - [Offensive Security](https://accigo.se/security/offensive-security/)
    - [Cloud and AI Platforms](https://accigo.se/moln-ai/)
      
          - [AI](https://accigo.se/moln-ai/artificial-intelligence/)
          - [Machine Learning](https://accigo.se/moln-ai/machine-learning/)
          - [Analytics](https://accigo.se/moln-ai/analytics/)
    - [Accigo as a service](https://accigo.se/it-tjanster/)
      
          - [Managed Identity](https://accigo.se/it-tjanster/managed-identity/)
          - [Managed Device](https://accigo.se/it-tjanster/managed-device/)
          - [Managed Apps](https://accigo.se/it-tjanster/managed-apps/)
          - [Managed Services](https://accigo.se/it-tjanster/managed-services/)
          - [Technology Access](https://accigo.se/it-tjanster/licensforvaltning/)
          - [Application Management Service](https://accigo.se/application-management-service/)
    - [Digital & app innovation](https://accigo.se/digital-app-innovation/)
      
          - [Custom Web Development](https://accigo.se/digital-app-innovation/webbutveckling/)
          - [Power Platform](https://accigo.se/digital-app-innovation/power-plattform/)
- Plattformar
  
  ### Våra kundcase
  
  Läs våra framgångshistorier och inspireras
  
  [Upptäck mer](https://accigo.se/kundcase/)
  
    - [Microsoft 365 Molnplattform som stödjer den digitala arbetsplatsen.](https://accigo.se/digitala-plattformar/microsoft-365/)
    - [Microsoft Dynamics 355 Microsofts plattform för verksamhetssystem.](https://accigo.se/microsoft-dynamics-365/)
    - [Azure Microsoft molnplattform som skapar förutsättningar för effektiv hantering och lagring av data och applikationer.](https://accigo.se/digitala-plattformar/azure/)
    - [Dynamics 365 Business Central Ett verksamhetssystem utvecklat för växande mindre och medelstora företag.](https://accigo.se/digitala-plattformar/business-central/)
    - [Power Platform Ger ett ökat värde till övriga applikationer inom Microsofts plattform.](https://accigo.se/digital-app-innovation/power-plattform/)
- Kunskapsbank
  
    - [Kunskapsbank](https://accigo.se/kunskapsbank/)
      
          - [Blogg](https://blog.accigo.se/blogg)
          - [Kundcase](https://accigo.se/kundcase/)
          - [Guider](https://accigo.se/guider/)
          - [Checklistor](https://accigo.se/checklistor/)
          - [Fördjupningar](https://accigo.se/fordjupningar/)
    - Case
      
      [![aimpoint](https://accigo.se/wp-content/uploads/2026/03/Hanna-Wackeroth-Sarah-Ayele-4-e1773670529940-1440x810.jpg)](https://accigo.se/kundcase/aimpoint-tar-battre-beslut-i-produktionen-med-data-och-ai/)
      
      [Aimpoint tar bättre beslut i produktionen med data och AI](https://accigo.se/kundcase/bris-lyfter-sin-kommunikation-med-accigo/)
      
      [![josefine-amelia-birgitta](https://accigo.se/wp-content/uploads/2026/03/Selc%CC%A7uk-Albayrak.3-e1773152675158-1920x1080.jpg)](https://accigo.se/kundcase/sgds-tar-klivet-till-en-modern-digital-arbetsplats/)
      
      [SGDS tar klivet till en modern digital arbetsplats – 2,7 miljoner filer flyttade till Microsoft 365](https://accigo.se/kundcase/sgds-tar-klivet-till-en-modern-digital-arbetsplats/)
- [Om Accigo](https://accigo.se/om-accigo/)

- [Våra case](https://accigo.se/kundcase/)

- [Karriär](https://karriar.accigo.se/)
- [Kontakt](https://accigo.se/kontakt/)

- Erbjudande 
    - ![](https://accigo.se/wp-content/uploads/2025/05/Accigo-microsoft.png)
      
      ### Prata med en av våra experter
      
      Om du har några frågor eller funderingar är du alltid välkommen att höra av dig till oss.
      
      [Kontakta oss](https://accigo.se/kontakt/)
    - [Business Application](https://accigo.se/verksamhetssystem/) 
          - [Dynamics 365 Business Central](https://accigo.se/verksamhetssystem/dynamics-365-business-central/)
          - [Dynamics 365 Customer Insights](https://accigo.se/verksamhetssystem/dynamics-365-customer-insights/)
          - [Dynamics 365 Sales](https://accigo.se/verksamhetssystem/dynamics-365-sales/)
          - [Dynamics 365 Supply Chain](https://accigo.se/verksamhetssystem/dynamics-365-supply-chain/)
          - [Dynamics 365 Customer Service](https://accigo.se/verksamhetssystem/dynamics-365-customer-service/)
          - [Dynamics 365 Finance](https://accigo.se/verksamhetssystem/dynamics-365-finance/)
    - [Modern Work M365](https://accigo.se/modern-workplace/) 
          - [User Adoption](https://accigo.se/modern-workplace/microsoft-365-adoption/)
          - [Informationssäkerhet & compliance](https://accigo.se/modern-workplace/informationssakerhet-microsoft/)
          - [Employee Experience](https://accigo.se/modern-workplace/microsoft-employee-experience/)
          - [Copilot 365](https://accigo.se/modern-workplace/microsoft-copilot-365/)
    - [Security](https://accigo.se/security/) 
          - [Secure Digital Transformation](https://accigo.se/security/secure-digital-transformation/)
          - [Governance, Risk & Compliance](https://accigo.se/security/governance-risk-compliance/)
          - [Offensive Security](https://accigo.se/security/offensive-security/)
    - [Cloud and AI Platforms](https://accigo.se/moln-ai/) 
          - [AI](https://accigo.se/moln-ai/artificial-intelligence/)
          - [Machine Learning](https://accigo.se/moln-ai/machine-learning/)
          - [Analytics](https://accigo.se/moln-ai/analytics/)
    - [Accigo as a service](https://accigo.se/it-tjanster/) 
          - [Managed Identity](https://accigo.se/it-tjanster/managed-identity/)
          - [Managed Device](https://accigo.se/it-tjanster/managed-device/)
          - [Managed Apps](https://accigo.se/it-tjanster/managed-apps/)
          - [Managed Services](https://accigo.se/it-tjanster/managed-services/)
          - [Technology Access](https://accigo.se/it-tjanster/licensforvaltning/)
          - [Application Management Service](https://accigo.se/application-management-service/)
    - [Digital & app innovation](https://accigo.se/digital-app-innovation/) 
          - [Custom Web Development](https://accigo.se/digital-app-innovation/webbutveckling/)
          - [Power Platform](https://accigo.se/digital-app-innovation/power-plattform/)
- Plattformar 
    - ### Våra kundcase
      
      Läs våra framgångshistorier och inspireras
      
      [Upptäck mer](https://accigo.se/kundcase/)
    - [Microsoft 365 Molnplattform som stödjer den digitala arbetsplatsen.](https://accigo.se/digitala-plattformar/microsoft-365/)
    - [Microsoft Dynamics 355 Microsofts plattform för verksamhetssystem.](https://accigo.se/microsoft-dynamics-365/)
    - [Azure Microsoft molnplattform som skapar förutsättningar för effektiv hantering och lagring av data och applikationer.](https://accigo.se/digitala-plattformar/azure/)
    - [Dynamics 365 Business Central Ett verksamhetssystem utvecklat för växande mindre och medelstora företag.](https://accigo.se/digitala-plattformar/business-central/)
    - [Power Platform Ger ett ökat värde till övriga applikationer inom Microsofts plattform.](https://accigo.se/digital-app-innovation/power-plattform/)
- Kunskapsbank 
    - [Kunskapsbank](https://accigo.se/kunskapsbank/) 
          - [Blogg](https://blog.accigo.se/blogg)
          - [Kundcase](https://accigo.se/kundcase/)
          - [Guider](https://accigo.se/guider/)
          - [Checklistor](https://accigo.se/checklistor/)
          - [Fördjupningar](https://accigo.se/fordjupningar/)
    - Case 
          - [![aimpoint](https://accigo.se/wp-content/uploads/2026/03/Hanna-Wackeroth-Sarah-Ayele-4-e1773670529940-1440x810.jpg)](https://accigo.se/kundcase/aimpoint-tar-battre-beslut-i-produktionen-med-data-och-ai/)
            
            [Aimpoint tar bättre beslut i produktionen med data och AI](https://accigo.se/kundcase/bris-lyfter-sin-kommunikation-med-accigo/)
          - [![josefine-amelia-birgitta](https://accigo.se/wp-content/uploads/2026/03/Selc%CC%A7uk-Albayrak.3-e1773152675158-1920x1080.jpg)](https://accigo.se/kundcase/sgds-tar-klivet-till-en-modern-digital-arbetsplats/)
            
            [SGDS tar klivet till en modern digital arbetsplats – 2,7 miljoner filer flyttade till Microsoft 365](https://accigo.se/kundcase/sgds-tar-klivet-till-en-modern-digital-arbetsplats/)
- [Om Accigo](https://accigo.se/om-accigo/)

- [Våra case](https://accigo.se/kundcase/)

<https://blog.accigo.se/blogg/att-underh%C3%A5lla-en-h%C3%B6gpresterande-milj%C3%B6#site-header-search> <https://blog.accigo.se/blogg/att-underh%C3%A5lla-en-h%C3%B6gpresterande-milj%C3%B6#site-header>

Sök

[Accigo](https://accigo.se/) • [Blogg](https://blog.accigo.se/blogg) • Att underhålla en högpresterande miljö

Blogg

# Att underhålla en högpresterande miljö

- Av [Måns Rantzer](https://blog.accigo.se/blogg/author/måns-rantzer)
- 2019-01-07
- Senast uppdaterad:  2024-07-03

![](https://blog.accigo.se/hs-fs/hubfs/EKG-Blogg%202%20crop.png?width=1200&name=EKG-Blogg%202%20crop.png)

**För att underhålla en högpresterande Dynamics AX-miljö är både index och statistik väldigt viktiga aspekter. På Accigo använder vi de välkända underhållsskripten skapade av Ola Hallengren. Vi har stor erfarenhet av att skräddarsy parametrarna för kunders specifika miljöer, så att alla ska få ut så mycket som möjligt av sina service-fönster.**

Underhåll av index och statistik är en väldigt viktig aspekt av en högpresterande (och konsekvent högpresterande) Dynamics AX-miljö. Precis som med [alla OLTP-miljöer](https://en.wikipedia.org/wiki/Online_transaction_processing) så är det viktigt att ha två separata underhållslösningar: en för vardagarna och en för helgerna. Det blir allt viktigare när storleken på databasen växer förbi 500 GB, då det blir svårare och svårare att hinna genomföra indexunderhåll och statistikuppdateringar under nätternas service-fönster.

OLTP-system som Dynamics AX kan ha allt från tusentals till hundratusentals databasanrop per sekund. Dessa kan både läsa och skriva data, vilket innebär att index med tiden blir fragmenterade och att indexstatistiken inte längre är tillförlitlig för att skapa bra execution plans.

[Indexfragmentering är inte ett lika stort problem längre](https://www.brentozar.com/archive/2014/11/index-fragmentation-matter/) eftersom de flesta moderna SQL-lösningarna använder SAN/SSD för datalagring, men prestandan för Dynamics AX är fortfarande beroende av tillförlitlig statistik.

På Accigo använder vi de välkända [underhållsskripten skapade av Ola Hallengren](https://ola.hallengren.com/sql-server-index-and-statistics-maintenance.html), vilka är väldigt flexibla när det gäller omorganisering och ombyggande av index, samt vilken statistik som ska uppdateras och hur. Vi har stor erfarenhet av att skräddarsy parametrarna för kunders specifika miljöer, så att alla ska få ut så mycket som möjligt av sina service-fönster. Vi har även erfarenhet av att designa underhållslösningar för väldigt stora databaser (VLDB, very large databases).

**Gå in på [Accigo.se/EKG](http://accigo.se/ekg) för att lära dig mer om vad vi på Accigo kan göra för din IT-miljö.**

[Olle Kärnekull](https://www.linkedin.com/in/olle-k%C3%A4rnekull-7a61a6/) - [olof.karnekull@accigo.se](mailto:olof.karnekull@accigo.se) - Försäljning

[Fredrik Hellstenius](https://www.linkedin.com/in/fredrik-hellstenius-a170855a/) - [fredrik.hellstenius@accigo.se](mailto:fredrik.hellstenius@accigo.se) - Solution Architect

[Måns Rantzer](https://www.linkedin.com/in/mans-rantzer/) - [mans.rantzer@accigo.se](mailto:mans.rantzer@accigo.se) - IT Infrastructure Consultant 

[Gustav Jansson](https://www.linkedin.com/in/gustav-jansson-0ab865118/) - [gustav.jansson@accigo.se](mailto:gustav.jansson@accigo.se) - IT Infrastructure Consultant 

## Dela inlägget

- <https://www.facebook.com/sharer.php?u=https%3A%2F%2Fblog.accigo.se%2Fblogg%2Fatt-underh%C3%A5lla-en-h%C3%B6gpresterande-milj%C3%B6>
- <https://twitter.com/intent/tweet?url=https%3A%2F%2Fblog.accigo.se%2Fblogg%2Fatt-underh%C3%A5lla-en-h%C3%B6gpresterande-milj%C3%B6&text=Att+underh%26aring%3Blla+en+h%26ouml%3Bgpresterande+milj%26ouml%3B>
- <https://www.linkedin.com/shareArticle?url=https%3A%2F%2Fblog.accigo.se%2Fblogg%2Fatt-underh%C3%A5lla-en-h%C3%B6gpresterande-milj%C3%B6&title=Att+underh%26aring%3Blla+en+h%26ouml%3Bgpresterande+milj%26ouml%3B>
- [mailto:?subject=Att%20underhålla%20en%20högpresterande%20miljö&body=https://blog.accigo.se/blogg/att-underhålla-en-högpresterande-miljö](mailto:?subject=Att%20underhålla%20en%20högpresterande%20miljö&body=https://blog.accigo.se/blogg/att-underhålla-en-högpresterande-miljö)

[Microsoft Dynamics 365](https://blog.accigo.se/blogg/topic/microsoft-dynamics-365) 

[Tillbaka till bloggarkivet](https://blog.accigo.se/blogg)

![Måns Rantzer](https://blog.accigo.se/hs-fs/hubfs/snygg-M%C3%A5ns.jpg?width=400&height=400&name=snygg-M%C3%A5ns.jpg)

Skrivet av

## Måns Rantzer

<https://www.linkedin.com/in/måns-rantzer-588061127/?originalSubdomain=se>

[Se alla inlägg av Måns Rantzer](https://blog.accigo.se/blogg/author/måns-rantzer)

Prenumerera på bloggen

## Få uppdateringar om nya inlägg

Vill du veta mer om våra pågående projekt och aktuella branschtrender? Vi berättar även om våra olika erbjudanden och sättet vi arbetar på för att hjälpa våra kunder att digitalisera sina verksamheter.

### Fyll i din e-post för att prenumerera

Relaterat innehåll

## Läs mer och låt dig inspireras

[![accigo EKG\_flip\_crop](https://blog.accigo.se/hs-fs/hubfs/accigo%20EKG_flip_crop.png?width=600&height=400&name=accigo%20EKG_flip_crop.png)](https://blog.accigo.se/blogg/kompression-en-lösning-på-växande-databaser)

### [Kompression – en lösning på växande databaser](https://blog.accigo.se/blogg/kompression-en-lösning-på-växande-databaser)

Databaser har en tendens att växa konstant, trots ständiga rensningsjobb för att underhålla...

[Läs mer](https://blog.accigo.se/blogg/kompression-en-lösning-på-växande-databaser)

[![EKG-Trace flags](https://blog.accigo.se/hs-fs/hubfs/EKG-Trace%20flags.png?width=600&height=400&name=EKG-Trace%20flags.png)](https://blog.accigo.se/blogg/konsten-att-hålla-ordning-på-dina-trace-flags)

### [Konsten att hålla ordning på dina trace flags](https://blog.accigo.se/blogg/konsten-att-hålla-ordning-på-dina-trace-flags)

Microsoft SQL Server får ständigt nya uppdateringar. Ibland är det helt ny funktionalitet, ibland...

[Läs mer](https://blog.accigo.se/blogg/konsten-att-hålla-ordning-på-dina-trace-flags)

[![EKG-Blogg 2 crop](https://blog.accigo.se/hs-fs/hubfs/EKG-Blogg%202%20crop.png?width=600&height=400&name=EKG-Blogg%202%20crop.png)](https://blog.accigo.se/blogg/modellerna-som-hjalper-dig-med-aterhamtningen)

### [Modellerna som hjälper dig med återhämtningen](https://blog.accigo.se/blogg/modellerna-som-hjalper-dig-med-aterhamtningen)

Komplexa system bär per definition med sig möjligheten att saker kan gå fel. Olyckor är nästan...

[Läs mer](https://blog.accigo.se/blogg/modellerna-som-hjalper-dig-med-aterhamtningen)

[![Digitaliseringskonsulter från Accigo diskuterar](https://blog.accigo.se/hs-fs/hubfs/Accigo_grupp_prat_webb_2.jpg?width=600&height=400&name=Accigo_grupp_prat_webb_2.jpg)](https://blog.accigo.se/blogg/8-atgarder-for-att-oka-lonsamheten-inom-livsmedelsproduktionen)

### [Åtta digitaliseringsåtgärder för ökad lönsamhet i livsmedelsindustrin](https://blog.accigo.se/blogg/8-atgarder-for-att-oka-lonsamheten-inom-livsmedelsproduktionen)

Livsmedelsindustrin är en central del av vårt samhälle. Med ett globalt lagervärde på 1,146...

[Läs mer](https://blog.accigo.se/blogg/8-atgarder-for-att-oka-lonsamheten-inom-livsmedelsproduktionen)

[Till bloggen](https://blog.accigo.se/blogg)

I vår kunnskapsbank har vi samlet vår beste innsikt fra det nordiske markedet. Her finner du vår svenske blogg og guider, samt våre norske kundecase.

Til bloggen

[![Accigo](https://accigo.se/wp-content/themes/sleek/dist/assets/site-logo-tagline.svg)](https://blog.accigo.se/blogg)

- [Facebook](https://www.facebook.com/accigo/)
- [Instagram](https://www.instagram.com/lifeataccigo/)
- [LinkedIn](https://www.linkedin.com/company/accigo/)
- [YouTube](https://www.youtube.com/user/AccigoAB)

### Digitala plattformar

- [Azure](https://accigo.se/digitala-plattformar/azure/)
- [Dynamics 365 Business Central](https://accigo.se/digitala-plattformar/business-central/)
- [Microsoft 365](https://accigo.se/digitala-plattformar/microsoft-365/)
- [Microsoft Dynamics 365](https://accigo.se/microsoft-dynamics-365/)
- [Power Platform](https://accigo.se/digitala-plattformar/power-platform/)

### Tjänster

- [Accigo Managed Services](https://accigo.se/accigo-managed-services/)
- [Infra & Security](https://accigo.se/vara-tjanster/cybersakerhet/)
- [Cloud Solutions](https://accigo.se/vara-tjanster/cloud-solutions/)
- [Data & AI](https://accigo.se/vara-tjanster/datadriven-analys/)
- [Modern Work](https://accigo.se/vara-tjanster/modern-work/)
- [Business Application](https://accigo.se/vara-tjanster/verksamhetssystem/)

### Kunskapsbank

- [Blogg](https://blog.accigo.se/blogg)
- [Guider](https://accigo.se/guider/)
- [Kundcase](https://accigo.se/kundcase/)

### Accigo

- [Karriär](https://karriar.accigo.se/)
- [Privacy Policy](https://accigo.se/privacy-policy/)
- [Om Accigo](https://accigo.se/om-accigo/)
- [Visselblåsning](https://haileyhr.app/whistleblowing/d5899c1a-e0ec-4c4c-8374-c5ad3f12b76a)

- [English](https://accigo.com/)

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Måns Rantzer",
    "url" : "https://blog.accigo.se/blogg/author/måns-rantzer"
  },
  "dateModified" : "2020-07-22T19:27:08.208Z",
  "datePublished" : "2019-01-07T09:52:13.000Z",
  "headline" : "Att underhålla en högpresterande miljö",
  "image" : [ "https://blog.accigo.se/hubfs/EKG-Blogg%202%20crop.png" ],
  "mainEntityOfPage" : {
    "@id" : "https://blog.accigo.se/blogg/att-underhålla-en-högpresterande-miljö",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://blog.accigo.se/hubfs/Accigo_Centigo_BWG_RGB_Accigo-BWG-Pos-Vertikal.png"
    },
    "name" : "Accigo AB"
  }
}
```

```json
{
  "@context" : "https://schema.org",
  "@id" : "https://accigo.se/#organization",
  "@type" : "Organization",
  "description" : "Accigo är ett svenskt konsultbolag och Microsoft Solutions Partner som hjälper företag med Data & AI, Azure, Microsoft 365, Dynamics 365, Power Platform och cybersäkerhet.",
  "foundingDate" : "2007",
  "legalName" : "Accigo AB",
  "logo" : "https://blog.accigo.se/hubfs/Accigo_Centigo_BWG_RGB_Accigo-BWG-Pos-Vertikal.png",
  "name" : "Accigo",
  "sameAs" : [ "https://www.linkedin.com/company/accigo/", "https://www.facebook.com/accigo/", "https://www.instagram.com/lifeataccigo/", "https://www.youtube.com/user/AccigoAB" ],
  "url" : "https://accigo.se/"
}
```