<?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: Using Schemas on SDE 9.3.1 and PostgreSQL 8.3.11 in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570425#M32318</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Vince and Kasia.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just saw that ArcSDE 10 can use multiple users and schemas. &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/geodatabase/10.0/install_guides/arcsde_for_postgresql_installation_and_upgrade_guide/00q3/00q30000002p000000.htm"&gt;http://help.arcgis.com/en/geodatabase/10.0/install_guides/arcsde_for_postgresql_installation_and_upgrade_guide/00q3/00q30000002p000000.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Though a confirmation would be nice before I turn to 10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason why I need multiple users and not just one, the sde user, is that I have multiple users editing different geodatabases. Until now I had to start several sde services to not allow that user1 can edit data on user2 geodb, and that only if I don't tell them the ports that the other sde services are running. And installing a new service is a great hassle, with /etc/services, dbinit.sde and such. This is like 1 hour for one service instance. Yes I can have multiple databases through one sde service, but they are all owned by the role "sde". And that is something that I want to avoid. I need multiple databases with different roles for sec. reasons.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to have one sde service through which users can connect with arccatalog but only to edit their db, and not the ones that they are not supposed to. And that can only be done if I have one service,&amp;nbsp; through which I can connect to diff databases with different user names (roles). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thx again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;D&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Oct 2011 15:29:38 GMT</pubDate>
    <dc:creator>DanielMrvos</dc:creator>
    <dc:date>2011-10-13T15:29:38Z</dc:date>
    <item>
      <title>Using Schemas on SDE 9.3.1 and PostgreSQL 8.3.11</title>
      <link>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570419#M32312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: MacJeremy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Heya,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;having some troubles with a setup. I have an SDE server (9.3.1) up and running on a Linux 32bit machine. My PostgreSQL (8.3.11) database server is running on another Linux machine (64bit). I have already 2 different applications with two different sde services and databases running. Everything works perfectly. Now I wanted to do some housekeeping in regard to the databases. I wanted to start using one database with one sde service and many user schemas through SDE. Why do i want to do that? Because of security, maintanance and many other reasons. And it was stated somewhere that this is the preferred way for SDE and ORACLE. I found a howto somewhere on the support site of ESRI. On further reading I also found how to do this with POSTGRESQL, not through the instance but through the user options on sdesetup, but not fully explained. So here are the steps I took that took me the furthest:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In PostgreSQL CLI (creating databases which are functioning and creating the schemas are very similar. If you need the steps I created the database with, in which I then created the schema, I'll post them here):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color:SandyBrown;"&gt;CREATE ROLE &amp;lt;schema_name&amp;gt; LOGIN PASSWORD '&amp;lt;pass&amp;gt;' SUPERUSER NOINHERIT CREATEDB;&lt;BR /&gt;CREATE SCHEMA &amp;lt;schema_name&amp;gt; AUTHORIZATION &amp;lt;schema_name&amp;gt;;&lt;BR /&gt;GRANT ALL ON SCHEMA &amp;lt;schema_name&amp;gt; to &amp;lt;schema_name&amp;gt;;&lt;BR /&gt;GRANT ALL ON SCHEMA &amp;lt;schema_name&amp;gt; TO sde;&lt;BR /&gt;GRANT USAGE ON SCHEMA &amp;lt;schema_name&amp;gt; TO public;&lt;BR /&gt;&lt;BR /&gt;sdesetup -o install -d POSTGRESQL -D &amp;lt;main_database_where_the_schema_resides&amp;gt; -u &amp;lt;schema_name&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But unfortunatly halfway through the setup it breaks. After that when I restart the above sdesetup statement it breaks again but at a later point in the install, and so on and so on. I recon that I could get to succesfully installing the geodatabase if I would repeat the sdesetup call numerous times, but ... I would prefer a method that would get me there without errors&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a little tryout. I created a database "gismain", created the sde schema, and ran sdesetup. This I can start through the SDE service and connect with ArcCatalog. No problem there. Now the SDE service of gismain is stopped (tried it with on, but there I had more difficulties than with the services off), and used the steps of creating the schema above for a schema called "gp".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But sdesetup breaks with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:SeaGreen;"&gt;***********************************************************************************&lt;BR /&gt;sdesetup -o install -d POSTGRESQL -D gismain -u gp&lt;BR /&gt;Enter DBA password: &lt;BR /&gt;&lt;BR /&gt;ESRI ArcSDE Server Setup Utility Tue Mar 22 18:33:45 2011&lt;BR /&gt;----------------------------------------------------------------&lt;BR /&gt;Install or update ST_GEOMETRY, ArcSDE, GDB schema objects: &lt;BR /&gt;&amp;nbsp; Are you sure? (Y/N): y&lt;BR /&gt;Creating ST_GEOMETRY and ArcSde schema.....&lt;BR /&gt;Successfully created ST_GEOMETRY and ArcSde schema.&lt;BR /&gt;&lt;BR /&gt;Installing locators.....&lt;BR /&gt;Successfully installed locators.&lt;BR /&gt;&lt;BR /&gt;Creating geodatabase schema.....&lt;BR /&gt;Error: DBMS object exists (-452).&lt;BR /&gt;Error: Error installing GDB schema.&lt;BR /&gt;Error: DBMS object exists (-452).&lt;BR /&gt;Error: Geodatabase schema object install not completed.&lt;BR /&gt;Check SDEHOME\etc\sde_setup.log or &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SDEHOME\etc\sde_dc&amp;lt;rdbms&amp;gt;.log for more details..&lt;BR /&gt;********************************************************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Whole logfiles of sdesetup log and postgres log are attached, where you can see that sdesetup is writing to the gp schema. It created four tables, and if I would restart sdesetup it would create another 3 or 4 tables. I tried many approches to solving this, checked role privileges and many other stuff, but no avail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Help is needed and very much appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;THX, in advance....&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 16:46:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570419#M32312</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-03-22T16:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using Schemas on SDE 9.3.1 and PostgreSQL 8.3.11</title>
      <link>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570420#M32313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: MacJeremy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help ... anyone ... maybe ... please ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 13:20:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570420#M32313</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-08-11T13:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using Schemas on SDE 9.3.1 and PostgreSQL 8.3.11</title>
      <link>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570421#M32314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;MacJeremy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like you are tying to run sdesetup against a non sde schema. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If that is the case, it is not supported.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The sde repository tables have to be owned by the sde user. In ArcSDE the schema name of the owner has to match the name of the owner. So your cmd should look like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sdesetup -o install -d POSTGRESQL -D gismain -u sde&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sincerely,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kasia&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2011 17:32:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570421#M32314</guid>
      <dc:creator>tKasiaTuszynska</dc:creator>
      <dc:date>2011-08-12T17:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using Schemas on SDE 9.3.1 and PostgreSQL 8.3.11</title>
      <link>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570422#M32315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: MacJeremy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;MacJeremy,&lt;BR /&gt;It looks like you are tying to run sdesetup against a non sde schema. &lt;BR /&gt;If that is the case, it is not supported.&lt;BR /&gt;The sde repository tables have to be owned by the sde user. In ArcSDE the schema name of the owner has to match the name of the owner. So your cmd should look like this:&lt;BR /&gt;sdesetup -o install -d POSTGRESQL -D gismain -u sde&lt;BR /&gt;&lt;BR /&gt;Sincerely,&lt;BR /&gt;Kasia&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thx for the reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But this means that the Schema can only be SDE. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So this ---&amp;gt; &lt;/SPAN&gt;&lt;A href="http://webhelp.esri.com/arcgisserver/9.3/java/index.htm#geodatabases/using_-2001045921.htm"&gt;http://webhelp.esri.com/arcgisserver/9.3/java/index.htm#geodatabases/using_-2001045921.htm&lt;/A&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size:2;"&gt;Multiple geodatabases in one Oracle database) is not possible in PostgreSQL?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 05:55:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570422#M32315</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-08-24T05:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using Schemas on SDE 9.3.1 and PostgreSQL 8.3.11</title>
      <link>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570423#M32316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Oracle is the only ArcSDE-supported RDBMS that doesn't use a "multiple databases per server instance"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;model, so storing multiple ArcSDE instances required multiple Oracle instances. User-schema geodatabases&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;are an attempt to reduce the cost of isolated ArcSDE instances on Oracle (though they're not really all that&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;isolated). Using PostgreSQL, you have the option of multiple databases, which are much more useful (and &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;truly independent) -- There's no reason to use the kludge when you have the real thing available.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 09:34:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570423#M32316</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2011-08-24T09:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Using Schemas on SDE 9.3.1 and PostgreSQL 8.3.11</title>
      <link>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570424#M32317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: kasi4188&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi MacJeremy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, you are correct, ArcSDE for PostgreSQL does&amp;nbsp; not support the multiple gdb model on the schema level, for the reason that Vince provided, it is not necessary. You can have one instance of PostgreSQL, with multiple databases which can become geodatabases, in each of those databases the sde repository tables will have to reside in the sde schema. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sincerely,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kasia&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 16:18:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570424#M32317</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-08-29T16:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using Schemas on SDE 9.3.1 and PostgreSQL 8.3.11</title>
      <link>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570425#M32318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Vince and Kasia.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just saw that ArcSDE 10 can use multiple users and schemas. &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/geodatabase/10.0/install_guides/arcsde_for_postgresql_installation_and_upgrade_guide/00q3/00q30000002p000000.htm"&gt;http://help.arcgis.com/en/geodatabase/10.0/install_guides/arcsde_for_postgresql_installation_and_upgrade_guide/00q3/00q30000002p000000.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Though a confirmation would be nice before I turn to 10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason why I need multiple users and not just one, the sde user, is that I have multiple users editing different geodatabases. Until now I had to start several sde services to not allow that user1 can edit data on user2 geodb, and that only if I don't tell them the ports that the other sde services are running. And installing a new service is a great hassle, with /etc/services, dbinit.sde and such. This is like 1 hour for one service instance. Yes I can have multiple databases through one sde service, but they are all owned by the role "sde". And that is something that I want to avoid. I need multiple databases with different roles for sec. reasons.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to have one sde service through which users can connect with arccatalog but only to edit their db, and not the ones that they are not supposed to. And that can only be done if I have one service,&amp;nbsp; through which I can connect to diff databases with different user names (roles). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thx again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;D&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 15:29:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570425#M32318</guid>
      <dc:creator>DanielMrvos</dc:creator>
      <dc:date>2011-10-13T15:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using Schemas on SDE 9.3.1 and PostgreSQL 8.3.11</title>
      <link>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570426#M32319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: vangelo&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You're intermingling several different definitions of "schema".&amp;nbsp; There is no requirement for all&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;users to use the 'sde' login (and, in fact, doing so is a violation of best practice -- no SDE user&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;should *ever* own spatial data).&amp;nbsp; All versions of ArcSDE have always (well, since SDE 2.0 was &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;released) supported using multiple users with different accesses within a database.&amp;nbsp; There&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is no need to move to 10.0 to gain this functionality (though you should move to 10 soon for&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;access to newer PostgreSQL builds).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 15:58:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570426#M32319</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-10-13T15:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using Schemas on SDE 9.3.1 and PostgreSQL 8.3.11</title>
      <link>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570427#M32320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Daniel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It sounds like you are trying to improvise your own versioning environment. Have you looked at the geodatabase versioning environment?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you can set up versions, through which the data can be "seen" and edited, which will have the effect of isolating the changes made by editors to that specific version and than you can use visual tools to merge the changes from multiple editors (editing through multiple versions). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Esri has several courses on the topic and plenty of doc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sincerely,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kasia&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2011 17:07:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570427#M32320</guid>
      <dc:creator>tKasiaTuszynska</dc:creator>
      <dc:date>2011-10-14T17:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using Schemas on SDE 9.3.1 and PostgreSQL 8.3.11</title>
      <link>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570428#M32321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: MacJeremy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;...and, in fact, doing so is a violation of best practice -- no SDE user&lt;BR /&gt;should *ever* own spatial data).&amp;nbsp; &lt;BR /&gt;- V&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I'm missing something. Because that is what I want but can't get. When I'm using sdeinstall I can only use schema sde and user sde, because the username is the same as schema, and I can't use any other username, because I get the error that I stated in my earlier posts. And when I use sdeinstall, and I have to if I want to use sde as my database connection and not use Direct Connect, then the only user with whom I, or any other arcgisdesktop user,&amp;nbsp; can connect through sde to the database is the sde user. And as I can recall when using sdemon, the username and the schema in the database have to have the same name so creating a different user than the schema doesn't work, and if I try to create a different schema/user pair then sdeinstall has problems. But since I changed my gisserver to 10, a few days ago, I will also change sde to 10 and then will try if I can get the user seperations and will get back to you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Oct 2011 09:34:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570428#M32321</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-10-16T09:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using Schemas on SDE 9.3.1 and PostgreSQL 8.3.11</title>
      <link>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570429#M32322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The ArcSDE software is installed (via 'sdesetup') as the SDE login/schema (only). This creates&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;metadata tables and installs the SDE.ST_GEOMETRY type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;All further data creation should be done as a user other than SDE. Create a login, create a schema&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(with the same name as the login), grant the permissions, then create and populate tables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Oct 2011 19:00:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570429#M32322</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2011-10-16T19:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using Schemas on SDE 9.3.1 and PostgreSQL 8.3.11</title>
      <link>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570430#M32323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: kasi4188&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Daniel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To expand on Vince's post:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sde user/schema&amp;nbsp; in the database are used for the sde repository tables, the 40 tables and 300 some stored procedures that are placed in the db to make it spatial. That is all that the sde user should be used for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any loading of spatial data, viewing or editing should be done as users that you the admin create explicit in the RDBMS instance. You create the login, the schema in the db and add privileges to that user depending on what you need them to do. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;An sde installation is not going to create other users besides the sde superuser, that is part of database administration and is left up to each individual dba to perform. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The sde for postgres installation comes with a tools folder, in that folder is a sample sql script, that gives you examples on how to create various users and the privileges they may need. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sincerely,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kasia&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 16:21:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570430#M32323</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-10-17T16:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using Schemas on SDE 9.3.1 and PostgreSQL 8.3.11</title>
      <link>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570431#M32324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just wanted to thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have used the wrong methodology of creating geo-dbs. Though one thing is still bothering me. Now I have one sde service, the spatial data is not in the sde-schema anymore but by themselfs in their own schemas and as their own users, but still through arccatalog, connecting as a user you can see the feature datasets of the other users. You can't see whats inside or change them, but you can see them. i.e. if I have a schema test1 and user test1, where let's say I have a feature dataset "streets" and let's say I have schema test2 with user test2 with a feature dataset "rivers", if I connect, through arccatalog, as user test1 to the database test where the schemas test1 and test2 are, test1 can see the feature dataset of test2. I tried to revoke priviliges of the users respectively to their schemas but that didn't work. Any ideas about that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;D.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2011 15:15:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570431#M32324</guid>
      <dc:creator>DanielMrvos</dc:creator>
      <dc:date>2011-10-21T15:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using Schemas on SDE 9.3.1 and PostgreSQL 8.3.11</title>
      <link>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570432#M32325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: kasi4188&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Daniel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The issue with Datasets being visible and what they contain not, if you do not have read privileges on the data is a known issue, that has been around for a while. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as I know there is not much you can do about that. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason for the behavior is that a dataset is a visual representation of the relationship between the feature classes, it is not a db object in it's self, therefore db level privileges can not be issued against it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sincerely,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kasia&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2011 15:27:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570432#M32325</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-10-21T15:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using Schemas on SDE 9.3.1 and PostgreSQL 8.3.11</title>
      <link>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570433#M32326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To take a slightly different tract with this, if you do have 2 schemas (the standard POSTGRES public and sde) and you have an application that writes to the tables in the public schema, is there a way for ArcCatalog to be able to view the contents of those tables?&amp;nbsp; I have tried unsuccessfully to register them through the command line and right clicking in ArcCatalog&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2011 14:04:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570433#M32326</guid>
      <dc:creator>StephenHodge</dc:creator>
      <dc:date>2011-12-21T14:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Using Schemas on SDE 9.3.1 and PostgreSQL 8.3.11</title>
      <link>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570434#M32327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: kasi4188&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stephen,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In ArcGIS 10, you will not be able to see data through ArcCatalog that is stored in the postgres public schema.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In general I would recommend that any spatial data stored in Postgres, reside in a user/schema explicitly created for that purpose, by an admin on that cluster. Please do not use the following users to store spatial data: postgres, sde, public. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can create additional users with pgAdminIII or with a sql script provided in the ArcSDE installation. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In ArcGIS 10.1, a gp tool will be provided to create users, so it will be a little easier.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sincerely,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kasia&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2011 15:08:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/using-schemas-on-sde-9-3-1-and-postgresql-8-3-11/m-p/570434#M32327</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-12-21T15:08:47Z</dc:date>
    </item>
  </channel>
</rss>

