0% found this document useful (0 votes)
221 views

Databases Integration With ARCGIS

To create an enterprise geodatabase in SQL, Postgres, or Oracle using ArcMap or ArcPro: 1. Install the database software and configure network settings to allow remote connections. 2. Install additional components like SQL Native Client or Oracle Client on other servers connecting to the database. 3. When creating the geodatabase, specify the database instance, credentials, and authorization file. For Oracle, you may need to use a pluggable database instead of the default container database if errors occur.

Uploaded by

Hatem Helmy
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
221 views

Databases Integration With ARCGIS

To create an enterprise geodatabase in SQL, Postgres, or Oracle using ArcMap or ArcPro: 1. Install the database software and configure network settings to allow remote connections. 2. Install additional components like SQL Native Client or Oracle Client on other servers connecting to the database. 3. When creating the geodatabase, specify the database instance, credentials, and authorization file. For Oracle, you may need to use a pluggable database instead of the default container database if errors occur.

Uploaded by

Hatem Helmy
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

How to create enterprise geodatabase in SQL,

postgres, oracle using ARCMAP and ARCPRO


I.SQL
1- Make default installation for SQL
2- To create enterprise geodatabase from ARCMA or ARCPRO you must install sql native client
3- For connecting the geodatabase from anther server different from the database server you
must configure network setting in sql server configuration manager and install the sql native
client in the target server as shown in the below images.

You must enable the tcp/ip protocols in both native client and network configuration

Go to the management studio>>>server properties>>>connection>> and check for allow


remote connection to this server.
4- Creating enterprise geodatabase from ARCMAP

Fill the parameter>> instance: you can insert the ip address for the database server or machine
name>>> dba password: the password created for the sql server in the default installation for sa
user>>> gdba password: create new password for sde that own the gdb scheme>>> authorization file
: the lic file for arcgis server.
II.Postgres

1- Make default installation for postgres


2- To create enterprise geodatabase from ARCMAP or ARCPRO follow the below steps.
Go to the directory: C >> Program Files (x86) >> ArcGIS >>Desktop10.8 >> DatabaseSupport >>
PostgreSQL >> 10 (Select you postgres version installed in your machine) >> Windows64 and
copy the two files (pgsqlengine.dll, st_geometry.dll) then paste to the directory:
C:\Program Files\PostgreSQL\10\lib
3- For connecting the geodatabase from anther server different from the database server follow
the below steps.
- Go to the directory: C:\Program Files\PostgreSQL\10\data >> open (pg_hba.conf) with
notepad and modify the ipv4 address to be 0.0.0.0/0 and save the conf file.
- Open the gpAdmin and select >> properties >> connections and in host insert machine name
or IP address for the database server and save.

4- creating enterprise geodatabase from ARCMAP

Fill the parameters: in the instance you can insert the ip or name of the database machine
III.Oracle

1- Make default installation for the oracle


2- For creating or connecting enterprise geodatabase from arcmap or arcpro that installed in a
server different from the database server you must install the oracle client (32 or 64) in the
target machine.

Select the Administrator installation in the oracle client and accept all the default steps
After the client installation is completed add the oracle path in the environment variables as shown in
the below images:

Go to advanced system settings >> Environment variables

Go to path >> Edit


Create new variable and insert the path of oracle client

Then open the database server and go to directory: C >> App >> database (machine name) >> product
>> 12.1.0 (oracle version installed in the machine) >> dbhome_1 >> NETWORK >> ADMIN >> copy the 3
files (listener, sqlnet, tnsnamed) and paste and replace these files in the oracle client path: C >> app >>
client >> dataset (machine name) >> product >> 12.1.0 (oracle version installed in the machine) >>
client_1 >> network >> admin.
Then try to create enterprise geodatabase from arcmap, if you face the below issue (usually you will face
it) follow the next steps……

Let me tell you the some notes:

- The oracle database consists of two types container database (CDB) and pluggable database (PDB)

Usually the container database is read only database, and the pluggable is read and write database

And by default the instance of container geodatabase is used in arcgis while creating the enterprise
geodatabase thus the previous issue appear.

- Simply you have two solutions:


Solution 1- Creating a new database in oracle that have no the container privilege (acting as
pluggable database):

Open the database configuration assistant


Select create database then go to next step

Type the name of new database and make sure that create as container unchecked
Solution 2- you will open the pluggable database instance and use it instead of the container
database:

- Open sql plus (for oracle client) and type in user name: sys as sysdba and the password: enter the
password for system administrator
- Type $ lsnrctl start
- Type select con_id,dbid,name,open_mode from v$pdbs;
You will see that the pluggable database mounted (Note if there are no pdb found you will need to
apply solution 1)
- The type alter pluggable database pdborcl open;
- Type $ lsnrctl status

Finally now we are ready for creating the enterprise geodatabase

A- Creating geodatabase in solution 1:


Fill the parameter: in the instance: you will type (hostname/service name) obtained from TNS file

B- Creating enterprise geodatabase in solution 2:

Apply the same steps in solution 1 but use the instance for the pluggable database by inserting
(pdb) before the service name (hostname/pdbservicename)

You might also like