Download presentation
Presentation is loading. Please wait.
1
Who makes a good database administrator
Technical knowledge. Business knowledge and awareness. Organization skills. Ability to prioritize..
2
Concept Technical knowledge:-
Familiar with host operating system configuration, storage devices, and networking. Business knowledge and awareness:- A good DBA typically understands the business context within which the database operates. Organization skills:- DBAs must work with a variety of people in an organization, relying on good communication skills to provide database help. On the technical side, DBAs must communicate with programmers and systems technicians to ensure that applications access a database properly.
3
Concept Ability to prioritize:- A good DBA must prioritize the resolution of issues based on factors such as service level agreements (SLAs) with the business for database services, the number of users and systems affected, and the degree to which the problems are affecting ongoing operations.
4
Daily Tasks of a Database Administrator
Auditing Application Integration Backup and Recovery Business Intelligence/Data Warehousing Capacity Planning Change Management Database Application Development Data Modeling and Database Design 9 . Developing and Maintaining Best Practices 10. Maintaining Servers and Databases 11.Performance Tuning 12.troubleshooting database systems.
5
explanation 1 Auditing :- An emerging task of the DBA is to identify which users are accessing, inserting, updating, or deleting data 2 Application Integration :- DBAs often get involved in figuring out the best way to integrate applications. This may include creating custom applications, Transact-SQL scripts, or SSIS packages. 3 Backup and Recovery :- DBAs are responsible for developing, implementing, and periodically testing a backup and recovery plan for the databases they manage. 4 Business Intelligence/Data Warehousing :- One of the fastest growing areas for the DBA is Business Intelligence (BI) and data warehousing.
6
5 Capacity Planning It is the responsibility of the DBA to watch data growth, and plan how best to deal with it. This may include archiving it, increasing the size of current hardware, or adding new hardware. 6 Change Management It is often the responsibility to the DBA to perform impact analysis before changes are made, implement changes, test changes, and document them. 7 Database Application Development Many DBAs are really application developers who specialize in writing code to directly access SQL Server. While this is most commonly done using Transact-SQL and stored procedures, it can involve writing other code that is used to access SQL Server data
7
8 Data Modeling and Database Design The foundation of all efficient and scalable databases is good database design. DBAs often create database designs by performing needs / requirement analysis, creating a logical mode, and them implementing the physical model. 9 Developing and Maintaining Best Practices The better organized and managed the database operations, the more efficient they will be. Ideally, an organization’s best practices will be documented for all to read and follow. 10 Maintaining Servers and Databases SQL Server, and the databases running on them, need periodic maintenance in order to run efficiently. DBAs are responsible for ensuring all maintenance gets done on a timely basis.
8
11 Performance Tuning It is the job of the DBA to monitor performance and to determine ways to optimize database performance. 12 Troubleshooting database systems Many database administration operations are reactive, in the sense that they involve taking action to troubleshoot and remediate a problem that has been identified.
9
Documenting Database Management Procedures
Configuration settings Standard maintenance procedures and schedules. Disaster recovery procedures. Most DBAs are familiar with the systems they manage, and the tasks that must be performed on a day-to-day basis. However, even the best DBAs do not rely purely on their memory. DBAs commonly compile and maintain. maintaining documentation for the database system is an important part of database administration. A detailed run book can be invaluable when a new DBA must take over responsibility for managing a database, or when an unexpected emergency occurs and the DBA is not present to deal with it.
10
Introduction to the SQL Server Platform
SQL Server Components Database Engine Analysis Services Integration Services Reporting Services Master Data Services Data Quality Services Full-Text Search and etc,
11
Database Engine:- The SQL Server database engine is the heart of the SQL Server platform. The Database Engine is the primary component of SQL Server . Database Engine is a high-performance component responsible The Database Engine component of SQL Server is the core service for storing, processing, and securing data. TheDatabase Engine provides controlled access and rapid transaction processing to meet the requirements of the most demanding data consuming applications in your enterprise. The Database Engine is the primary component of SQL Server It is the Online Transaction Processing (OLTP) engine for SQL Server and has received further enhancements since SQL Server The Database Engine is a high-performance component responsible for the efficient storage, retrieval, and manipulation of relational and Extensible Markup Language (XML) formatted data. SQL Server 2008’s Database Engine is highly optimized for transaction processing, but offers exceptional performance in complex data retrieval operations. The Database Engine is also responsible for the controlled access and modification of data through its security subsystem.
12
Analysis Services 1. delivers Online Analytical Processing (OLAP). 2. and Data Mining functionality for Business Intelligence applications. 3 .Handel large quantities of data. Analysis Services delivers Online Analytical Processing (OLAP) and Data Mining functionality for Business Intelligence applications. The Data Mining component of Analysis Services allows the analysis of large quantities of data. This data can be ‘‘mined’’ for hidden relationships and patterns that may be of interest to an organization’s data analyst. In fact, a well-known story about data mining involves Wal-Mart, Pop-Tarts, and hurricanes. Data mining revealed that prior to a hurricane event, sales of Pop-Tarts, particularly strawberry Pop-Tarts, would surge. In fact, they concluded that sales of strawberry Pop-Tarts before a hurricane were seven times that of normal sales.
13
Integration Services Extract, Transform, and Load (ETL) tool.
A set of graphical tools and programmable objects for moving, copying, and transforming data. A rich environment for moving and transforming data SQL Server Integration Services (SSIS) is Microsoft’s enterprise class data Extract, Transform, and Load (ETL) tool. SSIS was originally introduced in SQL Server 2005 as a significant re-design of SQL Server 2000’s Data Transformation Services (DTS). SSIS offers a much richer feature set and the ability to create much more powerful and flexible data transformations than its predecessor, and this has been further expanded in SQL Server As another component in SQL Server’s BI stack, SSIS provides a rich environment for moving and transforming data from a variety of source and destinations systems. SSIS 2008 includes performance enhancements, new ADO.NET components, and a new script environment that integrates with Visual Studio Tools for Applications (VSTA). Integration Services is a set of graphical tools and programmable objects for moving, copying, and transforming data. It also includes the Data Quality Services (DQS) component for Integration Services.
14
Reporting Services Web Service–based solution for designing, deploying, and managing flexible, dynamic web-based reports, as well as traditional paper reports. Reporting Services is implemented as a Web Service. it does not depend on Internet Information Services (IIS). SQL Server Reporting Services (SSRS) can publish reports to a Virtual Directory hosted by the SQL Server itself Reporting Services is a Web Service–based solution for designing, deploying, and managing flexible, dynamic web-based reports, as well as traditional paper reports. These reports can contain information from virtually any data source. Although Reporting Services is implemented as a Web Service, it does not depend on Internet Information Services (IIS). In fact, in SQL Server 2008, IIS is no longer used to manage SQL Server Reporting Services. SQL Server Reporting Services (SSRS) can publish reports to a Virtual Directory hosted by the SQL Server itself, or to a SharePoint library. More information about SSRS can be found in Chapter 18.
15
Master Data Services SQL Server Master Data Services (MDS) provides tooling and a hub for managing master or reference data. MDS can be configured to manage any domain (products, customers, accounts) and includes hierarchies, granular security, transactions, data versioning, and business rules SQL Server Master Data Services (MDS) provides tooling and a hub for managing master or reference data Master Data Services (MDS) is the SQL Server solution for master data management. MDS can be configured to manage any domain (products, customers, accounts) and includes hierarchies, granular security, transactions, data versioning, and business rules, as well as an Add-in for Excel that can be used to manage data
16
Data Quality Services Full-Text Search
SQL Server Data Quality Services (DQS) is a knowledge-driven data quality tool for data cleansing and matching. Full-Text Search Full-Text Search is a feature of the database engine that provides a sophisticated semantic search facility for text-based data.
17
SQL Server Instances By default instance name is MSSQLSEVER
Two types of SQL Server Default instance Named instance An SQL Server instance is a complete SQL server and you can install manyinstances on a machine but you can have only 1 default instance. An SQL Server instance has its own copy of the server files, databases and security credentials. only a single copy of SQL Server could be installed on a server system. SQL Server was addressed by the name of the Windows server on which it is hosted. To maintain backward compatibility, this mode of connection is still supported and is known as the default instance. In internal configuration tools, a default instance of the database engine is named MSSQLSERVER.
18
SQL Server Editions Enterprise Business Intelligence Standard Express
Compact Developer Web Enterprise :- Enterprise edition Provides the highest levels of reliability for demanding workloads. Enterprise Edition is the best option for SQL Server if you need to use some of the more advanced business intelligence features or if the uptime of your database is very important Business intelligence :- Adds Business Intelligence (BI) to the offerings from Standard Edition. The Business Intelligence (BI) DBA is a new role that has evolved due to the increased capabilities of SQL Server. BI DBAs may have specializations, just like normal SQL DBAs. A Production BI DBA will perform the same functions as the Production DBA: installs, service packs, deployments, high availability, performance tuning, and backups. Standard:- The Standard Edition of SQL Server contains high availability clustering features as well as business intelligence. It is intended for small to medium-sized businesses and departmental solutions. Express:- You can use this edition to store sales or inventory data for your disconnected sales force and replicate updated data to them when they become connected again. SQL Express was called Microsoft Desktop Edition (MSDE) in SQL Server It is extremely lightweight and does not occupy much hard drive space. Vendors are free to distribute SQL Express. Compact:- SQL Compact is a free edition which is intended to be an embedded database for mobile and other compact devices with occasionally connected users. Developer:- The Developer Edition of SQL Server is intended for development and testing of applications using SQL Server. It contains all of the features of the Enterprise Edition. This edition is not licensed for production use. Web:- The Web Editions of SQL Server are low cost options intended for web site owners or web hosting companies. These editions include the scalability and manageability features in SQL Server 2008.
19
SQL Server Versions SQL Server 2000 featured support for multiple instances and collations. It also introduced support for data mining. After the product release, SQL Server Reporting Services (SSRS) was introduced as an add-on enhancement to the product, along with support for 64-bit processors. SQL Server 2005 provided another significant rewrite of many aspects of the product. It introduced The enhancements and additions to the product in SQL Server 2008 R2 included: • Substantial enhancements to SSRS. • The introduction of advanced analytic capabilities with PowerPivot. • Improved multi-server management capabilities were added. The enhancements and additions to the product in SQL Server 2012 included: • Further substantial enhancements to SSRS. • Substantial enhancements to SSIS. • The introduction of tabular data models into SQL Server Analysis Services (SSAS). • The migration of BI projects into Visual Studio 2010.
20
SQL Server Tools SQL Server Management Studio (SSMS).
SQL Server Configuration Manager (SSCM). SQL Profiler. SQL Server Database Engine Tuning Advisor (DTA). SQL Server Import and Export. The sqlcmd utility. SQL Server Management Studio (SSMS) is an integrated environment for managing any SQL infrastructure. Use SSMS to access, configure, manage, administer, and develop all components of SQL Server, Azure SQL Database, and SQL Data Warehouse. SSMS provides a single comprehensive utility that combines a broad group of graphical tools with a number of rich script editors to provide access to SQL Server for developers and database administrators of all skill levels. SQL Server Configuration Manager is a tool to manage the services associated with SQL Server, to configure the network protocols used by SQL Server, and to manage the network connectivity configuration from SQL Server client computers. Microsoft SQL Server Profiler is a graphical user interface to SQL Trace for monitoring an instance of the Database Engine or Analysis Services. You can capture and save data about each event to a file or table to analyze later SQL Server also includes another performance tool called the Database Engine Tuning Advisor or DTA. This tool allows you to have SQL Server analyze one statement or a batch of statements that you captured by running a Profiler or server side trace. Database Engine Tuning Advisor provides two user interfaces: a graphical user interface (GUI) and the dta command prompt utility. SQL Server Import and Export Wizard is a simple way to copy data from a source to a destination. This overview describes the data sources that the wizard can use as sources and destinations, as well as the permissions you need to run the wizard. Sqlutility :-this is a command line tool that you can use to connect to a SQL Server instance and run Transact-SQL statements or scripts
21
SQL Server Management Studio
22
SQL Server Management Studio
Object explorer :- SQL Server Management Studio can show a report for each object selected in Object Explorer. This report, called the Object Explorer Details page. Code editor :- Result window:- mssql server provide a result window Object Explorer. SQL Server Management Studio can show a report for each object selected in Object Explorer. This report, called the Object Explorer Details page. Code editor :-you can enter and run Transact-SQL statements in the code editor pane. Using Transact-SQL code to perform management tasks enables you to save the commands as scripts, which can be re-executed at a later time or scheduled to run automatically. Result window :- Ms sql provides result window ,where I can get the out put of a any query .
23
Sqlcmd Utility Command line tool.
Use transact – SQL statements or scripts Dedicated Administrator Connection (DAC) The sqlcmd utility is a command line tool that you can use to run Transact-SQL statements or scripts in a SQL Server instance. Access to the Dedicated Administrator Connection (DAC) is also provided by the SQLCMD utility.
24
Using Windows PowerShell
Sql server provide Windows PowerShell is a command-line shell and scripting language designed for system administrators. Some use full command Get-Help Get-Process Start-Service. Get-Service Get-Module Import-Module
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.