Presentation is loading. Please wait.

Presentation is loading. Please wait.

Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Administering Your.

Similar presentations


Presentation on theme: "Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Administering Your."— Presentation transcript:

1 Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Administering Your Microsoft SQL Server Geodatabase Shannon Shields

2 Esri UC2013. Technical Workshop. Presentation Topics 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? Administering Your Microsoft SQL Server Geodatabase

3 Esri UC2013. Technical Workshop. News ArcGIS and Microsoft changes since last year Administering Your Microsoft SQL Server Geodatabase

4 Esri UC2013. Technical Workshop. New at 10.2 Support for Z & M coordinates with Geography SQL Server 2012 only Connections to read-only geodatabases Support for table and index partitioning Administering Your Microsoft SQL Server Geodatabase

5 Esri UC2013. Technical Workshop. 10.1 users SQL Server 2012 - 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

6 Esri UC2013. Technical Workshop. How do I…? Common questions when working with SQL Server databases and geodatabases Administering Your Microsoft SQL Server Geodatabase

7 Esri UC2013. Technical Workshop. How do I configure SQL Server to support geodatabases? Administering Your Microsoft SQL Server Geodatabase

8 Esri UC2013. 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.1 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

9 Esri UC2013. 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 soon Administering Your Microsoft SQL Server Geodatabase

10 Esri UC2013. Technical Workshop. Demo SQL Server Native Client Database Compatibility Level Administering Your Microsoft SQL Server Geodatabase

11 Esri UC2013. Technical Workshop. How do I create geodatabases? Administering Your Microsoft SQL Server Geodatabase

12 Esri UC2013. 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

13 Esri UC2013. Technical Workshop. Demo Creating a geodatabase Administering Your Microsoft SQL Server Geodatabase

14 Esri UC2013. Technical Workshop. Choosing a geodatabase schema Administering Your Microsoft SQL Server Geodatabase DBO - Owned by the DBO built- in user - Multiple logins can be DBO - Easier to use Windows authentication for administrator SDE - Owner is the database user named SDE - SDE user needs fewer permissions than DBO - No geodatabase users need to be DBO

15 Esri UC2013. 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

16 Esri UC2013. 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

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

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

19 Esri UC2013. Technical Workshop.Administering Your Microsoft SQL Server Geodatabase SQL Server Instance Logins Users

20 Esri UC2013. 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

21 Esri UC2013. Technical Workshop. Limit Permissions for Most Users Administering Your Microsoft SQL Server Geodatabase Data Owners Data Editors Data Readers Admin

22 Esri UC2013. Technical Workshop. Who is DBO? Administering Your Microsoft SQL Server Geodatabase 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

23 Esri UC2013. Technical Workshop. Demo Managing Permissions Administering Your Microsoft SQL Server Geodatabase

24 Esri UC2013. Technical Workshop. Permissions needed to read, edit or create data Administering Your Microsoft SQL Server Geodatabase * Needed to create multiversioned views on versioned data ** Including feature, SDEGEOMETRY, versioning and archiving support tables, if present

25 Esri UC2013. Technical Workshop. Permissions needed to manage users Administering Your Microsoft SQL Server Geodatabase

26 Esri UC2013. Technical Workshop. Permissions needed to manage databases Administering Your Microsoft SQL Server Geodatabase User privileges for geodatabases in SQL Server

27 Esri UC2013. 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

28 Esri UC2013. 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

29 Esri UC2013. 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

30 Esri UC2013. Technical Workshop. How do I choose a spatial data storage option? Administering Your Microsoft SQL Server Geodatabase

31 Esri UC2013. Technical Workshop. Three spatial data storage options Administering Your Microsoft SQL Server Geodatabase 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

32 Esri UC2013. Technical Workshop. Demo Spatial data storage Administering Your Microsoft SQL Server Geodatabase

33 Esri UC2013. Technical Workshop. Planar measurement Administering Your Microsoft SQL Server Geodatabase

34 Esri UC2013. Technical Workshop. Spherical measurement

35 Esri UC2013. 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

36 Esri UC2013. Technical Workshop. How do I make sure my data is safe? Administering Your Microsoft SQL Server Geodatabase

37 Esri UC2013. Technical Workshop.Administering Your Microsoft SQL Server Geodatabase BACKUP YOUR DATA NOW

38 Esri UC2013. 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

39 Esri UC2013. 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

40 Esri UC2013. Technical Workshop. How can I maintain good performance? Administering Your Microsoft SQL Server Geodatabase

41 Esri UC2013. Technical Workshop. Demo Performance tuning Administering Your Microsoft SQL Server Geodatabase

42 Esri UC2013. Technical Workshop. Related SQL Server presentations Microsoft SQL Server Special Interest Group - Today from noon until 1pm - Room 28A Working with Microsoft SQL Server Express Geodatabases - Demo Theatre – Geodatabase Management Island in Hall C - 4:00 – 4:30 pm Administering Your Microsoft SQL Server Geodatabase

43 Esri UC2013. Technical Workshop. Please fill out the session evaluation Offering ID: 1197 Online – www.esri.com/ucsessionsurveys Paper – pick up and put in drop box Thank you…


Download ppt "Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Administering Your."

Similar presentations


Ads by Google