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

Gallery2 Random Highlight Mod

There's a SQL technical limitation where one may not update a table based on its…

SQL Language (Condensed)

SELECT [DISTINCT | MIN | MAX] column1 [AS alias]FROM table_nameWHERE condition [IS NULL|IS NOT NULL]…

PowerShell: Get SQL Server Performance Counters

Version 2 # getSqlPerformanceCounter.ps1 # version 0.02 $computername='sql0003.kimconnect.com' function getSqlPerformanceCounter($server=$env:computername,$sampleInterval=10,$maxSamples=1){ $PerformanceCounterSampleSet=$result=@() $counters=@( '\Memory\Available MBytes', '\Memory\Pages/sec',…