11/*
22-- +----------------------------------------------------------------------------+
3- -- | DBA Mastery |
4- -- | dbamastery@outlook.com |
5- -- | http://www.dbamastery.com |
3+ -- | Blake Drumm |
4+ -- | blakedrumm@microsoft.com |
5+ -- | http://www.blakedrumm.com |
6+ -- | Original Author: DBA Mastery (http://www.dbamastery.com) |
67-- |----------------------------------------------------------------------------|
78-- | |
89-- |----------------------------------------------------------------------------|
910-- | DATABASE : SQL Server |
1011-- | FILE : maxdop_calculator.sql |
1112-- | CLASS : Performance tuning |
12- -- | PURPOSE : Calculates the optimal value for MAXDOP (> SQL 2016 ) |
13- -- | |
13+ -- | PURPOSE : Calculates the optimal value for MAXDOP (> SQL 2016 ) |
14+ -- | |
1415-- | NOTE : As with any code, ensure to test this script in a development |
1516-- | environment before attempting to run it in production. |
1617-- | |
@@ -29,6 +30,29 @@ furnished to do so, subject to the following conditions:
2930The above copyright notice and this permission notice shall be included in all
3031copies or substantial portions of the Software.
3132
33+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
34+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
35+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
36+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
37+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
38+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
39+ SOFTWARE.
40+
41+ -- +----------------------------------------------------------------------------+
42+ MIT License
43+
44+ Copyright (c) 2023 Blake Drumm
45+
46+ Permission is hereby granted, free of charge, to any person obtaining a copy
47+ of this software and associated documentation files (the "Software"), to deal
48+ in the Software without restriction, including without limitation the rights
49+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
50+ copies of the Software, and to permit persons to whom the Software is
51+ furnished to do so, subject to the following conditions:
52+
53+ The above copyright notice and this permission notice shall be included in all
54+ copies or substantial portions of the Software.
55+
3256THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
3357IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
3458FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
0 commit comments