<?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: Transfering Data to a Database in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/transfering-data-to-a-database/m-p/1478192#M45189</link>
    <description>&lt;P&gt;Sorry for late reply, I had some other work and could not look into this. While I tried loading and importing data without much success, I noticed a thing. On some attempts, arcgis manages to import one ot two data into database. The objectids of the data in database is like; 1243424325. That long, on one occasion even with negative number like -1234245656.&lt;/P&gt;&lt;P&gt;I tried a couple more import and at last created a new shapefile with no Z or M values,with just id and shape* columns.I copied only vector data to this file and I could not import that file or load the data either. I checked geometry and it gives no problems. I have city centers data, point shapefile. Very simple and I can not import or load data of that either. Arcgis does create table but does not fill it. I get Error 000224 can not insert features while trying to import. And the same error I mentioned in the first post when i try to load data, and maybe a single data with a weird long objectid.&lt;/P&gt;</description>
    <pubDate>Fri, 24 May 2024 07:27:40 GMT</pubDate>
    <dc:creator>Ozan</dc:creator>
    <dc:date>2024-05-24T07:27:40Z</dc:date>
    <item>
      <title>Transfering Data to a Database</title>
      <link>https://community.esri.com/t5/data-management-questions/transfering-data-to-a-database/m-p/1476888#M45174</link>
      <description>&lt;P&gt;Edit: Today I wrote two posts detailing what I tried, to solve the problem and the results (yes, unsuccessful). Both were deleted, no explanation, no reason, just gone. From my point of view, esri does not actually want to help me here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 08:25:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/transfering-data-to-a-database/m-p/1476888#M45174</guid>
      <dc:creator>Ozan</dc:creator>
      <dc:date>2024-05-24T08:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Transfering Data to a Database</title>
      <link>https://community.esri.com/t5/data-management-questions/transfering-data-to-a-database/m-p/1476890#M45175</link>
      <description>&lt;P&gt;I forgot, we are using ArcGIS Desktop 10.7.1&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 13:30:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/transfering-data-to-a-database/m-p/1476890#M45175</guid>
      <dc:creator>Ozan</dc:creator>
      <dc:date>2024-05-22T13:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Transfering Data to a Database</title>
      <link>https://community.esri.com/t5/data-management-questions/transfering-data-to-a-database/m-p/1476904#M45176</link>
      <description>&lt;P&gt;What is the version of the RDBMS and geodatabase?&lt;/P&gt;&lt;P&gt;What are the permissions of the user you are connecting as to load the data?&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 13:41:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/transfering-data-to-a-database/m-p/1476904#M45176</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2024-05-22T13:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Transfering Data to a Database</title>
      <link>https://community.esri.com/t5/data-management-questions/transfering-data-to-a-database/m-p/1476909#M45177</link>
      <description>&lt;P&gt;I was told that it's Geoserver 2.23 using latest Postgresql database.&lt;/P&gt;&lt;P&gt;User is admin on the postgresql server.&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 13:48:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/transfering-data-to-a-database/m-p/1476909#M45177</guid>
      <dc:creator>Ozan</dc:creator>
      <dc:date>2024-05-22T13:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Transfering Data to a Database</title>
      <link>https://community.esri.com/t5/data-management-questions/transfering-data-to-a-database/m-p/1477062#M45181</link>
      <description>&lt;P&gt;I am wondering if the latest version of PostgreSQL is causing an issue with ArcMap 10.7.1. Here are the supported versions for 10.7.1:&amp;nbsp;&lt;A href="https://desktop.arcgis.com/en/system-requirements/10.7/database-requirements-postgresql.htm" target="_blank"&gt;https://desktop.arcgis.com/en/system-requirements/10.7/database-requirements-postgresql.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What is the specific version of PostgreSQL (version + patch level)?&lt;BR /&gt;&lt;BR /&gt;Is the PostgreSQL DB an Enterprise Geodatabase?&lt;BR /&gt;&lt;BR /&gt;Can you test with the latest version of ArcGIS Pro (3.3)?&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 16:14:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/transfering-data-to-a-database/m-p/1477062#M45181</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2024-05-22T16:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Transfering Data to a Database</title>
      <link>https://community.esri.com/t5/data-management-questions/transfering-data-to-a-database/m-p/1477083#M45182</link>
      <description>&lt;P&gt;An insanely large objectid (shapefiles can't store 80M features, much less 867+M) wakes me wonder what your exact procedure is.&lt;/P&gt;&lt;P&gt;Admin rights is not a particularly good feature for a geodatabase connection.&lt;/P&gt;&lt;P&gt;Pro (or ArcMap or ArcCatalog) can create new tables from shapefile or file geodatabase with drag-and-drop, with or without a geodatabase enabled, but the database name and username must be lowercase and the default schema for the login must match (e.g., login 'dataloader', schema 'dataloader').&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 00:19:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/transfering-data-to-a-database/m-p/1477083#M45182</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2024-05-23T00:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Transfering Data to a Database</title>
      <link>https://community.esri.com/t5/data-management-questions/transfering-data-to-a-database/m-p/1477096#M45183</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/799076"&gt;@Ozan&lt;/a&gt;&amp;nbsp;- Tip to test the data load of the shapefile into the PostgreSQL ArcSDE Geodatabase.&lt;/P&gt;&lt;P&gt;1. Import the shapefile into a File Geodatabase&lt;/P&gt;&lt;P&gt;2. export the file geodatabase featureclass to XML Document Schema-Only ( no data )&lt;/P&gt;&lt;P&gt;3. import the XML Document Schema-Only into the PostgreSQL Geodatabase&lt;/P&gt;&lt;P&gt;4. Use the ArcCatalog Simple Data Loader to load the data from the File Geodatabase Featureclass into the PostgreSQL Geodatabase Featureclass&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;About the error message.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Underlaying DBMS error [ERROR: duplicate key value violates unique constraint "test1_pkey"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Detail: Key (objectid)=(867896168) already exists.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(cbs.user342.test1)::SQLSTATE=23505]&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;The source data in the shapefile might have duplicated values for a column that needs to be unique, and you might need to clean up the data before you can load the data in a File Geodatabase and in the PostgreSQL Geodatabase.&lt;BR /&gt;&lt;BR /&gt;You can access the PostgreSQL Geodatabase via PgAdmin and look the Featureclass table and inspect the details of the "test1_pkey" unique constraint and which column it refers and then check if the data of the column has unique values.&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 16:50:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/transfering-data-to-a-database/m-p/1477096#M45183</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2024-05-22T16:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Transfering Data to a Database</title>
      <link>https://community.esri.com/t5/data-management-questions/transfering-data-to-a-database/m-p/1477098#M45184</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/799076"&gt;@Ozan&lt;/a&gt;&amp;nbsp;- best practices to create the PostgreSQL Geodatabase.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/mapping-and-charting-enterprise-databases/mapping-and-charting-solutions-mcs-enterprise/ba-p/893351" target="_blank" rel="noopener"&gt;Mapping and Charting Solutions (MCS) Enterprise Da... - Esri Community&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;A href="https://esriis-my.sharepoint.com/:b:/g/personal/marc3932_esri_com/ESvMXPk3TJtMuKrntpOR1XcB9AhfbE91bCeqHlqGof3JYA" target="_blank" rel="noopener nofollow noreferrer"&gt;Best Practices Production Mapping 3.x Workspace in PostgreSQL®&lt;/A&gt; &lt;/SPAN&gt;&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/mapping-and-charting-enterprise-databases/mapping-and-charting-solutions-mcs-enterprise/ba-p/893351#toc-hId--1336696408" target="_blank" rel="nofollow noopener noreferrer"&gt;Database Connections Best Practices&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/mapping-and-charting-enterprise-databases/mapping-and-charting-solutions-mcs-enterprise/ba-p/893351#toc-hId-133670483" target="_blank" rel="nofollow noopener noreferrer"&gt;Database Template Scripts&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 22 May 2024 16:54:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/transfering-data-to-a-database/m-p/1477098#M45184</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2024-05-22T16:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Transfering Data to a Database</title>
      <link>https://community.esri.com/t5/data-management-questions/transfering-data-to-a-database/m-p/1478189#M45188</link>
      <description>&lt;P&gt;I tried this, nothing changed, same error. "test1_pkey" is the objectid column, the one ArcGIS creates while creating a shapefile in a database.&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 07:03:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/transfering-data-to-a-database/m-p/1478189#M45188</guid>
      <dc:creator>Ozan</dc:creator>
      <dc:date>2024-05-24T07:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Transfering Data to a Database</title>
      <link>https://community.esri.com/t5/data-management-questions/transfering-data-to-a-database/m-p/1478192#M45189</link>
      <description>&lt;P&gt;Sorry for late reply, I had some other work and could not look into this. While I tried loading and importing data without much success, I noticed a thing. On some attempts, arcgis manages to import one ot two data into database. The objectids of the data in database is like; 1243424325. That long, on one occasion even with negative number like -1234245656.&lt;/P&gt;&lt;P&gt;I tried a couple more import and at last created a new shapefile with no Z or M values,with just id and shape* columns.I copied only vector data to this file and I could not import that file or load the data either. I checked geometry and it gives no problems. I have city centers data, point shapefile. Very simple and I can not import or load data of that either. Arcgis does create table but does not fill it. I get Error 000224 can not insert features while trying to import. And the same error I mentioned in the first post when i try to load data, and maybe a single data with a weird long objectid.&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 07:27:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/transfering-data-to-a-database/m-p/1478192#M45189</guid>
      <dc:creator>Ozan</dc:creator>
      <dc:date>2024-05-24T07:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Transfering Data to a Database</title>
      <link>https://community.esri.com/t5/data-management-questions/transfering-data-to-a-database/m-p/1478195#M45190</link>
      <description>&lt;P&gt;I did write a long reply, but it seems it was deleted....&lt;/P&gt;&lt;P&gt;Long story short, I tried importing data or loading data without success. Even with a shapefile with only id and shape* columns, seperately with a polyline and a point data. Arcgis does create table but does not fill the table. Only, sometimes arcgis manages to enter a data or two with long objectid like 123246567. It was even a negative number sometimes.&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 07:55:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/transfering-data-to-a-database/m-p/1478195#M45190</guid>
      <dc:creator>Ozan</dc:creator>
      <dc:date>2024-05-24T07:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Transfering Data to a Database</title>
      <link>https://community.esri.com/t5/data-management-questions/transfering-data-to-a-database/m-p/1478702#M45194</link>
      <description>&lt;P&gt;Well, I don't know what happened, but Esri uses a third party app for Community, and it's possible something went wonky and a spontaneous rollback happened on the server; I very much doubt someone has maliciously removed content.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would note that this Community is &lt;STRONG&gt;&lt;EM&gt;not&lt;/EM&gt;&lt;/STRONG&gt; Esri Tech Support. If you want help &lt;U&gt;from Esri&lt;/U&gt;, you should contact Tech Support according to the terms of your support contract. Community is a user engagement forum, in which some Esri employees also post, &lt;EM&gt;as fellow users&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;Railing against Esri in the forums Esri provides for user interaction is probably not a good way to get help from staff contributors.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've loaded tens of billions of rows into thousands of PostgreSQL tables in the past decade (a couple hundred million in the past week alone -- dev migration), many of which with plain vanilla ArcPy scripts and Python toolboxes into PostgreSQL databases without enterprise geodatabases enabled. There is a trick to it, though, and without details on the exact database in use, and how you've configured the database, logins, and schemas, and the actual load procedure you used, it's difficult to guess what may have gone wrong.&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;</description>
      <pubDate>Sat, 25 May 2024 00:58:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/transfering-data-to-a-database/m-p/1478702#M45194</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2024-05-25T00:58:44Z</dc:date>
    </item>
  </channel>
</rss>

