Professional Documents
Culture Documents
Overview
Planning and preparatory steps for a SQL Server environment
Client connectivity and configurationchoice of protocols, server details using SQL Server Configuration Manager
Choose components
Apply service accounts Define settings for installation
Finish installation
Database System
Creating instances Initial and subsequent instances can be named; one default, unnamed instance
Configuration Database System configuration parameters can be set using sp_configure or Management Studio
Configuration parameters can be basic or advanced Certain parameters are self-configuring and can also be manually set
Database Configuration
Database configuration option set using ALTER DATABASE and sp_dboptions can be classified as:
Database Maintenance
Information on the database can be obtained using sp_helpdb Database maintenance operations in SQL Server and their Oracle equivalent are: Shrinking database equivalent to shrinking all the files in a tablespace Changing default filegroup same as changing default tablespace but set for the database rather than the user login Attaching & detaching databases similar to transporting tablespaces Changing database name similar in function to Oracles tablespace renaming feature Changing database owner not found in Oracle
Data Dictionary
SQL Server term for data dictionary is system catalog System catalog is decentralized with instance system objects in the Master and Resource databases and database-specific objects in individual databases INFORMATION_SCHEMA views provide an interface to schema related system tables SQL Server provides system catalog views to obtain metadata equivalent to Oracles DBA_ / ALL_ / USER_ views
Review
We have seen the choices in SQL Server editions and components and how to install them
We have seen default instance created as part of installation and how named instances can be created
We have learned how to create and configure user databases We have learned that there are various instance states (start, stop, and pause) and database states (read-only, read-write, single user, restricted user, online and offline) We have gained insight into the location and composition of the system catalog