Posted On March 31, 2019

SQL Server Overview

kimconnect 0 comments
blog.KimConnect.com >> Database >> SQL Server Overview
SQL Buffer Manager (Cache)
8K Pages between memory and disk storage
8 Pages = 1 Extent
Marking changes as “dirty” in memory and write to disk
Write ahead logging is recording of changes ‘before’ and ‘after’ each change to protect against crashes
Checkpoint default is 1-minute (recovery estimate as computed by SQL server)
Transactions:
– Atomicicity (indivisible)
– ACID test: Atomic, Consistent, Isolated, Durable
Transaction Logs can be replayed on servers to synchronize databases
9002 error is when log-file is full
Simple Recovery Model
– Logs are truncated on Checkpoint
Full Recovery Model
– Inactive Log Entries are removed/truncated as necessary to allow recovery options

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Some MySQL Admin Stuff

make sure it's running ps -ef | grep mysql Creating MySQL DB HOWTO on creating…

SQL replace character in string

update g2_Item set g_title = replace(g_title, '_', ' '); update g2_Item set g_title = replace(g_title,…

SQL: Using PowerShell to Check if a Table, View, or Stored Procedure Exists

#Usage # set variables $sqlServer='sql-server04' $databaseName="Test_Database" $objectType='view' $objectName='[dbo].[Test_View]' $saCred=get-credential # Call function checkDatabaseObject $sqlServer $databaseName…
Other project: DragonCoin.com