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

PowerShell: Automatically Fix SQL Server by Killing Long Running Queries

# autofixSqlLongRunningQueries.ps1 # version 0.01 # This version is limited to SQL Server Localhost execution,…

Install phpMyAdmin in Centos 5.3

# Prerequisite: must install RPMForge Repo prior   yum install httpd php php-mysql php-gd php-mbstring…

PowerShell: Restore SQL Database from Full and/or Differential Backups

$databaseName='BALOO_MSCRM' $newDatabaseName='BALOO_MSCRM' $dbData='mscrm' # set this value to $null for autogen defaults $dbLog='mscrm_log' # set…