Presentation is loading. Please wait.

Presentation is loading. Please wait.

Microsoft SQL Server Administration for SAP Administration and Troubleshooting.

Similar presentations


Presentation on theme: "Microsoft SQL Server Administration for SAP Administration and Troubleshooting."— Presentation transcript:

1 Microsoft SQL Server Administration for SAP Administration and Troubleshooting

2 2 Overview

3 3 DB02

4 4 History of DB Size

5 5 Adding a file to a Database

6 6 Expanding a Database

7 7 Extending the Database Database must be extended Can volume be extended? Add new disk to volume Add new volume Move one old file to new volume YesNo + Expand files and set all files to autogrow PRIMARY DATA1 DATA2 DATA3 Expand files on old and new volume and set all files to autogrow PRIMARY DATA1 PRIMARY DATA1 DATA2

8 8 DB02

9 9 Server Properties

10 10 Server Properties

11 11 Server Properties

12 12 Server Properties

13 13 DB Maintenance Wizard

14 14 DB Maintenance Wizard

15 15 DB Maintenance Wizard

16 16 DB Maintenance Wizard

17 17 DB Maintenance Wizard

18 18 DB Maintenance Wizard

19 19 DB Maintenance Wizard

20 20 Errorlog from SAP

21 21 Errorlog

22 22 Errorlog

23 23 Logins

24 24 Logins

25 25 Logins

26 26 Logins

27 27 Table / Index fragmentation  DBCC SHOWCONTIG  DBCC SHOWCONTIG  DBCC INDEXDEFRAG  ~20% degradation, few % CPU  less disk space / restartable  Fillfactor & Data Cache utilization  OLTP / OLAP requirement  SORT_IN_TEMPDB  DBCC CLEANTABLE  Parallel index creation

28 28 Attach and Detach Database detail stats. SQL Server Query Analyzer - [Query - sapprod.master.sa - (untitled)] DB: master sp_detach_db ‘PRD’, ‘true’ detail stats. SQL Server Query Analyzer - [Query - sapprod.master.sa - (untitled)] DB: PRD sp_helpfile detail stats. SQL Server Query Analyzer - [Query - sapprod.master.sa - (untitled)] DB: master sp_attach_db ‘PRD’,‘F:\PRDDATA1\PRDDATA1.MDF’, ‘G:\PRDDATA2\PRDDATA2.NDF’, detail stats. C:\WINNT\System32\cmd.exe Microsoft(R) Windows NT (TM) (C) Copyright Microsoft Corp. C:\> mv F:\PRDDATA2\PRDDATA2.NDF G:\PRDDATA2\PRDDATA2.NDF

29 29 Common Errors  Work process unable to login  Transaction log is full  SQL Server does not start  Database not available

30 30 Lab  Expand the test database  Add a file to the test database  Detach the test database, copy the files and attach it as test1 database

31 31 Summary  Write Module Summary


Download ppt "Microsoft SQL Server Administration for SAP Administration and Troubleshooting."

Similar presentations


Ads by Google