{"id":30174,"date":"2019-10-31T21:33:59","date_gmt":"2019-10-31T18:33:59","guid":{"rendered":"https:\/\/prohoster.info\/blog\/opasen-li-sql-profiler\/"},"modified":"2019-10-31T21:33:59","modified_gmt":"2019-10-31T18:33:59","slug":"opasen-li-sql-profiler","status":"publish","type":"post","link":"https:\/\/prohoster.info\/fr\/blog\/opasen-li-sql-profiler","title":{"rendered":"Le profiler SQL est-il dangereux ?","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>R\u00e9cemment, j'ai appris avec \u00e9tonnement que dans l'un des d\u00e9partements d'une grande entreprise o\u00f9 je travaille, le lancement <b>du profiler SQL<\/b> est interdit pendant les heures de travail. <\/p>\n<p><img decoding=\"async\" alt=\"Le profiler SQL est-il dangereux ?\" src=\"\/wp-content\/uploads\/2019\/03\/4bec0ebe75cf08699d5abf99beccb9aa.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><br \/>\nJe ne sais pas comment ils s'en sortent pour analyser les probl\u00e8mes de performance qui surviennent justement pendant les heures de travail. Les vues de performance ne donnent souvent pas une image pr\u00e9cise, surtout si une ou deux proc\u00e9dures\/requ\u00eates causent des ralentissements sans trop charger le serveur. Une petite requ\u00eate, ex\u00e9cut\u00e9e plusieurs fois par heure et prenant 10 secondes au lieu d'une (mais faisant <i>une t\u00e2che tr\u00e8s importante<\/i> pour le client <i>peut rendre<\/i>) ne pourra certainement pas appara\u00eetre dans les vues DMV. Et un select avec CROSS APPLY sur le texte des requ\u00eates charge consid\u00e9rablement le serveur.<\/p>\n<p>Cependant, je suis curieux de comprendre d'o\u00f9 vient cette peur. Dans certaines entreprises <b>du profiler SQL<\/b> c'est un outil de travail, dans d'autres, il est craint comme la peste (j'ai fait un peu de conseil et j'ai pu comparer). Je suis presque s\u00fbr que c'\u00e9tait comme ceci :<\/p>\n<p><img decoding=\"async\" alt=\"Le profiler SQL est-il dangereux ?\" src=\"\/wp-content\/uploads\/2019\/03\/936a4e41d921c2ea233846ef13b6ccb0.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<b>Houston, nous avons un probl\u00e8me. La base ralentit. Regarde \u00e7a.<\/b><\/p>\n<p><img decoding=\"async\" alt=\"Le profiler SQL est-il dangereux ?\" src=\"\/wp-content\/uploads\/2019\/03\/1b22ab07fb2ac865780a9c428106b229.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<img decoding=\"async\" alt=\"Le profiler SQL est-il dangereux ?\" src=\"\/wp-content\/uploads\/2019\/03\/7a55fba9306a68d3c4d1c0e73ef787af.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<b>Il y a tant de cases \u00e0 cocher... De quoi ai-je besoin ?<\/b><\/p>\n<p><img decoding=\"async\" alt=\"Le profiler SQL est-il dangereux ?\" src=\"\/wp-content\/uploads\/2019\/03\/dfba6e304f71c5e590c4f08924ab3525.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<img decoding=\"async\" alt=\"Le profiler SQL est-il dangereux ?\" src=\"\/wp-content\/uploads\/2019\/03\/35fb73e84c688833dfb95b435266a4e3.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<b>Bon, je vais cocher toutes les cases et je d\u00e9ciderai ensuite.<\/b><\/p>\n<p><img decoding=\"async\" alt=\"Le profiler SQL est-il dangereux ?\" src=\"\/wp-content\/uploads\/2019\/03\/59202ccc117546886f2a1c116586a526.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nQue reste-t-il dans l'esprit de la haute direction ? Quelqu'un a lanc\u00e9 <b>du profiler SQL<\/b> et tout s'est fig\u00e9. Et ensuite, ils en parlent les uns aux autres autour d'une partie de golf.<\/p>\n<p>Soit dit en passant, il est particuli\u00e8rement piquant d'essayer d'enregistrer de tels \u2018<i>nous \u00e9crivons tout<\/i>\u2019 traces non pas dans un fichier, mais dans la m\u00eame base <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/fr\/server\/dts-dronten\/\"   title=\"le serveur\" data-wpil-keyword-link=\"linked\"  data-wpil-monitor-id=\"2456\">le serveur<\/a> \u2013 j'ai \u00e9t\u00e9 t\u00e9moin d'un tel cas une fois.<\/p>\n<p>Et chez vous, \u00e7a se passe comment ? Participez \u00e0 l'enqu\u00eate, s'il vous pla\u00eet.<\/p>\n<p class=\"for_users_only_msg\">Seuls les utilisateurs enregistr\u00e9s peuvent participer au sondage. <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/auth\/login\/\">Connectez-vous<\/a><\/noindex>, s'il vous pla\u00eet.<\/p>\n<h2 class=\"default-block__polling-title\">Peut-on ex\u00e9cuter le profiler SQL sur PROD chez vous ?<\/h2>\n<ul class=\"content-list content-list_polling\">\n<li class=\"content-list__item content-list__item_polling\">\n<p>                    Nous sommes une petite entreprise, tout est simple.<\/p>\n<\/li>\n<li class=\"content-list__item content-list__item_polling\">\n<p>                    Les administrateurs de production peuvent bien s\u00fbr<\/p>\n<\/li>\n<li class=\"content-list__item content-list__item_polling\">\n<p>                    Les administrateurs de production peuvent apr\u00e8s approbation et en insistant<\/p>\n<\/li>\n<li class=\"content-list__item content-list__item_polling\">\n<p>                    Saint, saint, saint.<\/p>\n<\/li>\n<\/ul>\n<p>    Quatre utilisateurs ont vot\u00e9. Trois se sont abstenus.<br \/>\n<br \/>Source : <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/445004\/\">habr.com<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041d\u0435\u0434\u0430\u0432\u043d\u043e \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0443\u0434\u0438\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0443\u0437\u043d\u0430\u043b, \u0447\u0442\u043e \u0432 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u0434\u0435\u043f\u0430\u0440\u0442\u043c\u0435\u043d\u0442\u043e\u0432 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0439 \u0444\u0438\u0440\u043c\u044b, \u0433\u0434\u0435 \u044f \u0440\u0430\u0431\u043e\u0442\u0430\u044e, \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d \u0437\u0430\u043f\u0443\u0441\u043a SQL profiler \u0432 business hours. \u041d\u0435 \u0437\u043d\u0430\u044e, \u043a\u0430\u043a \u043e\u043d\u0438 \u0432\u044b\u043a\u0440\u0443\u0447\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0434\u043b\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c\u044e, \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u043a\u0430\u043a \u0440\u0430\u0437 \u0432 \u0431\u0438\u0437\u043d\u0435\u0441 \u0447\u0430\u0441\u044b. \u0412\u0435\u0434\u044c performance views \u0447\u0430\u0441\u0442\u043e \u043d\u0435 \u0434\u0430\u044e\u0442 \u0442\u043e\u0447\u043d\u043e\u0439 \u043a\u0430\u0440\u0442\u0438\u043d\u044b, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0435\u0441\u043b\u0438 \u0442\u043e\u0440\u043c\u043e\u0437\u0438\u0442 \u043e\u0434\u043d\u0430\/\u0434\u0432\u0435 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b\/\u043a\u0432\u0435\u0440\u0438, \u043d\u0435 \u043d\u0430\u0433\u0440\u0443\u0436\u0430\u044f \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0441\u0430\u043c [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-30174","post","type-post","status-publish","format-standard","hentry","category-blog"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041d\u0435\u0434\u0430\u0432\u043d\u043e \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0443\u0434\u0438\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0443\u0437\u043d\u0430\u043b, \u0447\u0442\u043e \u0432 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u0434\u0435\u043f\u0430\u0440\u0442\u043c\u0435\u043d\u0442\u043e\u0432 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0439 \u0444\u0438\u0440\u043c\u044b, \u0433\u0434\u0435 \u044f \u0440\u0430\u0431\u043e\u0442\u0430\u044e, \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d \u0437\u0430\u043f\u0443\u0441\u043a SQL profiler \u0432 business hours.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/fr\/blog\/opasen-li-sql-profiler\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"fr_FR\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u041e\u043f\u0430\u0441\u0435\u043d \u043b\u0438 SQL profiler? | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041d\u0435\u0434\u0430\u0432\u043d\u043e \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0443\u0434\u0438\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0443\u0437\u043d\u0430\u043b, \u0447\u0442\u043e \u0432 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u0434\u0435\u043f\u0430\u0440\u0442\u043c\u0435\u043d\u0442\u043e\u0432 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0439 \u0444\u0438\u0440\u043c\u044b, \u0433\u0434\u0435 \u044f \u0440\u0430\u0431\u043e\u0442\u0430\u044e, \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d \u0437\u0430\u043f\u0443\u0441\u043a SQL profiler \u0432 business hours.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/fr\/blog\/opasen-li-sql-profiler\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T18:33:59+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T18:33:59+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Le profiler SQL est-il dangereux ? | ProHoster","description":"R\u00e9cemment, j'ai appris avec \u00e9tonnement que dans l'un des d\u00e9partements d'une grande entreprise o\u00f9 je travaille, le lancement du profiler SQL est interdit pendant les heures de travail.","canonical_url":"https:\/\/prohoster.info\/fr\/blog\/opasen-li-sql-profiler","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"fr_FR","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u041e\u043f\u0430\u0441\u0435\u043d \u043b\u0438 SQL profiler? | ProHoster","og:description":"\u041d\u0435\u0434\u0430\u0432\u043d\u043e \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0443\u0434\u0438\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0443\u0437\u043d\u0430\u043b, \u0447\u0442\u043e \u0432 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u0434\u0435\u043f\u0430\u0440\u0442\u043c\u0435\u043d\u0442\u043e\u0432 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0439 \u0444\u0438\u0440\u043c\u044b, \u0433\u0434\u0435 \u044f \u0440\u0430\u0431\u043e\u0442\u0430\u044e, \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d \u0437\u0430\u043f\u0443\u0441\u043a SQL profiler \u0432 business hours.","og:url":"https:\/\/prohoster.info\/fr\/blog\/opasen-li-sql-profiler","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T18:33:59+00:00","article:modified_time":"2019-10-31T18:33:59+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"30174","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-02-09 21:37:27","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 03:39:24","updated":"2026-02-09 21:37:27","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts\/30174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/comments?post=30174"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts\/30174\/revisions"}],"predecessor-version":[{"id":159738,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts\/30174\/revisions\/159738"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/media?parent=30174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/categories?post=30174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/tags?post=30174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}