AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and...

29
AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server Licensing 7.Login Authentication 8.Books Online

Transcript of AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and...

Page 1: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

AGENDA

1. Introduction

2. Course Policy

3. What is SQL 2000 Server?

4. Client-Server Architecture and Communications

5. SQL 2000 Versions

6. SQL 2000 Server Licensing

7. Login Authentication

8. Books Online

Page 2: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

Introduction

Name: Patricia Belvedere

Email: [email protected]

Homepage: http://cs.senecac.on.ca/~sql710

Page 3: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

Evaluation

Assignment 1: 10%

Assignment 2: 10%

Midterm Exam 1 20%

Midterm Exam 2 20%

Final Exam: 40%

In order to pass the course, you need at least 55% in each of the assignments, midterm, and final exam.

Page 4: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

Text Book

Essential SQL Server 2000 An Administration Handbook by Buck Woody,

ISBN 0-201-74203-9

Page 5: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

Course Policy - General

• It is your responsibility to attend the lectures and take notes. If you miss a lecture, obtain notes from a classmate.

• Print out the labs and Powerpoint materials before class and bring to class.

• Do assigned readings before class.

Page 6: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

Course Policy - General

• If you have questions, please ask me during the class. I will try to answer your question then or arrange to answer it after class. Questions are important in helping me to understand when material is incomplete or unclear.

• You may also see me in my office (TEL building room 2095) during my posted student help times.

•You may also email me any questions or comments outside of class. I will attempt to respond within 24 hours (or 48 hours on a weekend). Please use your learn account when sending me an email and include the course code SQL710 in the subject line.

Page 7: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

ASSIGNMENTS

•All assignments must be completed.

•Each assignment should be submitted on the due date. The deduction for late submission will be 20% each working day.

•You must submit a printed copy of your assignment at the beginning of class and also email a copy of each assignment to me at: [email protected]

•The subject line for your email should follow the email rule and must contain the assignment number: <student Name>:<ID>-<course>:<sect>-<assign#>

Page 8: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

What is an RDBMS ?

An RDBMS is a Relational Database Management System. An RDBMS is a collection of software that stores, modifies and retrieves data and accesses it through relationships between sets of data.

There are many RDBMS’s available such as Oracle Corporation’s Oracle, IBM’s DB2, and Micorsoft’s SQL Server 2000.

Page 9: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

What is an RDBMS (ctd)?

• Maintains relationships among data in database

• Ensures that data is stored correctly and that rules defining the relationship among data are not violated

• Recovers all data to a point of known consistency in the event of system failure

• Provides ways to easily retrieve and manage data

Page 10: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

What is SQL 2000 Server?

SQL Server is an RDBMS that can be used to perform

• Transaction Processing (i.e. OnLine Transaction Processing); for example to process a customer’s purchase at a store

• Transaction Analysis (i.e. OnLine Analytical Processing); for example to produce a sales summary

Page 11: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

What is SQL 2000 Server(ctd)?

CLIENT SERVER

QUERY (question)

RESULT (answer)

RDBMS

CLIENT SERVER ARCHITECTURE

Page 12: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

What is a SERVER ?

A server manages data and allocates server resources such as memory and network bandwidth.

Page 13: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

WHAT IS A CLIENT?

• A client is the software allowing connection to the server

• Client is responsible for processing business logic (eg does this customer have good credit) and presenting data to the user.

• Client could be either on the same computer as the server or on a different computer

• There are two ways to connect client programs to a server: ODBC and OLE-DB

Page 14: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

Connectivity - ODBC

ODBC (Open DataBase Connectivity)

• An older technology

• Needs an ODBC driver from control panel

• The client’s machine has to be Windows O/S

• Programs and Web pages can use this setting

Page 15: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

Connectivity – OLE-DB

OLE-DB

• Newer technology

• The process involves connecting to the server through program strings

• Normally used in Visual Basic or ASP in Internet Servers

• A client side setting is required that is defined by vendors

Page 16: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

CLIENT-SERVER COMMUNICATIONS

Client Application

Database APIOLEDB, ODBC

Client Net-Library

Server Net-Library

Open Data Service

Relational Engine

Storage Engine

SQL SERVERQuery Result set

Query Result set

Page 17: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

DBA ROLES

Maintenance DBA

• Manages, support and can recover database

The Database Developer

• Programming background and performs lots of SQL statement

Data Architect

• Looking at company’s processes, defining what data is to be stored and how it’ll be accessed.

Page 18: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

Duties of a DBA

• Select the right hardware to run SQL Server 2000

• Select and install proper version

• Create new database

• Create and manage users

• Create a maintenance plan for each database

Page 19: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

Duties of a DBA(ctd)

• Troubleshoot

• Back up and recover Database

• Transfer Database

• Export and Import Data

• Secure the system and databases

• Monitor the system and optimize performance

Page 20: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

SQL 2000 VERSIONS

• CE

• MSDE

• PERSONAL

• STANDARD

• ENTERPRISE

Page 21: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

SQL 2000 VERSION: CE

• Smallest version

• Great utility for mobile users

• Best suited for distributed applications

• Supports remote data access

• Supports merge applications

• Used to track projects in the field and synchronize with primary server

Page 22: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

SQL 2000 VERSION: MSDE

Microsoft Desktop Engine:

• Identical to standard edition but not as robust

• Lacks management tools and some of the extended features

• Manageable remotely

• Could be upgraded to full version of SQL2000 Server with bundle software.

• Not limited to number of concurrent users but still more than five connection should not be established

• Uses “Write ahead” log

Page 23: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

SQL 2000 VERSION: Personal

• Intended for single use application and development

• Same features with standard edition but with limited depth

• No clustering, Network Libraries, Full text indexing and encryption.

• Can be installed on several O/S: Windows 98 and up, Windows NT Workstation, Windows 2000 Professional

• Doesn’t support more than two processors

• When installed on 9X and ME it doesn’t support OLAP.

• Suitable for developer to test application

Page 24: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

SQL 2000 VERSION: Standard

• Can handle small to mid range server

• Has all features for SQL Server 2000 –Database Engine, Management tools, Web Wizards and Interfaces, XML Support, Replication, Import and Export, OLAP

• Does not have index view (Materialized view) and Web enabled analysis

• O/S has to be Windows NT 4 or Windows 2000 Server family.

Page 25: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

SQL 2000 VERSION: Enterprise

• The “Big Workhorse” of the bunch

• Needs more hardware but provides faster response

• Operating system has to be NT 4 Server Enterprise (SP 5+), W2K Advanced Server or Data Center

• Can scale up to 64 GB RAM and 32 Processors

• Allows four-node fail over cluster

• Provides better analysis services

• Supports Index views

• Supports distributed partition view

Page 26: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

SQL 2000 LICENSING

• Licensing is an agreement with the software vendor to access the software

• Check with Microsoft for recent updates on Licensing

• There are two types of licensing SQL Server supports

• Per processor

• Server/ per seat (CAL)

Page 27: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

LICENSING: Per Processor

• Pay for a processor license for each processor on the server running the SQL Server software.

• A per processor license allows an unlimited number of users to connect from either inside or outside corporate network

Page 28: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

LICENSING: Per Seat (CAL)

• Requires a separate Server License for each server on which the software is installed and a CAL for each client device

• This option is good for SQL 2000 Standard or Enterprise version

Page 29: AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.

SQL SERVER HELP

Books Online (BOL) provides extensive help on SQL Server 2000