<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.dataprix.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>user</title>
 <link>http://www.dataprix.com/en/category/etiquetas/user</link>
 <description>The taxonomy view with a depth of 0.</description>
 <language>en</language>
<item>
 <title> How to create a new Oracle scheme step by step </title>
 <link>http://www.dataprix.com/en/how-create-new-scheme-oracle-step-step</link>
 <description>&lt;p&gt;In order to be able to make all the steps you must initiate the session in the database with a user with administration permissions, you can use the SYSTEM user, for example&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Creation of tablespace for data, and another one for index.&lt;/li&gt;
&lt;/ul&gt;
&lt;p class=&quot;rteindent1&quot;&gt;These tablespaces are the location where Oracle will save the objects of the scheme which we are going to create.&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;Tablespace for data, with initial size of 1024 Mb, and autoextensive&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;CREATE TABLESPACE &amp;quot;APPDAT&amp;quot; LOGGING DATAFILE &#039;/export/home/oracle/oradata/datafiles/APPDAT.dbf&#039; SIZE 1024M EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Tablespace for indices, with initial size of 512 Mb, and autoextensive&lt;/li&gt;
&lt;/ul&gt;
&lt;p class=&quot;rteindent1&quot;&gt;CREATE TABLESPACE &amp;quot;APPIDX&amp;quot; LOGGING DATAFILE &#039;/export/home/oracle/oradata/datafiles/APPIDX.dbf&#039; SIZE 512M EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Creation of the user who is going to work on these tablespaces, and who will be the owner of the objects that are created in them&lt;/li&gt;
&lt;/ul&gt;
&lt;p class=&quot;rteindent1&quot;&gt;CREATE USER &amp;ldquo;APP&amp;rdquo; PROFILE &amp;ldquo;DEFAULT&amp;rdquo; IDENTIFIED BY &amp;ldquo;APPPWD&amp;rdquo;&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;DEFAULT TABLESPACE &amp;ldquo;APPDAT&amp;rdquo; TEMPORARY TABLESPACE &amp;ldquo;TEMP&amp;rdquo; ACCOUNT UNLOCK;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Assign the permissions necessary to work. &lt;/p&gt;
&lt;p&gt;    &amp;ldquo;Connect&amp;rdquo; and &amp;ldquo;Resource&amp;rdquo; rolls provide minimum permissions&lt;/li&gt;
&lt;/ul&gt;
&lt;p class=&quot;rteindent1&quot;&gt;GRANT &amp;ldquo;CONNECT&amp;rdquo; TO &amp;ldquo;APP&amp;rdquo;;&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;GRANT &amp;ldquo;RESOURCE&amp;rdquo; TO &amp;ldquo;APP&amp;rdquo;;&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;We can complete the allocation of permissions with specific privileges on objects to assure that user can conduct all the operations he needs.&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;GRANT ALTER ANY INDEX TO &amp;ldquo;APP&amp;rdquo;;&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;GRANT ALTER ANY SEQUENCE TO &amp;ldquo;APP&amp;rdquo;;&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;GRANT ALTER ANY TABLE TO &amp;ldquo;APP&amp;rdquo;;&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;GRANT ALTER ANY TRIGGER TO &amp;ldquo;APP&amp;rdquo;;&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;GRANT CREATE ANY INDEX TO &amp;ldquo;APP&amp;rdquo;;&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;GRANT CREATE ANY SEQUENCE TO &amp;ldquo;APP&amp;rdquo;;&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;GRANT CREATE ANY SYNONYM TO &amp;ldquo;APP&amp;rdquo;;&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;GRANT CREATE ANY TABLE TO &amp;ldquo;APP&amp;rdquo;;&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;GRANT CREATE ANY TRIGGER TO &amp;ldquo;APP&amp;rdquo;;&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;GRANT CREATE ANY VIEW TO &amp;ldquo;APP&amp;rdquo;;&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;GRANT CREATE PROCEDURE TO &amp;ldquo;APP&amp;rdquo;;&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;GRANT CREATE PUBLIC SYNONYM TO &amp;ldquo;APP&amp;rdquo;;&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;GRANT CREATE TRIGGER TO &amp;ldquo;APP&amp;rdquo;;&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;GRANT CREATE VIEW TO &amp;ldquo;APP&amp;rdquo;;&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;GRANT DELETE ANY TABLE TO &amp;ldquo;APP&amp;rdquo;;&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;GRANT DROP ANY INDEX TO &amp;ldquo;APP&amp;rdquo;;&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;GRANT DROP ANY SEQUENCE TO &amp;ldquo;APP&amp;rdquo;;&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;GRANT DROP ANY TABLE TO &amp;ldquo;APP&amp;rdquo;;&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;GRANT DROP ANY TRIGGER TO &amp;ldquo;APP&amp;rdquo;;&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;GRANT DROP ANY VIEW TO &amp;ldquo;APP&amp;rdquo;;&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;GRANT INSERT ANY TABLE TO &amp;ldquo;APP&amp;rdquo;;&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;GRANT QUERY REWRITE TO &amp;ldquo;APP&amp;rdquo;;&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;GRANT SELECT ANY TABLE TO &amp;ldquo;APP&amp;rdquo;;&lt;/p&gt;
&lt;p class=&quot;rteindent1&quot;&gt;GRANT UNLIMITED TABLESPACE TO &amp;ldquo;APP&amp;rdquo;;&lt;/p&gt;
&lt;p&gt;Now this user can connect and start working on his scheme&lt;/p&gt;
</description>
 <comments>http://www.dataprix.com/en/how-create-new-scheme-oracle-step-step#comments</comments>
 <category domain="http://www.dataprix.com/en/category/bases-de-datos/base-de-datos/oracle">Oracle</category>
 <category domain="http://www.dataprix.com/en/category/bases-de-datos/base-de-datos">Bases de datos</category>
 <category domain="http://www.dataprix.com/en/category/etiquetas/ddl">DDL</category>
 <category domain="http://www.dataprix.com/en/category/etiquetas/scheme">scheme</category>
 <category domain="http://www.dataprix.com/en/category/etiquetas/tablespace">tablespace</category>
 <category domain="http://www.dataprix.com/en/category/etiquetas/user">user</category>
 <pubDate>Wed, 23 Jul 2008 16:53:23 +0200</pubDate>
 <dc:creator>carlos</dc:creator>
 <guid isPermaLink="false">238 at http://www.dataprix.com</guid>
</item>
</channel>
</rss>
