<?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>MacManitou&#039;s Blog</title>
	<atom:link href="http://www2.macmanitou.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://www2.macmanitou.de</link>
	<description>23, 42, RDF and more</description>
	<lastBuildDate>Mon, 23 Apr 2012 00:25:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Magento: Configure Magento with ISPConfig</title>
		<link>http://www2.macmanitou.de/computer/development/html/magento-configure-magento-with-ispconfig/</link>
		<comments>http://www2.macmanitou.de/computer/development/html/magento-configure-magento-with-ispconfig/#comments</comments>
		<pubDate>Sat, 14 Apr 2012 10:21:08 +0000</pubDate>
		<dc:creator>simple</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://www2.macmanitou.de/?p=318</guid>
		<description><![CDATA[Some configuration settings between ISPConfig and Magento overlap, so it was necessary to fine-tune these settings.
Also make sure that you use suPHP and try to prevent mod_php, which is faster but has some problems.
You can simply copy them and add them to your „Apache Directives“ in the  [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p style="text-align: left;">Some configuration settings between ISPConfig and Magento overlap, so it was necessary to fine-tune these settings.</p>
<p style="text-align: left;">Also make sure that you use suPHP and try to prevent mod_php, which is faster but has some problems.</p>
<p style="text-align: left;">You can simply copy them and add them to your „Apache Directives“ in the ISPConfig, but do not forget to replace the directory „/var/www/clients/client1/web1/web/„ with yours:</p>
<pre class="brush:bash">
DirectoryIndex index.php

############################################

## adjust memory limit

php_value memory_limit 64M

# lets stick with 30s for now        

# php_value max_execution_time 1800

############################################

## disable magic quotes for php request vars

php_flag magic_quotes_gpc off

############################################

## enable resulting html compression

php_flag zlib.output_compression on

############################################

## enable apache served files compression

## http://developer.yahoo.com/performance/rules.html#gzip

# Insert filter

SetOutputFilter DEFLATE

# Netscape 4.x has some problems…

#BrowserMatch ^Mozilla/4 gzip-only-text/html

# Netscape 4.06-4.08 have some more problems

#BrowserMatch ^Mozilla/4\.0[678] no-gzip

# MSIE masquerades as Netscape, but it is fine

#BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

# Don’t compress images

SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary

# Make sure proxies don’t deliver the wrong content

#Header append Vary User-Agent env=!dont-vary

############################################

## make HTTPS env vars available for CGI mode

SSLOptions StdEnvVars

############################################

## enable rewrites

Options +FollowSymLinks

RewriteEngine on

############################################

## you can put here your magenta root folder

## path relative to web root

RewriteBase /

############################################

## workaround for HTTP authorization

## in CGI environment

# RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

############################################

## always send 404 on missing files in these folders

RewriteCond %{REQUEST_URI} !^/(media|skin|js)/

############################################

## never rewrite for existing files, directories and links

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond %{REQUEST_FILENAME} !-l

############################################

## rewrite everything else to index.php

RewriteRule .* index.php [L]

############################################

## Prevent character encoding issues from server overrides

## If you still have problems, use the second line instead

AddDefaultCharset Off

#AddDefaultCharset UTF-8

############################################

## Add default Expires header

## http://developer.yahoo.com/performance/rules.html#expires

ExpiresDefault „access plus 1 year“</pre>
<div class="shr-publisher-318"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www2.macmanitou.de/computer/development/html/magento-configure-magento-with-ispconfig/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Postgres: Remote copy a database between two machines using ssh</title>
		<link>http://www2.macmanitou.de/computer/development/postgres-remote-copy-a-database-between-two-machines-using-ssh/</link>
		<comments>http://www2.macmanitou.de/computer/development/postgres-remote-copy-a-database-between-two-machines-using-ssh/#comments</comments>
		<pubDate>Wed, 14 Mar 2012 00:53:52 +0000</pubDate>
		<dc:creator>simple</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www2.macmanitou.de/?p=323</guid>
		<description><![CDATA[Sometimes it might be useful to copy a postgres database between two systems. This is not a big hazel and can be done with a simple one-liner (Port 22):
pg_dump -C dbname &#124; bzip2 &#124; ssh  remoteuser@remotehost.de "bunzip2 &#124; psql dbname"
and even if your ssh connection uses a different port (1234) you  [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Sometimes it might be useful to copy a postgres database between two systems. This is not a big hazel and can be done with a simple one-liner (Port 22):</p>
<pre class="brush:bash">pg_dump -C dbname | bzip2 | ssh  remoteuser@remotehost.de "bunzip2 | psql dbname"</pre>
<p>and even if your ssh connection uses a different port (1234) you are good to go:</p>
<pre class="brush:bash">pg_dump -C dbname | bzip2 | ssh remoteuser@remotehost.de -p 1234 "bunzip2 | psql dbname user"</pre>
<div class="shr-publisher-323"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www2.macmanitou.de/computer/development/postgres-remote-copy-a-database-between-two-machines-using-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GIT: Updating the current branch in a non-bare repository is denied&#8230;</title>
		<link>http://www2.macmanitou.de/computer/development/git-updating-the-current-branch-in-a-non-bare-repository-is-denied/</link>
		<comments>http://www2.macmanitou.de/computer/development/git-updating-the-current-branch-in-a-non-bare-repository-is-denied/#comments</comments>
		<pubDate>Wed, 22 Feb 2012 23:07:36 +0000</pubDate>
		<dc:creator>simple</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www2.macmanitou.de/?p=309</guid>
		<description><![CDATA[Sometimes there are days when you just forget to configure your git repository on the server and that are the days when you run in awkward errors like that:

By default, updating the current branch in a non-bare repository is denied, because it will make the index and work tree inconsistent…
The  [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Sometimes there are days when you just forget to configure your git repository on the server and that are the days when you run in awkward errors like that:</p>
<pre class="brush:bash">
By default, updating the current branch in a non-bare repository is denied, because it will make the index and work tree inconsistent…</pre>
<p>The fix for this is simple, just configure your git repository on the server as a bare repository:</p>
<pre class="brush:bash">git config --bool core.bare true</pre>
<p>Then remove all files and directories, except for the “.git“ directory.<br />
Mission accomplished.</p>
<div class="shr-publisher-309"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www2.macmanitou.de/computer/development/git-updating-the-current-branch-in-a-non-bare-repository-is-denied/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VirtualBox: VMDK and VDI conversion and resize</title>
		<link>http://www2.macmanitou.de/computer/operating-systems/virtualbox-vmdk-and-vdi-conversion-and-resize/</link>
		<comments>http://www2.macmanitou.de/computer/operating-systems/virtualbox-vmdk-and-vdi-conversion-and-resize/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 21:39:11 +0000</pubDate>
		<dc:creator>simple</dc:creator>
				<category><![CDATA[Operating Systems]]></category>

		<guid isPermaLink="false">http://www2.macmanitou.de/uncategorized/virtualbox-vmdk-and-vdi-conversion-and-resize/</guid>
		<description><![CDATA[Since VirtualBox 4.0 it is possible to resize vdi disk images, that is quit simple using the following command:
VBoxManage modifyhd YOUR_HARD_DISK.vdi --resize SIZE_IN_MB
SIZE_IN_MB reflects the new disk size so if you want to increase your image to 25GB, just use:
VBoxManage modifyhd darwin.vdi  [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p style="text-align: left;">Since VirtualBox 4.0 it is possible to resize vdi disk images, that is quit simple using the following command:</p>
<pre class="brush:bash">VBoxManage modifyhd YOUR_HARD_DISK.vdi --resize SIZE_IN_MB</pre>
<p>SIZE_IN_MB reflects the new disk size so if you want to increase your image to 25GB, just use:</p>
<pre class="brush:bash">VBoxManage modifyhd darwin.vdi --resize 25000</pre>
<p style="text-align: left;">Sometimes it happens that you do not use a vdi with VirutalBox, but a VMWare Image (VMDK). That is also no problem, to convert from VMDK to VDI you can use:</p>
<p style="text-align: left;">VBoxManage clonehd &#8211;format vdi /path/to/original.vmdk /path/to/converted.vdi</p>
<div class="shr-publisher-239"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www2.macmanitou.de/computer/operating-systems/virtualbox-vmdk-and-vdi-conversion-and-resize/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Steve I will miss you, There will be no more: But there is one more thing&#8230;</title>
		<link>http://www2.macmanitou.de/computer/steve-i-will-miss-you-there-will-be-now-no-more-but-there-is-one-more-thing/</link>
		<comments>http://www2.macmanitou.de/computer/steve-i-will-miss-you-there-will-be-now-no-more-but-there-is-one-more-thing/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 21:42:24 +0000</pubDate>
		<dc:creator>simple</dc:creator>
				<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[iOS, UIKit]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Apple]]></category>

		<guid isPermaLink="false">http://www.macmanitou.de/wordpress/?p=181</guid>
		<description><![CDATA[
I was completely shocked when I read this morning on my iPhone that Steve passed away. All my thoughts and sympathy goes out to his family and friends. Please be strong and accept the condolences of me and my family.
This day in my life is dedicated to Steve Jobs, I will think of him as of the  [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www2.macmanitou.de/wp-content/569eb46d2f4e680ec292dcb64d593430.jpg"><img class="alignnone size-full wp-image-228" title="Steve Jobs 1955-2011" src="http://www2.macmanitou.de/wp-content/569eb46d2f4e680ec292dcb64d593430.jpg" alt="Steve Jobs 1955-2011" width="596" height="399" /></a></p>
<p>I was completely shocked when I read this morning on my iPhone that Steve passed away. All my thoughts and sympathy goes out to his family and friends. Please be strong and accept the condolences of me and my family.</p>
<p>This day in my life is dedicated to Steve Jobs, I will think of him as of the great man he was and the one person who changed and influenced my life the most. Every single piece of software I write, every graphical user interface I create has a touch of his visions and so he will live on in me, till my time comes to meet him in another place.</p>
<p>I will miss you &#8211; Take care where ever you are,<br />
Sascha Müllner</p>
]]></content:encoded>
			<wfw:commentRss>http://www2.macmanitou.de/computer/steve-i-will-miss-you-there-will-be-now-no-more-but-there-is-one-more-thing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Database: Migration from SQLite to MySQL</title>
		<link>http://www2.macmanitou.de/computer/development/databases/database-migration-from-sqlite-to-mysql/</link>
		<comments>http://www2.macmanitou.de/computer/development/databases/database-migration-from-sqlite-to-mysql/#comments</comments>
		<pubDate>Tue, 06 Sep 2011 12:45:38 +0000</pubDate>
		<dc:creator>simple</dc:creator>
				<category><![CDATA[Databases]]></category>

		<guid isPermaLink="false">http://www.macmanitou.de/wordpress/uncategorized/database-migration-from-sqlite-to-mysql/</guid>
		<description><![CDATA[After working with some sqlite databases for one of my iOS projects lately, I have now decided to also add an online service for the project. But how can I migrate from sqlite to MySQL?
Here are the basic three steps, I figured out that are needed to extract and modify the DDL to be ready for an  [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>After working with some sqlite databases for one of my iOS projects lately, I have now decided to also add an online service for the project. But how can I migrate from sqlite to MySQL?</p>
<p>Here are the basic three steps, I figured out that are needed to extract and modify the DDL to be ready for an import to MySQL: </p>
<ol style="list-style-type: decimal">
<li>1. Export the SQLite database with sqlite and command parameter “.dump” &#8211; as an example : <em>sqlite3 mySQLiteDataBase .dump .quit &gt;&gt; myDumpSQLite</em></li>
<li>2. Adapt the dump to get it compatible for MySQL   &#8211; Replace “ (double-quotes) with ` (grave accent)   &#8211; Remove “<em>BEGIN TRANSACTION;</em>” “<em>COMMIT;</em>”, and lines related to “<em>sqlite_sequence</em>”   &#8211; Replace “<em>auto increment</em>” with “<em>auto_increment</em>”</li>
<li>3. The dump is ready to get imported in a MySQL server</li>
</ol>
<p>Luckily the modifications can be done with a simple python script Axel Steiner wrote. You can find it on his website:</p>
<p><a href="http://www.treibsand.com/2008/02/15/sqlite_mysql/">http://www.treibsand.com/2008/02/15/sqlite_mysql/</a></p>
<div class="shr-publisher-223"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www2.macmanitou.de/computer/development/databases/database-migration-from-sqlite-to-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle: How to get a formatted string from a date?</title>
		<link>http://www2.macmanitou.de/computer/development/oracle-how-to-get-a-formatted-string-from-a-date/</link>
		<comments>http://www2.macmanitou.de/computer/development/oracle-how-to-get-a-formatted-string-from-a-date/#comments</comments>
		<pubDate>Fri, 02 Sep 2011 09:39:26 +0000</pubDate>
		<dc:creator>simple</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.macmanitou.de/wordpress/uncategorized/oracle-how-to-get-a-formatted-string-from-a-date/</guid>
		<description><![CDATA[If you work with SQL on Oracle you sometimes want to extract additional informations from a date field and also limit this result to a distinct set.
So for example to get all distinct years of a date field from a data set, you can use the following statement, which uses a subquery:

SELECT year  [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>If you work with SQL on Oracle you sometimes want to extract additional informations from a date field and also limit this result to a distinct set.<br />
So for example to get all distinct years of a date field from a data set, you can use the following statement, which uses a subquery:</p>
<pre class="brush:sql">
SELECT year FROM
(SELECT distinct TO_CHAR(wtp.delivery_date, 'YYYY') AS year FROM world_transport wtp)
ORDER BY year ASC;
</pre>
<p>We can further optimize the query, removing the subquery:</p>
<pre class="brush:sql">
SELECT distinct TO_CHAR(wtp.delivery_date, 'YYYY') year
FROM world_transport wtp
ORDER BY year ASC;
</pre>
<p>If you now only want to order the result set, but also group it, remember that the alias year is not known when “GROUP BY” is invoked. To work around this simply use the same “TO_CHAR” function, instead of the alias:  </p>
<pre class="brush:sql">
SELECT TO_CHAR(wtp.delivery_date, 'YYYY') year
FROM world_transport wtp
GROUP  BY TO_CHAR(wtp.delivery_date, 'YYYY')
ORDER BY year ASC;
</pre>
<p>If you want to know the year, but want to preserve the data type date, you can do this by using the function”TRUNC” instead of “TO_CHAR” function:</p>
<pre class="brush:sql">
SELECT TRUNC(wtp.delivery_date, 'YEAR') year
FROM world_transport wtp
GROUP  BY TRUNC(wtp.delivery_date, 'YEAR')
ORDER BY year ASC;
</pre>
<p>Any comments or additions are welcome!</p>
<div class="shr-publisher-201"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www2.macmanitou.de/computer/development/oracle-how-to-get-a-formatted-string-from-a-date/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle: Escape ampersand (&amp;) characters in SQL*Plus</title>
		<link>http://www2.macmanitou.de/computer/development/oracle-escape-ampersand-characters-in-sqlplus/</link>
		<comments>http://www2.macmanitou.de/computer/development/oracle-escape-ampersand-characters-in-sqlplus/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 12:38:57 +0000</pubDate>
		<dc:creator>simple</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.macmanitou.de/wordpress/uncategorized/oracle-escape-ampersand-characters-in-sqlplus/</guid>
		<description><![CDATA[When importing a backup you might have run into the problem that the ampersands (&#038;) or colon () characters are used as bind variables in PL/SQL. This is actually no real problem, as you can simply change the substitution character using the DEFINE setting in SQL*Plus:
SET DEFINE ~
The usual  [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>When importing a backup you might have run into the problem that the ampersands (&#038;) or colon () characters are used as bind variables in PL/SQL. This is actually no real problem, as you can simply change the substitution character using the DEFINE setting in SQL*Plus:</p>
<pre class="brush: sql">SET DEFINE ~</pre>
<p>The usual substitution mechanism an ampersands would trigger, is now suppressed.</p>
<p>Other methods:<br />
Define an escape character:</p>
<pre class="brush: sql">
SET ESCAPE '\'
SELECT '\&#038;abc' FROM dual;
</pre>
<p>Don&#8217;t scan for substitution variables:</p>
<pre class="brush: sql">
SET SCAN OFF
SELECT '&#038;ABC' x FROM dual;
</pre>
<p>Another way to escape the &#038; would be to use concatenation, which would not require any SET commands -</p>
<pre class="brush: sql">
SELECT 'Laurel ' || '&#038;' || ' Hardy' FROM dual;
</pre>
<p>Use the 10g Quoting mechanism:</p>
<pre class="brush: sql">
Syntax
 q'[QUOTE_CHAR]Text[QUOTE_CHAR]'
 Make sure that the QUOTE_CHAR followed by an ' doesn't exist in the text.
SELECT q'{This is Orafaq's 'quoted' text field}' FROM DUAL;
</pre>
<p>You can also turn off substitutions by setting define to off:</p>
<pre class="brush: sql">
SET DEFINE OFF
</pre>
<p>When you need it, just turn it on again:</p>
<pre class="brush: sql">
SET DEFINE ON
</pre>
<p>Reference:</p>
<p>http://kwatog.com/blog/oracle/enable-disable-bind-variable-in-sqlplus/</p>
<div class="shr-publisher-197"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www2.macmanitou.de/computer/development/oracle-escape-ampersand-characters-in-sqlplus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle: Drop All Trigger and Drop All Database</title>
		<link>http://www2.macmanitou.de/computer/development/oracle-drop-all-trigger-and-drop-all-database/</link>
		<comments>http://www2.macmanitou.de/computer/development/oracle-drop-all-trigger-and-drop-all-database/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 11:49:03 +0000</pubDate>
		<dc:creator>simple</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.macmanitou.de/wordpress/uncategorized/oracle-drop-all-trigger-and-drop-all-database/</guid>
		<description><![CDATA[To drop all triggers in a schema, simply execute:
begin
for i in (select trigger_name,owner from dba_triggers where trigger_name like '%') LOOP
execute immediate 'DROP TRIGGER '&#124;&#124;i.owner&#124;&#124;'."'&#124;&#124;i.trigger_name&#124;&#124;'"';
END LOOP;
END;
To get drop queries for all tables in a schema, simply  [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>To drop all triggers in a schema, simply execute:</p>
<pre class="brush:sql">begin
for i in (select trigger_name,owner from dba_triggers where trigger_name like '%') LOOP
execute immediate 'DROP TRIGGER '||i.owner||'."'||i.trigger_name||'"';
END LOOP;
END;</pre>
<p>To get drop queries for all tables in a schema, simply execute:</p>
<pre class="brush:sql">select 'drop table '||table_name||' cascade constraints;' from user_tables;</pre>
<p>or you can get drop queries for all user objects in a schema by executing:</p>
<pre class="brush:sql">select 'drop ' || object_type || ' ' || object_name || ';' from user_objects where object_type != 'INDEX'</pre>
<div class="shr-publisher-192"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www2.macmanitou.de/computer/development/oracle-drop-all-trigger-and-drop-all-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle: Disable ArchiveLog Mode</title>
		<link>http://www2.macmanitou.de/computer/development/oracle-disable-archivelog-mode/</link>
		<comments>http://www2.macmanitou.de/computer/development/oracle-disable-archivelog-mode/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 07:32:49 +0000</pubDate>
		<dc:creator>simple</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.macmanitou.de/wordpress/uncategorized/oracle-disable-archivelog-mode/</guid>
		<description><![CDATA[Sometimes it is unnecessary to use ArchiveLog mode with the Oracle database. If you do not know what ArchiveLog Mode is &#8211; here is a short statement:
“Any Oracle database that contains important data should be running in ARCHIVELOG mode. Running in Archive log mode enables you to take hot backups  [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Sometimes it is unnecessary to use ArchiveLog mode with the Oracle database. If you do not know what ArchiveLog Mode is &#8211; here is a short statement:</p>
<p>“Any Oracle database that contains important data should be running in ARCHIVELOG mode. Running in Archive log mode enables you to take hot backups and perform point-in-time recovery.”<br />
So if you do not want this feature you can disable it following these steps:</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;- Login to your server as oracle user<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;- start sqlplus as sysdba<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;sqlplus &#8220;/ as sysdba&#8221;<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;- run the following commands<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;shutdown abort<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;startup mount<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;alter database noarchivelog;<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;alter database open;<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;- to test if you where successful just run the query:<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;select name, log_mode from v$database;</p>
<p>Remember that once you disable archive log mode you need to take a fresh backup once archive log mode is turned back on.<br />
Be aware that if a disk failure occurs while in NOARCHIVELOG mode, you can only restore the database to the point of the most recent full database backup.<br />
To switch back from archivelog to noarchivelog mode, just repeat the relevant steps above specifying: ALTER DATABASE NOARCHIVELOG;</p>
<p>For RAC environments, read the following link:</p>
<p><a href="http://www.dba-oracle.com/bk_disable_archive_log_mode.htm">http://www.dba-oracle.com/bk_disable_archive_log_mode.htm</a></p>
<div class="shr-publisher-191"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www2.macmanitou.de/computer/development/oracle-disable-archivelog-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

