{"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\/it\/blog\/opasen-li-sql-profiler","title":{"rendered":"SQL profiler \u00e8 pericoloso?","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Di recente, con un certo stupore, ho scoperto che in uno dei dipartimenti della grande azienda in cui lavoro \u00e8 vietato avviare <b>SQL profiler<\/b> durante l'orario lavorativo. <\/p>\n<p><img decoding=\"async\" alt=\"SQL profiler \u00e8 pericoloso?\" 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 \/>\nNon so come riescano a gestire l'analisi dei problemi di performance che si verificano proprio durante l'euro di lavoro. Le performance views spesso non forniscono un quadro chiaro, specialmente se a trottare sono una o due procedure o query, senza particolamente caricare il server. Una piccola query, che viene eseguita diverse volte all'ora e dura 10 secondi invece di uno (ma che fa <i>qualcosa di molto importante<\/i> per il cliente <i>che si innervosisce molto<\/i>) non apparir\u00e0 nei DMV views. E un select con CROSS APPLY sui testi delle query carica notevolmente il server.<\/p>\n<p>Tuttavia, mi interessa capire da dove proviene questa paura. In alcune aziende <b>SQL profiler<\/b> \u00e8 uno strumento di lavoro, in altre lo temono come il fuoco (per un certo tempo ho fatto consulenze e ho potuto confrontare). Sono quasi sicuro che fosse cos\u00ec:<\/p>\n<p><img decoding=\"async\" alt=\"SQL profiler \u00e8 pericoloso?\" src=\"\/wp-content\/uploads\/2019\/03\/936a4e41d921c2ea233846ef13b6ccb0.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<b>Houston, abbiamo un problema. Il database \u00e8 lento. Occupati tu.<\/b><\/p>\n<p><img decoding=\"async\" alt=\"SQL profiler \u00e8 pericoloso?\" src=\"\/wp-content\/uploads\/2019\/03\/1b22ab07fb2ac865780a9c428106b229.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<img decoding=\"async\" alt=\"SQL profiler \u00e8 pericoloso?\" src=\"\/wp-content\/uploads\/2019\/03\/7a55fba9306a68d3c4d1c0e73ef787af.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<b>Ci sono cos\u00ec tante spunte... Cosa mi serve?<\/b><\/p>\n<p><img decoding=\"async\" alt=\"SQL profiler \u00e8 pericoloso?\" src=\"\/wp-content\/uploads\/2019\/03\/dfba6e304f71c5e590c4f08924ab3525.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<img decoding=\"async\" alt=\"SQL profiler \u00e8 pericoloso?\" src=\"\/wp-content\/uploads\/2019\/03\/35fb73e84c688833dfb95b435266a4e3.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<b>Va bene, metter\u00f2 tutte le spunte e poi decider\u00f2.<\/b><\/p>\n<p><img decoding=\"async\" alt=\"SQL profiler \u00e8 pericoloso?\" src=\"\/wp-content\/uploads\/2019\/03\/59202ccc117546886f2a1c116586a526.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nCosa rimane nella mente dei vertici aziendali? Qualcuno ha avviato <b>SQL profiler<\/b> e tutto si \u00e8 fermato. E poi lo raccontano l'uno all'altro al tavolo da golf.<\/p>\n<p>A proposito, un particolare interesse lo suscita il tentativo di registrare tali \u2018<i>scriviamo tutto<\/i>\u2019 i trace non in un file, ma nel database stesso <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/it\/server\/dts-dronten\/\"   title=\"server\" data-wpil-keyword-link=\"linked\"  data-wpil-monitor-id=\"2456\">server<\/a> \u2013 una volta sono stato testimone di un caso simile.<\/p>\n<p>E da voi come sono le cose? Partecipate al sondaggio per favore<\/p>\n<p class=\"for_users_only_msg\">Solo gli utenti registrati possono partecipare al sondaggio. <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/auth\/login\/\">Accedi<\/a><\/noindex>, per favore.<\/p>\n<h2 class=\"default-block__polling-title\">\u00c8 possibile eseguire SQL profiler su PROD?<\/h2>\n<ul class=\"content-list content-list_polling\">\n<li class=\"content-list__item content-list__item_polling\">\n<p>                    Siamo una piccola azienda, per noi \u00e8 tutto semplice<\/p>\n<\/li>\n<li class=\"content-list__item content-list__item_polling\">\n<p>                    Ovviamente gli admin di produzione possono<\/p>\n<\/li>\n<li class=\"content-list__item content-list__item_polling\">\n<p>                    Gli admin di produzione possono dopo approvazioni e piegarsi<\/p>\n<\/li>\n<li class=\"content-list__item content-list__item_polling\">\n<p>                    Santo, santo, santo<\/p>\n<\/li>\n<\/ul>\n<p>    Hanno votato 4 utenti. Si sono astenuti 3 utenti.<br \/>\n<br \/>Fonte: <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.0.1 - 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\/it\/blog\/opasen-li-sql-profiler\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"it_IT\" \/>\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\/it\/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\udd47\u00c8 pericoloso SQL profiler? | ProHoster","description":"Recentemente ho scoperto con una certa sorpresa che in uno dei dipartimenti della grande azienda in cui lavoro \u00e8 vietato avviare il profiler SQL durante l'orario di lavoro.","canonical_url":"https:\/\/prohoster.info\/it\/blog\/opasen-li-sql-profiler","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"it_IT","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\/it\/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\/it\/wp-json\/wp\/v2\/posts\/30174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/comments?post=30174"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/posts\/30174\/revisions"}],"predecessor-version":[{"id":159738,"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/posts\/30174\/revisions\/159738"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/media?parent=30174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/categories?post=30174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/tags?post=30174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}