Create Enterprise Geodatabase (Data Management Tools)
Summary
Creates a database, storage locations, and a database user to act as the geodatabase administrator and owner of the geodatabase. Functionality varies depending on the database management system used. The tool grants the geodatabase administrator the privileges required to create a geodatabase; it then creates a geodatabase in the database.
Usage
The following table indicates the tool functionality for each type of database management system:
Function
Database
Create a database
PostgreSQL and Microsoft SQL Server
Create a tablespace
Oracle
Create a geodatabase administrator user in the database
Oracle, PostgreSQL, and SQL Server
The tool only creates a user in SQL Server if you create an sde-schema geodatabase.
Grant the geodatabase administrator the privileges required to create a geodatabase, upgrade a geodatabase, and remove database connections
Oracle and PostgreSQL
Grant the geodatabase administrator the privileges required to create a geodatabase and remove database connections
SQL Server (if creating an sde-schema geodatabase)
Grant the geodatabase administrator the privileges required to import data using Oracle Data Pump
Oracle
Create a geodatabase in the specified database
Oracle, PostgreSQL, and SQL Server
You must have ArcGIS Desktop (Standard or Advanced), ArcGIS Pro (Standard or Advanced), or ArcGIS Server installed on the computer where you'll create the geodatabase. If you're using Oracle or SQL Server, you must also install and configure a database management system client on the computer where the ArcGIS client is installed.
Before you can create a geodatabase in Oracle, you must download the
DatabaseSupport.zip(Windows) orDatabaseSupport.tar(Linux) file from My Esri to obtain the st_shapelib (Windows) or libst_shapelib (Linux) library. Place the library on the Oracle server. Be sure to copy the correct library for the operating system where Oracle is installed.You must make a spatial type available to the PostgreSQL database cluster before you create a geodatabase. To use the ST_Geometry type, you must download the
DatabaseSupport.zip(Windows) orDatabaseSupport.tar(Linux) file from My Esri to obtain the st_geometry library. Place the library in the%PostgreSQL%\libdirectory (Windows) or$PKGLIBDIRdirectory (Linux) on the PostgreSQL server. Be sure to copy the correct library for the version of PostgreSQL you're using and the operating system where PostgreSQL is installed. To use a PostGIS spatial type, you must install PostGIS in the PostgreSQL database cluster.This tool is not supported with database services.
Once the geodatabase is created in PostgreSQL or Oracle, you cannot rename the database in which it is stored. The database name is stored in geodatabase system tables and is used to fully qualify table and feature class names; changing the database name using database tools makes the geodatabase data inaccessible.
To generate a license file for an enterprise geodatabases licensed with ArcGIS Enterprise on Kubernetes, use the
exportGeodatabaseLicenseREST operation.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Database Platform |
Specifies the type of database management system to which a connection to create a geodatabase will be made.
|
String |
|
Instance |
The name of the instance. For SQL Server, provide the SQL Server instance name. Case-sensitive or binary collation SQL Server instances are not supported. For Oracle, provide either the TNS name or the Oracle Easy Connection string. For PostgreSQL, provide the name of the server where PostgreSQL is installed. |
String |
|
Database (Optional) |
The name of the database. This parameter is valid for PostgreSQL and SQL Server. You can provide either the name of an existing, preconfigured database or a name for a database that the tool will create. If the tool creates the database in SQL Server, the file sizes will be either the same as defined for the SQL Server model database or 500 MB for the If the tool creates the database in PostgreSQL, it uses the |
String |
|
Operating System Authentication (Optional) |
Specifies the type of authentication that will be used for the database connection.
|
Boolean |
|
Database Administrator (Optional) |
The database administrator user for database authentication. For Oracle, use the |
String |
|
Database Administrator Password (Optional) |
The database administrator password for database authentication. |
Encrypted String |
|
Sde Owned Schema (Optional) |
This parameter is only relevant to SQL Server and specifies whether the geodatabase will be created in the schema of a user named
|
Boolean |
|
Geodatabase Administrator (Optional) |
The name of the geodatabase administrator user. If you are using PostgreSQL, this value must be If you are using Oracle, the value is Note:Creating or upgrading user-schema geodatabases in Oracle is no longer supported. If you are using SQL Server and specified an sde-schema geodatabase, this value must be |
String |
|
Geodatabase Administrator Password (Optional) |
The password for the geodatabase administrator user. If the geodatabase administrator user exists in the database management system, the password you provide must match the existing password. If the geodatabase administrator user does not exist, provide a valid database password for the new user. The password must meet the password policy enforced by the database. The password is an encrypted string. |
Encrypted String |
|
Tablespace Name (Optional) |
The name of the tablespace. This parameter is only valid for Oracle and PostgreSQL database management system types. For Oracle, do one of the following:
This tool does not create a tablespace in PostgreSQL. You must either provide the name of an existing tablespace to be used as the database's default tablespace or leave this parameter blank. If you leave the parameter blank, the tool will create a database in the pg_default tablespace. |
String |
|
Authorization File |
The keycodes file that was created when ArcGIS Server was authorized. If you have not done so, authorize ArcGIS Server to create this file. This file is in the Tip:The You may need to copy the keycodes file from the ArcGIS Server machine to a location that is accessible to the tool. |
File |
|
Spatial Type (Optional) |
Specifies the spatial type that will be used. This is only applicable to PostgreSQL databases.
|
String |
Derived output
| Label | Explanation | Data type |
|---|---|---|
|
Create Enterprise Geodatabase Succeeded |
Specifies whether the enterprise geodatabase was successfully created. |
Boolean |
Environments
This tool does not use any geoprocessing environments.
Licensing information
- Basic: No
- Standard: Yes
- Advanced: Yes