Esri UC 2014 | Technical Workshop | Administering Your Microsoft SQL Server Geodatabase Shannon Shields Chet Dobbins.

Slides:



Advertisements
Similar presentations
Publishing GIS Services to ArcGIS for Server
Advertisements

Logins, Roles and Credentials Lesson 14. Skills Matrix.
Esri UC 2014 | Technical Workshop | Automating Cache Workflows and Tile Usage Heat Maps Eric J. Rodenberg.
Esri UC 2014 | Technical Workshop | Audience Participation URL: goo.gl/tN4Vzq Open in device browser… CAD: The ArcGIS for AutoCAD Plug-in.
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.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 1: Introduction to Windows Server 2003.
Hands-On Microsoft Windows Server 2003 Administration Chapter 3 Administering Active Directory.
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 4 Profiles, Password Policies, Privileges, and Roles.
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.
Mike Fal - SQL SERVER SECURITY GRANTING, CONTROLLING, AND AUDITING DATABASE ACCESS March 17, 2011.
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.
Esri International User Conference | San Diego, CA Technical Workshops | Managing and Editing Annotation Natalie Vines Samantha Keehan July 14, 2011.
Esri UC 2014 | Technical Workshop | Data Alignment and Management in ArcMap Lisa Stanners, Sean Jones.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Editing in ArcMap:
ArcGIS Workflow Manager An Introduction
Gary MacDougall Premjit Singh Managing your Distributed Data.
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 3 Administration of Users.
Esri UC 2014 | Technical Workshop | Accessing Spatial Databases in ArcGIS using Query Layers Annie Sasidar.
Troubleshooting SQL Server Enterprise Geodatabase Performance Issues
Introduction to SQL Server 2000 Security Dave Watts CTO, Fig Leaf Software
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.
Administering Your Oracle Geodatabase
Module 7: Fundamentals of Administering Windows Server 2008.
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 4 Profiles, Password Policies, Privileges, and Roles.
Course Topics Administering SQL Server 2012 Jump Start 01 | Install and Configure SQL Server04 | Manage Data 02 | Maintain Instances and Databases05 |
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.
Active Directory Administration Lesson 5. Skills Matrix Technology SkillObjective DomainObjective # Creating Users, Computers, and Groups Automate creation.
Module 4: Managing Security. Overview Implementing an Authentication Mode Assigning Login Accounts to Users and Roles Assigning Permissions to Users and.
Converting workflows from ArcSDE Command line in ArcGIS 10.3.x
Administering Your PostgreSQL Geodatabase
Technical Workshops | Esri International User Conference San Diego, California Creating Geoprocessing Services Kevin Hibma, Scott Murray July 25, 2012.
ArcGIS Server for Administrators
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
Esri UC 2014 | Technical Workshop | Designing and Using Cached Map Services Tom Brenneman & Eric Rodenberg.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Geodatabase Administration:
Esri UC 2014 | Technical Workshop | Editing Versioned Geodatabases : An Introduction Cheryl Cleghorn and Shawn Thorne.
ESRI User Conference 2004 ArcSDE. Some Nuggets Setup Performance Distribution Geodatabase History.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Automating Geodatabase.
Permissions Lesson 13. Skills Matrix Security Modes Maintaining data integrity involves creating users, controlling their access and limiting their ability.
Esri UC 2014 | Technical Workshop | Creating Geoprocessing Services Kevin Hibma.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Migrating Parcel data.
Esri UC 2014 | Technical Workshop | Managing and Editing Annotation Wendy Harrison.
Backing Up and Restoring Databases by Using the SQL Server 2000.
SQL Server 2005 Implementation and Maintenance Chapter 6: Security and SQL Server 2005.
Publishing GIS Services to ArcGIS Server
Esri UC 2014 | Technical Workshop | Editing in ArcMap: An Introduction Lisa Stanners, Phil Sanchez.
Introduction to SQL Server for Windows Administrators Presented to WiNSUG 02/05/09 Bret Stateham Owner, Net Connex Blogs.netconnex.com.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Working with Cartographic.
WELCOME! SQL Server Security. Scott Gleason This is my 9 th Jacksonville SQL Saturday Over ten years DBA experience Director of Database Operations
Administering Your Microsoft SQL Server Geodatabase
Administrating a Database
Effective T-SQL Solutions
Chapter 5 : Designing Windows Server-Level Security Processes
Introduction to SQL Server 2000 Security
Limiting SQL Server Exposure
Geospatial Database Create Geodatabase Practical Session
Geodatabase Administration Toolset
Limiting SQL Server Exposure
Implementing Database Roles in the Enterprise Geodatababse
Types of Geodatabases: Which One Is Right for Me?
Types of Geodatabases: Which One Is Right for Me?
Administrating a Database
Geodatabase Best Practices
Presentation transcript:

Esri UC 2014 | Technical Workshop | Administering Your Microsoft SQL Server Geodatabase Shannon Shields Chet Dobbins

Esri UC 2014 | Technical Workshop | News since the last UC How do I … - Configure SQL Server to support geodatabases? - Create geodatabases? - Control access to my data? - Choose a spatial data storage option? - Make sure that my data is safe? - Maintain good performance? Agenda Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | News ArcGIS and Microsoft changes since last year

Esri UC 2014 | Technical Workshop | Coming at 10.3 Support for SQL 2014 AlwaysOn connection parameters New Geodatabase Administration Geoprocessing Tools Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | 10.1 users SQL Server SQL Server 2012 Support Patch SQL Server 2012 Support Patch User names containing dot (.) or hyphen (-) - SQL Server User Names With Special Characters Patch SQL Server User Names With Special Characters Patch Both patches require SP1 Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | How do I…? Common questions when working with SQL Server databases and geodatabases

Esri UC 2014 | Technical Workshop | How do I… configure SQL Server to support geodatabases?

Esri UC 2014 | Technical Workshop | How do I configure SQL Server to support geodatabases? Install a supported version of SQL Server Microsoft SQL Server database requirements for ArcGIS 10.2 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 Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | What is the SQL Server Native Client? Microsoft stand-alone DLL Required for connections to SQL Server Install on every single client Must be same or newer version than SQL Server Microsoft ODBC Driver 11 for SQL Server - Support coming at 10.3 Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | Chet Dobbins SQL Server Native Client Demo Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | How do I… create geodatabases?

Esri UC 2014 | Technical Workshop | 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 Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | Creating a geodatabase Demo Chet Dobbins Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | 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 Administering Your Microsoft SQL Server Geodatabase

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

Esri UC 2014 | Technical Workshop | 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 Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | Access to SQL Server objects are managed with permissions granted to logins, users and roles Administering Your Microsoft SQL Server Geodatabase How do I… control access to my data?

Esri UC 2014 | Technical Workshop | SQL Server Principals Logins = Authentication - 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? Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | Logins Users SQL Server Instance Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | 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 Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | Limit Permissions for Most Users Data Owners Data Editors Data Readers Admin Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | 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 Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | Demo Managing permissions Chet Dobbins Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | Permissions needed to read, edit or create data * Needed to create versioned or archived views ** Including feature, SDEGEOMETRY, versioning and archiving support tables, if present TaskRequired permissions CreatorCREATE TABLE, CREATE PROCEDURE and CREATE VIEW* EditorSELECT, INSERT, UPDATE and DELETE on objects** plus EXECUTE on stored procedures used to generate sequential values ReaderSELECT on tables** Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | Permissions needed to manage users TaskRequired permissions Create geodatabase userMembership in sysadmin fixed server role Create database roleCREATE ROLE Compress geodatabaseSDE-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 connectionsMembership in the processadmin fixed server role, and granted VIEW DEFINITION database permission View all geodatabase usersVIEW DEFINITION database permission Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | Permissions needed to manage databases TaskRequired permissions Create enterprise geodatabase Membership in sysadmin fixed server role Upgrade geodatabaseDBO user in database OR Member of DB_OWNERS fixed database role User privileges for geodatabases in SQL Server Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | 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 Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | 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 Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | 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 Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | How do I… choose a spatial data storage option?

Esri UC 2014 | Technical Workshop | Three spatial data storage options Esri SDEBINARY Esri type, original type used with SQL Server Microsoft Geometry Planar spatial type, >= SQL Server 2008 Microsoft Geography Geodetic spatial type, >= SQL Server 2008 Access using T-SQL Similar characteristics Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | Demo Spatial data storage Chet Dobbins Geometry Geography SDEBINARY Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | Planar measurement Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | Spherical measurement Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | Points to remember Three storage types are available: SDEBINARY, Geometry and Geography In Geography, calculations are done using Great Ellipse line interpolation, while the others use Cartesian SQL Server manages spatial indexes on Geometry and Geography Microsoft spatial data types provide SQL access to spatial data Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | How do I… make sure my data is safe?

Esri UC 2014 | Technical Workshop | BACKUP YOUR DATA NOW Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | 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 Administering Your Microsoft SQL Server Geodatabase

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

Esri UC 2014 | Technical Workshop | How do I… maintain good performance?

Esri UC 2014 | Technical Workshop | How do I maintain good performance? Standard maintenance - Reconcile/Post/Compress - Rebuild Indexes - Calculate Statistics Layer scale dependencies Spatial Index - Is it being used? - Manual-grid vs autogrid Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | Demo Spatial Indexes Chet Dobbins Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | Thank you… Please fill out the session evaluation Wednesday July 16: Offering ID 1280 Thursday July 17: Offering ID 1376 Online – Paper – pick up and put in drop box Administering Your Microsoft SQL Server Geodatabase

Esri UC 2014 | Technical Workshop | Administering Your Microsoft SQL Server Geodatabase