<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Geoprocessing - Managing database connections in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/geoprocessing-managing-database-connections/m-p/62780#M2217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Govindarajan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some similar problem. Could you please let me know how are you sending DB connection details as inputs to the GP Service?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Vara Prasad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jan 2017 06:18:28 GMT</pubDate>
    <dc:creator>Vara_PrasadM_S</dc:creator>
    <dc:date>2017-01-04T06:18:28Z</dc:date>
    <item>
      <title>Geoprocessing - Managing database connections</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/geoprocessing-managing-database-connections/m-p/62779#M2216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need expert guidance on effectively managing the connections to&amp;nbsp;an Enterprise Geodatabase residing in Oracle database in 12C. However the lack of support for events - Initialise(), Startup(), Shutdown() - in geoprocessing makes the task of managing connections to geodatabase more difficult.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Description&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I need to setup a Geoprocessing service (Standard scripting) in 10.4.1 ArcGIS Server that needs to connect to a Oracle 12c Ent Spatial database to query multiple featureclasses to generate an Excel report of the assets participating in a water utilities network trace. Every time a trace is executed it identifies close to 1000 features from just one single featureclass. The total&amp;nbsp;number of assets getting selected varies from few hundreds to several thousands ( &amp;lt;30,000).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have written queries that directly query the underlying spatial tables using SQLs that we trigger from Geoprocessing service . Everytime a geoprocessing service runs it is obtaining a fresh connection to the oracle geodatabase and executes the task. Ideally i like to make use of connection pooling and use the same. I like to know whether anyone had used cx_oracle package to enable connection pooling. Would appreciate any directives on how the connection pooling has been enabled .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that ESRI has given a strong guidance for developers to adopt Python toolkit for geoprocessing. &amp;nbsp;Can the init() event in Python toolkit be used for initialising connections to database?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any guidance would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Govindarajan&lt;/P&gt;&lt;P&gt;GIS Consultant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 07:32:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/geoprocessing-managing-database-connections/m-p/62779#M2216</guid>
      <dc:creator>Govindarajan</dc:creator>
      <dc:date>2016-12-14T07:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessing - Managing database connections</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/geoprocessing-managing-database-connections/m-p/62780#M2217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Govindarajan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some similar problem. Could you please let me know how are you sending DB connection details as inputs to the GP Service?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Vara Prasad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 06:18:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/geoprocessing-managing-database-connections/m-p/62780#M2217</guid>
      <dc:creator>Vara_PrasadM_S</dc:creator>
      <dc:date>2017-01-04T06:18:28Z</dc:date>
    </item>
  </channel>
</rss>

