<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" xml:lang="en" xml:base="http://blog.ramin-hossaini.com/wp-atom.php">
	<title type="text">Ramin Hossaini (blog)</title>
	<subtitle type="text" />

	<updated>2010-03-14T16:39:07Z</updated>
	<generator uri="http://wordpress.org/" version="abc">WordPress</generator>

	<link rel="alternate" type="text/html" href="http://blog.ramin-hossaini.com" />
	<id>http://blog.ramin-hossaini.com/feed/atom/</id>
	

			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/RaminHossaini" /><feedburner:info uri="raminhossaini" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>RaminHossaini</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><entry>
		<author>
			<name>Ramin Hossaini</name>
						<uri>http://www.ramin-hossaini.com</uri>
					</author>
		<title type="html"><![CDATA[Backing up an Oracle database without RMAN]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RaminHossaini/~3/qZ56HCAj1vM/" />
		<id>http://blog.ramin-hossaini.com/?p=660</id>
		<updated>2010-03-14T16:39:07Z</updated>
		<published>2010-03-14T16:39:07Z</published>
		<category scheme="http://blog.ramin-hossaini.com" term="How-to" /><category scheme="http://blog.ramin-hossaini.com" term="Oracle" /><category scheme="http://blog.ramin-hossaini.com" term="10g" />		<summary type="html"><![CDATA[<a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"><span style="display: none;">Private</span></a><a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"><span style="display: none;">Private</span></a>If you aren’t using RMAN for your backups (and are using something like Netapp’s snapshots, or the simple copy-command) (in Oracle 9i this can only be done when the Database is in mounted-mode, not opened), you can do this:
Note: Archivelog must be enabled for this to work.

ALTER DATABASE BEGIN BACKUP;

At this point, you can begin [...]


Related posts:<ol><li><a href='http://blog.ramin-hossaini.com/2008/03/23/simple-mysql-backup-script/' rel='bookmark' title='Permanent Link: Simple MySQL backup-script'>Simple MySQL backup-script</a></li>
<li><a href='http://blog.ramin-hossaini.com/2010/02/16/listing-key-oracle-database-files/' rel='bookmark' title='Permanent Link: Listing key Oracle Database files'>Listing key Oracle Database files</a></li>
<li><a href='http://blog.ramin-hossaini.com/2010/02/16/turning-archive-log-mode-on-and-off/' rel='bookmark' title='Permanent Link: Turning Archive-log mode on and off'>Turning Archive-log mode on and off</a></li>
</ol>]]></summary>
		<content type="html" xml:base="http://blog.ramin-hossaini.com/2010/03/14/backing-up-an-oracle-database-without-rman/">&lt;a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"&gt;&lt;span style="display: none;"&gt;Private&lt;/span&gt;&lt;/a&gt;&lt;p&gt;If you aren’t using RMAN for your backups (and are using something like Netapp’s snapshots, or the simple copy-command) (in Oracle 9i this can only be done when the Database is in mounted-mode, not opened), you can do this:&lt;/p&gt;
&lt;p&gt;Note: &lt;a href="http://blog.ramin-hossaini.com/2010/02/16/turning-archive-log-mode-on-and-off/"&gt;Archivelog&lt;/a&gt; must be enabled for this to work.&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="oracle" style="font-family:monospace;"&gt;ALTER DATABASE BEGIN BACKUP;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;At this point, you can begin copying/taking snapshots. When you’re done:&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="oracle" style="font-family:monospace;"&gt;ALTER DATABASE END BACKUP;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;In older databases, you’ll have to use (run for every tablespace):&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="oracle" style="font-family:monospace;"&gt;ALTER TABLESPACE tablespace_name BEGIN BACKUP;
ALTER TABLESPACE tablespace_name END BACKUP;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;



&lt;p&gt;Related posts:&lt;ol&gt;&lt;li&gt;&lt;a href='http://blog.ramin-hossaini.com/2008/03/23/simple-mysql-backup-script/' rel='bookmark' title='Permanent Link: Simple MySQL backup-script'&gt;Simple MySQL backup-script&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href='http://blog.ramin-hossaini.com/2010/02/16/listing-key-oracle-database-files/' rel='bookmark' title='Permanent Link: Listing key Oracle Database files'&gt;Listing key Oracle Database files&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href='http://blog.ramin-hossaini.com/2010/02/16/turning-archive-log-mode-on-and-off/' rel='bookmark' title='Permanent Link: Turning Archive-log mode on and off'&gt;Turning Archive-log mode on and off&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RaminHossaini/~4/qZ56HCAj1vM" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://blog.ramin-hossaini.com/2010/03/14/backing-up-an-oracle-database-without-rman/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://blog.ramin-hossaini.com/2010/03/14/backing-up-an-oracle-database-without-rman/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://blog.ramin-hossaini.com/2010/03/14/backing-up-an-oracle-database-without-rman/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Ramin Hossaini</name>
						<uri>http://www.ramin-hossaini.com</uri>
					</author>
		<title type="html"><![CDATA[Quote from &#8216;Kafka on the Shore&#8217; &#8211; Murakami]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RaminHossaini/~3/WQkKwn5SPV0/" />
		<id>http://blog.ramin-hossaini.com/?p=655</id>
		<updated>2010-03-11T14:11:11Z</updated>
		<published>2010-03-11T14:11:11Z</published>
		<category scheme="http://blog.ramin-hossaini.com" term="General" /><category scheme="http://blog.ramin-hossaini.com" term="Book" /><category scheme="http://blog.ramin-hossaini.com" term="Quote" />		<summary type="html"><![CDATA[
I love how random Haruki Murakami gets:

"Are you really Colonel Sanders?"
Colonel Sanders cleared his throat. "Not really. I'm just taking on his appearance for a time."
"That's what I thought," Hoshino said. "So what are you really?"
"I don't have a name."
"How do you get along without one?"
"No problem. Basically I don't have a name or a [...]


No related posts.]]></summary>
		<content type="html" xml:base="http://blog.ramin-hossaini.com/2010/03/11/quote-from-kafka-on-the-shore-murakami/">&lt;p&gt;&lt;a href="http://blog.ramin-hossaini.com/wp-content/uploads/2010/03/kafka.jpg"&gt;&lt;img src="http://blog.ramin-hossaini.com/wp-content/uploads/2010/03/kafka-199x300.jpg" alt="" title="kafka" width="199" height="300" class="alignnone size-medium wp-image-657" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I love how random Haruki Murakami gets:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;
"Are you really Colonel Sanders?"&lt;br /&gt;
Colonel Sanders cleared his throat. "Not really. I'm just taking on his appearance for a time."&lt;br /&gt;
"That's what I thought," Hoshino said. "So what are you really?"&lt;br /&gt;
"I don't have a name."&lt;br /&gt;
"How do you get along without one?"&lt;br /&gt;
"No problem. Basically I don't have a name or a shape"&lt;br /&gt;
"So you're kind of like a fart."&lt;br /&gt;
"You could say that."
&lt;/p&gt;&lt;/blockquote&gt;


&lt;p&gt;No related posts.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RaminHossaini/~4/WQkKwn5SPV0" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://blog.ramin-hossaini.com/2010/03/11/quote-from-kafka-on-the-shore-murakami/#comments" thr:count="1" />
		<link rel="replies" type="application/atom+xml" href="http://blog.ramin-hossaini.com/2010/03/11/quote-from-kafka-on-the-shore-murakami/feed/atom/" thr:count="1" />
		<thr:total>1</thr:total>
	<feedburner:origLink>http://blog.ramin-hossaini.com/2010/03/11/quote-from-kafka-on-the-shore-murakami/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Ramin Hossaini</name>
						<uri>http://www.ramin-hossaini.com</uri>
					</author>
		<title type="html"><![CDATA[Design Inspiration: Maryland Security Professionals]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RaminHossaini/~3/FxA9Aglp5zI/" />
		<id>http://blog.ramin-hossaini.com/?p=647</id>
		<updated>2010-03-10T22:11:55Z</updated>
		<published>2010-03-10T22:07:20Z</published>
		<category scheme="http://blog.ramin-hossaini.com" term="Dev &amp; Design" /><category scheme="http://blog.ramin-hossaini.com" term="Design" /><category scheme="http://blog.ramin-hossaini.com" term="Inspiration" />		<summary type="html"><![CDATA[<a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"><span style="display: none;">Private</span></a><a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"><span style="display: none;">Private</span></a>
http://www.marylandsecurity.net/


Related posts:New homepage design
Curvy Corners



Related posts:<ol><li><a href='http://blog.ramin-hossaini.com/2009/10/10/new-homepage-design/' rel='bookmark' title='Permanent Link: New homepage design'>New homepage design</a></li>
<li><a href='http://blog.ramin-hossaini.com/2007/06/21/curvy-corners/' rel='bookmark' title='Permanent Link: Curvy Corners'>Curvy Corners</a></li>
</ol>]]></summary>
		<content type="html" xml:base="http://blog.ramin-hossaini.com/2010/03/11/design-inspiration-maryland-security-professionals/">&lt;a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"&gt;&lt;span style="display: none;"&gt;Private&lt;/span&gt;&lt;/a&gt;&lt;p&gt;&lt;a href="http://blog.ramin-hossaini.com/wp-content/uploads/2010/03/Capture.jpg"&gt;&lt;img src="http://blog.ramin-hossaini.com/wp-content/uploads/2010/03/Capture-e1268258727520.jpg" alt="" title="Capture" width="500" height="471" class="alignnone size-full wp-image-648" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.marylandsecurity.net/"&gt;http://www.marylandsecurity.net/&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;Related posts:&lt;ol&gt;&lt;li&gt;&lt;a href='http://blog.ramin-hossaini.com/2009/10/10/new-homepage-design/' rel='bookmark' title='Permanent Link: New homepage design'&gt;New homepage design&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href='http://blog.ramin-hossaini.com/2007/06/21/curvy-corners/' rel='bookmark' title='Permanent Link: Curvy Corners'&gt;Curvy Corners&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RaminHossaini/~4/FxA9Aglp5zI" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://blog.ramin-hossaini.com/2010/03/11/design-inspiration-maryland-security-professionals/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://blog.ramin-hossaini.com/2010/03/11/design-inspiration-maryland-security-professionals/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://blog.ramin-hossaini.com/2010/03/11/design-inspiration-maryland-security-professionals/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Ramin Hossaini</name>
						<uri>http://www.ramin-hossaini.com</uri>
					</author>
		<title type="html"><![CDATA[Enabling Trace]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RaminHossaini/~3/ZuV6dDPCblM/" />
		<id>http://blog.ramin-hossaini.com/?p=641</id>
		<updated>2010-03-09T13:45:06Z</updated>
		<published>2010-03-09T13:44:50Z</published>
		<category scheme="http://blog.ramin-hossaini.com" term="How-to" /><category scheme="http://blog.ramin-hossaini.com" term="Oracle" /><category scheme="http://blog.ramin-hossaini.com" term="Trace" />		<summary type="html"><![CDATA[<a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"><span style="display: none;">Private</span></a><a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"><span style="display: none;">Private</span></a>The TRACE_ENABLED parameter allows you to trace the execution history of Oracle. It should be set to TRUE by default.
The information gathered is stored in the following locations:

#User:
/usr/oracle/admin/sid/udump
#Background:
/usr/oracle/admin/sid/bdump
#Core:
/usr/oracle/admin/sid/cdump

These locations could be different depending on what’s set in your PFILE.
Check if trace is enabled:

SHOW parameter trace_enabled;

Sample output:

SQL&#62; show parameter trace_enabled;
&#160;
NAME       [...]


Related posts:<ol><li><a href='http://blog.ramin-hossaini.com/2010/02/16/listing-key-oracle-database-files/' rel='bookmark' title='Permanent Link: Listing key Oracle Database files'>Listing key Oracle Database files</a></li>
<li><a href='http://blog.ramin-hossaini.com/2008/03/23/simple-mysql-backup-script/' rel='bookmark' title='Permanent Link: Simple MySQL backup-script'>Simple MySQL backup-script</a></li>
<li><a href='http://blog.ramin-hossaini.com/2010/03/14/backing-up-an-oracle-database-without-rman/' rel='bookmark' title='Permanent Link: Backing up an Oracle database without RMAN'>Backing up an Oracle database without RMAN</a></li>
</ol>]]></summary>
		<content type="html" xml:base="http://blog.ramin-hossaini.com/2010/03/09/enabling-trace/">&lt;a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"&gt;&lt;span style="display: none;"&gt;Private&lt;/span&gt;&lt;/a&gt;&lt;p&gt;The TRACE_ENABLED parameter allows you to trace the execution history of Oracle. It should be set to TRUE by default.&lt;/p&gt;
&lt;p&gt;The information gathered is stored in the following locations:&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="bash" style="font-family:monospace;"&gt;&lt;span style="color: #666666; font-style: italic;"&gt;#User:&lt;/span&gt;
&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;usr&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;oracle&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;admin&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sid&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;udump
&lt;span style="color: #666666; font-style: italic;"&gt;#Background:&lt;/span&gt;
&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;usr&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;oracle&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;admin&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sid&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;bdump
&lt;span style="color: #666666; font-style: italic;"&gt;#Core:&lt;/span&gt;
&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;usr&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;oracle&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;admin&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sid&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;cdump&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;These locations could be different depending on what’s set in your PFILE.&lt;/p&gt;
&lt;p&gt;Check if trace is enabled:&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="oracle11" style="font-family:monospace;"&gt;SHOW parameter trace_enabled;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Sample output:&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="oracle11" style="font-family:monospace;"&gt;SQL&lt;span style="color: #66cc66;"&gt;&amp;gt;&lt;/span&gt; show parameter trace_enabled;
&amp;nbsp;
NAME                      &lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;TYPE&lt;/span&gt;      &lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;VALUE&lt;/span&gt;
&lt;span style="color: #808080; font-style: italic;"&gt;------------------------- --------  --------------&lt;/span&gt;
trace_enabled             &lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;BOOLEAN&lt;/span&gt;   &lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;TRUE&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;And if it isn’t enabled, enable it using:&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="oracle" style="font-family:monospace;"&gt;ALTER SYSTEM SET trace_enabled = TRUE;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Note: Prior to version Oracle 9i, this parameter was: &lt;strong&gt;_trace_enabled&lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;Related posts:&lt;ol&gt;&lt;li&gt;&lt;a href='http://blog.ramin-hossaini.com/2010/02/16/listing-key-oracle-database-files/' rel='bookmark' title='Permanent Link: Listing key Oracle Database files'&gt;Listing key Oracle Database files&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href='http://blog.ramin-hossaini.com/2008/03/23/simple-mysql-backup-script/' rel='bookmark' title='Permanent Link: Simple MySQL backup-script'&gt;Simple MySQL backup-script&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href='http://blog.ramin-hossaini.com/2010/03/14/backing-up-an-oracle-database-without-rman/' rel='bookmark' title='Permanent Link: Backing up an Oracle database without RMAN'&gt;Backing up an Oracle database without RMAN&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RaminHossaini/~4/ZuV6dDPCblM" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://blog.ramin-hossaini.com/2010/03/09/enabling-trace/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://blog.ramin-hossaini.com/2010/03/09/enabling-trace/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://blog.ramin-hossaini.com/2010/03/09/enabling-trace/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Ramin Hossaini</name>
						<uri>http://www.ramin-hossaini.com</uri>
					</author>
		<title type="html"><![CDATA[Starting, stopping, and Status of Oracle Enterprise Manager (EM)]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RaminHossaini/~3/rGrL_0_H9pg/" />
		<id>http://blog.ramin-hossaini.com/?p=638</id>
		<updated>2010-03-08T20:34:51Z</updated>
		<published>2010-03-08T20:34:51Z</published>
		<category scheme="http://blog.ramin-hossaini.com" term="How-to" /><category scheme="http://blog.ramin-hossaini.com" term="Oracle" /><category scheme="http://blog.ramin-hossaini.com" term="10g" /><category scheme="http://blog.ramin-hossaini.com" term="EM" />		<summary type="html"><![CDATA[<a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"><!-- Private Link --></a><a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"><!-- Private Link --></a>To start the Oracle Enterprise Manager Database Control (from the command-line):

emctl start dbconsole

To get the status:

emctl status dbconsole

To stop the dbconsole

emctl stop dbconsole

To access the EM (with default settings):

http://hostname:5500/em



Related posts:Backing up an Oracle database without RMAN
Listing key Oracle Database files
Turning Archive-log mode on and off



Related posts:<ol><li><a href='http://blog.ramin-hossaini.com/2010/03/14/backing-up-an-oracle-database-without-rman/' rel='bookmark' title='Permanent Link: Backing up an Oracle database without RMAN'>Backing up an Oracle database without RMAN</a></li>
<li><a href='http://blog.ramin-hossaini.com/2010/02/16/listing-key-oracle-database-files/' rel='bookmark' title='Permanent Link: Listing key Oracle Database files'>Listing key Oracle Database files</a></li>
<li><a href='http://blog.ramin-hossaini.com/2010/02/16/turning-archive-log-mode-on-and-off/' rel='bookmark' title='Permanent Link: Turning Archive-log mode on and off'>Turning Archive-log mode on and off</a></li>
</ol>]]></summary>
		<content type="html" xml:base="http://blog.ramin-hossaini.com/2010/03/08/starting-stopping-and-status-of-oracle-enterprise-manager-em/">&lt;a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"&gt;&lt;!-- Private Link --&gt;&lt;/a&gt;&lt;p&gt;To start the Oracle Enterprise Manager Database Control (from the command-line):&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="bash" style="font-family:monospace;"&gt;emctl start dbconsole&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To get the status:&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="bash" style="font-family:monospace;"&gt;emctl status dbconsole&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To stop the dbconsole&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="bash" style="font-family:monospace;"&gt;emctl stop dbconsole&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To access the EM (with default settings):&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="bash" style="font-family:monospace;"&gt;http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;hostname&lt;/span&gt;:&lt;span style="color: #000000;"&gt;5500&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;em&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;



&lt;p&gt;Related posts:&lt;ol&gt;&lt;li&gt;&lt;a href='http://blog.ramin-hossaini.com/2010/03/14/backing-up-an-oracle-database-without-rman/' rel='bookmark' title='Permanent Link: Backing up an Oracle database without RMAN'&gt;Backing up an Oracle database without RMAN&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href='http://blog.ramin-hossaini.com/2010/02/16/listing-key-oracle-database-files/' rel='bookmark' title='Permanent Link: Listing key Oracle Database files'&gt;Listing key Oracle Database files&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href='http://blog.ramin-hossaini.com/2010/02/16/turning-archive-log-mode-on-and-off/' rel='bookmark' title='Permanent Link: Turning Archive-log mode on and off'&gt;Turning Archive-log mode on and off&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RaminHossaini/~4/rGrL_0_H9pg" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://blog.ramin-hossaini.com/2010/03/08/starting-stopping-and-status-of-oracle-enterprise-manager-em/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://blog.ramin-hossaini.com/2010/03/08/starting-stopping-and-status-of-oracle-enterprise-manager-em/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://blog.ramin-hossaini.com/2010/03/08/starting-stopping-and-status-of-oracle-enterprise-manager-em/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Ramin Hossaini</name>
						<uri>http://www.ramin-hossaini.com</uri>
					</author>
		<title type="html"><![CDATA[Update statistics on all objects in a database]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RaminHossaini/~3/v4VoVlE4a50/" />
		<id>http://blog.ramin-hossaini.com/?p=635</id>
		<updated>2010-02-20T18:12:46Z</updated>
		<published>2010-02-20T18:12:46Z</published>
		<category scheme="http://blog.ramin-hossaini.com" term="Oracle" /><category scheme="http://blog.ramin-hossaini.com" term="Database" />		<summary type="html"><![CDATA[<a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"><!-- Private Link --></a><a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"><!-- Private Link --></a>This helps Oracle choose the best execution plan for queries:

BEGIN
dbms_stats.gather_database_stats&#40;options=&#62; 'GATHER AUTO'&#41;;
END;
/



Related posts:Enabling Trace
Listing key Oracle Database files



Related posts:<ol><li><a href='http://blog.ramin-hossaini.com/2010/03/09/enabling-trace/' rel='bookmark' title='Permanent Link: Enabling Trace'>Enabling Trace</a></li>
<li><a href='http://blog.ramin-hossaini.com/2010/02/16/listing-key-oracle-database-files/' rel='bookmark' title='Permanent Link: Listing key Oracle Database files'>Listing key Oracle Database files</a></li>
</ol>]]></summary>
		<content type="html" xml:base="http://blog.ramin-hossaini.com/2010/02/20/update-statistics-on-all-objects-in-a-database/">&lt;a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"&gt;&lt;!-- Private Link --&gt;&lt;/a&gt;&lt;p&gt;This helps Oracle choose the best execution plan for queries:&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="oracle11" style="font-family:monospace;"&gt;&lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;BEGIN&lt;/span&gt;
dbms_stats.gather_database_stats&lt;span style="color: #66cc66;"&gt;&amp;#40;&lt;/span&gt;options&lt;span style="color: #66cc66;"&gt;=&amp;gt;&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;'GATHER AUTO'&lt;/span&gt;&lt;span style="color: #66cc66;"&gt;&amp;#41;&lt;/span&gt;;
&lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;END&lt;/span&gt;;
&lt;span style="color: #66cc66;"&gt;/&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;



&lt;p&gt;Related posts:&lt;ol&gt;&lt;li&gt;&lt;a href='http://blog.ramin-hossaini.com/2010/03/09/enabling-trace/' rel='bookmark' title='Permanent Link: Enabling Trace'&gt;Enabling Trace&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href='http://blog.ramin-hossaini.com/2010/02/16/listing-key-oracle-database-files/' rel='bookmark' title='Permanent Link: Listing key Oracle Database files'&gt;Listing key Oracle Database files&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RaminHossaini/~4/v4VoVlE4a50" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://blog.ramin-hossaini.com/2010/02/20/update-statistics-on-all-objects-in-a-database/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://blog.ramin-hossaini.com/2010/02/20/update-statistics-on-all-objects-in-a-database/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://blog.ramin-hossaini.com/2010/02/20/update-statistics-on-all-objects-in-a-database/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Ramin Hossaini</name>
						<uri>http://www.ramin-hossaini.com</uri>
					</author>
		<title type="html"><![CDATA[Turning Archive-log mode on and off]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RaminHossaini/~3/PjVZ46xi4X4/" />
		<id>http://blog.ramin-hossaini.com/?p=632</id>
		<updated>2010-02-16T19:10:40Z</updated>
		<published>2010-02-16T19:10:40Z</published>
		<category scheme="http://blog.ramin-hossaini.com" term="Oracle" /><category scheme="http://blog.ramin-hossaini.com" term="Database" />		<summary type="html"><![CDATA[<a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"><!-- Private Link --></a><a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"><!-- Private Link --></a>You can check what mode the database is in with:

1
SELECT LOG_MODE FROM SYS.V$DATABASE;

If you do not specify an archive-log location, it will end up going to a directory like $ORACLE_HOME/dbs - which can be quite a mess.
Check where it's going:

1
SHOW PARAMETER log_archive_dest;

It would be good practice to set the location if it doesn’t show one.
To [...]


Related posts:<ol><li><a href='http://blog.ramin-hossaini.com/2010/03/14/backing-up-an-oracle-database-without-rman/' rel='bookmark' title='Permanent Link: Backing up an Oracle database without RMAN'>Backing up an Oracle database without RMAN</a></li>
<li><a href='http://blog.ramin-hossaini.com/2010/03/09/enabling-trace/' rel='bookmark' title='Permanent Link: Enabling Trace'>Enabling Trace</a></li>
<li><a href='http://blog.ramin-hossaini.com/2010/02/16/listing-key-oracle-database-files/' rel='bookmark' title='Permanent Link: Listing key Oracle Database files'>Listing key Oracle Database files</a></li>
</ol>]]></summary>
		<content type="html" xml:base="http://blog.ramin-hossaini.com/2010/02/16/turning-archive-log-mode-on-and-off/">&lt;a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"&gt;&lt;!-- Private Link --&gt;&lt;/a&gt;&lt;p&gt;You can check what mode the database is in with:&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;table&gt;&lt;tr&gt;&lt;td class="line_numbers"&gt;&lt;pre&gt;1
&lt;/pre&gt;&lt;/td&gt;&lt;td class="code"&gt;&lt;pre class="oracle11" style="font-family:monospace;"&gt;&lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;SELECT&lt;/span&gt; LOG_MODE &lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;FROM&lt;/span&gt; SYS.V$DATABASE;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;If you do not specify an archive-log location, it will end up going to a directory like $ORACLE_HOME/dbs - which can be quite a mess.&lt;br /&gt;
Check where it's going:&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;table&gt;&lt;tr&gt;&lt;td class="line_numbers"&gt;&lt;pre&gt;1
&lt;/pre&gt;&lt;/td&gt;&lt;td class="code"&gt;&lt;pre class="oracle11" style="font-family:monospace;"&gt;SHOW PARAMETER log_archive_dest;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;It would be good practice to set the location if it doesn’t show one.&lt;br /&gt;
To turn archive-log-mode on or off:&lt;/p&gt;
&lt;p&gt;shutdown database:&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;table&gt;&lt;tr&gt;&lt;td class="line_numbers"&gt;&lt;pre&gt;1
2
3
&lt;/pre&gt;&lt;/td&gt;&lt;td class="code"&gt;&lt;pre class="oracle11" style="font-family:monospace;"&gt;SHUTDOWN &lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;IMMEDIATE&lt;/span&gt;
STARTUP RESTRICT
SHUTDOWN&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Mount the database:&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;table&gt;&lt;tr&gt;&lt;td class="line_numbers"&gt;&lt;pre&gt;1
&lt;/pre&gt;&lt;/td&gt;&lt;td class="code"&gt;&lt;pre class="oracle11" style="font-family:monospace;"&gt;&lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;ALTER&lt;/span&gt; &lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;DATABASE&lt;/span&gt; MOUNT;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Then issue one of the following:&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;table&gt;&lt;tr&gt;&lt;td class="line_numbers"&gt;&lt;pre&gt;1
2
&lt;/pre&gt;&lt;/td&gt;&lt;td class="code"&gt;&lt;pre class="oracle11" style="font-family:monospace;"&gt;&lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;ALTER&lt;/span&gt; &lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;DATABASE&lt;/span&gt; NOARCHIVELOG;
&lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;ALTER&lt;/span&gt; &lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;DATABASE&lt;/span&gt; ARCHIVELOG;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;If the location hasn’t been set yet:&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;table&gt;&lt;tr&gt;&lt;td class="line_numbers"&gt;&lt;pre&gt;1
&lt;/pre&gt;&lt;/td&gt;&lt;td class="code"&gt;&lt;pre class="oracle11" style="font-family:monospace;"&gt;&lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;ALTER&lt;/span&gt; &lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;SYSTEM&lt;/span&gt; &lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;SET&lt;/span&gt; LOG_ARCHIVE_DEST &lt;span style="color: #66cc66;"&gt;=&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;&amp;quot;/ARC_LOCATION&amp;quot;&lt;/span&gt;;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Then open the database:&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;table&gt;&lt;tr&gt;&lt;td class="line_numbers"&gt;&lt;pre&gt;1
&lt;/pre&gt;&lt;/td&gt;&lt;td class="code"&gt;&lt;pre class="oracle11" style="font-family:monospace;"&gt;&lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;ALTER&lt;/span&gt; &lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;DATABASE&lt;/span&gt; &lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;OPEN&lt;/span&gt;;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;There might also be archivelog related entries in your PFILE, which you should also make changes to.&lt;/p&gt;


&lt;p&gt;Related posts:&lt;ol&gt;&lt;li&gt;&lt;a href='http://blog.ramin-hossaini.com/2010/03/14/backing-up-an-oracle-database-without-rman/' rel='bookmark' title='Permanent Link: Backing up an Oracle database without RMAN'&gt;Backing up an Oracle database without RMAN&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href='http://blog.ramin-hossaini.com/2010/03/09/enabling-trace/' rel='bookmark' title='Permanent Link: Enabling Trace'&gt;Enabling Trace&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href='http://blog.ramin-hossaini.com/2010/02/16/listing-key-oracle-database-files/' rel='bookmark' title='Permanent Link: Listing key Oracle Database files'&gt;Listing key Oracle Database files&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RaminHossaini/~4/PjVZ46xi4X4" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://blog.ramin-hossaini.com/2010/02/16/turning-archive-log-mode-on-and-off/#comments" thr:count="1" />
		<link rel="replies" type="application/atom+xml" href="http://blog.ramin-hossaini.com/2010/02/16/turning-archive-log-mode-on-and-off/feed/atom/" thr:count="1" />
		<thr:total>1</thr:total>
	<feedburner:origLink>http://blog.ramin-hossaini.com/2010/02/16/turning-archive-log-mode-on-and-off/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Ramin Hossaini</name>
						<uri>http://www.ramin-hossaini.com</uri>
					</author>
		<title type="html"><![CDATA[Listing key Oracle Database files]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RaminHossaini/~3/ZQmkTlqm3OU/" />
		<id>http://blog.ramin-hossaini.com/?p=627</id>
		<updated>2010-02-16T18:57:02Z</updated>
		<published>2010-02-16T18:57:02Z</published>
		<category scheme="http://blog.ramin-hossaini.com" term="Oracle" />		<summary type="html"><![CDATA[<a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"><!-- Private Link --></a><a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"><!-- Private Link --></a>To get a list of all datafiles, redo-log files and control-files, run the following in SQL*Plus (database must be mounted):

1
2
3
SELECT MEMBER FROM V$LOGFILE;
SELECT NAME FROM V$DATAFILE;
SELECT VALUE FROM V$PARAMETER WHERE NAME = 'control_files';

An easier way of displaying your control-files is:

1
SHOW PARAMETER control_files;



Related posts:Backing up an Oracle database without RMAN
Turning Archive-log mode on and off
Simple MySQL [...]


Related posts:<ol><li><a href='http://blog.ramin-hossaini.com/2010/03/14/backing-up-an-oracle-database-without-rman/' rel='bookmark' title='Permanent Link: Backing up an Oracle database without RMAN'>Backing up an Oracle database without RMAN</a></li>
<li><a href='http://blog.ramin-hossaini.com/2010/02/16/turning-archive-log-mode-on-and-off/' rel='bookmark' title='Permanent Link: Turning Archive-log mode on and off'>Turning Archive-log mode on and off</a></li>
<li><a href='http://blog.ramin-hossaini.com/2008/03/23/simple-mysql-backup-script/' rel='bookmark' title='Permanent Link: Simple MySQL backup-script'>Simple MySQL backup-script</a></li>
</ol>]]></summary>
		<content type="html" xml:base="http://blog.ramin-hossaini.com/2010/02/16/listing-key-oracle-database-files/">&lt;a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"&gt;&lt;!-- Private Link --&gt;&lt;/a&gt;&lt;p&gt;To get a list of all datafiles, redo-log files and control-files, run the following in SQL*Plus (database must be mounted):&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;table&gt;&lt;tr&gt;&lt;td class="line_numbers"&gt;&lt;pre&gt;1
2
3
&lt;/pre&gt;&lt;/td&gt;&lt;td class="code"&gt;&lt;pre class="oracle11" style="font-family:monospace;"&gt;&lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;SELECT&lt;/span&gt; MEMBER &lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;FROM&lt;/span&gt; V$LOGFILE;
&lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;SELECT&lt;/span&gt; NAME &lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;FROM&lt;/span&gt; V$DATAFILE;
&lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;SELECT&lt;/span&gt; &lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;VALUE&lt;/span&gt; &lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;FROM&lt;/span&gt; V$PARAMETER &lt;span style="color: #993333; font-weight: bold; text-transform: uppercase;"&gt;WHERE&lt;/span&gt; NAME &lt;span style="color: #66cc66;"&gt;=&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;'control_files'&lt;/span&gt;;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;An easier way of displaying your control-files is:&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;table&gt;&lt;tr&gt;&lt;td class="line_numbers"&gt;&lt;pre&gt;1
&lt;/pre&gt;&lt;/td&gt;&lt;td class="code"&gt;&lt;pre class="oracle11" style="font-family:monospace;"&gt;SHOW PARAMETER control_files;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;



&lt;p&gt;Related posts:&lt;ol&gt;&lt;li&gt;&lt;a href='http://blog.ramin-hossaini.com/2010/03/14/backing-up-an-oracle-database-without-rman/' rel='bookmark' title='Permanent Link: Backing up an Oracle database without RMAN'&gt;Backing up an Oracle database without RMAN&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href='http://blog.ramin-hossaini.com/2010/02/16/turning-archive-log-mode-on-and-off/' rel='bookmark' title='Permanent Link: Turning Archive-log mode on and off'&gt;Turning Archive-log mode on and off&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href='http://blog.ramin-hossaini.com/2008/03/23/simple-mysql-backup-script/' rel='bookmark' title='Permanent Link: Simple MySQL backup-script'&gt;Simple MySQL backup-script&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RaminHossaini/~4/ZQmkTlqm3OU" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://blog.ramin-hossaini.com/2010/02/16/listing-key-oracle-database-files/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://blog.ramin-hossaini.com/2010/02/16/listing-key-oracle-database-files/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://blog.ramin-hossaini.com/2010/02/16/listing-key-oracle-database-files/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Ramin Hossaini</name>
						<uri>http://www.ramin-hossaini.com</uri>
					</author>
		<title type="html"><![CDATA[Stop Wordpress from adding p and br tags]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RaminHossaini/~3/90Gybr7VDlU/" />
		<id>http://blog.ramin-hossaini.com/?p=619</id>
		<updated>2010-01-09T18:43:04Z</updated>
		<published>2010-01-09T18:41:30Z</published>
		<category scheme="http://blog.ramin-hossaini.com" term="Dev &amp; Design" /><category scheme="http://blog.ramin-hossaini.com" term="wordpress" />		<summary type="html"><![CDATA[<a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"><!-- Private Link --></a><a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"><!-- Private Link --></a>Even without the visual-editor, Wordpress has a habit of adding &#60;p&#62; and &#60;br/&#62; tags
Add this to your templates/pages/whatever and it should take care of the problem.

&#60;?php remove_filter&#40;'the_content', 'wpautop'&#41;; ?&#62;



Related posts:My top Wordpress plug-ins
Performing Wordpress upgrades (Linux)
Wordpress 2.7 Beta 1



Related posts:<ol><li><a href='http://blog.ramin-hossaini.com/2008/03/15/my-top-wordpress-plug-ins/' rel='bookmark' title='Permanent Link: My top Wordpress plug-ins'>My top Wordpress plug-ins</a></li>
<li><a href='http://blog.ramin-hossaini.com/2008/10/28/performing-wordpress-upgrades-linux/' rel='bookmark' title='Permanent Link: Performing Wordpress upgrades (Linux)'>Performing Wordpress upgrades (Linux)</a></li>
<li><a href='http://blog.ramin-hossaini.com/2008/11/01/wordpress-27-beta-1/' rel='bookmark' title='Permanent Link: Wordpress 2.7 Beta 1'>Wordpress 2.7 Beta 1</a></li>
</ol>]]></summary>
		<content type="html" xml:base="http://blog.ramin-hossaini.com/2010/01/09/stop-wordpress-from-adding-and-tags/">&lt;a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"&gt;&lt;span style="display: none;"&gt;Private&lt;/span&gt;&lt;/a&gt;&lt;p&gt;Even without the visual-editor, Wordpress has a habit of adding &amp;lt;p&amp;gt; and &amp;lt;br/&amp;gt; tags&lt;/p&gt;
&lt;p&gt;Add this to your templates/pages/whatever and it should take care of the problem.&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="php" style="font-family:monospace;"&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;&amp;lt;?php&lt;/span&gt; remove_filter&lt;span style="color: #009900;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;'the_content'&lt;/span&gt;&lt;span style="color: #339933;"&gt;,&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;'wpautop'&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#41;&lt;/span&gt;&lt;span style="color: #339933;"&gt;;&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;?&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;



&lt;p&gt;Related posts:&lt;ol&gt;&lt;li&gt;&lt;a href='http://blog.ramin-hossaini.com/2008/03/15/my-top-wordpress-plug-ins/' rel='bookmark' title='Permanent Link: My top Wordpress plug-ins'&gt;My top Wordpress plug-ins&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href='http://blog.ramin-hossaini.com/2008/10/28/performing-wordpress-upgrades-linux/' rel='bookmark' title='Permanent Link: Performing Wordpress upgrades (Linux)'&gt;Performing Wordpress upgrades (Linux)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href='http://blog.ramin-hossaini.com/2008/11/01/wordpress-27-beta-1/' rel='bookmark' title='Permanent Link: Wordpress 2.7 Beta 1'&gt;Wordpress 2.7 Beta 1&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RaminHossaini/~4/90Gybr7VDlU" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://blog.ramin-hossaini.com/2010/01/09/stop-wordpress-from-adding-and-tags/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://blog.ramin-hossaini.com/2010/01/09/stop-wordpress-from-adding-and-tags/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://blog.ramin-hossaini.com/2010/01/09/stop-wordpress-from-adding-and-tags/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Ramin Hossaini</name>
						<uri>http://www.ramin-hossaini.com</uri>
					</author>
		<title type="html"><![CDATA[Create bevelled text]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/RaminHossaini/~3/5PtMsU1aT60/" />
		<id>http://blog.ramin-hossaini.com/?p=608</id>
		<updated>2009-12-09T16:41:30Z</updated>
		<published>2009-12-09T16:41:30Z</published>
		<category scheme="http://blog.ramin-hossaini.com" term="How-to" /><category scheme="http://blog.ramin-hossaini.com" term="Photoshop" /><category scheme="http://blog.ramin-hossaini.com" term="Typography" />		<summary type="html"><![CDATA[<a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"><span style="display: none;">Private</span></a><a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"><span style="display: none;">Private</span></a>I might be superfluous in my method here, but it works well for me  
Add some text

Added blending-modes:



Final result





Related posts:Now publishing full-text to RSS
Photoshop: The split-toning effect



Related posts:<ol><li><a href='http://blog.ramin-hossaini.com/2009/07/13/rss-config-feed-change/' rel='bookmark' title='Permanent Link: Now publishing full-text to RSS'>Now publishing full-text to RSS</a></li>
<li><a href='http://blog.ramin-hossaini.com/2008/03/16/photoshop-the-split-toning-effect/' rel='bookmark' title='Permanent Link: Photoshop: The split-toning effect'>Photoshop: The split-toning effect</a></li>
</ol>]]></summary>
		<content type="html" xml:base="http://blog.ramin-hossaini.com/2009/12/09/create-bevelled-text/">&lt;a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"&gt;&lt;span style="display: none;"&gt;Private&lt;/span&gt;&lt;/a&gt;&lt;p&gt;I might be superfluous in my method here, but it works well for me &lt;img src='http://blog.ramin-hossaini.com/wp-content/plugins/smilies-themer/adiumicons/happy.png' alt=':)' class='wp-smiley' /&gt; &lt;/p&gt;
&lt;h2&gt;Add some text&lt;/h2&gt;
&lt;p&gt;&lt;img src="http://blog.ramin-hossaini.com/wp-content/uploads/2009/12/Capture00_.PNG" alt="Capture00_" title="Capture00_" width="828" height="198" class="alignnone size-full wp-image-609" /&gt;&lt;/p&gt;
&lt;h2&gt;Added blending-modes:&lt;/h2&gt;
&lt;p&gt;&lt;img src="http://blog.ramin-hossaini.com/wp-content/uploads/2009/12/Capture01.PNG" alt="Capture01" title="Capture01" width="322" height="279" class="alignnone size-full wp-image-612" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://blog.ramin-hossaini.com/wp-content/uploads/2009/12/Capture02.PNG" alt="Capture02" title="Capture02" width="324" height="364" class="alignnone size-full wp-image-613" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://blog.ramin-hossaini.com/wp-content/uploads/2009/12/Capture03.PNG" alt="Capture03" title="Capture03" width="320" height="392" class="alignnone size-full wp-image-614" /&gt;&lt;/p&gt;
&lt;h2&gt;Final result&lt;/h2&gt;
&lt;p&gt;&lt;img src="http://blog.ramin-hossaini.com/wp-content/uploads/2009/12/Capture00.PNG" alt="Capture00" title="Capture00" width="840" height="238" class="alignnone size-full wp-image-610" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://blog.ramin-hossaini.com/wp-content/uploads/2009/12/Capture04.PNG" alt="Capture04" title="Capture04" width="538" height="427" class="alignnone size-full wp-image-615" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://blog.ramin-hossaini.com/wp-content/uploads/2009/12/Capture05.PNG" alt="Capture05" title="Capture05" width="398" height="452" class="alignnone size-full wp-image-616" /&gt;&lt;/p&gt;


&lt;p&gt;Related posts:&lt;ol&gt;&lt;li&gt;&lt;a href='http://blog.ramin-hossaini.com/2009/07/13/rss-config-feed-change/' rel='bookmark' title='Permanent Link: Now publishing full-text to RSS'&gt;Now publishing full-text to RSS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href='http://blog.ramin-hossaini.com/2008/03/16/photoshop-the-split-toning-effect/' rel='bookmark' title='Permanent Link: Photoshop: The split-toning effect'&gt;Photoshop: The split-toning effect&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RaminHossaini/~4/5PtMsU1aT60" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://blog.ramin-hossaini.com/2009/12/09/create-bevelled-text/#comments" thr:count="1" />
		<link rel="replies" type="application/atom+xml" href="http://blog.ramin-hossaini.com/2009/12/09/create-bevelled-text/feed/atom/" thr:count="1" />
		<thr:total>1</thr:total>
	<feedburner:origLink>http://blog.ramin-hossaini.com/2009/12/09/create-bevelled-text/</feedburner:origLink></entry>
	<a href="http://blog.ramin-hossaini.com/cotton/cottonoccurrence.php"><span style="display: none;">Private</span></a></feed><!-- Dynamic page generated in 2.236 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-03-17 09:32:52 -->
