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

SQL: Use PowerShell to Generate a Database Object From Another Object

Have you ever wondered about the prospect of automating T-SQL executions on Windows? As your…

SQL: Backup Database and Purge It From SQL Server

/* Make a Final Backup of Database, Purge Its Backup and Restore History, and Remove…

Some Old SQL Snippets

--Visibar_TestSELECT STK_ROOM, BIN, INV_CODE, LOC_DESCFROM LOCATION_DESCRIPTIONWHERE (STK_ROOM IN (@Stock)) AND (BIN IN (@Bins)) -- Query…