Administering Your Microsoft SQL Server Geodatabase

Slides:



Advertisements
Similar presentations
ITEC474 INTRODUCTION.
Advertisements

Copyright ®xSpring Pte Ltd, All rights reserved Versions AuthorDateDescription 1.0NBL2012/05First version. Modified from Enterprise edition.
Chapter 9 Chapter 9: Managing Groups, Folders, Files, and Object Security.
Fundamentals, Design, and Implementation, 9/e Chapter 11 Managing Databases with SQL Server 2000.
Keith Burns Microsoft UK Mission Critical Database.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 1: Introduction to Windows Server 2003.
Backup The flip side of recovery. Types of Failures Transaction failure –Transaction must be aborted System failure –Hardware or software problem resulting.
Hands-On Microsoft Windows Server 2003 Administration Chapter 3 Administering Active Directory.
70-270, MCSE/MCSA Guide to Installing and Managing Microsoft Windows XP Professional and Windows Server 2003 Chapter Nine Managing File System Access.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 10: Server Administration.
Chapter 10 Overview  Implement Microsoft Windows Authentication Mode and Mixed Mode  Assign login accounts to database user accounts and roles  Assign.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Administering Your.
Maintaining Windows Server 2008 File Services
Esri International User Conference | San Diego, CA Technical Workshops | Intro to ArcSDE for SQL Server Tony Wakim & Jim Gough July , 2011.
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 3 Administration of Users.
Module 1: Introduction to Microsoft SQL Server 7.0.
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 3 Administration of Users.
Introduction to SQL Server 2000 Security Dave Watts CTO, Fig Leaf Software
1 Group Account Administration Introduction to Groups Planning a Group Strategy Creating Groups Understanding Default Groups Groups for Administrators.
Troubleshooting Replication and Geodata Services
Today’s Objectives Chapters 10 and 11 Security in SQL Server –Manage server logins and database users. –Manage server-level, database-level, and application.
Chapter 7: WORKING WITH GROUPS
Sofia, Bulgaria | 9-10 October SQL Server 2005 High Availability for developers Vladimir Tchalkov Crossroad Ltd. Vladimir Tchalkov Crossroad Ltd.
Maintaining a Mirrored Database Tips and Tricks by Paul G. Hiles.
Module 7: Fundamentals of Administering Windows Server 2008.
Security David Frommer Principal Architect Business Intelligence Microsoft Partner of the Year 2005 & 2007.
MICROSOFT SQL SERVER 2005 SECURITY  Special Purpose Logins and Users  SQL Server 2005 Authentication Modes  Permissions  Roles  Managing Server Logins.
The protection of the DB against intentional or unintentional threats using computer-based or non- computer-based controls. Database Security – Part 2.
Module 1: Exploring Replication. Overview Understanding SQL Server Replication Setting Up Replication Understanding Agents in Replication Securing Replication.
1 Chapter Overview Introducing Replication Planning for Replication Implementing Replication Monitoring and Administering Replication.
Module 13 Implementing Business Continuity. Module Overview Protecting and Recovering Content Working with Backup and Restore for Disaster Recovery Implementing.
Administering Your PostgreSQL Geodatabase
ArcGIS Server for Administrators
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Geodatabase Administration:
ESRI User Conference 2004 ArcSDE. Some Nuggets Setup Performance Distribution Geodatabase History.
Permissions Lesson 13. Skills Matrix Security Modes Maintaining data integrity involves creating users, controlling their access and limiting their ability.
Module 6: Data Protection. Overview What does Data Protection include? Protecting data from unauthorized users and authorized users who are trying to.
Esri UC 2014 | Technical Workshop | Administering Your Microsoft SQL Server Geodatabase Shannon Shields Chet Dobbins.
Backing Up and Restoring Databases by Using the SQL Server 2000.
SQL Server 2005 Implementation and Maintenance Chapter 6: Security and SQL Server 2005.
Module 6: Administering Reporting Services. Overview Server Administration Performance and Reliability Monitoring Database Administration Security Administration.
Introduction to SQL Server for Windows Administrators Presented to WiNSUG 02/05/09 Bret Stateham Owner, Net Connex Blogs.netconnex.com.
WELCOME! SQL Server Security. Scott Gleason This is my 9 th Jacksonville SQL Saturday Over ten years DBA experience Director of Database Operations
Sharing Maps and Layers to Portal for ArcGIS Melanie Summers, Tom Shippee, Ty Fitzpatrick.
Microsoft Dynamics NAV Microsoft Dynamics NAV managed service for partners, under the hood Dmitry Chadayev Corporate Vice President, Microsoft.
Secured Services Best Practices on ArcGIS for Server Patrick Jackson & Thomas Noble.
ArcGIS for Server Security: Advanced
Administrating a Database
Accessing Spatial Databases in ArcGIS using Query Layers
Effective T-SQL Solutions
Maintaining Windows Server 2008 File Services
Working with Feature Layers
Get to know SQL Manager SQL Server administration done right 
Chapter 5 : Designing Windows Server-Level Security Processes
A Technical Overview of Microsoft® SQL Server™ 2005 High Availability Beta 2 Matthew Stephen IT Pro Evangelist (SQL Server)
ArcGIS for Server: What’s New
Introduction to SQL Server 2000 Security
Introduction of Week 6 Assignment Discussion
Geospatial Database Create Geodatabase Practical Session
Geodatabase Administration Toolset
Administering Your Network
Implementing Database Roles in the Enterprise Geodatababse
BACHELOR’S THESIS DEFENSE
BACHELOR’S THESIS DEFENSE
Chapter 9: Managing Groups, Folders, Files, and Object Security
Chapter 11 Managing Databases with SQL Server 2000
Administrating a Database
06 | SQL Server and the Cloud
Geodatabase Best Practices
Presentation transcript:

Administering Your Microsoft SQL Server Geodatabase Chet Dobbins Ron Lazar Shannon Shields

Online Content and Services Intended Audience Desktop Web Device Portal Server SQL Server Desktop Web Device Server Online Content and Services Portal You are….. A geodatabase administrator An accidental DBA A deliberate DBA Not sure what DBA means And you… Store your data in a SQL Server database Are thinking about using SQL Server This is your session! Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

Agenda News since the last UC How do I … Configure SQL Server to support geodatabases? Create geodatabases? Control access to my data? Make sure that my data is safe? Maintain good performance? Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

ArcGIS and Microsoft changes since last year News ArcGIS and Microsoft changes since last year

What’s new at 10.4.x Support for SQL 2016 ODBC Driver 13 supported at 10.4.1 Transaction model changes Read-committed Snapshot Snapshot Isolation KB Article 000013039 Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

Supported versions 10.3.x last release to support 2008 & 2008 R2 10.4.x releases support SQL Server 2016 ODBC 13 driver – supported with 10.4.1 only 10.4 use ODBC 11 driver Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

How do I…? Common questions when working with SQL Server databases and geodatabases

How do I… configure SQL Server to support geodatabases?

How do I configure SQL Server to support geodatabases? Install a supported version of SQL Server Microsoft SQL Server database requirements for ArcGIS Must use a Case-Insensitive (CI) collation Can use Windows or Mixed-mode authentication SQL Server Browser not required Must provide static TCP port on connection Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

Connecting to SQL Server from ArcGIS Requires a Microsoft stand-alone DLL Microsoft ODBC Driver 13 for SQL Server – ArcGIS 10.4.1 Microsoft ODBC Driver 11 for SQL Server – ArcGIS 10.3.x and 10.4 SQL Server Native Client – ArcGIS 10.2.x and earlier SQL Server 2012 is last release to ship the Native Client Install on every single client Must be same or newer version than SQL Server Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

Connecting to SQL Server Ron Lazar Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

How do I… create geodatabases?

Databases and Geodatabases A database is a SQL Server object There can be many per SQL Server instance A geodatabase is an ArcGIS construct hosted in a database One allowed in each database Options for creating geodatabases Use a GP tool to create a new geodatabase from scratch Use a GP tool to create a new geodatabase in an existing database Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

Creating a geodatabase Ron Lazar Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

Choosing a geodatabase schema DBO Owned by the DBO built-in user Multiple logins can be DBO Easier to use Windows authentication for administrator SDE Owned by a database user (SDE) SDE user needs fewer permissions than DBO No geodatabase users need to be DBO Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

Special cases Use Enable Geodatabase command when DBO is database owner, not sysadmin SDE user, no sysadmin Windows-authenticated SDE user Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

Points to remember Use GP Tools to create geodatabases Default size of 500MB data file & 125MB logfile More control over storage? Use SQL Server tools to create database first Enable geodatabase tool Create a geodatabase in an existing database, without sysadmin privileges Do not rename a database that contains a geodatabase Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

Upgrading a geodatabase Permissions Requires DBO, SysAdmin or db_owner Order of operations when upgrading both geodatabase and SQL Server One at a time SQL Server needs to be at supported release for upgraded version Applies to geodatabase AND connecting clients Upgrading SQL Server Does not upgrade compatibility level of your database Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

How do I… control access to my data? Access to SQL Server objects are managed with permissions granted to logins, users and roles

SQL Server Principals Logins = Authentication Users = Authorization Who is connecting? Users = Authorization What can this person do in the database? Schemas = Containers What are logical groups of database objects that should be managed as a whole? Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

SQL Server Instance Logins Users Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

User-schema relationship For users that create data, ArcGIS requires that user name = default schema name Not a SQL Server rule Users that are DBO all create data in the DBO schema Data readers & editors do not need a same-named schema Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

Limit Permissions for Most Users Data Owners Data Editors Data Readers Admin Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

Who is DBO? Sysadmin fixed-server role members are DBO in every database Database owner Is DBO in single database Db_owner role members are NOT DBO Have DBO-like permissions Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

Managing permissions Chet Dobbins Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

Permissions needed to read, edit or create data Task Required permissions Creator CREATE TABLE, CREATE PROCEDURE and CREATE VIEW* Editor SELECT, INSERT, UPDATE and DELETE on objects** plus EXECUTE on stored procedures used to generate sequential values Reader SELECT on tables** * Needed to create versioned or archived views ** Including feature, SDEGEOMETRY, versioning and archiving support tables, if present Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

Permissions needed to manage users Task Required permissions Create geodatabase user Membership in sysadmin fixed server role Create database role CREATE ROLE Compress geodatabase SDE-schema: SDE user, DBO user or member of DB_OWNERS database role DBO-schema: DBO user or member of DB_OWNERS database role Kill geodatabase connections Membership in the processadmin fixed server role, and granted VIEW DEFINITION database permission View all geodatabase users VIEW DEFINITION database permission Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

Permissions needed to manage databases Task Required permissions Create enterprise geodatabase Membership in sysadmin fixed server role Upgrade geodatabase DBO user in database OR Member of DB_OWNERS fixed database role User privileges for geodatabases in SQL Server Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

Password Policies SQL Server uses Windows password policy Password expiration rules Complexity rules for strong passwords Can be disabled Security policy is set on the domain or local OS Policies may vary from site to site Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

User-schema with Windows groups A Windows group can be added as a login Associate the login with a database user Do not create a matching schema For logins that create data, SQL Server automatically creates matching user and schema Recommendation: Data should be created through explicit Windows or SQL Server login Use group logins for data readers or data editors Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

Points to remember Creating a user does not give access to data in the database It must be granted by the data owner ArcGIS tools manage permissions on all parts of a feature class Creating a user with the Create User tool will grant permissions sufficient for creating data Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

How do I… make sure my data is safe?

(and practice restoring it) BACKUP YOUR DATA NOW!!! (and practice restoring it) Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

How do I make sure that my data is safe? Backups allow you to recover from: Media failures User errors Hardware failures Natural disasters Also, backups can be used for: Copying or moving data between servers Setting up database mirroring or AlwaysOn Use BACKUP command or Backup task in Management Studio Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

Points to remember Backups are the only way to reliably protect your data Decide how much time you can afford to lose when disaster strikes and data must be restored Create a restore plan that will achieve that goal Create a backup plan that supports your restore plan Implement your plan Test your recovery plan regularly by using real backup media to restore to a system capable of being used in production Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

How do I… maintain good performance?

How do I maintain good performance? Standard maintenance Reconcile/Post/Compress Rebuild Indexes Update Statistics Layer scale dependencies Spatial data performance - Spatial Index Is it being used? Is it the right index? Manual grid vs Auto grid Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

Spatial Indexes Chet Dobbins Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

Spatial index performance Use Auto grid indexes Default spatial index type for ArcGIS 10.3.x and higher Points – test using Manual grid with High on all 4 levels Extents Make your spatial index extent is >= feature class extent Keep SQL Server current Apply Service Packs & Cumulative Update Patches Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase

Thank you Questions?

Please take our Survey Find your event in the Esri Events App Your feedback allows us to help maintain high standards and to help presenters Find your event in the Esri Events App Find the session you want to review Scroll down to the bottom of the session Answer survey questions and submit Esri UC 2016 - Administering Your Microsoft SQL Server Geodatabase