SQL Nuggets http://www.sqlnuggets.com Nuggets Of SQL Server Knowledge Tue, 20 Apr 2021 13:31:50 +0000 en-US hourly 1 https://wordpress.org/?v=5.7.1 PowerShell: Compare Users’ AD Groups http://www.sqlnuggets.com/blog/powershell-compare-users-ad-groups/ http://www.sqlnuggets.com/blog/powershell-compare-users-ad-groups/#comments Thu, 15 Apr 2021 16:20:00 +0000 http://www.sqlnuggets.com/?p=1604 When it comes to user logins and permissions in SQL Server, I typically prefer to use Active Directory groups. The problem with that is that you don’t always know what ...

The post PowerShell: Compare Users’ AD Groups appeared first on SQL Nuggets.

]]>
http://www.sqlnuggets.com/blog/powershell-compare-users-ad-groups/feed/ 1
Slides From My March 17th 2021 Geek Sync http://www.sqlnuggets.com/blog/slides-from-my-march-17th-2021-geek-sync/ http://www.sqlnuggets.com/blog/slides-from-my-march-17th-2021-geek-sync/#respond Wed, 17 Mar 2021 15:30:00 +0000 http://www.sqlnuggets.com/?p=1595 You can download the slides from today’s How To Be The DBA When You Don’t Have A DBA Geek Sync here.

The post Slides From My March 17th 2021 Geek Sync appeared first on SQL Nuggets.

]]>
http://www.sqlnuggets.com/blog/slides-from-my-march-17th-2021-geek-sync/feed/ 0
Upcoming IDERA Geek Sync – March 17th, 2021 http://www.sqlnuggets.com/blog/upcoming-idera-geek-sync-march-17th-2021/ http://www.sqlnuggets.com/blog/upcoming-idera-geek-sync-march-17th-2021/#respond Mon, 15 Mar 2021 13:31:10 +0000 http://www.sqlnuggets.com/?p=1593 Don’t miss my upcoming IDERA Geek Sync, How To Be The DBA When You Don’t Have A DBA, this Wednesday, March 17, 2021. This webinar is for the “Accidental DBA”: ...

The post Upcoming IDERA Geek Sync – March 17th, 2021 appeared first on SQL Nuggets.

]]>
http://www.sqlnuggets.com/blog/upcoming-idera-geek-sync-march-17th-2021/feed/ 0
Will You Run Out Of INT And BIGINT Identities In SQL Server? http://www.sqlnuggets.com/blog/will-you-run-out-of-int-and-bigint-identities-in-sql-server/ http://www.sqlnuggets.com/blog/will-you-run-out-of-int-and-bigint-identities-in-sql-server/#respond Fri, 29 Jan 2021 14:50:00 +0000 http://www.sqlnuggets.com/?p=1574 In the war over Identities vs GUIDs as clustered indexes, one of the arguments in favor of Unique Identifiers is that you may run out of numbers when using a ...

The post Will You Run Out Of INT And BIGINT Identities In SQL Server? appeared first on SQL Nuggets.

]]>
http://www.sqlnuggets.com/blog/will-you-run-out-of-int-and-bigint-identities-in-sql-server/feed/ 0
Setting The Database Owner, Compatibility Level, And Recovery Model With PowerShell http://www.sqlnuggets.com/blog/setting-the-database-owner-compatibility-level-and-recovery-model-with-powershell/ http://www.sqlnuggets.com/blog/setting-the-database-owner-compatibility-level-and-recovery-model-with-powershell/#comments Wed, 30 Dec 2020 17:10:13 +0000 http://www.sqlnuggets.com/?p=1534 One of the great things about dbatool is that it allows you to run commands against multiple things. Sometimes you may need to run the same command on every server, ...

The post Setting The Database Owner, Compatibility Level, And Recovery Model With PowerShell appeared first on SQL Nuggets.

]]>
http://www.sqlnuggets.com/blog/setting-the-database-owner-compatibility-level-and-recovery-model-with-powershell/feed/ 1
Upcoming Geek Sync: Practical PowerShell For The Busy DBA http://www.sqlnuggets.com/blog/upcoming-geek-sync-practical-powershell-for-the-busy-dba/ http://www.sqlnuggets.com/blog/upcoming-geek-sync-practical-powershell-for-the-busy-dba/#respond Tue, 10 Nov 2020 15:30:00 +0000 http://www.sqlnuggets.com/?p=1513 Be sure to sign up for my upcoming IDERA Geek Sync, Practical PowerShell For The Busy DBA on November 19th, 2020 at 11:00 AM CT. I will be focusing on ...

The post Upcoming Geek Sync: Practical PowerShell For The Busy DBA appeared first on SQL Nuggets.

]]>
http://www.sqlnuggets.com/blog/upcoming-geek-sync-practical-powershell-for-the-busy-dba/feed/ 0
SQL Server Crashes When Hitting 80 Percent RAM Usage http://www.sqlnuggets.com/blog/sql-server-crashes-when-hitting-80-percent-ram-usage/ http://www.sqlnuggets.com/blog/sql-server-crashes-when-hitting-80-percent-ram-usage/#comments Tue, 03 Nov 2020 16:05:00 +0000 http://www.sqlnuggets.com/?p=1501 I recently ran into a situation where a new SQL Server would crash hard every time it would get under a load. Here is a synopsis of what we were ...

The post SQL Server Crashes When Hitting 80 Percent RAM Usage appeared first on SQL Nuggets.

]]>
http://www.sqlnuggets.com/blog/sql-server-crashes-when-hitting-80-percent-ram-usage/feed/ 4
Be Proactive: A Good DBA Goes Looking For Signs of Trouble http://www.sqlnuggets.com/blog/be-proactive-a-good-dba-goes-looking-for-signs-of-trouble/ http://www.sqlnuggets.com/blog/be-proactive-a-good-dba-goes-looking-for-signs-of-trouble/#respond Tue, 27 Oct 2020 12:37:00 +0000 http://www.sqlnuggets.com/?p=1499 Last month I did a session for IDERA Live 2020. This is a free, one day virtual conference put on by IDERA each year, and this year’s focus was “How ...

The post Be Proactive: A Good DBA Goes Looking For Signs of Trouble appeared first on SQL Nuggets.

]]>
http://www.sqlnuggets.com/blog/be-proactive-a-good-dba-goes-looking-for-signs-of-trouble/feed/ 0
PSSDIAG Error: There Is No Instance Named X http://www.sqlnuggets.com/blog/pssdiag-error-there-is-no-instance-named-x/ http://www.sqlnuggets.com/blog/pssdiag-error-there-is-no-instance-named-x/#comments Tue, 20 Oct 2020 12:42:00 +0000 http://www.sqlnuggets.com/?p=1482 I’m writing this as a reminder to myself for a problem I just had to solve. When running the PSSDIAG tool, if you are running it against SQL 2016 SP2 ...

The post PSSDIAG Error: There Is No Instance Named X appeared first on SQL Nuggets.

]]>
http://www.sqlnuggets.com/blog/pssdiag-error-there-is-no-instance-named-x/feed/ 1
Disabling An Index Drops Compression http://www.sqlnuggets.com/blog/disabling-an-index-drops-compression/ http://www.sqlnuggets.com/blog/disabling-an-index-drops-compression/#comments Tue, 01 Sep 2020 13:08:00 +0000 http://www.sqlnuggets.com/?p=1449 This post is more of an FYI, and to remind myself in case I run into it again down the road. Here at work we have a very large, very ...

The post Disabling An Index Drops Compression appeared first on SQL Nuggets.

]]>
http://www.sqlnuggets.com/blog/disabling-an-index-drops-compression/feed/ 1