{"id":11017,"date":"2024-08-07T19:13:12","date_gmt":"2024-08-07T17:13:12","guid":{"rendered":"https:\/\/www.dynamicsproject.com\/?p=11017"},"modified":"2024-08-15T11:18:34","modified_gmt":"2024-08-15T09:18:34","slug":"sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren","status":"publish","type":"post","link":"https:\/\/www.dynamicsproject.com\/en\/sql-server\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html","title":{"rendered":"Import SQL Extended Events data automatically and time-controlled into an SQL database"},"content":{"rendered":"<p>In this article, we describe how to import extended SQL Server events data for the performance analysis of Business Central automatically and time-controlled into the V8 SQL database. <\/p>\n<h6>Introduction<\/h6>\n<p>Query performance monitoring is one of the most important diagnostic methods for detecting queries with poor performance. However, sometimes this can be a bit tedious. Therefore, one should use appropriate tools such as V8 Search XE and methods such as SQL Server Extended Events to monitor and analyze query performance metrics. <\/p>\n<p>Most of our customers import data from the V8 Search XE Client manually on a daily basis. For this reason, we have decided to provide a template and show you in this article how to integrate this template into the SQL Server Agent.<\/p>\n<p style=\"margin-bottom: 30px;\">\n<div class=\"alert alert-info\" role=\"alert\">\nFor those readers who do not use Business Central or V8 Search XE, there is also an option to use the import module (V8XELoader) from V8 Search XE as a standalone software application. SQL Server Extended Events do not affect SQL Server performance like the Profiler and also provide numerous events to help troubleshoot query performance and other issues. For example, to resolve deadlock issues, this can be the first option and in our opinion, it must be the first option. You can use the V8XELoader to import all SQL Extended Events files into an SQL database. It is possible to automatically create tables for the recorded events. <\/p>\n<p>If you are not yet familiar with SQL Extended Events, we will be happy to advise you.\n<\/p><\/div>\n<p style=\"margin-bottom: 50px;\">\n<h4>Set up the PowerShell script (V8XELoaderTemplate.ps1) in the SQL Server agent<\/h4>\n<p id=\"SQLServerCheck\" class=\"text-white bg-danger alert mb-3\">&nbsp;Please note that SQL Server Express and Azure SQL DB do not contain a SQL Server Agent.<\/p>\n<h6>Step 1<\/h6>\n<p>The V8XELoader module is a parameterized app and is normally started from the V8 Search XE Client. Depending on which task you want to fulfill with the V8XELoader, e.g. the import of SQL Extended Events files (XEvents) such as the \"Long Duration (LD)\", the parameters to be transferred are set up in the options of the V8 client.<\/p>\n<p style=\"margin-bottom: 30px;\">\n<div class=\"row\" style=\"margin-left: 0px;\">\n<img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-00-1024x406.png\" alt=\"V8XELoader - 00\" width=\"1024\" height=\"406\" class=\"alignleft size-large wp-image-11088\" srcset=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-00-1024x406.png 1024w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-00-300x119.png 300w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-00-768x304.png 768w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-00-18x7.png 18w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-00.png 1068w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\n<\/div>\n<p style=\"margin-bottom: 30px;\">\n<div class=\"row\" style=\"margin-left: 0px;\">\n <img decoding=\"async\" src=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-01.png\" alt=\"V8XELoader - 01\" width=\"910\" height=\"693\" class=\"alignleft size-full wp-image-11033\" srcset=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-01.png 910w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-01-300x228.png 300w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-01-768x585.png 768w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-01-16x12.png 16w\" sizes=\"(max-width: 910px) 100vw, 910px\" \/>\n<\/div>\n<p style=\"margin-bottom: 30px;\">\n<p>These parameters must be entered manually in the PowerShell script \"V8XELoaderTemplate\". And saved in a new PowerShell script for the respective action. As a separate script is required for the action for each step in the SQL Server Agent.<\/p>\n<p style=\"margin-bottom: 30px;\">\n<div class=\"row\" style=\"margin-left: 0px;\">\n        <img decoding=\"async\" src=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-02.png\" alt=\"V8XELoader - 02\" width=\"947\" height=\"808\" class=\"alignleft size-full wp-image-11036\" srcset=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-02.png 947w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-02-300x256.png 300w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-02-768x655.png 768w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-02-14x12.png 14w\" sizes=\"(max-width: 947px) 100vw, 947px\" \/>\n<\/div>\n<p style=\"margin-bottom: 30px;\">\n<h6>Step 2<\/h6>\n<p>In SQL Server Management Studio (SSMS), navigate to the \"Object Explorer\" section, go to the \"SQL Server Agent\" section, expand it and click on the \"New Job...\" option.<\/p>\n<p style=\"margin-bottom: 30px;\">\n<div class=\"row\" style=\"margin-left: 0px;\">\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-03.png\" alt=\"V8XELoader - 03\" width=\"567\" height=\"538\" class=\"alignleft size-full wp-image-11109\" srcset=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-03.png 567w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-03-300x285.png 300w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-03-13x12.png 13w\" sizes=\"(max-width: 567px) 100vw, 567px\" \/>\n<\/div>\n<p style=\"margin-bottom: 30px;\">\n<h6>Step 3<\/h6>\n<p>On the very first screen that appears, enter the basic information as follows:<\/p>\n<p style=\"margin-bottom: 30px;\">\n<div class=\"row\" style=\"margin-left: 0px;\">\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-04.png\" alt=\"V8XELoader - 04\" width=\"704\" height=\"658\" class=\"alignleft size-full wp-image-11045\" srcset=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-04.png 704w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-04-300x280.png 300w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-04-13x12.png 13w\" sizes=\"(max-width: 704px) 100vw, 704px\" \/>\n<\/div>\n<p style=\"margin-bottom: 30px;\">\n<h6>Step 4<\/h6>\n<p>Click on \"Steps\" at the top left of \"Select page\" and then on the \"New\" button.<\/p>\n<p style=\"margin-bottom: 30px;\">\n<div class=\"row\" style=\"margin-left: 0px;\">\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-05.png\" alt=\"V8XELoader - 05\" width=\"708\" height=\"660\" class=\"alignleft size-full wp-image-11050\" srcset=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-05.png 708w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-05-300x280.png 300w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-05-13x12.png 13w\" sizes=\"(max-width: 708px) 100vw, 708px\" \/>\n<\/div>\n<p style=\"margin-bottom: 30px;\">\n<h6>Step 5<\/h6>\n<p>On the screen that appears, enter the information as shown in the screenshot below and make sure that Type = \"PowerShell\".<\/p>\n<p>To call up the PS1 file, the PowerShell command is as follows:<\/p>\n<h6 id=\"PS1File\" class=\"text-black alert alert-success mb-3\">&nbsp;PowerShell.exe -File \u201eC:\\&#8230;\\V8XELoaderTemplate.ps1\u201c<\/h6>\n<p style=\"margin-bottom: 30px;\">\n<div class=\"row\" style=\"margin-left: 0px;\">\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-06.png\" alt=\"V8XELoader - 06\" width=\"708\" height=\"660\" class=\"alignleft size-full wp-image-11053\" srcset=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-06.png 708w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-06-300x280.png 300w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-06-13x12.png 13w\" sizes=\"(max-width: 708px) 100vw, 708px\" \/>\n<\/div>\n<p style=\"margin-bottom: 30px;\">\n<h6>Step 6<\/h6>\n<p>Create the desired schedule for the PowerShell script in the \"Schedules\" section.<\/p>\n<p style=\"margin-bottom: 30px;\">\n<div class=\"row\" style=\"margin-left: 0px;\">\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-07.png\" alt=\"V8XELoader - 07\" width=\"662\" height=\"607\" class=\"alignleft size-full wp-image-11060\" srcset=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-07.png 662w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-07-300x275.png 300w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-07-13x12.png 13w\" sizes=\"(max-width: 662px) 100vw, 662px\" \/>\n<\/div>\n<p style=\"margin-bottom: 30px;\">\n<h6>Step 7<\/h6>\n<p>In this demo, we will not go into the areas of \"Warnings\", \"Notifications\" and \"Destinations\".<\/p>\n<p>Then click on \"OK\" to create your job. It should now be displayed in the \"SQL Server Agent jobs\" section.<\/p>\n<p style=\"margin-bottom: 30px;\">\n<div class=\"row\" style=\"margin-left: 0px;\">\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-08.png\" alt=\"V8XELoader - 08\" width=\"335\" height=\"201\" class=\"alignleft size-full wp-image-11064\" srcset=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-08.png 335w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-08-300x180.png 300w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-08-18x12.png 18w\" sizes=\"(max-width: 335px) 100vw, 335px\" \/>\n<\/div>\n<p style=\"margin-bottom: 30px;\">\n<p>To execute the job, right-click on it and select \"Start job at step\". The job should then start executing or wait for the scheduled execution time.<\/p>\n<p>How can I check the status of an order to see if it has been successfully completed? To answer this, you need to right-click on your order and select the \"Show history\" option.<\/p>\n<p style=\"margin-bottom: 30px;\">\n<div class=\"row\" style=\"margin-left: 0px;\">\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-09.png\" alt=\"V8XELoader - 09\" width=\"348\" height=\"339\" class=\"alignleft size-full wp-image-11067\" srcset=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-09.png 348w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-09-300x292.png 300w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-09-12x12.png 12w\" sizes=\"(max-width: 348px) 100vw, 348px\" \/>\n<\/div>\n<p style=\"margin-bottom: 30px;\">\n<p>In this view, a green tick indicates that everything went well (if the job was not successful, the symbol is a red circle with a cross). This view also contains other useful information such as the job duration.<\/p>\n<p style=\"margin-bottom: 30px;\">\n<div class=\"row\" style=\"margin-left: 0px;\">\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-10.png\" alt=\"V8XELoader - 10\" width=\"730\" height=\"646\" class=\"alignleft size-full wp-image-11070\" srcset=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-10.png 730w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-10-300x265.png 300w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-10-14x12.png 14w\" sizes=\"(max-width: 730px) 100vw, 730px\" \/>\n<\/div>\n<p style=\"margin-bottom: 30px;\">\n<p>You have several options in V8 Search XE to obtain information about the job.<br \/>\nNormally, the number of imported XEvents data and when opening the V8 Search XE client in the dashboard should have updated.<\/p>\n<p style=\"margin-bottom: 30px;\">\n<div class=\"row\" style=\"margin-left: 0px;\">\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-11-1024x457.png\" alt=\"V8XELoader - 11\" width=\"1024\" height=\"457\" class=\"alignleft size-large wp-image-11072\" srcset=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-11-1024x457.png 1024w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-11-300x134.png 300w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-11-768x343.png 768w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-11-18x8.png 18w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-11.png 1120w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\n<\/div>\n<p style=\"margin-bottom: 30px;\">\n<p>Another option is to execute a \"SELECT query\" from the SQL Server Management Studio (SSMS) for the \"V8 NLog\" table. Here you can check whether the import was successful. <\/p>\n<div class=\"row\" style=\"margin-left: 0px;\">\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-12-1024x579.png\" alt=\"V8XELoader - 12\" width=\"1024\" height=\"579\" class=\"alignleft size-large wp-image-11075\" srcset=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-12-1024x579.png 1024w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-12-300x170.png 300w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-12-768x434.png 768w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-12-1536x868.png 1536w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-12-18x10.png 18w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-12.png 1546w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\n<\/div>\n<p style=\"margin-bottom: 30px;\">\n<p id=\"PS1File\" class=\"text-black alert alert-warning mb-3\">&nbsp;A little tip: You should empty the \"V8 NLog\" table in good time so that the database does not grow unnecessarily large.<\/p>\n<p>Alternatively, you can also use the TSQL Editor in V8 Search XE to check the \"V8 NLog\" table.<\/p>\n<p style=\"margin-bottom: 30px;\">\n<div class=\"row\" style=\"margin-left: 0px;\">\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-13-1024x458.png\" alt=\"V8XELoader - 13\" width=\"1024\" height=\"458\" class=\"alignleft size-large wp-image-11099\" srcset=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-13-1024x458.png 1024w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-13-300x134.png 300w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-13-768x343.png 768w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-13-18x8.png 18w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-13.png 1119w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\n<\/div>\n<p style=\"margin-bottom: 30px;\">\n<div class=\"row\" style=\"margin-left: 0px;\">\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-14-1024x837.png\" alt=\"V8XELoader - 14\" width=\"1024\" height=\"837\" class=\"alignleft size-large wp-image-11080\" srcset=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-14-1024x837.png 1024w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-14-300x245.png 300w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-14-768x628.png 768w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-14-15x12.png 15w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-14.png 1244w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\n<\/div>\n<p style=\"margin-bottom: 30px;\">\n<p>For example, if you open the \"Long Duration XEvents\" dialog in the V8 Search XE Client, you can use the filter dialog to see the smallest and largest date of the existing imported SQL Extended Events data. <\/p>\n<p style=\"margin-bottom: 30px;\">\n<div class=\"row\" style=\"margin-left: 0px;\">\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-15-1024x456.png\" alt=\"V8XELoader - 15\" width=\"1024\" height=\"456\" class=\"alignleft size-large wp-image-11090\" srcset=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-15-1024x456.png 1024w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-15-300x134.png 300w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-15-768x342.png 768w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-15-18x8.png 18w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-15.png 1121w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\n<\/div>\n<p style=\"margin-bottom: 30px;\">\n<p style=\"margin-bottom: 30px;\">\n<div class=\"row\" style=\"margin-left: 0px;\">\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-16.png\" alt=\"V8XELoader - 16\" width=\"996\" height=\"462\" class=\"alignleft size-full wp-image-11094\" srcset=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-16.png 996w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-16-300x139.png 300w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-16-768x356.png 768w, https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-16-18x8.png 18w\" sizes=\"(max-width: 996px) 100vw, 996px\" \/>\n<\/div>\n<p style=\"margin-bottom: 50px;\">\n<p>Falls sie das V8XELoader PowerShell Script Template benutzen m\u00f6chten, schreiben Sie bitte eine kurze Mail an<a href= \"mailto: info@dynamicsproject.com\"> info@dynamicsproject.com. <\/a>. Sollten Sie Unterst\u00fctzung bei der Einrichtung ben\u00f6tigen, helfen wir ihnen nat\u00fcrlich gerne.<\/p>\n<p style=\"margin-bottom: 10px;\">\n<p><strong>Your dynamicsproject.com Team<\/strong><\/p>","protected":false},"excerpt":{"rendered":"<p>In diesem Artikel beschreiben wir, wie man erweiterte SQL Server-Ereignisse Daten f\u00fcr die Performanceanalyse von Business Central automatisiert und zeitgesteuert in die V8 SQL Datenbank importieren kann. Einf\u00fchrung Die \u00dcberwachung der Abfrageleistung ist eine der wichtigsten Diagnosemethoden, um Abfragen mit schlechter Leistung aufzudecken. Manchmal kann dies jedoch etwas m\u00fchsam sein. Daher sollte man geeignete Tools [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[201,200],"tags":[223,220,221,222],"class_list":["post-11017","post","type-post","status-publish","format-standard","hentry","category-dynamics-365-business-central","category-sql-server","tag-performanceanalyse-business-central","tag-sql-extended-events","tag-sql-server","tag-v8-search-xe"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>SQL Extended Events Daten automatisiert und zeitgesteuert in eine SQL Datenbank importieren - Dynamicsproject.com<\/title>\n<meta name=\"description\" content=\"SQL Server Extended Events Daten f\u00fcr die Performanceanalyse von Business Central automatisiert und zeitgesteuert in die V8 SQL Datenbank importieren.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dynamicsproject.com\/en\/sql-server\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SQL Extended Events Daten automatisiert und zeitgesteuert in eine SQL Datenbank importieren - Dynamicsproject.com\" \/>\n<meta property=\"og:description\" content=\"SQL Server Extended Events Daten f\u00fcr die Performanceanalyse von Business Central automatisiert und zeitgesteuert in die V8 SQL Datenbank importieren.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dynamicsproject.com\/en\/sql-server\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html\/\" \/>\n<meta property=\"og:site_name\" content=\"Dynamicsproject.com\" \/>\n<meta property=\"article:published_time\" content=\"2024-08-07T17:13:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-15T09:18:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-00-1024x406.png\" \/>\n<meta name=\"author\" content=\"InfoMaster\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InfoMaster\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dynamicsproject.com\\\/sql-server\\\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dynamicsproject.com\\\/sql-server\\\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html\"},\"author\":{\"name\":\"InfoMaster\",\"@id\":\"https:\\\/\\\/www.dynamicsproject.com\\\/#\\\/schema\\\/person\\\/88abb0921041778d8d2e371ae39e465c\"},\"headline\":\"SQL Extended Events Daten automatisiert und zeitgesteuert in eine SQL Datenbank importieren\",\"datePublished\":\"2024-08-07T17:13:12+00:00\",\"dateModified\":\"2024-08-15T09:18:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dynamicsproject.com\\\/sql-server\\\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html\"},\"wordCount\":855,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dynamicsproject.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dynamicsproject.com\\\/sql-server\\\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dynamicsproject.com\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/V8XELoader-00-1024x406.png\",\"keywords\":[\"Performanceanalyse Business Central\",\"SQL Extended Events\",\"SQL Server\",\"V8 Search XE\"],\"articleSection\":[\"Dynamics 365 Business Central\",\"SQL Server\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dynamicsproject.com\\\/sql-server\\\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html\",\"url\":\"https:\\\/\\\/www.dynamicsproject.com\\\/sql-server\\\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html\",\"name\":\"SQL Extended Events Daten automatisiert und zeitgesteuert in eine SQL Datenbank importieren - Dynamicsproject.com\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dynamicsproject.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dynamicsproject.com\\\/sql-server\\\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dynamicsproject.com\\\/sql-server\\\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dynamicsproject.com\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/V8XELoader-00-1024x406.png\",\"datePublished\":\"2024-08-07T17:13:12+00:00\",\"dateModified\":\"2024-08-15T09:18:34+00:00\",\"description\":\"SQL Server Extended Events Daten f\u00fcr die Performanceanalyse von Business Central automatisiert und zeitgesteuert in die V8 SQL Datenbank importieren.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dynamicsproject.com\\\/sql-server\\\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dynamicsproject.com\\\/sql-server\\\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dynamicsproject.com\\\/sql-server\\\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html#primaryimage\",\"url\":\"https:\\\/\\\/www.dynamicsproject.com\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/V8XELoader-00-1024x406.png\",\"contentUrl\":\"https:\\\/\\\/www.dynamicsproject.com\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/V8XELoader-00-1024x406.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dynamicsproject.com\\\/sql-server\\\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\\\/\\\/www.dynamicsproject.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SQL Extended Events Daten automatisiert und zeitgesteuert in eine SQL Datenbank importieren\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dynamicsproject.com\\\/#website\",\"url\":\"https:\\\/\\\/www.dynamicsproject.com\\\/\",\"name\":\"Dynamicsproject.com\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dynamicsproject.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dynamicsproject.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.dynamicsproject.com\\\/#organization\",\"name\":\"Dynamicsproject.com\",\"url\":\"https:\\\/\\\/www.dynamicsproject.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dynamicsproject.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.dynamicsproject.com\\\/wp-content\\\/uploads\\\/2015\\\/05\\\/DPLogo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.dynamicsproject.com\\\/wp-content\\\/uploads\\\/2015\\\/05\\\/DPLogo.jpg\",\"width\":350,\"height\":53,\"caption\":\"Dynamicsproject.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dynamicsproject.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dynamicsproject.com\\\/#\\\/schema\\\/person\\\/88abb0921041778d8d2e371ae39e465c\",\"name\":\"InfoMaster\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7bb40821f07f44f30706658f04de714269cabe761fe30c1499fc1d285aece5d6?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7bb40821f07f44f30706658f04de714269cabe761fe30c1499fc1d285aece5d6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7bb40821f07f44f30706658f04de714269cabe761fe30c1499fc1d285aece5d6?s=96&d=mm&r=g\",\"caption\":\"InfoMaster\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SQL Extended Events Daten automatisiert und zeitgesteuert in eine SQL Datenbank importieren - Dynamicsproject.com","description":"SQL Server Extended Events Daten f\u00fcr die Performanceanalyse von Business Central automatisiert und zeitgesteuert in die V8 SQL Datenbank importieren.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dynamicsproject.com\/en\/sql-server\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html\/","og_locale":"en_US","og_type":"article","og_title":"SQL Extended Events Daten automatisiert und zeitgesteuert in eine SQL Datenbank importieren - Dynamicsproject.com","og_description":"SQL Server Extended Events Daten f\u00fcr die Performanceanalyse von Business Central automatisiert und zeitgesteuert in die V8 SQL Datenbank importieren.","og_url":"https:\/\/www.dynamicsproject.com\/en\/sql-server\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html\/","og_site_name":"Dynamicsproject.com","article_published_time":"2024-08-07T17:13:12+00:00","article_modified_time":"2024-08-15T09:18:34+00:00","og_image":[{"url":"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-00-1024x406.png","type":"","width":"","height":""}],"author":"InfoMaster","twitter_misc":{"Written by":"InfoMaster","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dynamicsproject.com\/sql-server\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html#article","isPartOf":{"@id":"https:\/\/www.dynamicsproject.com\/sql-server\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html"},"author":{"name":"InfoMaster","@id":"https:\/\/www.dynamicsproject.com\/#\/schema\/person\/88abb0921041778d8d2e371ae39e465c"},"headline":"SQL Extended Events Daten automatisiert und zeitgesteuert in eine SQL Datenbank importieren","datePublished":"2024-08-07T17:13:12+00:00","dateModified":"2024-08-15T09:18:34+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dynamicsproject.com\/sql-server\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html"},"wordCount":855,"publisher":{"@id":"https:\/\/www.dynamicsproject.com\/#organization"},"image":{"@id":"https:\/\/www.dynamicsproject.com\/sql-server\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html#primaryimage"},"thumbnailUrl":"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-00-1024x406.png","keywords":["Performanceanalyse Business Central","SQL Extended Events","SQL Server","V8 Search XE"],"articleSection":["Dynamics 365 Business Central","SQL Server"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.dynamicsproject.com\/sql-server\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html","url":"https:\/\/www.dynamicsproject.com\/sql-server\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html","name":"SQL Extended Events Daten automatisiert und zeitgesteuert in eine SQL Datenbank importieren - Dynamicsproject.com","isPartOf":{"@id":"https:\/\/www.dynamicsproject.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dynamicsproject.com\/sql-server\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html#primaryimage"},"image":{"@id":"https:\/\/www.dynamicsproject.com\/sql-server\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html#primaryimage"},"thumbnailUrl":"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-00-1024x406.png","datePublished":"2024-08-07T17:13:12+00:00","dateModified":"2024-08-15T09:18:34+00:00","description":"SQL Server Extended Events Daten f\u00fcr die Performanceanalyse von Business Central automatisiert und zeitgesteuert in die V8 SQL Datenbank importieren.","breadcrumb":{"@id":"https:\/\/www.dynamicsproject.com\/sql-server\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dynamicsproject.com\/sql-server\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dynamicsproject.com\/sql-server\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html#primaryimage","url":"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-00-1024x406.png","contentUrl":"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2024\/08\/V8XELoader-00-1024x406.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.dynamicsproject.com\/sql-server\/sql-extended-events-daten-automatisiert-und-zeitgesteuert-importieren.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/www.dynamicsproject.com\/"},{"@type":"ListItem","position":2,"name":"SQL Extended Events Daten automatisiert und zeitgesteuert in eine SQL Datenbank importieren"}]},{"@type":"WebSite","@id":"https:\/\/www.dynamicsproject.com\/#website","url":"https:\/\/www.dynamicsproject.com\/","name":"Dynamicsproject.com","description":"","publisher":{"@id":"https:\/\/www.dynamicsproject.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dynamicsproject.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.dynamicsproject.com\/#organization","name":"Dynamicsproject.com","url":"https:\/\/www.dynamicsproject.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dynamicsproject.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2015\/05\/DPLogo.jpg","contentUrl":"https:\/\/www.dynamicsproject.com\/wp-content\/uploads\/2015\/05\/DPLogo.jpg","width":350,"height":53,"caption":"Dynamicsproject.com"},"image":{"@id":"https:\/\/www.dynamicsproject.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.dynamicsproject.com\/#\/schema\/person\/88abb0921041778d8d2e371ae39e465c","name":"InfoMaster","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/7bb40821f07f44f30706658f04de714269cabe761fe30c1499fc1d285aece5d6?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/7bb40821f07f44f30706658f04de714269cabe761fe30c1499fc1d285aece5d6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7bb40821f07f44f30706658f04de714269cabe761fe30c1499fc1d285aece5d6?s=96&d=mm&r=g","caption":"InfoMaster"}}]}},"_links":{"self":[{"href":"https:\/\/www.dynamicsproject.com\/en\/wp-json\/wp\/v2\/posts\/11017","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dynamicsproject.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dynamicsproject.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dynamicsproject.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dynamicsproject.com\/en\/wp-json\/wp\/v2\/comments?post=11017"}],"version-history":[{"count":68,"href":"https:\/\/www.dynamicsproject.com\/en\/wp-json\/wp\/v2\/posts\/11017\/revisions"}],"predecessor-version":[{"id":11110,"href":"https:\/\/www.dynamicsproject.com\/en\/wp-json\/wp\/v2\/posts\/11017\/revisions\/11110"}],"wp:attachment":[{"href":"https:\/\/www.dynamicsproject.com\/en\/wp-json\/wp\/v2\/media?parent=11017"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dynamicsproject.com\/en\/wp-json\/wp\/v2\/categories?post=11017"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dynamicsproject.com\/en\/wp-json\/wp\/v2\/tags?post=11017"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}