<?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>dbanotes.com &#187; Database Administration</title>
	<atom:link href="http://www.dbanotes.com/category/database-administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dbanotes.com</link>
	<description>Data expands knoweldge. Database technology is the tool we use.</description>
	<lastBuildDate>Sun, 01 Jan 2012 21:05:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>What is a Database?</title>
		<link>http://www.dbanotes.com/database-administration/what-is-a-database/</link>
		<comments>http://www.dbanotes.com/database-administration/what-is-a-database/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 20:49:13 +0000</pubDate>
		<dc:creator>Michael Ritacco</dc:creator>
				<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[Database Development]]></category>
		<category><![CDATA[Oracle Database]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://dbanotes.com/?p=159</guid>
		<description><![CDATA[For the technical purpose of database developers and administrators, a database is simply a collection of operating system files. Database files are normally stored in a proprietary binary format that can only be mounted by an instance of the relational database software that created them. The purpose of the database instance is to to manage and [...]]]></description>
			<content:encoded><![CDATA[<p>For the technical purpose of database developers and administrators, a database is simply a collection of operating system files.</p>
<p>Database files are normally stored in a proprietary binary format that can only be mounted by an instance of the relational database software that created them.</p>
<p>The purpose of the database instance is to to manage and deliver the data held within the database files for the users.</p>
<p>Modern Relational Database Management Systems (RDBMS) provide a declarative natural language abstraction layer called SQL to query the data held within the database, and provides <strong>ACID</strong> (<em><a title="Atomicity (database systems)" href="http://en.wikipedia.org/wiki/Atomicity_(database_systems)">atomicity</a>, <a title="Consistency (database systems)" href="http://en.wikipedia.org/wiki/Consistency_(database_systems)">consistency</a>, <a title="Isolation (database systems)" href="http://en.wikipedia.org/wiki/Isolation_(database_systems)">isolation</a>, <a title="Durability (database systems)" href="http://en.wikipedia.org/wiki/Durability_(database_systems)">durability</a></em>) based transactions as a key feature and benefit over other alternatives for data storage.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbanotes.com/database-administration/what-is-a-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introduction to Oracle Exadata V2</title>
		<link>http://www.dbanotes.com/general/introduction-to-oracle-exadata/</link>
		<comments>http://www.dbanotes.com/general/introduction-to-oracle-exadata/#comments</comments>
		<pubDate>Sat, 01 Oct 2011 02:11:08 +0000</pubDate>
		<dc:creator>Michael Ritacco</dc:creator>
				<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Oracle Database]]></category>
		<category><![CDATA[Exadata]]></category>
		<category><![CDATA[Oracle11g]]></category>

		<guid isPermaLink="false">http://www.dbanotes.com/?p=862</guid>
		<description><![CDATA[This post came out of the difficulty to find the information needed to prepare myself for a week long Exadata proof of concept I have scheduled next month at the Oracle Technology Center  in Menlo Park. The topics listed below should confirm your suspicion that there is significant learning and study required to understand Exadata. [...]]]></description>
			<content:encoded><![CDATA[<p>This post came out of the difficulty to find the information needed to prepare myself for a week long Exadata proof of concept I have scheduled next month at the Oracle Technology Center  in Menlo Park.</p>
<p>The topics listed below should confirm your suspicion that there is significant learning and study required to understand Exadata. Outside of the Oracle Database software (which is the same) there is a lot more complexity to operate an Exadata Machine over a tradtional database server running on Linux, UNIX, Windows. Now I know why Oracle had to change the Exadata marketing from an &#8220;appliance&#8221; to a &#8220;machine&#8221;.</p>
<p>I plan to update these notes once the proof of concept is complete and I fully understand all the nuances of Exadata. Until then, consider this a list of topics and source of suggested resources for further study.</p>
<h3>Exadata Infrastructure Components</h3>
<ul>
<li>Database Servers</li>
<li>Storage Servers</li>
<li>InfiniBand</li>
<li>Flash Cache</li>
<li>CELLBOOT USB Flash Drive</li>
</ul>
<h3>Exadata Software Components</h3>
<ul>
<li>Oracle Automatic Storage Management (ASM)</li>
<li>Oracle Real Application Clusters (RAC). Not required but sales will say it is.</li>
<li>Oracle Database</li>
<li>Linux Logical Volume Manager (LVM)</li>
</ul>
<h3>Connectivity</h3>
<ul>
<li>Database Servers connect to Storage Servers using the Intelligent Database protocol (iDB) implementing the “function shipping” architecture.</li>
<li>iDB use the Reliable Datagram Sockets (RDS) protocol. RDS is designed for low latency and low overhead using less significantly less CPU when compared to UDP and TCP.</li>
<li>iDB is based on libskgxp.</li>
</ul>
<h3>Exadata Database Servers</h3>
<ul>
<li>No storage devices are presented to the OS on the Exadata database servers.</li>
</ul>
<h3>Exadata Storage Servers</h3>
<ul>
<li>Storage Indexes contain min and max values for up to eight columns.</li>
<li>Storage Indexes are 1MB (default) units. Identify locations where the data is not “Reverse Index”. Best for sorted data.</li>
</ul>
<h3>Exadata Smart Scan (Offloading)</h3>
<ul>
<li>Column Projection</li>
<li>Predicate Filtering</li>
<li>Storage Indexes</li>
<li>Bloom Filters</li>
<li>SQL Functions (most single row functions can be offloaded)</li>
<li>Compression and Decompression</li>
<li>Encryption/Decryption</li>
</ul>
<p>Smart Scans not available on:</p>
<ul>
<li>Clustered tables</li>
<li>Index Organized Tabes (IOTs)</li>
<li>When ROWDEPENDENCIES is enabled</li>
</ul>
<h3>Compression Types</h3>
<p><strong>Basic</strong></p>
<ul>
<li>Compression unit is a single Oracle block. 0% PCTFREE</li>
</ul>
<p><strong>OLTP (Advanced Compression)</strong></p>
<ul>
<li>Compression same as basic but uses symbol table to replace repeating values. 10 % PCTFREE for updates</li>
</ul>
<p><strong>Hybrid Columnar Compression (Exadata Storage Only)</strong></p>
<ul>
<li>QUERY LOW uses LZO compression (4x)</li>
<li>QUERY HIGH uses ZLIB compression (6x)</li>
<li>ARCHIVE LOW uses ZLIP compression (7x)</li>
<li>ARCHIVE HIGH uses bzip2 compression (12x)</li>
</ul>
<p>Compression should not be used on tables or partitions where data is updated due to contention.</p>
<h3>Exadata Backup and Recovery</h3>
<ul>
<li>RMAN incremental backups benefit from the storage servers filtering out unchanged blocks.</li>
</ul>
<h3>Recommended Reading:</h3>
<ul>
<li><a href="http://www.amazon.com/gp/product/1430233923/ref=as_li_tf_tl?ie=UTF8&amp;tag=oraclenotescombo&amp;linkCode=as2&amp;camp=217145&amp;creative=399373&amp;creativeASIN=1430233923">Expert Oracle Exadata</a><img style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.com/e/ir?t=oraclenotescombo&amp;l=as2&amp;o=1&amp;a=1430233923&amp;camp=217145&amp;creative=399373" alt="" width="1" height="1" border="0" /></li>
<li><a href="http://www.amazon.com/gp/product/0071752595/ref=as_li_tf_tl?ie=UTF8&amp;tag=oraclenotescombo&amp;linkCode=as2&amp;camp=217145&amp;creative=399381&amp;creativeASIN=0071752595">Achieving Extreme Performance with Oracle Exadata (Osborne ORACLE Press Series)</a><img style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.com/e/ir?t=oraclenotescombo&amp;l=as2&amp;o=1&amp;a=0071752595&amp;camp=217145&amp;creative=399381" alt="" width="1" height="1" border="0" /></li>
<li><a title="Technical Overview of Oracle Exadata" href="http://http://www.oracle.com/technetwork/database/exadata/exadata-technical-whitepaper-134575.pdf">A Technical Overview of the Oracle Exadata Database Machine and Exadata Storage Server </a></li>
<li><a title="Oracle Exadata Price List" href="http://www.oracle.com/us/corporate/pricing/exadata-pricelist-070598.pdf">Oracle Exadata Price List</a></li>
</ul>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbanotes.com/general/introduction-to-oracle-exadata/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basic UNIX Commands for the DBA</title>
		<link>http://www.dbanotes.com/general/basic-unix-commands-for-the-dba/</link>
		<comments>http://www.dbanotes.com/general/basic-unix-commands-for-the-dba/#comments</comments>
		<pubDate>Sun, 05 Dec 2010 00:52:00 +0000</pubDate>
		<dc:creator>Michael Ritacco</dc:creator>
				<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://dbanotes.com/?p=97</guid>
		<description><![CDATA[A collection of commonly used UNIX commands by the Oracle Database Administrator. File Manipulation Action Command Example list file contents cat cat myfile append to a file cat cat myfile &#62;&#62;newfile combine two files cat cat myfile1 myfile2 &#62;newfile create a file cat cat &#62;newfile copy a file cp cp myfile newfile create a file [...]]]></description>
			<content:encoded><![CDATA[<p>A collection of commonly used UNIX commands by the Oracle Database Administrator.</p>
<table style="width: 100%;">
<tbody>
<tr>
<td colspan="3" height="11">
<h2>File Manipulation</h2>
</td>
</tr>
<tr>
<td style="width: 35%;"><strong>Action</strong></td>
<td style="width: 25%;"><strong>Command</strong></td>
<td width="40%"><strong>Example</strong></td>
</tr>
<tr>
<td style="width: 14%;">list file contents</td>
<td style="width: 11%;">cat</td>
<td width="36%">cat myfile</td>
</tr>
<tr>
<td style="width: 14%;">append to a file</td>
<td style="width: 11%;">cat</td>
<td width="36%">cat myfile &gt;&gt;newfile</td>
</tr>
<tr>
<td style="width: 14%;">combine two files</td>
<td style="width: 11%;">cat</td>
<td width="36%">cat myfile1 myfile2 &gt;newfile</td>
</tr>
<tr>
<td style="width: 14%;">create a file</td>
<td style="width: 11%;">cat</td>
<td width="36%">cat &gt;newfile</td>
</tr>
<tr>
<td style="width: 14%; height: 19px;">copy a file</td>
<td style="width: 11%; height: 19px;">cp</td>
<td style="height: 19px;" width="36%">cp myfile newfile</td>
</tr>
<tr>
<td style="width: 14%;">create a file</td>
<td style="width: 11%;">touch</td>
<td width="36%">touch newfile</td>
</tr>
<tr>
<td style="width: 14%;">move a file</td>
<td style="width: 11%;">mv</td>
<td width="36%">mv myfile /usr/home/myfile</td>
</tr>
<tr>
<td style="width: 14%;">remove a file</td>
<td style="width: 11%;">rm</td>
<td width="36%">rm myfile</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<table style="width: 100%;">
<tbody>
<tr>
<td colspan="3" height="11">
<h2>Directory Navigation &amp; Manipulation</h2>
</td>
</tr>
<tr>
<td style="width: 45%;"><strong>Action</strong></td>
<td width="20%"><strong>Command</strong></td>
<td width="36%"><strong>Example</strong></td>
</tr>
<tr>
<td style="width: 45%;">change directory</td>
<td width="26%">cd</td>
<td width="36%">cd $ORACLE_HOME</td>
</tr>
<tr>
<td style="width: 45%;">change directory -up 1 level</td>
<td width="26%">cd</td>
<td width="36%">cd ..</td>
</tr>
<tr>
<td style="width: 45%;">change directory -home</td>
<td width="26%">cd</td>
<td width="36%">cd</td>
</tr>
<tr>
<td style="width: 45%;">create directory</td>
<td width="26%">mkdir</td>
<td width="36%">mkdir mydir</td>
</tr>
<tr>
<td style="width: 45%;">remove directory</td>
<td width="26%">rmdir</td>
<td width="36%">rmdir mydir</td>
</tr>
<tr>
<td style="width: 45%;">current path</td>
<td width="26%">pwd</td>
<td width="36%">pwd</td>
</tr>
<tr>
<td style="width: 45%;">directory listing</td>
<td width="26%">ls</td>
<td width="36%">ls</td>
</tr>
<tr>
<td style="width: 45%;">directory listing -long</td>
<td width="26%">ls</td>
<td width="36%">ls -l</td>
</tr>
<tr>
<td style="width: 45%;">directory listing -all/long</td>
<td width="26%">ls</td>
<td width="36%">ls -al</td>
</tr>
<tr>
<td style="width: 45%;">direcoty listing -all/last created</td>
<td width="26%">ls</td>
<td width="36%">ls-lrt</td>
</tr>
<tr>
<td style="width: 45%;">Kilobytes used in directory</td>
<td width="26%">du</td>
<td width="36%">du -k mydir</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<table style="width: 100%;">
<tbody>
<tr>
<td style="height: 11px;" colspan="3">
<h2>Miscellaneous</h2>
</td>
</tr>
<tr>
<td style="width: 45%;"><strong>Action</strong></td>
<td style="width: 20%;"><strong>Command</strong></td>
<td width="35%"><strong>Example</strong></td>
</tr>
<tr>
<td style="width: 21%;">change password</td>
<td style="width: 13%;">passwd</td>
<td width="36%">passwd</td>
</tr>
<tr>
<td style="width: 21%;">list processes -owner</td>
<td style="width: 13%;">ps</td>
<td width="36%">ps</td>
</tr>
<tr>
<td style="width: 21%;">list processes -everyone</td>
<td style="width: 13%;">ps</td>
<td width="36%">ps -e</td>
</tr>
<tr>
<td style="width: 21%;">list processes -username</td>
<td style="width: 13%;">ps</td>
<td width="36%">ps -fu username</td>
</tr>
<tr>
<td style="width: 21%;">show process for sid</td>
<td style="width: 13%;">ps</td>
<td width="36%">ps -ef|grep [sid]</td>
</tr>
<tr>
<td style="width: 21%;">show smon processes</td>
<td style="width: 13%;">ps</td>
<td width="36%">ps -ef|grep smon</td>
</tr>
<tr>
<td style="width: 21%;">show full process path</td>
<td style="width: 13%;">/usr/ucb/ps -augxwv</td>
<td width="36%"></td>
</tr>
<tr>
<td style="width: 21%;">change access privileges</td>
<td style="width: 13%;">chmod</td>
<td width="36%">chmod XXX</td>
</tr>
<tr>
<td style="width: 21%;">read/write -owner,group</td>
<td style="width: 13%;">chmod</td>
<td width="36%">chmod 660 myfile</td>
</tr>
<tr>
<td style="width: 21%;">read/write/execute- owner,group</td>
<td style="width: 13%;">chmod</td>
<td width="36%">chmod 770 myfile</td>
</tr>
<tr>
<td style="width: 21%;">read -owner,group,world</td>
<td style="width: 13%;">chmod</td>
<td width="36%">chmod 444 myfile</td>
</tr>
<tr>
<td style="width: 21%;">execute -owner,group</td>
<td style="width: 13%;">chmod</td>
<td width="36%">chmod 110 myfile</td>
</tr>
<tr>
<td style="width: 21%;">change ownership</td>
<td style="width: 13%;">chown</td>
<td width="36%">see access modes</td>
</tr>
<tr>
<td style="width: 21%;">default security for new files</td>
<td style="width: 13%;">umask</td>
<td width="36%">umask 023</td>
</tr>
<tr>
<td style="width: 21%;">change group</td>
<td style="width: 13%;">newgrp</td>
<td width="36%">newgrp dba</td>
</tr>
<tr>
<td style="width: 21%;">who else is logged on</td>
<td style="width: 13%;">who</td>
<td width="36%">who</td>
</tr>
<tr>
<td style="width: 21%;">who owns this session</td>
<td style="width: 13%;">who</td>
<td width="36%">who am i</td>
</tr>
<tr>
<td style="width: 35%;">what is my session and group</td>
<td style="width: 25%;">id</td>
<td width="40%">id</td>
</tr>
<tr>
<td style="width: 21%;">quick top and uptime</td>
<td style="width: 13%;">w</td>
<td>w</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<table style="width: 100%;">
<tbody>
<tr>
<td height="11">
<h2>Change Access Modes</h2>
</td>
</tr>
<tr>
<td>The postion of <strong>X</strong> effects:<br />
<strong>X</strong>00 &#8211; owner privileges | 0<strong>X</strong>0 &#8211; group privileges | 00<strong>X</strong> -world or other privilegesThe value of X can be:<br />
0 -no privileges<br />
1 -execute<br />
2 -write<br />
3 -write execute<br />
4 -read<br />
5 -read/execute<br />
6 -read/write<br />
7 -read/write/executeUsing the above numeric file modes you can set access using chmod.</p>
<p><code>chmod XXX myfile or chmod XXX /usr/home/mydirectory<br />
</code></td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.dbanotes.com/general/basic-unix-commands-for-the-dba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Database Management 101</title>
		<link>http://www.dbanotes.com/database-administration/database-management-101/</link>
		<comments>http://www.dbanotes.com/database-administration/database-management-101/#comments</comments>
		<pubDate>Fri, 26 Dec 2008 21:51:17 +0000</pubDate>
		<dc:creator>Michael Ritacco</dc:creator>
				<category><![CDATA[Database Administration]]></category>

		<guid isPermaLink="false">http://dbanotes.com/?p=83</guid>
		<description><![CDATA[Author: Khaled Kahlouni Companies have a wealth of information systems as they continue to collect mountains of data on a daily basis. The need to house their information and have them readily available will always be there. Therefore, creating, monitoring, and maintaining the databases that house the data, pose higher challenges on the Information Technology [...]]]></description>
			<content:encoded><![CDATA[<p>Author: Khaled Kahlouni</p>
<p>Companies have a wealth of information systems as they continue to collect mountains of data on a daily basis. The need to house their information and have them readily available will always be there. Therefore, creating, monitoring, and maintaining the databases that house the data, pose higher challenges on the Information Technology department; in specific, the database administrators and their management. Even though now-a-days, we continue to see improvement in hardware design, operating systems stability, and database engines features; the need for database lifecycle management, best practices, and process standardization has not and will not change anytime soon.</p>
<p>Databases are the heart and soul of every systems/applications built or acquired within an organization. They are the center of all information, data movement, and communication of all systems. If the data is the most valuable asset of every company so is the database that houses it, making the database administration role the most critical job in IT. Therefore, effective database management is an essential task to ensure the availability, performance, recoverability, and security of such asset. Unfortunately, most companies do not realize the importance of the staff that administers their most valuable asset. They understand the need to have a staff but they always question their value and of course, their compensation. Thus, pressuring the Database Administrator staff to do nothing but, monitor the databases.</p>
<p>Database Administrators are highly talented individuals. They have to maintain their skills and keep up with new DBMS technology. In addition, they have to have a good understanding of all applications, data behavior, and hardware technology as they swiftly solve issues and problems with the databases they support &#8211; They are excellent problem solver individuals. So, their talent is beyond administration. But, due to the wrong perception by their management, their concentration is usually shifted to only monitoring and backing up the database, leaving several database administration roles un-played. Thus, forcing the database administrators to lose the essential skills to maintain and administer the most valuable company asset &#8211; Databases.</p>
<p>Every IT professional should try to answer the following questions as a health check:</p>
<ul>
<li>Have you ever tested recovering your production databases?</li>
<li>How many times your database backup fails because of hardware or tape issues?</li>
<li>How many times problems occur after a release or a migration?</li>
<li>How many non-DBA users have more than read access to your production databases?</li>
<li>How many times were you notified by your users of a problem before your staff knowledge of the problem?</li>
<li>Do you keep current inventory of all databases?</li>
<li>Do you know what your users query of your database?</li>
<li>In case the data was lost, can your company survive?</li>
</ul>
<p>This study will help your organization understand the necessary database administration roles. Most importantly, it will lay the proper roadmap for database administration.</p>
<p>The roadmap will guide your organization on how to be proactive rather than reactive. Catching and solving database problems before they occur proven to be more cost effective than reacting to the problem. For instance, using our roadmap will force you to monitor your space utilization. Thus, alerting of any space issues prior to your database running out of space.</p>
<p>Study&#8217;s Outline:</p>
<ul>
<li>General Assessment Process</li>
<li>Understand Current Environments</li>
<li>Database Management lifecycle Establishment</li>
<li>Improvement Plan</li>
<li>Measurement Process</li>
<li>Production Maturity Process</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.dbanotes.com/database-administration/database-management-101/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

