<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>dbsnaps &#187; Videos</title>
	<atom:link href="http://www.dbsnaps.com/category/videos/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dbsnaps.com</link>
	<description>database video tutorials</description>
	<lastBuildDate>Sun, 13 Nov 2011 13:50:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing Oracle ASM 11gR2</title>
		<link>http://www.dbsnaps.com/oracle/installing-oracle-asm-11gr2/</link>
		<comments>http://www.dbsnaps.com/oracle/installing-oracle-asm-11gr2/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 12:46:45 +0000</pubDate>
		<dc:creator>Alon Spiegel</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Oracle - Latest Articles]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[ASM]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.dbsnaps.com/?p=733</guid>
		<description><![CDATA[In this movie-clip we will show you how to install oracle 11g ASM filesystem
]]></description>
			<content:encoded><![CDATA[<div>In this Tutorial Alon Spiegel will demonstrate how to install oracle 11gR2 ASM on Linux RH 5.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.dbsnaps.com/oracle/installing-oracle-asm-11gr2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle 11gR2 New Feature &#8211; Deferred Segment Creation</title>
		<link>http://www.dbsnaps.com/oracle/oracle-deferred-segment-creation/</link>
		<comments>http://www.dbsnaps.com/oracle/oracle-deferred-segment-creation/#comments</comments>
		<pubDate>Mon, 06 Dec 2010 12:00:12 +0000</pubDate>
		<dc:creator>Roni Vered</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Oracle - Latest Articles]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[11g2r new features]]></category>
		<category><![CDATA[Deferred Segment Creation]]></category>

		<guid isPermaLink="false">http://www.dbsnaps.com/?p=634</guid>
		<description><![CDATA[In this DBSNAPS tutorial video we will present you a new feature of Oracle database 11gR2: Deferred segment creation.
]]></description>
			<content:encoded><![CDATA[<p>In this DBSNAPS tutorial video we will present you a new feature of Oracle database 11gR2: <strong>Deferred segment creation</strong>.</p>
<p>The script for the demonstration from the tutorial can be downloaded here:<a href="http://www.dbsnaps.com/wp-content/uploads/2010/12/seg_demo.txt">seg_demo</a></p>
<p>Until 11gR2, if you create a table, Oracle database allocates space for initial segment.</p>
<p>The new feature allows you to defer creation of this initial segment until the first row of data is inserted into the table.</p>
<p>In addition to deferring the table’s segment, it also defers the segment creation for LOB columns of the table, indexes created implicitly as part of table creation, and indexes subsequently explicitly created on the table.</p>
<p>By using this feature, large amount of disk space can be saved in case of many unpopulated tables.</p>
<p>A new parameter DEFERRED_SEGMENT_CREATION is created to control the feature. It can be enabled/disabled it at the <strong>session</strong> or <strong>system </strong>level (doesn’t require Instance restart).</p>
<pre class="brush: sql;">
Alter session set deferred_segment_creation=true;

Alter system set deferred_segment_creation=true;
  </pre>
<p>Deferred segment creation is enabled by default. It’s also possible to enable/disable it for <strong>a single table</strong> by specifying the deferred segment creation clause.</p>
<pre class="brush: sql;">
CREATE TABLE.... SEGMENT CREATION IMMEDIATE

CREATE TABLE... SEGMENT CREATION DEFERRED
 </pre>
<p>* A table with deferred segment won’t exist in the *_EXTENTS System view before inserting into it data (as no extent is created)<br />
* A new column was added to the *_TABLES,  *_INDEXES and *_LOBS System views &#8211; SEGMENT_CREATED, whichindicates whether the initial segment was created or not. Its values are ‘YES’ / ’NO’.</p>
<p><strong>One important note</strong> &#8211; All segments related to a table are created when the first row is inserted into it. And that, even if they are not used to store data</p>
<p>Following is a short demo that demonstrates the new features.</p>
<pre class="brush: sql;">
SQL&gt; @c:\seg_demo
====================================================================
Creating a user for the demonstration and granting it privileges:
====================================================================

SQL&gt; CREATE USER seg_demo identified by seg_demo
User created.
SQL&gt; GRANT RESOURCE , CONNECT TO seg_demo
Grant succeeded.
SQL&gt; GRANT SELECT ON V_$PARAMETER TO seg_demo
Grant succeeded.
SQL&gt; CONNECT seg_demo/seg_demo
Connected.

====================================================================
Displaying relevant parameters
====================================================================

SQL&gt; SHOW PARAMETER def
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
deferred_segment_creation            boolean     TRUE
SQL&gt; SHOW PARAMETER compatible
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
compatible                           string      11.2.0.0.0

=========================================================================================
Creating a table. The table will be created without segments for all its related objects
=========================================================================================

SQL&gt; CREATE TABLE test_seg (id number CONSTRAINT id_pk primary key,
2				email VARCHAR2(50)  CONSTRAINT  email_uk unique,
3				name VARCHAR2(30),
4				data CLOB)
5			lob(data) STORE AS TEST_SEG_DATA_LOB
6			(index test_seg_data_lob_ix)
Table created.

=========================================================================================
Displaying relevant information FROM the System views.
=========================================================================================

SQL&gt; SELECT segment_name ,SEGMENT_TYPE
2	FROM user_segments
3 	WHERE segment_name = 'TEST_SEG'

no rows selected

SQL&gt; SELECT segment_name, extent_id, bytes
2 	FROM user_extents

no rows selected

SQL&gt; SELECT table_name, SEGMENT_CREATED
2 	FROM user_tables

TABLE_NAME                     SEGMENT_CREATED
------------------------------ ---------------
TEST_SEG                       NO

SQL&gt; SELECT table_name, index_name, SEGMENT_CREATED
2 	FROM user_indexes

TABLE_NAME                     INDEX_NAME                     SEGMENT_CREATED
------------------------------ ------------------------------ ---------------
TEST_SEG                       ID_PK                          NO
TEST_SEG                       TEST_SEG_DATA_LOB_IX           NO
TEST_SEG                       EMAIL_UK                       NO

SQL&gt; SELECT  TABLE_NAME ,segment_name, SEGMENT_CREATED
2 	FROM user_lobs

TABLE_NAME                     SEGMENT_NAME         SEGMENT_CREATED
------------------------------ -------------------- ---------------
TEST_SEG                       TEST_SEG_DATA_LOB    NO

=========================================================================================
Inserting the first row to the table.
=========================================================================================

SQL&gt; INSERT INTO TEST_SEG VALUES (1,'Roni@@dbsnaps.com','DBSNAPS','Deferred Segment Creation')

1 row created.

SQL&gt; commit

Commit complete.

=========================================================================================
All the relevant segments will be created.
Displaying relevant information FROM the System views.
=========================================================================================

SQL&gt; SELECT segment_name ,SEGMENT_TYPE
2 FROM user_segments

SEGMENT_NAME         SEGMENT_TYPE
-------------------- ------------------
TEST_SEG             TABLE
TEST_SEG_DATA_LOB_IX LOBINDEX
ID_PK                INDEX
EMAIL_UK             INDEX
TEST_SEG_DATA_LOB    LOBSEGMENT

SQL&gt; SELECT segment_name, extent_id, bytes
2 	FROM user_extents

SEGMENT_NAME          EXTENT_ID      BYTES
-------------------- ---------- ----------
TEST_SEG                      0      65536
TEST_SEG_DATA_LOB_IX          0      65536
ID_PK                         0      65536
EMAIL_UK                      0      65536
TEST_SEG_DATA_LOB             0      65536
SQL&gt; SELECT table_name, SEGMENT_CREATED
2 	FROM user_tables

TABLE_NAME                     SEGMENT_CREATED
------------------------------ ---------------
TEST_SEG                       YES

SQL&gt; SELECT table_name, index_name, SEGMENT_CREATED
2 	FROM user_indexes
TABLE_NAME                     INDEX_NAME                     SEGMENT_CREATED
------------------------------ ------------------------------ ---------------
TEST_SEG                       ID_PK                          YES
TEST_SEG                       TEST_SEG_DATA_LOB_IX           YES
TEST_SEG                       EMAIL_UK                       YES
SQL&gt; SELECT  TABLE_NAME ,segment_name, SEGMENT_CREATED
2 	FROM user_lobs

TABLE_NAME                     SEGMENT_NAME         SEGMENT_CREATED
------------------------------ -------------------- ---------------
TEST_SEG                       TEST_SEG_DATA_LOB    YES

=========================================================================================
The parameter can be changed in the System/Session level.
Changing the session settings to deferred_segment_creation=FALSE.
=========================================================================================

ALTER SESSION SET deferred_segment_creation=FALSE

Session altered.

=========================================================================================
While this parameter is set to FALSE, tables will be created with all their segments.
=========================================================================================
prompt
SQL&gt; CREATE TABLE test_seg2 (id number CONSTRAINT id2_pk primary key,
2    			name VARCHAR2(30))

Table created.

=========================================================================================
Displaying relevant information FROM the System views.
=========================================================================================

SQL&gt; SELECT segment_name ,SEGMENT_TYPE
2 	FROM user_segments
3 	WHERE segment_name = 'TEST_SEG2'

SEGMENT_NAME         SEGMENT_TYPE
-------------------- ------------------
TEST_SEG2            TABLE
SQL&gt; SELECT segment_name, extent_id, bytes
2 	FROM user_extents
3 	WHERE segment_name = 'TEST_SEG2'

SEGMENT_NAME          EXTENT_ID      BYTES
-------------------- ---------- ----------
TEST_SEG2                     0      65536

SQL&gt; SELECT table_name, SEGMENT_CREATED
2 	FROM user_tables
3 	WHERE table_name = 'TEST_SEG2'

TABLE_NAME                     SEGMENT_CREATED
------------------------------ ---------------
TEST_SEG2                      YES

SQL&gt; SELECT table_name, index_name, SEGMENT_CREATED
2 	FROM user_indexes
3 	WHERE table_name = 'TEST_SEG2'

TABLE_NAME                     INDEX_NAME                     SEGMENT_CREATED
------------------------------ ------------------------------ ---------------
TEST_SEG2                      ID2_PK                         YES

=========================================================================================
In addition, the feature can be enabled/Disabled for a Single table.
While the parameter is set to TRUE, we will disable the deferred segment creation for a single table .
=========================================================================================

ALTER SESSION SET deferred_segment_creation=TRUE

Session altered.

SQL&gt; CREATE TABLE test_seg3 (id number CONSTRAINT id3_pk primary key,
2	    			name VARCHAR2(30))
3				SEGMENT CREATION IMMEDIATE

Table created.

=========================================================================================
Displaying relevant information FROM the System views.
=========================================================================================

SQL&gt; SELECT segment_name ,SEGMENT_TYPE
2 	FROM user_segments
3 	WHERE segment_name = 'TEST_SEG3'

SEGMENT_NAME         SEGMENT_TYPE
-------------------- ------------------
TEST_SEG3            TABLE

SQL&gt; SELECT segment_name, extent_id, bytes
2 	FROM user_extents
3	WHERE segment_name = 'TEST_SEG3'

SEGMENT_NAME          EXTENT_ID      BYTES
-------------------- ---------- ----------
TEST_SEG3                     0      65536

SQL&gt; SELECT table_name, SEGMENT_CREATED
2 	FROM user_tables
3 	WHERE table_name = 'TEST_SEG3'

TABLE_NAME                     SEGMENT_CREATED
------------------------------ ---------------
TEST_SEG3                      YES

SQL&gt; SELECT table_name, index_name, SEGMENT_CREATED
2 	FROM user_indexes
3 	WHERE table_name = 'TEST_SEG3'

TABLE_NAME                     INDEX_NAME                     SEGMENT_CREATED
------------------------------ ------------------------------ ---------------
TEST_SEG3                      ID3_PK                         YES

=========================================================================================
While the parameter is set to FALSE, we will Enable the deferred segment creation for a single table .
=========================================================================================

SQL&gt; ALTER SESSION SET deferred_segment_creation=FALSE

Session altered.

SQL&gt; CREATE TABLE test_seg4 (id number CONSTRAINT id4_pk primary key,
2         			name VARCHAR2(30))
3  	SEGMENT CREATION DEFERRED

Table created.

=========================================================================================
Displaying relevant information FROM the System views.
=========================================================================================

SQL&gt; SELECT segment_name ,SEGMENT_TYPE
2	FROM user_segments
3 	WHERE segment_name = 'TEST_SEG4'

no rows selected

SQL&gt; SELECT segment_name, extent_id, bytes
2 	FROM user_extents
3 	WHERE segment_name = 'TEST_SEG4'

no rows selected

SQL&gt; SELECT table_name, SEGMENT_CREATED
2 FROM user_tables
3 WHERE table_name = 'TEST_SEG4'

TABLE_NAME                     SEGMENT_CREATED
------------------------------ ---------------
TEST_SEG4                      NO

SQL&gt; SELECT table_name, index_name, SEGMENT_CREATED
2 	FROM user_indexes
3 	WHERE table_name = 'TEST_SEG4'

TABLE_NAME                     INDEX_NAME                     SEGMENT_CREATED
------------------------------ ------------------------------ ---------------
TEST_SEG4                      ID4_PK                         NO

=========================================================================================
The END. Dropping the demonstration user
=========================================================================================

SQL&gt; CONNECT / as sysdba

Connected.

DROP USER seg_demo CASCADE

User dropped.
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.dbsnaps.com/oracle/oracle-deferred-segment-creation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle Database Vault tutorial &#8211; Step By Step</title>
		<link>http://www.dbsnaps.com/oracle/oracle-database-vault-tutorial-step-by-step/</link>
		<comments>http://www.dbsnaps.com/oracle/oracle-database-vault-tutorial-step-by-step/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 13:02:57 +0000</pubDate>
		<dc:creator>Oded Raz</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[Database Vault]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://dbsnaps.oracletutorialvideos.com/?p=157</guid>
		<description><![CDATA[Learn how to protect oracle database using ORACLE's revolutionary feature - Database Vault.
In this first chapter we will show you how to install ORACLE Database Vault, and PROTECT schema objects using DV REALMS.]]></description>
			<content:encoded><![CDATA[<p>Oracle Database Vault, part of Oracle&#8217;s comprehensive portfolio of database security solutions, helps organizations address regulatory mandates and increase the security of existing applications. Regulations such as Sarbanes-Oxley, Payment Card Industry (PCI) Data Security Standard (DSS), Health Insurance Portability and Accountability Act (HIPAA), Gramm-Leach-Bliley Act (GLBA) and similar global directives call for separation-of-duties and other preventive controls to ensure data integrity and data privacy. With Oracle Database Vault, organizations can pro-actively safeguard application data stored in the Oracle database from being accessed by privileged database users. Application data can be further protected using Oracle Database Vault&#8217;s multi-factor policies that control access based on built-in factors such as time of day, IP address, application name, and authentication method, preventing unauthorized ad-hoc access and application by-pass</p>
<ul>
<li>Pro-actively safeguard application data stored in the Oracle database—Restrict access by unauthorized database users &#8211; even privileged users &#8211; by using powerful access controls built into the Oracle database.</li>
<li>Address regulatory requirements—Implement separation-of-duty and other real-time preventive controls.</li>
<li>Restrict ad-hoc access to application data— Prevent application-bypass with multi-factor policies that are enforced in the database for high security and performance.</li>
<li>Deploy with confidence—Use certified default policies for Oracle E-Business Suite, Oracle PeopleSoft, and Oracle Siebel CRM applications.</li>
</ul>
<p><!-- End Section Content--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbsnaps.com/oracle/oracle-database-vault-tutorial-step-by-step/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Oracle Active Standby Database tutorial</title>
		<link>http://www.dbsnaps.com/oracle/oracle-active-standby-database/</link>
		<comments>http://www.dbsnaps.com/oracle/oracle-active-standby-database/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 12:28:52 +0000</pubDate>
		<dc:creator>Liron Amitzi</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[High Availability]]></category>
		<category><![CDATA[Main-Availability]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[11g]]></category>
		<category><![CDATA[Physical Active Standby Database]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://dbsnaps.oracletutorialvideos.com/?p=143</guid>
		<description><![CDATA[A physical standby database could always be opened in "read only" mode. The problem was that it didn't apply any archived logs at that time. It could only apply logs when mounted.

Then came Oracle 11g...]]></description>
			<content:encoded><![CDATA[<p>A physical standby database could always be opened in &#8220;read only&#8221; mode. The problem was that it didn&#8217;t apply any archived logs at that time. It could only apply logs when mounted.</p>
<p>Then came Oracle 11g with the &#8220;active standby database&#8221; feature (sometimes referenced as real-time query).</p>
<p>With this feature we can open the database in &#8220;read only&#8221; mode, and can still apply archive logs from the primary.</p>
<p>Let&#8217;s see how it works&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbsnaps.com/oracle/oracle-active-standby-database/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Creating an Oracle 11g Database tutorial</title>
		<link>http://www.dbsnaps.com/oracle/creating-an-oracle-11g-database/</link>
		<comments>http://www.dbsnaps.com/oracle/creating-an-oracle-11g-database/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 12:16:46 +0000</pubDate>
		<dc:creator>Liron Amitzi</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[11g]]></category>
		<category><![CDATA[Creating Database]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://dbsnaps.oracletutorialvideos.com/?p=137</guid>
		<description><![CDATA[This video will show you how to create an Oracle 11g database]]></description>
			<content:encoded><![CDATA[<p><strong><span style="text-decoration: underline;">In this video we will demonstrate Oracle 11g installation on Linux.</span></strong></p>
<p>When installing Oracle on Linux, there are several prerequisites steps that needs to be completed before the installation process ifself.<br />
The installation GUI is identical to other operating systems, but the steps we need to complete before starting the installation are different.<br />
This video will show you how to install Oracle 11gR1, step by step.</p>
<p>This video shows Oracle 11gR1 installation on Linux Cent OS 5 (which is similar to RedHat 5), but can be used to understand the general Oracle installation on Linux.</p>
<p>You can download the Oracle Database software from OTN:</p>
<ul>
<li><a href="http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html" target="_blank">Oracle Database 11g Release 1- OTN</a></li>
</ul>
<p>We will start by checking the requirements for Oracle installation.</p>
<p>1)    <span style="text-decoration: underline;">Checking the memory, SWAP, Kernel version and free space requirements.</span></p>
<p style="padding-left: 30px;"><span style="font-size: 13.3333px;">Memory &#8211; Oracle 11g requires at      least 1GB RAM.<br />
You&#8217;ll be able to check the server&#8217;s memory by executing the command:<br />
<strong> </strong></span></p>
<pre class="brush: bash;">[root ~]grep MemTotal /proc/meminfo</pre>
<p style="padding-left: 30px;"><span style="font-size: 13.3333px;">Swap requirements are specified      in the documentation and based on the RAM.<br />
Check the server&#8217;s SWAP by executing the command:<br />
<strong> </strong></span></p>
<pre class="brush: bash;">[root ~]grep SwapTotal /proc/meminfo</pre>
<p style="padding-left: 30px;"><span style="font-size: 13.3333px;">At least 400Mb are needed in      /tmp directory. In addition, Oracle 11g software requires about 3.5GB.<br />
Check the /tmp available space by executing the command:<br />
<strong> </strong></span></p>
<pre class="brush: bash;">[root ~]df -k /tmp</pre>
<p style="padding-left: 30px;"><span style="font-size: 13.3333px;">Check the server&#8217;s available      space by executing the command:<br />
<strong> </strong></span></p>
<pre class="brush: bash;">[root ~]df -k</pre>
<p style="padding-left: 30px;"><span style="font-size: 13.3333px;">The available column will      display the free space in kilobytes.</span></p>
<p style="padding-left: 30px;"><span style="font-size: 13.3333px;"><br />
</span></p>
<p style="padding-left: 30px;"><span style="font-size: 13.3333px;">The      OS kernel version should be 2.6.18 or higher.<br />
Check the kernel version by executing the command:<br />
<em><strong> </strong></em></span></p>
<pre class="brush: bash;">[root ~] cat /proc/version
OR
[root ~] uname –r</pre>
<p>2)     <span style="text-decoration: underline;">Required Packages</span></p>
<p style="padding-left: 30px;">Oracle 11g software needs several rpm packages to be installed on the server.<br />
You can find the full list of packages in the installation guide:<br />
<a href="http://download.oracle.com/docs/cd/B28359_01/install.111/b32002/pre_install.htm#CHDHFGBJ" target="_blank">http://download.oracle.com/docs/cd/B28359_01/install.111/b32002/pre_install.htm#CHDHFGBJ</a></p>
<p style="padding-left: 30px;">The command &#8220;rpm -qa&#8221; prints the list of all installed packages. With &#8220;grep&#8221; command we will look for specific packages.</p>
<p style="padding-left: 30px;"><strong>Example</strong>: to verify that the gcc package is install, use:</p>
<pre class="brush: bash;">[root ~]rpm –qa | grep gcc</pre>
<p>3)    <span style="text-decoration: underline;">Creating users and groups.</span></p>
<p style="padding-left: 30px;">We will create two new groups: &#8216;dba&#8217; and &#8216;oinstall&#8217; and the &#8216;oracle&#8217; user.</p>
<pre class="brush: bash;">
[root ~] groupadd oinstall
[root ~] groupadd dba
[root ~] useradd -g oinstall -G dba oracle
[root ~] passwd oracle
</pre>
<p>4)    <span style="text-decoration: underline;">Setting Kernel parameters.</span></p>
<p>Open the <em>/etc/sysctl.conf </em>file  and configure the following kernel parameters:</p>
<pre class="brush: bash;">
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
</pre>
<p>Additional information about the kernel parameter can be found in the Documentation:<br />
<a href="http://download.oracle.com/docs/cd/B28359_01/install.111/b32002/pre_install.htm#BABBBDGA" target="_blank">http://download.oracle.com/docs/cd/B28359_01/install.111/b32002/pre_install.htm#BABBBDGA</a></p>
<p>After editing the file, execute the following command to apply the changes.</p>
<pre class="brush: bash;">[root ~] sysctl -p</pre>
<p>5)     <span style="text-decoration: underline;">Add the following lines to the <em>/etc/security/limits.conf</em> file:</span></p>
<pre class="brush: bash;">
oracle              soft    nproc    2047
oracle              hard    nproc   16384
oracle              soft    nofile  1024
oracle              hard    nofile  65536
</pre>
<p><span style="font-size: 13.3333px;">6)    <span style="text-decoration: underline;">Add the following line to the <em>/etc/pam.d/login</em> file:</span></span></p>
<pre class="brush: bash;">
session   required   pam_limits.so
</pre>
<p>7)    <span style="text-decoration: underline;">Add the following lines to the <em>/etc/profile</em> file:</span> This section sets the soft limit for user &#8216;oracle&#8217; upon login:</p>
<pre class="brush: bash;">
if [ $USER = &quot;oracle&quot; ]; then
 if [ $SHELL=&quot;/bin/ksh&quot; ] ; then
    ulimit -p 16384
    ulimit -n 65536
 else
    ulimit -p 16384 -n 65536
 fi
fi
</pre>
<p><span style="line-height: normal; font-size: x-small;"> </span> 8)    <span style="text-decoration: underline;">Creating directories for the Oracle installation:</span> We need to create the directory for Oracle installation. This directory should be owned by user &#8216;oracle&#8217;</p>
<pre class="brush: bash;">
[root ~]mkdir -p /u01/app/oracle/product/11.1.0/db_1
[root ~]chown -R oracle:oinstall /u01
[root ~]chmod -R 775 /u01
</pre>
<p>9)    <span style="text-decoration: underline;">Disable access control:</span></p>
<p style="padding-left: 30px;">Access control does not allow opening X-Windows from any server. We will use xhost command to disable this access control.</p>
<pre class="brush: bash;">[root ~] xhost +</pre>
<p>10)   <span style="text-decoration: underline;">Edit the /etc/profile file:</span></p>
<p style="padding-left: 30px;">We will now connect as user &#8216;oracle&#8217; and configure the environment in the bash_profile file.</p>
<pre class="brush: bash;">
[root ~]su – oracle
[oracle ~]vi .bash_profile
</pre>
<p>We will set the ORACLE_BASE for oracle base directory and ORACLE_SID environment variables. Add the following lines to bash_profile file:</p>
<pre class="brush: bash;">
export ORACLE_HOSTNAME=&lt;SERVER_NAME&gt;
export ORACLE_BASE=/u01/app/oracle;
export ORACLE_HOME=$ORACLE_BASE/product/11.1.0/db_1;
export ORACLE_SID=orcl;
</pre>
<p><span style="font-size: 13.3333px;">Apply the changes so that the new variables will be set:</span></p>
<pre class="brush: bash;">[oracle ~] . .bash_profile
</pre>
<p><strong><em> </em></strong> <strong><span style="color: #0000ff;">The pre-requirement part is completed. All we have to do now is to start the installation.</span></strong></p>
<p><strong><span style="color: #0000ff;"><br />
</span></strong></p>
<p>11)    <span style="text-decoration: underline;">Navigate to the installation directory and start the installation:</span></p>
<pre class="brush: bash;">
[oracle ~] cd /install/database
[oracle ~] ./runInstaller</pre>
<p><strong>We will skip the installation part as it is quite straightforward, and go to the end of the installation part.</strong></p>
<p>12)    <span style="text-decoration: underline;">Execute configuration scripts as root user:</span></p>
<p style="padding-left: 30px;">At the end of the installation, you&#8217;ll see the &#8220;execute configuration scripts&#8221; wizard window. We should run these scripts as root.  Open a Terminal as root and execute the below scripts”</p>
<pre class="brush: bash;">
[root ~] /u01/app/oracle/oraInventory/orainstRoot.sh
[root ~] /u01/app/oracle/product/11.1.0/db_1/root.sh
</pre>
<p><strong>The installation is now complete.</strong></p>
<p>13)    <span style="text-decoration: underline;">Updating the .bash_profile file with more environment variables:</span></p>
<p style="padding-left: 30px;">The last thing we need to do is updating the .bash_profile file:</p>
<pre class="brush: bash;">[oracle ~] vi .bash_profile</pre>
<p style="padding-left: 30px;">We will set the ORACLE_HOME for oracle home directory and the path environment variables. Add the following lines to bash_profile file:</p>
<pre class="brush: bash;">
export ORACLE_HOSTNAME=&lt;SERVER_NAME&gt;
export ORACLE_BASE=/u01/app/oracle;
export ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1;
export ORACLE_SID=orcl;
export PATH=/usr/sbin:$PATH;
export PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin
</pre>
<p style="padding-left: 30px;"><span style="font-size: 13.3333px;">Apply the changes so that the new variables will be set:</span></p>
<pre class="brush: bash;">
[oracle ~]. .bash_profile
</pre>
<p><em>14) </em><span style="text-decoration: underline;">Verify that everything is configured correctly.</span></p>
<pre class="brush: bash;">
[oracle ~] sqlplus / as sysdba

SQL*Plus: Release 11.1.0.1.0 Production on Mon Oct 25 12:26:26 2010

Copyright (c) 1982, 2010, Oracle.  All rights reserved.

Connected to:

Oracle Database 11g Enterprise Edition Release 11.1.0.1.0 - 64bit Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL&gt;exit
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.dbsnaps.com/oracle/creating-an-oracle-11g-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Server 2005 Log Shipping tutorial</title>
		<link>http://www.dbsnaps.com/videos/sql-server-2005-log-shipping/</link>
		<comments>http://www.dbsnaps.com/videos/sql-server-2005-log-shipping/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 19:18:51 +0000</pubDate>
		<dc:creator>Oded Raz</dc:creator>
				<category><![CDATA[High Availability]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server - Latest Articles]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[Log Shipping Video]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://dbsnaps.oracletutorialvideos.com/?p=105</guid>
		<description><![CDATA[Log shipping is the process of automating transaction log copy and apply in order to maintain identical database copy for high-availability or disaster recovery proposes. ]]></description>
			<content:encoded><![CDATA[<p>Log shipping is the process of automating transaction log copy and apply in order to maintain identical database copy for high-availability or disaster recovery proposes.</p>
<p>Transaction log files are copied from the production SQL server, and then restoring them onto a standby server. But this is not all. The key feature of log shipping is that is will automatically backup transaction logs throughout the day (for whatever interval you specify) and automatically restore them on the standby server. This in effect keeps the two SQL Servers in &#8220;synch&#8221;. Should the production server fail, all you have to do is point the users to the new server, and you are all set. Well, its not really that easy, but it comes close if you put enough effort into your log shipping setup.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbsnaps.com/videos/sql-server-2005-log-shipping/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Server Login Audit tutorial</title>
		<link>http://www.dbsnaps.com/videos/sql-server-login-audit/</link>
		<comments>http://www.dbsnaps.com/videos/sql-server-login-audit/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 19:07:45 +0000</pubDate>
		<dc:creator>Oded Raz</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server - Latest Articles]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[Audit Login]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://dbsnaps.oracletutorialvideos.com/?p=101</guid>
		<description><![CDATA[Learn how to audit sql server's login, its simple and its quick.]]></description>
			<content:encoded><![CDATA[<p>Learn how to audit sql server&#8217;s login, its simple and its quick.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbsnaps.com/videos/sql-server-login-audit/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SQL Server 2005 Backup &amp; Restore tutorial</title>
		<link>http://www.dbsnaps.com/videos/sql-server-2005-backup-restore/</link>
		<comments>http://www.dbsnaps.com/videos/sql-server-2005-backup-restore/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 19:04:16 +0000</pubDate>
		<dc:creator>Oded Raz</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[Backup & Restore]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://dbsnaps.oracletutorialvideos.com/?p=96</guid>
		<description><![CDATA[Microsoft SQL Server enables you to back up and restore your databases. The SQL Server backup and restore component provides an important safeguard for protecting critical data stored in SQL Server databases.]]></description>
			<content:encoded><![CDATA[<p>Microsoft SQL Server enables you to back up and restore your databases.  The SQL Server backup and restore component provides an important  safeguard for protecting critical data stored in SQL Server databases. A  well-planned backup and restore strategy helps protect databases  against data loss caused by a variety of failures. Test your strategy by  restoring a set of backups and then recovering your database to prepare  you to respond effectively to a disaster.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbsnaps.com/videos/sql-server-2005-backup-restore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Server 2005 Mirroring tutorial</title>
		<link>http://www.dbsnaps.com/videos/sql-server-2005-mirroring-tutorial/</link>
		<comments>http://www.dbsnaps.com/videos/sql-server-2005-mirroring-tutorial/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 18:51:43 +0000</pubDate>
		<dc:creator>Oded Raz</dc:creator>
				<category><![CDATA[High Availability]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server - Latest Articles]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[Mirroring]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://dbsnaps.oracletutorialvideos.com/?p=90</guid>
		<description><![CDATA[SQL Server 2005 provides a set of high availability methods that the users can use to achieve fault tolerance and to prevent server outages and data loss. The selection of the high availability method depends on various factors. Some DBAs need the servers to be available 24/7, while others can afford an outage of a couple of hours. Cost also plays a role in the selection. For example, Clustering is an expensive high availability method when compared to Database Mirroring, but it allows the user to failover immediately.]]></description>
			<content:encoded><![CDATA[<p>SQL Server 2005 provides a set of high availability methods that the  users can use to achieve fault tolerance and to prevent server outages  and data loss. The selection of the high availability method depends on  various factors. Some DBAs need the servers to be available 24/7, while  others can afford an outage of a couple of hours. Cost also plays a role  in the selection. For example, Clustering is an expensive high  availability method when compared to Database Mirroring, but it allows  the user to failover immediately.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbsnaps.com/videos/sql-server-2005-mirroring-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle Single Sign-On (ESSO) Toturial</title>
		<link>http://www.dbsnaps.com/oracle/oracle-single-sign-on-esso-toturial-video/</link>
		<comments>http://www.dbsnaps.com/oracle/oracle-single-sign-on-esso-toturial-video/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 08:18:34 +0000</pubDate>
		<dc:creator>Oded Raz</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[ESSO]]></category>
		<category><![CDATA[Secutiry]]></category>
		<category><![CDATA[Single Sing-on]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://dbsnaps.oracletutorialvideos.com/?p=43</guid>
		<description><![CDATA[enjoy the benefits of single sign-on to all of your applications, whether you are connected to the corporate network, traveling away from the office, roaming between computers or working at a shared workstation.]]></description>
			<content:encoded><![CDATA[<p>Enjoy the benefits of single sign-on to all of your applications, whether you are connected to the corporate network, traveling away from the office, roaming between computers or working at a shared workstation.</p>
<p>Watch this video tutorial and see how you can benefit from Oracle Enterprise Single Sign-On.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbsnaps.com/oracle/oracle-single-sign-on-esso-toturial-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

