Exercise 1: Add a database server to the Catalog tree and create a geodatabase
This topic applies to ArcEditor and ArcInfo only.
Once you have all of the software and tutorial data installed, connect to the database server and create a geodatabase.
You connect to and administer database servers from the Catalog tree. Therefore, open ArcMap and open a Catalog window.
Starting ArcMap and opening the Catalog window
- Start ArcMap by clicking Start > All Programs > ArcGIS > ArcMap 10.
- Click Blank Map under New Maps on the ArcMap - Getting Started dialog box and click OK.
- Click the Catalog Window button on the Standard toolbar.
The Catalog window opens.
Adding a database server
One of the folders in the Catalog tree is called Database Servers. This is where you add a connection to the database server.
- Expand the Database Servers node in the Catalog tree.
- Double-click Add Database Server.
On the Add Database Server dialog box, provide the name of the ArcSDE database server. This is in the form <server_name>\<instance_name>, where the server name is the name of the server on which SQL Server Express is installed and the instance name is the name of the SQL Server Express instance.
For example, if a database server is named SOPHIE\SQLEXPRESS, SOPHIE is the server name and SQLEXPRESS is the instance name.
If you are unsure of the name to use, contact the administrator of the database server for this information.
- Click OK.
A new database server connection appears under the Database Servers node of the Catalog tree.
Creating a geodatabase
The database server administrator creates the geodatabases on the database server. Since you are the database server administrator, you will create a geodatabase. Name the geodatabase Osokopf.
- In the Catalog tree, right-click the database server on which you want to create a new geodatabase.
- Click New Geodatabase.
Type Osokopf in the Geodatabase name text box.
The name must begin with a letter, cannot contain spaces or special characters (such as #, @, or *), and have a maximum length of 31 characters when combined with your server name.
- If you want to change the database file location, specify the new location in the Geodatabase file text box by clicking the ellipsis button (...) and browsing to the location.
You can specify the initial size of the geodatabase in megabytes (MB) or gigabytes (GB). For this geodatabase, change the initial size by typing 30 in the Initial Size text box and choosing MB from the Units drop-down menu.
When determining the initial size of the database, you should take into account the size of the data you plan to load into it and the amount of editing you anticipate doing. If you make the initial size too small, the database will grow to accommodate the data. However, increasing the database file size uses extra resources, which could slow down database performance. If you make it too large, you needlessly use up storage space on your computer. Since you will only be loading a small amount of data and doing a few edits for this tutorial, 30 MB will suffice.
- Click OK.
A progress bar is displayed while the database file and geodatabase schema are created. When complete, the new geodatabase appears in the Catalog tree.
If you get an error message indicating the server library could not be loaded, you need to confirm that the correct SQL Server instance was enabled to store geodatabases when the SQL Server Express instance was set up.
You logged in to the computer where ArcGIS Desktop is installed using a login that is a server administrator in the database server. In the Catalog window in ArcMap, you added a connection to the database server and created a geodatabase on the database server. You will load data into this geodatabase in the next exercise, Exercise 2: Load data into a geodatabase and update statistics.