Presentation is loading. Please wait.

Presentation is loading. Please wait.

Modification is sent by application to SQL Server Modification is sent by application to SQL Server 1 Data pages are located in, or.

Similar presentations


Presentation on theme: "Modification is sent by application to SQL Server Modification is sent by application to SQL Server 1 Data pages are located in, or."— Presentation transcript:

1

2

3

4

5

6

7

8

9

10

11 Modification is sent by application to SQL Server Modification is sent by application to SQL Server 1 Data pages are located in, or read into the buffer cache and then modified Data pages are located in, or read into the buffer cache and then modified 2 Buffer Cache Modification is recorded in transaction log on disk 3 Later, checkpoint writes dirty pages to database Later, checkpoint writes dirty pages to database 4

12 Recovery ModelDescription SimpleDoes NOT permit transaction log (t-log) backups. Automatically truncates log to reduce space requirements FullRequires LOG BACKUPS to manage t-log space requirements. Avoids data loss if damaged or missing database file occurs. Permits point-in-time recovery. Bulk LoggedRequires log backups to manage t-log space requirements. Improves performance during bulk copy operations. Reduces t-log space usage by using minimal logging of operations.

13

14

15

16

17 Web Application 200GB Site Collections Project Sites Department Sites HR Sites Marketing Sites 750mb X 250 = 187,500mb / 1024 = 183gb 250

18

19

20

21

22

23

24 mdfldf Sunday Full Backup mdfldf Tuesday Differential mdfldf Differential Monday mdfldf Differential Wednesday You Lose mdf file of database on Thursday at 4:00pm (1) BACKUP LOG DB_Name TO D:\SQLBackups\TempBackup.Bak WITH NORECOVERY (4) RESTORE LOG FROM D:\SQLBackups\TempBackup.Bak BACKUP LOG DB_Name TO D:\SQLBackups\Weekly_T_Log.Bak WITH INIT

25

26

27

28

29

30 Sponsored by

31


Download ppt "Modification is sent by application to SQL Server Modification is sent by application to SQL Server 1 Data pages are located in, or."

Similar presentations


Ads by Google