Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

🔥SQL Server Recovery Models Demystified | 🔍In-Depth Walkthrough

Автор: AzureSQLChamp

Загружено: 2025-12-01

Просмотров: 241

Описание:

=================
*****Recovery Models*****:
=================
Recovery model is one the database property which controls the following :
What types of backups we can perform on DB side. - Whether we can perfom log backup are not?
How long we need to keep log records on ldf file.

Three types:

SIMPLE:
When checkpoint triggers, it will move the committed data to mdf file and truncate the inactive portion in log file.
EX: CHECKPOINT WITH TRUNCATE
We cant take log backup in simple recovery model.
We cant recover the data upto the point of failure and PIT restore is not possible.
Mostly we keep this in DEV environments.
No HA/DR supports in simple
Replication we can choose simple recovery model.

FULL:
When checkpoint triggers, it will move the committed data to mdf file and it wont truncate the inactive portion in log file.
EX: CHECKPOINT WITH NOTRUNCATE
We can take log backup , To truncate inactive portion we need configure log backups.
We can recover the data upto the point of failure and PIT restore is possible.
ALL PROD/TEST/ server should be FULL.may be DEV also we can keep in FULL.
ALL HA/DR supports in FULL
LOG Shipping
DB Mirroring
AlwaysON
Replication


BULK LOGGED:
When checkpoint triggers, it will move the committed data to mdf file and it wont truncate the inactive portion in log file.
EX: CHECKPOINT WITH NOTRUNCATE
We can take log backup , To truncate inactive portion we need configure log backups.
May or may not recover the data upto the point of failure and may or may not PIT restore is possible.
Only Log shipping supports bulk logged recovery model.

To improve bulk operation we will choose bulk logged recovery model.
In bulk logged log will minimaly logged.
SELECT INTO, INSERT WITH SELECT, BCP utility, SSIS packages
When we perform log backup will hold log records and data(BCM pages info)


Full to bulk-logged
==
Initiate a log backup
Perform bulk operations, immediately switch back the database to full recovery model
Initiate transaction log backup

Simple to FULL
==
Initiate a full (or differential, if full is already available) database backup
Schedule t-log backups

FULL or BULK_Logged to Simple
==
Disable the transaction log backup job
Ensure that there is a job to take full backup

USE master
GO
ALTER DATABASE MODEL SET RECOVERY SIMPLE ;  
SELECT name, recovery_model,recovery_model_desc FROM sys.databases  where name='model'

🔔 Subscribe for More SQL Server Tutorials

If you found this helpful, don’t forget to like, comment, and subscribe for more SQL Server guides, troubleshooting tips, database tutorials, and performance tuning videos.

🔥SQL Server Recovery Models Demystified | 🔍In-Depth Walkthrough

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

SQL Server High Availability and Disaster Recovery overview

SQL Server High Availability and Disaster Recovery overview

🔥SQL Made Easy: User Database Creation & 📌Most Important SQL Commands #sqlforbeginners #azuresql

🔥SQL Made Easy: User Database Creation & 📌Most Important SQL Commands #sqlforbeginners #azuresql

Хранилище данных против озера данных против хранилища данных | ETL, OLAP против OLTP

Хранилище данных против озера данных против хранилища данных | ETL, OLAP против OLTP

🔥 Серия статей о виртуальных машинах №1 | Установка Windows Server 2022 👍 | VMware против Hyper-V...

🔥 Серия статей о виртуальных машинах №1 | Установка Windows Server 2022 👍 | VMware против Hyper-V...

Red Smoke — Deep House Chill Mix 2026 | Night Vibes

Red Smoke — Deep House Chill Mix 2026 | Night Vibes

Windows 11 26H1 - Microsoft снова переобулись?

Windows 11 26H1 - Microsoft снова переобулись?

🔥SQL Server Memory Secrets: Clean Pages, Dirty Pages, Checkpoints & Lazy Writer Explained #sqlserver

🔥SQL Server Memory Secrets: Clean Pages, Dirty Pages, Checkpoints & Lazy Writer Explained #sqlserver

Сисадмины больше не нужны? Gemini настраивает Linux сервер и устанавливает cтек N8N. ЭТО ЗАКОННО?

Сисадмины больше не нужны? Gemini настраивает Linux сервер и устанавливает cтек N8N. ЭТО ЗАКОННО?

Чем ОПАСЕН МАХ? Разбор приложения специалистом по кибер безопасности

Чем ОПАСЕН МАХ? Разбор приложения специалистом по кибер безопасности

НАЧАЛО ГОДА СУЛИТ НОВЫЕ ПРОБЛЕМЫ YOUTUBE, GOOGLE и отключения ИНТЕРНЕТА. Разбираем важное

НАЧАЛО ГОДА СУЛИТ НОВЫЕ ПРОБЛЕМЫ YOUTUBE, GOOGLE и отключения ИНТЕРНЕТА. Разбираем важное

Azure SQL Hyperscale Deep Dive - NOT Just for Massive Databases!

Azure SQL Hyperscale Deep Dive - NOT Just for Massive Databases!

The Windows 11 Disaster That's Killing Microsoft

The Windows 11 Disaster That's Killing Microsoft

Что я узнал делая свой ВПН?

Что я узнал делая свой ВПН?

Что такое Rest API (http)? Soap? GraphQL? Websockets? RPC (gRPC, tRPC). Клиент - сервер. Вся теория

Что такое Rest API (http)? Soap? GraphQL? Websockets? RPC (gRPC, tRPC). Клиент - сервер. Вся теория

Learn SQL Server Integration Services (SSIS) in 2 Hours - Complete Beginner's Guide to ETL

Learn SQL Server Integration Services (SSIS) in 2 Hours - Complete Beginner's Guide to ETL

Bill Gates STUNNED as Windows 12 Faces MASSIVE Backlash Before Launch!

Bill Gates STUNNED as Windows 12 Faces MASSIVE Backlash Before Launch!

Hysteria2 — рабочий VPN при «блокировках» VLESS

Hysteria2 — рабочий VPN при «блокировках» VLESS

Complete Microsoft SQL Server Database Administration Course

Complete Microsoft SQL Server Database Administration Course

Microsoft begs for mercy

Microsoft begs for mercy

Улучшения производительности SQL Server 2025: объяснение IQP, адаптивных соединений и управления ...

Улучшения производительности SQL Server 2025: объяснение IQP, адаптивных соединений и управления ...

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: infodtube@gmail.com