<?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>Ask the German &#187; OSX</title>
	<atom:link href="http://www.askthegerman.com/archives/category/operatingsystem/osx-operatingsystem/feed" rel="self" type="application/rss+xml" />
	<link>http://www.askthegerman.com</link>
	<description>"the owl of Minerva spreads its wings only with the falling of the dusk"</description>
	<lastBuildDate>Thu, 30 Apr 2009 10:26:57 +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>Transportable Tablespaces</title>
		<link>http://www.askthegerman.com/archives/210</link>
		<comments>http://www.askthegerman.com/archives/210#comments</comments>
		<pubDate>Wed, 10 Dec 2008 12:34:28 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[converting]]></category>
		<category><![CDATA[endianness Big]]></category>
		<category><![CDATA[endianness Little]]></category>
		<category><![CDATA[exp]]></category>
		<category><![CDATA[imp]]></category>
		<category><![CDATA[plattform]]></category>
		<category><![CDATA[RMAN]]></category>
		<category><![CDATA[transportable Tablespaces]]></category>

		<guid isPermaLink="false">http://www.askthegerman.com/?p=210</guid>
		<description><![CDATA[Since Oracle Version 10G ist is possible to transfer tablespaces no longer only between platforms of the same architecture. Now in 10G it also possible to transport from any platform to any platform, provided the platforms belong to the list below: SQL&#62;&#160; select * from v$transportable_platform; &#160;&#160; PLATFORM_ID PLATFORM_NAME&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ENDIAN_FORMAT &#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 1 Solaris[tm] OE [...]]]></description>
			<content:encoded><![CDATA[<p>Since Oracle Version 10G ist is possible to transfer tablespaces no longer only between platforms of the same architecture. Now in 10G it also possible to transport from any platform to any platform, provided the platforms belong to the list below:</p>
<p><em><font face="Courier">SQL&gt;&nbsp; select * from v$transportable_platform;</font></em></p>
<p><em><font face="Courier">&nbsp;&nbsp; PLATFORM_ID PLATFORM_NAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ENDIAN_FORMAT<br />        &nbsp;&nbsp; <br />        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 Solaris[tm] OE (32-bit)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Big<br />        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2 Solaris[tm] OE (64-bit)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Big<br />        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7 Microsoft Windows NT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Little<br />        &nbsp;&nbsp;&nbsp;&nb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nbsp;&nbsp;&nbsp;&nbsp; Little<br />        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 15 HP Open VMS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Little<br />        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8 Microsoft Windows IA (64-bit)&nbsp;&nbsp;&nbsp; Little<br />        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9 IBM zSeries Based Linux&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Big<br />        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 13 Linux 64-bit for AMD&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Little<br />        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 16 Apple Mac OS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Big<br />        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 12 Microsoft Windows 64-bit for AMD Little</font></em> </p>
<p><strong><span>But be aware that depending on which plattforms we deal with there might be some converting necessary or not<font face="courier">!</font></span></strong></p>
<p>To help you with that, I have carried together the little cook book about &quot;How to do&quot; below:</p>
<p><u>1. Set the tablespace to READ ONLY</u></p>
<p><em>SQL&gt; alter tablespace USERS read only;<br />       Tablespace altered.</em>&nbsp;</p>
<p>2. Export metadata</p>
<p><em>exp userid=\&#8217;/ as sysdba\&#8217; transport_tablespace=y<br />       tablespaces=users<br />       file=users_tts.dmp log=exp_users_tts.log<br />       statistics=none</em></p>
<p><u>3. Converting tablespace if necessary</u> </p>
<p>Depending on we have to convert the file between <strong>endianness Little</strong> and <strong>endianness Big</strong> (forward or backward) we can do that with RMAN:</p>
<p><em>rman target=/</em></p>
<p><em>Recovery Manager: Release 10.2.0.3.0 &#8211; Production on Wed Dec 10 13:10:57 2008<br />       connected to target database: orav10 (DBID=1953618181)</em></p>
<p><em>RMAN&gt; convert tablespace &#8216;USERS&#8217;<br />       2&gt;&nbsp; to platform=&quot;Linux IA (32-bit)&quot;<br />       3&gt;&nbsp; db_file_name_convert=&#8217;/database/orav10/datafiles/users.dbf&#8217;,<br />       4&gt;&nbsp; &#8216;/tmp/users.dbf&#8217;;</em></p>
<p><u>4. Move datafiles and export dump file</u></p>
<p><em>$ftp users_tts.dmp</em> </p>
<p>and <em>/database/orav10/datafiles/users.dbf</em> (no conversion)<br />   or <em>/tmp/users.dbf</em> (converted file if conversion had been required)</p>
<p><u>5. Import metadata</u> </p>
<p><em>imp userid=\&#8217;/ as sysdba\&#8217; TRANSPORT_TABLESPACE=Y <br />       datafiles=</em><em>/database/orav10/datafiles/users.dbf<br />       (or </em><em>/tmp/users.dbf )<br />       file=users_tts.dmp log=imp_users_tts.log</em> </p>
<p><u>6. Set the tablespace to READ WRITE</u></p>
<p><em>SQL&gt; alter tablespace USERS read write;<br />       Tablespace altered.</em>  </p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.askthegerman.com%2Farchives%2F210';
  addthis_title  = 'Transportable+Tablespaces';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.askthegerman.com/archives/210/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Administration Tools</title>
		<link>http://www.askthegerman.com/archives/163</link>
		<comments>http://www.askthegerman.com/archives/163#comments</comments>
		<pubDate>Sun, 23 Nov 2008 14:13:51 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Backup]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[CocoaMySQL]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[index]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MAC]]></category>
		<category><![CDATA[Macintosh]]></category>
		<category><![CDATA[MyDB Studio]]></category>
		<category><![CDATA[phpMyAdmin]]></category>
		<category><![CDATA[phpMyBackupPro]]></category>
		<category><![CDATA[relational]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[table]]></category>

		<guid isPermaLink="false">http://www.askthegerman.com/?p=163</guid>
		<description><![CDATA[Being forced to work with MySQL Databases, not every Web Developer is familiar with databases in general. Now the good news is that when working in a LAMP (Linux, Apache, MySQL and PHP) environment you do not really need to have deep knowledge about relational databases to succeed. Most tools like CMS do a full [...]]]></description>
			<content:encoded><![CDATA[<p>Being forced to work with <a href="http://www.mysql.com/" title="MySQL, a famous relational database engine" target="_blank">MySQL Databases</a>, not every Web Developer is familiar with databases in general.</p>
<p> Now the good news is that when working in a <a href="http://en.wikipedia.org/wiki/LAMP" title="A synonym for a Linux, Apache, MySQL and PHP environment" target="_blank">LAMP</a> (Linux, Apache, MySQL and PHP) environment you do not really need to have deep knowledge about relational databases to succeed.</p>
<p> Most tools like <a href="http://en.wikipedia.org/wiki/Content_Management_System" title="Synonym for Content Management System" target="_blank">CMS</a> do a full automated setup for you and the only knowledge it needs to have starting with them, is the server and database name and finally the login credentials (username/password) to access it.</p>
<p> Just later on the one or other maintenance work will occur and you will feel the need of having some nice and neat database interface to work with. Knowing about this need today I will recommend you a few tools and you should feel free to choose one or each of them based on your platform and taste.</p>
<p>The first tool I will recommend you is called <a href="http://www.phpmyadmin.net/home_page/index.php" title="Browser base Admin tool for MySQL" target="_blank">phpMyAdmin</a>. It is written in <a href="http://www.php.net" title="Hypertext PreProcessor" target="_blank">PHP</a> and as a so called browser tool it works platform independent and flawless in all common browsers. Very often being offered by hosting providers it is mostly already part of your hosting package and easy to access and use. Coming along with all necessary options like browsing and navigating through your databases, it also offers a SQL interface and the often necessary export/import options. Personally it is my favorite tool to work with.</p>
<p>Once you are familiar with phpMyAdmin, <a href="http://www.phpmybackuppro.net/" title="Browser based Export/Import tool for MySQL" target="_blank">phpMyBackupPro</a> is another very similar tool you might find it worth to look at. Also browser based it is mainly written for interactive exports and imports, but can get also use for scheduled automatic backups.</p>
<p> For Windows platform only I would like to recommend you a tool called <a href="http://www.mydb-studio.com/" title="Windows base Admin tool for MySQL">MyDB Studio</a>. Coming along with a well designed interface it offers all features you need and the license it needs is given away for free in case you only use it for private and non commercial interests. It just needs you to give them a valid email address and the key is emailed to you quickly after.</p>
<p>And now finally and last in case you are such a Macintosh guru, I would like to recommend you <a href="http://cocoamysql.sourceforge.net" title="Macintosh based Admin tool for MySQL " target="_blank">CocoaMySQL</a>. It does a similar great job like the others and can get used right away after the installation has taken place. What I like is the console view of is, showing you all command issued during the past and looking at it you might even learn some <a href="http://en.wikipedia.org/wiki/SQL" title="Structured Query Language" target="_blank">SQL</a> (Structured Query Language).</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.askthegerman.com%2Farchives%2F163';
  addthis_title  = 'MySQL+Administration+Tools';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.askthegerman.com/archives/163/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

