Kruti's SQL Blog

Bicycle Image

Importance of Basics

Riding a bicycle 

Imagine riding a bicycle and having zero knowledge how the handlebars are used for direction, how the brakes are applied for friction, how the pedals are used...

2020-04-14

35 reads

Blog Post

Implementing Full-Text Indexes

In my previous blog we saw the Full-Text Index architecture. 

http://sqlandmorewithkruti.blogspot.in/2016/04/all-about-searching-full-text-indexes_7.html

In this blog we shall see its implementation. Before you proceed...

2016-04-13 (first published: )

2,605 reads

Blog Post

Memory Fundamentals for SQL Server - References

Book References
https://books.google.co.in/books/about/Professional_SQL_Server_2012_Internals_a.html?id=-TjHHnP8ivEC

https://books.google.co.in/books/about/Microsoft_SQL_Server_2008_Internals.html?id=NJUpAQAAMAAJ&redir_esc=y

https://books.google.co.in/books/about/Microsoft_SQL_Server_2012_Internals.html?id=wK1CAwAAQBAJ&redir_esc=y

Topic Wise Blogs

32-bit / 64-bit

http://sqlblog.com/blogs/jonathan_kehayias/archive/2009/07/07/understanding-the-vas-reservation-aka-memtoleave-in-sql-server.aspx

https://msdn.microsoft.com/en-us/library/ms187499(v=sql.105).aspx

/3GB Switch, /PAE Switch, AWE

https://blogs.technet.microsoft.com/beatrice/2008/08/29/3gb-pae-and-awe-taking-away-some-confusion/

http://blogs.technet.com/b/marcelofartura/archive/2006/09/14/3gb-pae-awe-what-basic.aspx

http://blogs.technet.com/b/perfguru/archive/2007/12/05/scenarios-using-3gb-and-pae-switch-and-appropriate-uses-of-these-switches.aspx

https://blogs.msdn.microsoft.com/chadboyd/2007/03/24/pae-and-3gb-and-awe-oh-my/

http://blogs.msdn.com/b/slavao/archive/2005/04/29/413425.aspx

http://blogs.msdn.com/b/slavao/archive/2005/06/03/424905.aspx

http://sqlblog.com/blogs/jonathan_kehayias/archive/2010/10/12/tsql-tuesday-11-misconceptions-enable-awe-on-64bit-sql-servers.aspx

http://sqlblog.com/blogs/jonathan_kehayias/archive/2009/08/24/troubleshooting-the-sql-server-memory-leak-or-understanding-sql-server-memory-usage.aspx

http://sqlblog.com/blogs/jonathan_kehayias/archive/2009/07/07/understanding-the-vas-reservation-aka-memtoleave-in-sql-server.aspx

https://msdn.microsoft.com/en-us/library/ms189334(v=sql.105).aspx

https://msdn.microsoft.com/en-us/library/ms175581(v=sql.105).aspx

https://blogs.msdn.microsoft.com/psssql/2009/09/11/fun-with-locked-pages-awe-task-manager-and-the-working-set/

SQLOS / Processes/ Threads/ CPU Models

http://blogs.msdn.com/b/sqlmeditation/archive/2012/12/13/tasks-worker-threads-scheduler-threads-explain-it-all-and-dmvs.aspx

https://technet.microsoft.com/en-us/library/ms189267(v=sql.105).aspx

https://technet.microsoft.com/en-us/library/ms176043(v=sql.105).aspx

https://technet.microsoft.com/en-us/library/ee210547(v=sql.105).aspx

https://msdn.microsoft.com/en-in/library/ms178074.aspx

https://mssqlwiki.com/2013/01/10/sql-server-operating-system-sos-series-1/

https://blogs.msdn.microsoft.com/sqljourney/2012/12/16/an-in-depth-look-at-sql-server-memorypart-1/

http://www.practicalsqldba.com/2012/07/sql-server-sql-server-scheduler.html

SQL Memory Components

http://blogs.msdn.com/b/slavao/archive/2005/03/18/398651.aspx

http://blogs.msdn.com/b/slavao/archive/2005/08/30/458036.aspx

http://blogs.msdn.com/b/slavao/archive/2005/02/19/376714.aspx

https://msdn.microsoft.com/en-us/library/cc293624.aspx

https://msdn.microsoft.com/en-us/library/ms188754.aspx

https://msdn.microsoft.com/en-us/library/ms176083.aspx

Keep Learning, Keep Exploring, Keep Experimenting 
P.S....

2016-03-15

542 reads

Blogs

TSQL Tuesday #189: How is AI changing our careers

By

This month’s TSQL Tuesday invite is from my good friend, long standing MVP and...

Using SQL Compare to Revert a Stored Procedure

By

Imagine this situation, someone edits a stored procedure on a production server to “fix”...

PASS Data Community Summit LinkedIn Contest

By

If you're not having success in convincing your organization to send you to this...

Read the latest Blogs

Forums

CDC job running for 17 days?

By WebTechie

Good morning, I've noticed my CDC job running for 17 days.  I've noticed it...

Database growth events for unidentified databases

By zoggling

We have recently upgraded from SQL Server 2016 to 2022 Standard Edition. Our nightly...

distributed availability group query

By goodtimecharlie

Not sure if this is my misunderstanding or an error in my process: Create...

Visit the forum

Question of the Day

Determining the Updated Columns

I am creating a trigger in SQL Server 2022 and want to detect a change in a table. Here is my table DDL:

CREATE TABLE CustomerLarge (
 CustomerID INT NOT NULL IDENTITY(1,1) CONSTRAINT CustomerLargePK PRIMARY KEY CLUSTERED
 , CustomerName VARCHAR(20)
 , CustomerContactFirstName VARCHAR(40)
 , CustomerContactLastName VARCHAR(40)
 , Address VARCHAR(20)
 , Address2 VARCHAR(20)
 , City VARCHAR(20)
 , CountryCode CHAR(3)
 , Postal VARCHAR(20)
 , creditlimit INT
 , discount numeric(4,2)
 , lastorderdate DATETIME
 , lastorderamount NUMERIC(10,2)
 , lastordercontact VARCHAR(20)
 , created DATETIME
 , modified DATETIME
 , modifiedby VARCHAR(20)
 , statusid INT
 , active BIT
 , customersize INT
 , primarysalesid INT)
 GO
If I want to detect that the creditlimit was updated, what IF statements should I use?

See possible answers