{"id":161851,"date":"2008-09-05T20:13:12","date_gmt":"2008-09-06T03:13:12","guid":{"rendered":"http:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=161851"},"modified":"2018-12-18T11:42:25","modified_gmt":"2018-12-18T19:42:25","slug":"why-should-i-be-making-direct-connections-to-an-arcsde-geodatabase","status":"publish","type":"blog","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-desktop\/data-management\/why-should-i-be-making-direct-connections-to-an-arcsde-geodatabase","title":{"rendered":"Why should I be making direct connections to an ArcSDE geodatabase?"},"author":3971,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"_searchwp_excluded":""},"categories":[23851],"tags":[166922,25371,25381],"industry":[],"product":[36991],"class_list":["post-161851","blog","type-blog","status-publish","format-standard","hentry","category-data-management","tag-direct-connect","tag-geodata","tag-geodatabase","product-arcgis-desktop"],"acf":{"short_description":" What are the benefits of using a direct connection to a geodatabase?","flexible_content":[{"acf_fc_layout":"content","content":"<p>As I was at the UC this year talking with geodatabase users, it became clear to me that there are still a large number of geodatabase users out there who are connecting to an ArcSDE geodatabase through an application server connection. While both connection types are valid, in many cases it makes much more sense to use direct connect over application server connections. I feel many users might not know the benefits of using a direct connection to a geodatabase so this blog post will attempt clear this up, but first, a little background information\u2026<\/p>\n<p>There are two different ways that ArcGIS can connect to an ArcSDE geodatabase: through an application server connection or through a direct connection. The real difference between the two connection types is where (what machine) the work is being done.<\/p>\n<p>The application server connection type uses a gsrvr process which executes SQL and performs spatial processing, where as with direct connect, this gsrvr process is embedded in the client application that is making the connection.<\/p>\n<p>What this means is that if you make a direct connection to a geodatabase through ArcMap or ArcCatalog, the machine making the connection will connect and do all the spatial processing associated with working with the data in the geodatabase. With an application server connection (sometimes referred to as an ArcSDE service connection), all the spatial processing will be done on the machine that is running the ArcSDE service.<\/p>\n<p>This is probably best highlighted through a graphic.<\/p>\n<p><a href=\"http:\/\/downloads2.esri.com\/blogs\/images\/dev_2602.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"http:\/\/downloads2.esri.com\/blogs\/images\/dev_2602.jpg\" align=\"middle\" border=\"0\" \/><\/a><\/p>\n<p>As you can see, the type of connection really just dictates where the spatial processing is being done (the gsrvr process in the graphic); in the direct connect case the gsrvr is process is executing on the connecting machine in the application server case the gsrvr is running on the machine in the server tier.<\/p>\n<p>I know what you are saying \u201cOkay, that\u2019s great but which one do I use?\u201d. In today\u2019s world, desktop computers have become very powerful and I can see no reason why this trend won\u2019t continue as hardware becomes less expensive. With this in mind, it makes good sense to distribute the gsrvr processes over all the connecting machines rather than force every connection to use the resources of one machine running an ArcSDE service. As a side note, the machine running the ArcSDE service is typically the DBMS server as well (the machine running the database) and by using direct connect you avoid overloading this machine with many gsrvr processes. Another advantage of direct connect is that it can help reduce network traffic because only the SQL statements and the fetched data is passed over the network.<\/p>\n<p><strong>So, what\u2019s the catch with using direct connect?<\/strong><\/p>\n<p>Since we added the\u00a0<a href=\"http:\/\/blogs.esri.com\/Dev\/blogs\/geodatabase\/archive\/2008\/07\/09\/Direct-connections-to-ArcSDE-geodatabases.aspx\">reverse compatibility<\/a>\u00a0of the direct connect drivers at 9.3 there really isn\u2019t one. Well, to be truthful there is one consideration; you do have to make sure that the appropriate database client software is installed on the machine you are making the connection from. This usually isn\u2019t a big deal, the database client installation is quick and painless and requires little configuration once installed. Even better, if you are connecting to SQL Server, that database client is already part of Windows so no installation is necessary. Similarly, for PostgreSQL, no additional database client installation is required.<\/p>\n<p><strong>How do I do it?<\/strong><\/p>\n<p>The best resource is the\u00a0<a href=\"http:\/\/webhelp.esri.com\/arcgisdesktop\/9.3\/index.cfm?TopicName=Setting_up_clients_for_a_direct_connection\">direct connect client setup overview topic<\/a>\u00a0in our online help.<\/p>\n"}],"authors":[{"ID":3971,"user_firstname":"Brent","user_lastname":"Pierce","nickname":"brentardenpierce","user_nicename":"brentardenpierce","display_name":"Brent Pierce","user_email":"bpierce@esri.com","user_url":"","user_registered":"2018-03-02 00:15:36","user_description":"Brent is a Product Engineering Lead on the ArcGIS Flight team, focused on meeting the needs of the ever expanding mobile GIS community. When he is not nerding out with drones and mobile technology he can usually be found on a pair of skis or a mountain bike depending on the amount of snow on the ground.","user_avatar":"<img alt='' src='https:\/\/secure.gravatar.com\/avatar\/8a80bfd164202461376948d1020034f21d202312f0fba8f7e904a128e29ba421?s=96&#038;d=blank&#038;r=g' srcset='https:\/\/secure.gravatar.com\/avatar\/8a80bfd164202461376948d1020034f21d202312f0fba8f7e904a128e29ba421?s=192&#038;d=blank&#038;r=g 2x' class='avatar avatar-96 photo' height='96' width='96' loading='lazy' decoding='async'\/>"}],"related_articles":"","card_image":false,"wide_image":false},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.9 (Yoast SEO v25.9) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Why should I be making direct connections to an ArcSDE geodatabase?<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-desktop\/data-management\/why-should-i-be-making-direct-connections-to-an-arcsde-geodatabase\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Why should I be making direct connections to an ArcSDE geodatabase?\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-desktop\/data-management\/why-should-i-be-making-direct-connections-to-an-arcsde-geodatabase\" \/>\n<meta property=\"og:site_name\" content=\"ArcGIS Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/esrigis\/\" \/>\n<meta property=\"article:modified_time\" content=\"2018-12-18T19:42:25+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@ESRI\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-desktop\/data-management\/why-should-i-be-making-direct-connections-to-an-arcsde-geodatabase#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-desktop\/data-management\/why-should-i-be-making-direct-connections-to-an-arcsde-geodatabase\"},\"author\":{\"name\":\"Brent Pierce\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/768c204be6aabc306f484e93645aecf5\"},\"headline\":\"Why should I be making direct connections to an ArcSDE geodatabase?\",\"datePublished\":\"2008-09-06T03:13:12+00:00\",\"dateModified\":\"2018-12-18T19:42:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-desktop\/data-management\/why-should-i-be-making-direct-connections-to-an-arcsde-geodatabase\"},\"wordCount\":11,\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"keywords\":[\"direct connect\",\"geodata\",\"geodatabase\"],\"articleSection\":[\"Data Management\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-desktop\/data-management\/why-should-i-be-making-direct-connections-to-an-arcsde-geodatabase\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-desktop\/data-management\/why-should-i-be-making-direct-connections-to-an-arcsde-geodatabase\",\"name\":\"Why should I be making direct connections to an ArcSDE geodatabase?\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\"},\"datePublished\":\"2008-09-06T03:13:12+00:00\",\"dateModified\":\"2018-12-18T19:42:25+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-desktop\/data-management\/why-should-i-be-making-direct-connections-to-an-arcsde-geodatabase#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-desktop\/data-management\/why-should-i-be-making-direct-connections-to-an-arcsde-geodatabase\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-desktop\/data-management\/why-should-i-be-making-direct-connections-to-an-arcsde-geodatabase#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.esri.com\/arcgis-blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Why should I be making direct connections to an ArcSDE geodatabase?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"name\":\"ArcGIS Blog\",\"description\":\"Get insider info from Esri product teams\",\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\",\"name\":\"Esri\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"width\":400,\"height\":400,\"caption\":\"Esri\"},\"image\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/esrigis\/\",\"https:\/\/x.com\/ESRI\",\"https:\/\/www.linkedin.com\/company\/5311\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/768c204be6aabc306f484e93645aecf5\",\"name\":\"Brent Pierce\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8a80bfd164202461376948d1020034f21d202312f0fba8f7e904a128e29ba421?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8a80bfd164202461376948d1020034f21d202312f0fba8f7e904a128e29ba421?s=96&d=blank&r=g\",\"caption\":\"Brent Pierce\"},\"description\":\"Brent is a Product Engineering Lead on the ArcGIS Flight team, focused on meeting the needs of the ever expanding mobile GIS community. When he is not nerding out with drones and mobile technology he can usually be found on a pair of skis or a mountain bike depending on the amount of snow on the ground.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/brent-a-pierce\/\"],\"gender\":\"male\",\"knowsAbout\":[\"Drones\",\"Mobile Applications\"],\"knowsLanguage\":[\"English\"],\"jobTitle\":\"Senior Principal Product Engineer, Product Engineering Lead\",\"worksFor\":\"Esri\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/author\/brentardenpierce\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Why should I be making direct connections to an ArcSDE geodatabase?","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-desktop\/data-management\/why-should-i-be-making-direct-connections-to-an-arcsde-geodatabase","og_locale":"en_US","og_type":"article","og_title":"Why should I be making direct connections to an ArcSDE geodatabase?","og_url":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-desktop\/data-management\/why-should-i-be-making-direct-connections-to-an-arcsde-geodatabase","og_site_name":"ArcGIS Blog","article_publisher":"https:\/\/www.facebook.com\/esrigis\/","article_modified_time":"2018-12-18T19:42:25+00:00","twitter_card":"summary_large_image","twitter_site":"@ESRI","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-desktop\/data-management\/why-should-i-be-making-direct-connections-to-an-arcsde-geodatabase#article","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-desktop\/data-management\/why-should-i-be-making-direct-connections-to-an-arcsde-geodatabase"},"author":{"name":"Brent Pierce","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/768c204be6aabc306f484e93645aecf5"},"headline":"Why should I be making direct connections to an ArcSDE geodatabase?","datePublished":"2008-09-06T03:13:12+00:00","dateModified":"2018-12-18T19:42:25+00:00","mainEntityOfPage":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-desktop\/data-management\/why-should-i-be-making-direct-connections-to-an-arcsde-geodatabase"},"wordCount":11,"publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"keywords":["direct connect","geodata","geodatabase"],"articleSection":["Data Management"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-desktop\/data-management\/why-should-i-be-making-direct-connections-to-an-arcsde-geodatabase","url":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-desktop\/data-management\/why-should-i-be-making-direct-connections-to-an-arcsde-geodatabase","name":"Why should I be making direct connections to an ArcSDE geodatabase?","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#website"},"datePublished":"2008-09-06T03:13:12+00:00","dateModified":"2018-12-18T19:42:25+00:00","breadcrumb":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-desktop\/data-management\/why-should-i-be-making-direct-connections-to-an-arcsde-geodatabase#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-desktop\/data-management\/why-should-i-be-making-direct-connections-to-an-arcsde-geodatabase"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-desktop\/data-management\/why-should-i-be-making-direct-connections-to-an-arcsde-geodatabase#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.esri.com\/arcgis-blog\/"},{"@type":"ListItem","position":2,"name":"Why should I be making direct connections to an ArcSDE geodatabase?"}]},{"@type":"WebSite","@id":"https:\/\/www.esri.com\/arcgis-blog\/#website","url":"https:\/\/www.esri.com\/arcgis-blog\/","name":"ArcGIS Blog","description":"Get insider info from Esri product teams","publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization","name":"Esri","url":"https:\/\/www.esri.com\/arcgis-blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","width":400,"height":400,"caption":"Esri"},"image":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/esrigis\/","https:\/\/x.com\/ESRI","https:\/\/www.linkedin.com\/company\/5311\/"]},{"@type":"Person","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/768c204be6aabc306f484e93645aecf5","name":"Brent Pierce","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/8a80bfd164202461376948d1020034f21d202312f0fba8f7e904a128e29ba421?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8a80bfd164202461376948d1020034f21d202312f0fba8f7e904a128e29ba421?s=96&d=blank&r=g","caption":"Brent Pierce"},"description":"Brent is a Product Engineering Lead on the ArcGIS Flight team, focused on meeting the needs of the ever expanding mobile GIS community. When he is not nerding out with drones and mobile technology he can usually be found on a pair of skis or a mountain bike depending on the amount of snow on the ground.","sameAs":["https:\/\/www.linkedin.com\/in\/brent-a-pierce\/"],"gender":"male","knowsAbout":["Drones","Mobile Applications"],"knowsLanguage":["English"],"jobTitle":"Senior Principal Product Engineer, Product Engineering Lead","worksFor":"Esri","url":"https:\/\/www.esri.com\/arcgis-blog\/author\/brentardenpierce"}]}},"text_date":"September 5, 2008","author_name":"Brent Pierce","author_page":"https:\/\/www.esri.com\/arcgis-blog\/author\/brentardenpierce","custom_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/08\/Newsroom-Keyart-Wide-1920-x-1080.jpg","primary_product":"ArcMap","tag_data":[{"term_id":166922,"name":"direct connect","slug":"direct-connect","term_group":0,"term_taxonomy_id":166922,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw"},{"term_id":25371,"name":"geodata","slug":"geodata","term_group":0,"term_taxonomy_id":25371,"taxonomy":"post_tag","description":"","parent":0,"count":10,"filter":"raw"},{"term_id":25381,"name":"geodatabase","slug":"geodatabase","term_group":0,"term_taxonomy_id":25381,"taxonomy":"post_tag","description":"","parent":0,"count":48,"filter":"raw"}],"category_data":[{"term_id":23851,"name":"Data Management","slug":"data-management","term_group":0,"term_taxonomy_id":23851,"taxonomy":"category","description":"","parent":0,"count":926,"filter":"raw"}],"product_data":[{"term_id":36991,"name":"ArcMap","slug":"arcgis-desktop","term_group":0,"term_taxonomy_id":36991,"taxonomy":"product","description":"","parent":36981,"count":325,"filter":"raw"}],"primary_product_link":"https:\/\/www.esri.com\/arcgis-blog\/?s=#&products=arcgis-desktop","_links":{"self":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/161851","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog"}],"about":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/types\/blog"}],"author":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/users\/3971"}],"replies":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/comments?post=161851"}],"version-history":[{"count":0,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/161851\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/media?parent=161851"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/categories?post=161851"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/tags?post=161851"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/industry?post=161851"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/product?post=161851"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}