EDB358 System and Database Administration: Adaptive Server Enterprise. COURSE OUTLINE Course Version: 10 Course Duration: 5 Day(s)
SAP Copyrights and Trademarks 2014 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iseries, pseries, xseries, zseries, eserver, z/vm, z/os, i5/os, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP BusinessObjects Explorer, StreamWork, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects Software Ltd. Business Objects is an SAP company. Sybase and Adaptive Server, ianywhere, Sybase 365, SQL Anywhere, and other Sybase products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Sybase, Inc. Sybase is an SAP company.
All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. Copyright. All rights reserved. iii
iv Copyright. All rights reserved.
About This Handbook This handbook is intended to complement the instructor-led presentation of this course, and serve as a source of reference. It is not suitable for self-study. Typographic Conventions American English is the standard used in this handbook. The following typographic conventions are also used. This information is displayed in the instructor s presentation Demonstration Procedure Warning or Caution Hint Related or Additional Information Facilitated Discussion User interface control Example text Window title Example text Copyright. All rights reserved. v
vi Copyright. All rights reserved.
Contents ix Course Overview 1 Unit 1: SAP Adaptive Server Enterprise 1 Lesson: Explaining SAP ASE 1 Lesson: Describing the Database Architecture 1 Lesson: Using Query Editors 3 Unit 2: Installation 3 Lesson: Installing Servers 3 Lesson: Identifying Installation Parameters 3 Lesson: Starting and Stopping SAP ASE 3 Lesson: Connecting Clients to the Server 5 Unit 3: Database Server Configuration 5 Lesson: Explaining the Server Configuration File 5 Lesson: Modifying the Server Configuration File 5 Lesson: Explaining Memory Mechanisms 5 Lesson: Configuring Memory 5 Lesson: Configuring the Size of Caches 7 Unit 4: Space Management 7 Lesson: Creating Devices 7 Lesson: Managing Devices 7 Lesson: Mirroring Devices 7 Lesson: Creating Databases 7 Lesson: Managing Databases 8 Lesson: Managing Disk Resources 8 Lesson: Managing Temporary Databases 9 Unit 5: Security 9 Lesson: Managing Roles 9 Lesson: Creating Logins 9 Lesson: Managing Logins 9 Lesson: Managing Database Users 9 Lesson: Managing Creation Permissions 10 Lesson: Managing Object Permissions 10 Lesson: Creating Groups 10 Lesson: Creating Roles Copyright. All rights reserved. vii
11 Unit 6: Maintenance 11 Lesson: Using SAP ASE Extraction Utilities 11 Lesson: Using the Bulk Copy Utility 11 Lesson: Explaining Automatic Recovery 11 Lesson: Ensuring Database Consistency 11 Lesson: Setting Up the High Speed Consistency Checker 13 Unit 7: Backup 13 Lesson: Planning for Backups 13 Lesson: Executing Database Backups 13 Lesson: Restoring Database Backups 13 Lesson: Performing Transaction Log Backups 13 Lesson: Using Advanced Backup Techniques 15 Unit 8: Monitoring 15 Lesson: Using SAP DB Control Center 15 Lesson: Monitoring SAP ASE viii Copyright. All rights reserved.
Course Overview TARGET AUDIENCE This course is intended for the following audiences: Data Consultant Technology Consultant Systems Architect Copyright. All rights reserved. ix
x Copyright. All rights reserved.
UNIT 1 SAP Adaptive Server Enterprise Lesson 1: Explaining SAP ASE List the main features and benefits of SAP ASE Lesson 2: Describing the Database Architecture Describe the database architecture Lesson 3: Using Query Editors Start query editors Copyright. All rights reserved. 1
Unit 1: SAP Adaptive Server Enterprise 2 Copyright. All rights reserved.
UNIT 2 Installation Lesson 1: Installing Servers Describe the installation process Prepare the installation Install SAP ASE Lesson 2: Identifying Installation Parameters Identify installation location Review the content of a server startup file Lesson 3: Starting and Stopping SAP ASE Check the status of SAP ASE Start and stop the server Lesson 4: Connecting Clients to the Server Describe the content of connectivity files Manage connectivity files Copyright. All rights reserved. 3
Unit 2: Installation 4 Copyright. All rights reserved.
UNIT 3 Database Server Configuration Lesson 1: Explaining the Server Configuration File Explain the role of the configuration file Re-create the configuration file Lesson 2: Modifying the Server Configuration File Create a customized configuration file Lesson 3: Explaining Memory Mechanisms Explain memory mechanisms List the parameters that impact memory consumption Lesson 4: Configuring Memory Explain the memory configuration process Configure memory Lesson 5: Configuring the Size of Caches Configure the caches Copyright. All rights reserved. 5
Unit 3: Database Server Configuration 6 Copyright. All rights reserved.
UNIT 4 Space Management Lesson 1: Creating Devices Describe database devices Create database devices Lesson 2: Managing Devices Define default devices Remove devices Expand existing devices Lesson 3: Mirroring Devices Configure device mirroring Move a device using mirroring Lesson 4: Creating Databases Plan the creation of databases Create a database Lesson 5: Managing Databases Copyright. All rights reserved. 7
Unit 4: Space Management Configure database options Manage database space allocation Lesson 6: Managing Disk Resources Allocate resources to databases Monitor free space Start automatic expansion Lesson 7: Managing Temporary Databases Create a user-defined temporary database Assign a login to a temporary database 8 Copyright. All rights reserved.
UNIT 5 Security Lesson 1: Managing Roles Explain data access Assign system roles Lesson 2: Creating Logins Explain login properties Create logins and login profiles Lesson 3: Managing Logins Modify logins Lesson 4: Managing Database Users Explain database ownership and related options Add users to a database Lesson 5: Managing Creation Permissions Assign permissions for object creation Copyright. All rights reserved. 9
Unit 5: Security Lesson 6: Managing Object Permissions Explain object ownership Modify object ownership Lesson 7: Creating Groups Create groups Lesson 8: Creating Roles Create custom roles 10 Copyright. All rights reserved.
UNIT 6 Maintenance Lesson 1: Using SAP ASE Extraction Utilities Use utilities related to object definitions Lesson 2: Using the Bulk Copy Utility Explain bulk copy execution Compare fast and slow bulk copy Lesson 3: Explaining Automatic Recovery Explain transaction recording mechanisms Explain transaction recovery mechanisms Lesson 4: Ensuring Database Consistency Describe available database consistency checkers (dbcc) Check a database for inconsistency Lesson 5: Setting Up the High Speed Consistency Checker Describe the configuration of the checkstorage Consistency Checker Copyright. All rights reserved. 11
Unit 6: Maintenance Execute the checkstorage dbcc 12 Copyright. All rights reserved.
UNIT 7 Backup Lesson 1: Planning for Backups Explain how backups are organized List dump possibilities Create a backup strategy Lesson 2: Executing Database Backups Describe the configuration of a backup server Create database backups Lesson 3: Restoring Database Backups Load a database backup Lesson 4: Performing Transaction Log Backups Execute a transaction dump and load Analyze the effects of dump compression Lesson 5: Using Advanced Backup Techniques Copyright. All rights reserved. 13
Unit 7: Backup Configure a last-chance threshold Recover the transaction log Rebuild a master database from backup 14 Copyright. All rights reserved.
UNIT 8 Monitoring Lesson 1: Using SAP DB Control Center Describe the components of the Control Center Install Control Center Use SAP DB Control Center Lesson 2: Monitoring SAP ASE Describe the main monitoring activities Use monitoring and data analysis tables Copyright. All rights reserved. 15