<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Think Big, Start Small...</title>
	<atom:link href="http://sojungle.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sojungle.wordpress.com</link>
	<description>Whatever you need to grow, just do it faster...</description>
	<lastBuildDate>Tue, 31 Jan 2012 02:23:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sojungle.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Think Big, Start Small...</title>
		<link>http://sojungle.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sojungle.wordpress.com/osd.xml" title="Think Big, Start Small..." />
	<atom:link rel='hub' href='http://sojungle.wordpress.com/?pushpress=hub'/>
		<item>
		<title>20 Linux System Monitoring Tools Every SysAdmin Should Know</title>
		<link>http://sojungle.wordpress.com/2012/01/31/20-linux-system-monitoring-tools-every-sysadmin-should-know-2/</link>
		<comments>http://sojungle.wordpress.com/2012/01/31/20-linux-system-monitoring-tools-every-sysadmin-should-know-2/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 02:23:51 +0000</pubDate>
		<dc:creator>ZyK</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[LINUX]]></category>

		<guid isPermaLink="false">http://sojungle.wordpress.com/?p=260</guid>
		<description><![CDATA[Need to monitor Linux server performance? Try these built-in command and a few add-on tools. Most Linux distributions are equipped with tons of monitoring. These tools provide metrics which can be used to get information about system activities. You can use these tools to find the possible causes of a performance problem. The commands discussed [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sojungle.wordpress.com&amp;blog=10327702&amp;post=260&amp;subd=sojungle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Need to monitor Linux server performance? Try these built-in command and a few add-on tools. Most Linux distributions are equipped with tons of monitoring. These tools provide metrics which can be used to get information about system activities. You can use these tools to find the possible causes of a performance problem. The commands discussed below are some of the most basic commands when it comes to system analysis and debugging server issues such as:</p>
<ol>
<li>Finding out bottlenecks.</li>
<li>Disk (storage) bottlenecks.</li>
<li>CPU and memory bottlenecks.</li>
<li>Network bottlenecks.</li>
</ol>
<p><a name="1"></a></p>
<h2>#1: top &#8211; Process Activity Command</h2>
<p>The top program provides a dynamic real-time view of a running system i.e. actual process activity. By default, it displays the most CPU-intensive tasks running on the server and updates the list every five seconds.</p>
<div id="attachment_5179"><a href="http://sojungle.wordpress.com/?attachment_id=5179" rel="attachment wp-att-5179"><img title="Fig.01: Linux top command" src="http://files.cyberciti.biz/uploads/tips/2009/06/top-output-269x300.png" alt="Fig.01: Linux top command" width="269" height="300" /></a>Fig.01: Linux top command</p>
</div>
<h3>Commonly Used Hot Keys</h3>
<p>The top command provides several useful hot keys:</p>
<table border="0">
<tbody>
<tr>
<th>Hot Key</th>
<th>Usage</th>
</tr>
<tr>
<td>t</td>
<td>Displays summary information off and on.</td>
</tr>
<tr>
<td>m</td>
<td>Displays memory information off and on.</td>
</tr>
<tr>
<td>A</td>
<td>Sorts the display by top consumers of various system resources. Useful for quick identification of performance-hungry tasks on a system.</td>
</tr>
<tr>
<td>f</td>
<td>Enters an interactive configuration screen for top. Helpful for setting up top for a specific task.</td>
</tr>
<tr>
<td>o</td>
<td>Enables you to interactively select the ordering within top.</td>
</tr>
<tr>
<td>r</td>
<td>Issues renice command.</td>
</tr>
<tr>
<td>k</td>
<td>Issues kill command.</td>
</tr>
<tr>
<td>z</td>
<td>Turn on or off color/mono</td>
</tr>
</tbody>
</table>
<p><strong>=&gt; Related:</strong> <a href="http://www.cyberciti.biz/tips/how-do-i-find-out-linux-cpu-utilization.html">How do I Find Out Linux CPU Utilization?</a></p>
<p><a name="2"></a></p>
<h2>#2: vmstat &#8211; System Activity, Hardware and System Information</h2>
<p>The command vmstat reports information about processes, memory, paging, block IO, traps, and cpu activity.<br />
<code># vmstat 3</code><br />
Sample Outputs:</p>
<pre>procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
 0  0      0 2540988 522188 5130400    0    0     2    32    4    2  4  1 96  0  0
 1  0      0 2540988 522188 5130400    0    0     0   720 1199  665  1  0 99  0  0
 0  0      0 2540956 522188 5130400    0    0     0     0 1151 1569  4  1 95  0  0
 0  0      0 2540956 522188 5130500    0    0     0     6 1117  439  1  0 99  0  0
 0  0      0 2540940 522188 5130512    0    0     0   536 1189  932  1  0 98  0  0
 0  0      0 2538444 522188 5130588    0    0     0     0 1187 1417  4  1 96  0  0
 0  0      0 2490060 522188 5130640    0    0     0    18 1253 1123  5  1 94  0  0</pre>
<h3>Display Memory Utilization Slabinfo</h3>
<p><code># vmstat -m</code></p>
<h3>Get Information About Active / Inactive Memory Pages</h3>
<p><code># vmstat -a</code><br />
<strong>=&gt; Related:</strong> <a href="http://www.cyberciti.biz/tips/linux-resource-utilization-to-detect-system-bottlenecks.html">How do I find out Linux Resource utilization to detect system bottlenecks?</a></p>
<p><a name="3"></a></p>
<h2>#3: w &#8211; Find Out Who Is Logged on And What They Are Doing</h2>
<p>w command displays information about the users currently on the machine, and their processes.<br />
<code># w username<br />
# w vivek</code><br />
Sample Outputs:</p>
<pre> 17:58:47 up 5 days, 20:28,  2 users,  load average: 0.36, 0.26, 0.24
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
root     pts/0    10.1.3.145       14:55    5.00s  0.04s  0.02s vim /etc/resolv.conf
root     pts/1    10.1.3.145       17:43    0.00s  0.03s  0.00s w</pre>
<p><a name="4"></a></p>
<h3>#4: uptime &#8211; Tell How Long The System Has Been Running</h3>
<p>The uptime command can be used to see how long the server has been running. The current time, how long the system has been running, how many users are currently logged on, and the system load averages for the past 1, 5, and 15 minutes.<br />
<code># uptime</code><br />
Output:</p>
<pre> 18:02:41 up 41 days, 23:42,  1 user,  load average: 0.00, 0.00, 0.00</pre>
<p>1 can be considered as optimal load value. The load can change from system to system. For a single CPU system 1 &#8211; 3 and SMP systems 6-10 load value might be acceptable.</p>
<p><a name="5"></a></p>
<h2>#5: ps &#8211; Displays The Processes</h2>
<p>ps command will report a snapshot of the current processes. To select all processes use the -A or -e option:<br />
<code># ps -A</code><br />
Sample Outputs:</p>
<pre>  PID TTY          TIME CMD
    1 ?        00:00:02 init
    2 ?        00:00:02 migration/0
    3 ?        00:00:01 ksoftirqd/0
    4 ?        00:00:00 watchdog/0
    5 ?        00:00:00 migration/1
    6 ?        00:00:15 ksoftirqd/1
....
.....
 4881 ?        00:53:28 java
 4885 tty1     00:00:00 mingetty
 4886 tty2     00:00:00 mingetty
 4887 tty3     00:00:00 mingetty
 4888 tty4     00:00:00 mingetty
 4891 tty5     00:00:00 mingetty
 4892 tty6     00:00:00 mingetty
 4893 ttyS1    00:00:00 agetty
12853 ?        00:00:00 cifsoplockd
12854 ?        00:00:00 cifsdnotifyd
14231 ?        00:10:34 lighttpd
14232 ?        00:00:00 php-cgi
54981 pts/0    00:00:00 vim
55465 ?        00:00:00 php-cgi
55546 ?        00:00:00 bind9-snmp-stat
55704 pts/1    00:00:00 ps</pre>
<p>ps is just like top but provides more information.</p>
<h3>Show Long Format Output</h3>
<p><code># ps -Al</code><br />
To turn on extra full mode (it will show command line arguments passed to process):<br />
<code># ps -AlF</code></p>
<h3>To See Threads ( LWP and NLWP)</h3>
<p><code># ps -AlFH</code></p>
<h3>To See Threads After Processes</h3>
<p><code># ps -AlLm</code></p>
<h3>Print All Process On The Server</h3>
<p><code># ps ax<br />
# ps axu</code></p>
<h3>Print A Process Tree</h3>
<p><code># ps -ejH<br />
# ps axjf<br />
# pstree</code></p>
<h3>Print Security Information</h3>
<p><code># ps -eo euser,ruser,suser,fuser,f,comm,label<br />
# ps axZ<br />
# ps -eM</code></p>
<h3>See Every Process Running As User Vivek</h3>
<p><code># ps -U vivek -u vivek u</code></p>
<h3>Set Output In a User-Defined Format</h3>
<p><code># ps -eo pid,tid,class,rtprio,ni,pri,psr,pcpu,stat,wchan:14,comm<br />
# ps axo stat,euid,ruid,tty,tpgid,sess,pgrp,ppid,pid,pcpu,comm<br />
# ps -eopid,tt,user,fname,tmout,f,wchan</code></p>
<h3>Display Only The Process IDs of Lighttpd</h3>
<p><code># ps -C lighttpd -o pid=</code><br />
OR<br />
<code># pgrep lighttpd</code><br />
OR<br />
<code># pgrep -u vivek php-cgi</code></p>
<h3>Display The Name of PID 55977</h3>
<p><code># ps -p 55977 -o comm=</code></p>
<h3>Find Out The Top 10 Memory Consuming Process</h3>
<p><code># ps -auxf | sort -nr -k 4 | head -10</code></p>
<h3>Find Out top 10 CPU Consuming Process</h3>
<p><code># ps -auxf | sort -nr -k 3 | head -10</code></p>
<p><a name="6"></a></p>
<h2>#6: free &#8211; Memory Usage</h2>
<p>The command free displays the total amount of free and used physical and swap memory in the system, as well as the buffers used by the kernel.<br />
<code># free </code><br />
Sample Output:</p>
<pre>            total       used       free     shared    buffers     cached
Mem:      12302896    9739664    2563232          0     523124    5154740
-/+ buffers/cache:    4061800    8241096
Swap:      1052248          0    1052248</pre>
<p><strong>=&gt; Related:</strong> :</p>
<ol>
<li><a href="http://www.cyberciti.biz/faq/linux-check-the-size-of-pagesize/">Linux Find Out Virtual Memory PAGESIZE</a></li>
<li><a href="http://www.cyberciti.biz/faq/cpu-usage-limiter-for-linux/">Linux Limit CPU Usage Per Process</a></li>
<li><a href="http://www.cyberciti.biz/tips/how-much-ram-does-my-linux-system.html">How much RAM does my Ubuntu / Fedora Linux desktop PC have?</a></li>
</ol>
<p><a name="7"></a></p>
<h2>#7: iostat &#8211; Average CPU Load, Disk Activity</h2>
<p>The command iostat report Central Processing Unit (CPU) statistics and input/output statistics for devices, partitions and network filesystems (NFS).<br />
<code># iostat </code><br />
Sample Outputs:</p>
<pre>Linux 2.6.18-128.1.14.el5 (www03.nixcraft.in) 	06/26/2009
avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           3.50    0.09    0.51    0.03    0.00   95.86
Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
sda              22.04        31.88       512.03   16193351  260102868
sda1              0.00         0.00         0.00       2166        180
sda2             22.04        31.87       512.03   16189010  260102688
sda3              0.00         0.00         0.00       1615          0</pre>
<p><strong>=&gt; Related:</strong> : <a href="http://www.cyberciti.biz/faq/howto-linux-track-nfs-client-disk-metrics/">Linux Track NFS Directory / Disk I/O Stats</a></p>
<p><a name="8"></a></p>
<h2>#8: sar &#8211; Collect and Report System Activity</h2>
<p>The sar command is used to collect, report, and save system activity information. To see network counter, enter:<br />
<code># sar -n DEV | more</code><br />
To display the network counters from the 24th:<br />
<code># sar -n DEV -f /var/log/sa/sa24 | more</code><br />
You can also display real time usage using sar:<br />
<code># sar 4 5</code><br />
Sample Outputs:</p>
<pre>Linux 2.6.18-128.1.14.el5 (www03.nixcraft.in) 		06/26/2009
06:45:12 PM       CPU     %user     %nice   %system   %iowait    %steal     %idle
06:45:16 PM       all      2.00      0.00      0.22      0.00      0.00     97.78
06:45:20 PM       all      2.07      0.00      0.38      0.03      0.00     97.52
06:45:24 PM       all      0.94      0.00      0.28      0.00      0.00     98.78
06:45:28 PM       all      1.56      0.00      0.22      0.00      0.00     98.22
06:45:32 PM       all      3.53      0.00      0.25      0.03      0.00     96.19
Average:          all      2.02      0.00      0.27      0.01      0.00     97.70</pre>
<p><strong>=&gt; Related:</strong> : <a href="http://www.cyberciti.biz/tips/howto-write-system-utilization-data-to-file.html">How to collect Linux system utilization data into a file</a></p>
<p><a name="9"></a></p>
<h2>#9: mpstat &#8211; Multiprocessor Usage</h2>
<p>The mpstat command displays activities for each available processor, processor 0 being the first one. mpstat -P ALL to display average CPU utilization per processor:<br />
<code># mpstat -P ALL</code><br />
Sample Output:</p>
<pre>Linux 2.6.18-128.1.14.el5 (www03.nixcraft.in)	 	06/26/2009
06:48:11 PM  CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
06:48:11 PM  all    3.50    0.09    0.34    0.03    0.01    0.17    0.00   95.86   1218.04
06:48:11 PM    0    3.44    0.08    0.31    0.02    0.00    0.12    0.00   96.04   1000.31
06:48:11 PM    1    3.10    0.08    0.32    0.09    0.02    0.11    0.00   96.28     34.93
06:48:11 PM    2    4.16    0.11    0.36    0.02    0.00    0.11    0.00   95.25      0.00
06:48:11 PM    3    3.77    0.11    0.38    0.03    0.01    0.24    0.00   95.46     44.80
06:48:11 PM    4    2.96    0.07    0.29    0.04    0.02    0.10    0.00   96.52     25.91
06:48:11 PM    5    3.26    0.08    0.28    0.03    0.01    0.10    0.00   96.23     14.98
06:48:11 PM    6    4.00    0.10    0.34    0.01    0.00    0.13    0.00   95.42      3.75
06:48:11 PM    7    3.30    0.11    0.39    0.03    0.01    0.46    0.00   95.69     76.89</pre>
<p><strong>=&gt; Related:</strong> : <a href="http://www.cyberciti.biz/faq/linux-mpstat-command-report-processors-related-statistics/">Linux display each multiple SMP CPU processors utilization individually</a>.</p>
<p><a name="10"></a></p>
<h2>#10: pmap &#8211; Process Memory Usage</h2>
<p>The command pmap report memory map of a process. Use this command to find out causes of memory bottlenecks.<br />
<code># pmap -d PID</code><br />
To display process memory information for pid # 47394, enter:<br />
<code># pmap -d 47394</code><br />
Sample Outputs:</p>
<pre>47394:   /usr/bin/php-cgi
Address           Kbytes Mode  Offset           Device    Mapping
0000000000400000    2584 r-x-- 0000000000000000 008:00002 php-cgi
0000000000886000     140 rw--- 0000000000286000 008:00002 php-cgi
00000000008a9000      52 rw--- 00000000008a9000 000:00000   [ anon ]
0000000000aa8000      76 rw--- 00000000002a8000 008:00002 php-cgi
000000000f678000    1980 rw--- 000000000f678000 000:00000   [ anon ]
000000314a600000     112 r-x-- 0000000000000000 008:00002 ld-2.5.so
000000314a81b000       4 r---- 000000000001b000 008:00002 ld-2.5.so
000000314a81c000       4 rw--- 000000000001c000 008:00002 ld-2.5.so
000000314aa00000    1328 r-x-- 0000000000000000 008:00002 libc-2.5.so
000000314ab4c000    2048 ----- 000000000014c000 008:00002 libc-2.5.so
.....
......
..
00002af8d48fd000       4 rw--- 0000000000006000 008:00002 xsl.so
00002af8d490c000      40 r-x-- 0000000000000000 008:00002 libnss_files-2.5.so
00002af8d4916000    2044 ----- 000000000000a000 008:00002 libnss_files-2.5.so
00002af8d4b15000       4 r---- 0000000000009000 008:00002 libnss_files-2.5.so
00002af8d4b16000       4 rw--- 000000000000a000 008:00002 libnss_files-2.5.so
00002af8d4b17000  768000 rw-s- 0000000000000000 000:00009 zero (deleted)
00007fffc95fe000      84 rw--- 00007ffffffea000 000:00000   [ stack ]
ffffffffff600000    8192 ----- 0000000000000000 000:00000   [ anon ]
mapped: 933712K    writeable/private: 4304K    shared: 768000K</pre>
<p>The last line is very important:</p>
<ul>
<li><strong>mapped: 933712K</strong> total amount of memory mapped to files</li>
<li><strong>writeable/private: 4304K</strong> the amount of private address space</li>
<li><strong>shared: 768000K</strong> the amount of address space this process is sharing with others</li>
</ul>
<p><strong>=&gt; Related:</strong> : <a href="http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html">Linux find the memory used by a program / process using pmap command</a></p>
<p><a name="11"></a></p>
<h2>#11 and #12: netstat and ss &#8211; Network Statistics</h2>
<p>The command netstat displays network connections, routing tables, interface statistics, masquerade connections, and multicast memberships. ss command is used to dump socket statistics. It allows showing information similar to netstat. See the following resources about ss and netstat commands:</p>
<ul>
<li><a href="http://www.cyberciti.biz/tips/linux-investigate-sockets-network-connections.html">ss: Display Linux TCP / UDP Network and Socket Information</a></li>
<li><a href="http://www.cyberciti.biz/tips/netstat-command-tutorial-examples.html">Get Detailed Information About Particular IP address Connections Using netstat Command</a></li>
</ul>
<p><a name="13"></a></p>
<h2>#13: iptraf &#8211; Real-time Network Statistics</h2>
<p>The iptraf command is interactive colorful IP LAN monitor. It is an ncurses-based IP LAN monitor that generates various network statistics including TCP info, UDP counts, ICMP and OSPF information, Ethernet load info, node stats, IP checksum errors, and others. It can provide the following info in easy to read format:</p>
<ul>
<li>Network traffic statistics by TCP connection</li>
<li>IP traffic statistics by network interface</li>
<li>Network traffic statistics by protocol</li>
<li>Network traffic statistics by TCP/UDP port and by packet size</li>
<li>Network traffic statistics by Layer2 address</li>
</ul>
<div id="attachment_5196"><a href="http://sojungle.wordpress.com/?attachment_id=5196" rel="attachment wp-att-5196"><img title="Fig.02: General interface statistics: IP traffic statistics by network interface " src="http://files.cyberciti.biz/uploads/tips/2009/06/iptraf3.png" alt="Fig.02: General interface statistics: IP traffic statistics by network interface " width="600" height="347" /></a>Fig.02: General interface statistics: IP traffic statistics by network interface</p>
</div>
<div id="attachment_5195"><a href="http://sojungle.wordpress.com/?attachment_id=5195" rel="attachment wp-att-5195"><img title="Fig.03 Network traffic statistics by TCP connection" src="http://files.cyberciti.biz/uploads/tips/2009/06/iptraf2.png" alt="Fig.03 Network traffic statistics by TCP connection" width="600" height="416" /></a>Fig.03 Network traffic statistics by TCP connection</p>
</div>
<p><a name="14"></a></p>
<h2>#14: tcpdump &#8211; Detailed Network Traffic Analysis</h2>
<p>The tcpdump is simple command that dump traffic on a network. However, you need good understanding of TCP/IP protocol to utilize this tool. For.e.g to display traffic info about DNS, enter:<br />
<code># tcpdump -i eth1 'udp port 53'</code><br />
To display all IPv4 HTTP packets to and from port 80, i.e. print only packets that contain data, not, for example, SYN and FIN packets and ACK-only packets, enter:<br />
<code># tcpdump 'tcp port 80 and (((ip[2:2] - ((ip[0]&amp;0xf)&lt;&lt;2)) - ((tcp[12]&amp;0xf0)&gt;&gt;2)) != 0)'</code><br />
To display all FTP session to 202.54.1.5, enter:<br />
<code># tcpdump -i eth1 'dst 202.54.1.5 and (port 21 or 20'</code><br />
To display all HTTP session to 192.168.1.5:<br />
<code># tcpdump -ni eth0 'dst 192.168.1.5 and tcp and port http'</code><br />
Use <a href="http://www.cyberciti.biz/faq/linux-unix-bsd-apache-tcpdump-http-packets-sniffing/">wireshark to view detailed</a> information about files, enter:<br />
<code># tcpdump -n -i eth1 -s 0 -w output.txt src or dst port 80</code></p>
<p><a name="15"></a></p>
<h2>#15: strace &#8211; System Calls</h2>
<p>Trace system calls and signals. This is useful for debugging webserver and other server problems. See how to use to <a href="http://www.cyberciti.biz/tips/linux-strace-command-examples.html">trace the process and</a> see What it is doing.</p>
<p><a name="16"></a></p>
<h2>#16: /Proc file system &#8211; Various Kernel Statistics</h2>
<p>/proc file system provides detailed information about various hardware devices and other Linux kernel information. See <a href="http://www.cyberciti.biz/files/linux-kernel/Documentation/filesystems/proc.txt">Linux kernel /proc</a> documentations for further details. Common /proc examples:<br />
<code># cat /proc/cpuinfo<br />
# cat /proc/meminfo<br />
# cat /proc/zoneinfo<br />
# cat /proc/mounts</code></p>
<p><a name="17"></a></p>
<h2>17#: Nagios &#8211; Server And Network Monitoring</h2>
<p><a href="http://www.nagios.org/" target="_blank">Nagios</a> is a popular open source computer system and network monitoring application software. You can easily monitor all your hosts, network equipment and services. It can send alert when things go wrong and again when they get better. <a href="http://fannagioscd.sourceforge.net/drupal/" target="_blank">FAN is</a> &#8220;Fully Automated Nagios&#8221;. FAN goals are to provide a Nagios installation including most tools provided by the Nagios Community. FAN provides a CDRom image in the standard ISO format, making it easy to easilly install a Nagios server. Added to this, a wide bunch of tools are including to the distribution, in order to improve the user experience around Nagios.</p>
<p><a name="18"></a></p>
<h2>18#: Cacti &#8211; Web-based Monitoring Tool</h2>
<p>Cacti is a complete network graphing solution designed to harness the power of RRDTool&#8217;s data storage and graphing functionality. Cacti provides a fast poller, advanced graph templating, multiple data acquisition methods, and user management features out of the box. All of this is wrapped in an intuitive, easy to use interface that makes sense for LAN-sized installations up to complex networks with hundreds of devices. It can provide data about network, CPU, memory, logged in users, Apache, DNS servers and much more. See how <a href="http://www.cyberciti.biz/faq/fedora-rhel-install-cacti-monitoring-rrd-software/">to install and configure Cacti network graphing</a> tool under CentOS / RHEL.</p>
<p><a name="19"></a></p>
<h2>#19: KDE System Guard &#8211; Real-time Systems Reporting and Graphing</h2>
<p>KSysguard is a network enabled task and system monitor application for KDE desktop. This tool can be run over ssh session. It provides lots of features such as a client/server architecture that enables monitoring of local and remote hosts. The graphical front end uses so-called sensors to retrieve the information it displays. A sensor can return simple values or more complex information like tables. For each type of information, one or more displays are provided. Displays are organized in worksheets that can be saved and loaded independently from each other. So, KSysguard is not only a simple task manager but also a very powerful tool to control large server farms.</p>
<div id="attachment_5215"><a href="http://sojungle.wordpress.com/?attachment_id=5215" rel="attachment wp-att-5215"><img title="Fig.05 KDE System Guard KDE task manager and performance monitor." src="http://files.cyberciti.biz/uploads/tips/2009/06/kde-systemguard-screenshot.png" alt="Fig.05 KDE System Guard" width="600" height="462" /></a>Fig.05 KDE System Guard {Image credit: Wikipedia}</p>
</div>
<p>See <a href="http://docs.kde.org/stable/en/kdebase-workspace/ksysguard/index.html">the KSysguard handbook</a> for detailed usage.</p>
<p><a name="20"></a></p>
<h2>#20: Gnome System Monitor &#8211; Real-time Systems Reporting and Graphing</h2>
<p>The System Monitor application enables you to display basic system information and monitor system processes, usage of system resources, and file systems. You can also use System Monitor to modify the behavior of your system. Although not as powerful as the KDE System Guard, it provides the basic information which may be useful for new users:</p>
<ul>
<li>Displays various basic information about the computer&#8217;s hardware and software.</li>
<li>Linux Kernel version</li>
<li>GNOME version</li>
<li>Hardware</li>
<li>Installed memory</li>
<li>Processors and speeds</li>
<li>System Status</li>
<li>Currently available disk space</li>
<li>Processes</li>
<li>Memory and swap space</li>
<li>Network usage</li>
<li>File Systems</li>
<li>Lists all mounted filesystems along with basic information about each.</li>
</ul>
<div id="attachment_5220"><a href="http://sojungle.wordpress.com/?attachment_id=5220" rel="attachment wp-att-5220"><img title="Fig.06 The Gnome System Monitor application" src="http://files.cyberciti.biz/uploads/tips/2009/06/gnome-system-monitor.png" alt="Fig.06 The Gnome System Monitor application" width="600" height="451" /></a>Fig.06 The Gnome System Monitor application</p>
</div>
<h2>Bonus: Additional Tools</h2>
<p>A few more tools:</p>
<ul>
<li><a href="http://www.cyberciti.biz/tips/linux-scanning-network-for-open-ports.html">nmap</a> &#8211; scan your server for open ports.</li>
<li><a href="http://www.cyberciti.biz/tips/tag/lsof-command">lsof</a> &#8211; list open files, network connections and much more.</li>
<li><a title="Debian / Ubuntu Linux Install ntop To See Network Usage / Network Status" href="http://www.cyberciti.biz/faq/debian-ubuntu-install-ntop-network-traffic-monitoring-software/">ntop</a> web based tool &#8211; ntop is the best tool to see network usage in a way similar to what top command does for processes i.e. it is network traffic monitoring software. You can see network status, protocol wise distribution of traffic for UDP, TCP, DNS, HTTP and other protocols.</li>
<li><a href="http://conky.sourceforge.net/" target="_blank">Conky</a> &#8211; Another good monitoring tool for the X Window System. It is highly configurable and is able to monitor many system variables including the status of the CPU, memory, swap space, disk storage, temperatures, processes, network interfaces, battery power, system messages, e-mail inboxes etc.</li>
<li><a href="http://members.dslextreme.com/users/billw/gkrellm/gkrellm.html" target="_blank">GKrellM</a> &#8211; It can be used to monitor the status of CPUs, main memory, hard disks, network interfaces, local and remote mailboxes, and many other things.</li>
<li><a href="http://www.cyberciti.biz/tips/keeping-a-log-of-daily-network-traffic-for-adsl-or-dedicated-remote-linux-box.html">vnstat</a> &#8211; vnStat is a console-based network traffic monitor. It keeps a log of hourly, daily and monthly network traffic for the selected interface(s).</li>
<li><a href="http://htop.sourceforge.net/" target="_blank">htop</a> &#8211; htop is an enhanced version of top, the interactive process viewer, which can display the list of processes in a tree form.</li>
<li><a href="http://www.cyberciti.biz/tips/finding-out-a-bad-or-simply-overloaded-network-link-with-linuxunix-oses.html">mtr</a> &#8211; mtr combines the functionality of the traceroute and ping programs in a single network diagnostic tool.</li>
</ul>
<p>Did I miss something? Please add your favorite system motoring tool in the comments.</p>
<h4>Featured Articles:</h4>
<ul>
<li><a href="http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html">20 Linux System Monitoring Tools Every SysAdmin Should Know</a></li>
<li><a href="http://www.cyberciti.biz/tips/linux-security.html">20 Linux Server Hardening Security Tips</a></li>
<li><a href="http://www.cyberciti.biz/tips/linux-iptables-examples.html">Linux: 20 Iptables Examples For New SysAdmins</a><img src="http://files.cyberciti.biz/assets/i/new_post.png" alt="" border="0" /></li>
<li><a href="http://www.cyberciti.biz/tips/my-10-unix-command-line-mistakes.html">My 10 UNIX Command Line Mistakes</a></li>
<li><a href="http://www.cyberciti.biz/tips/php-security-best-practices-tutorial.html">25 PHP Security Best Practices For Sys Admins</a></li>
<li><a href="http://www.cyberciti.biz/tips/linux-laptop.html">The Novice Guide To Buying A Linux Laptop</a></li>
<li><a href="http://www.cyberciti.biz/tips/download-email-client-for-linux-mac-osx-windows.html">Top 5 Email Client For Linux, Mac OS X, and Windows Users</a></li>
<li><a href="http://www.cyberciti.biz/tips/linux-unix-bsd-openssh-server-best-practices.html">Top 20 OpenSSH Server Best Security Practices </a></li>
<li><a href="http://www.cyberciti.biz/tips/open-source-project-management-software.html">Top 10 Open Source Web-Based Project Management Software</a></li>
</ul>
<p>(Src: http://www.cyberciti.biz)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sojungle.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sojungle.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sojungle.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sojungle.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sojungle.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sojungle.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sojungle.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sojungle.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sojungle.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sojungle.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sojungle.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sojungle.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sojungle.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sojungle.wordpress.com/260/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sojungle.wordpress.com&amp;blog=10327702&amp;post=260&amp;subd=sojungle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sojungle.wordpress.com/2012/01/31/20-linux-system-monitoring-tools-every-sysadmin-should-know-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3cb7c921719332496f7d411cf3be835b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ZyK</media:title>
		</media:content>

		<media:content url="http://files.cyberciti.biz/uploads/tips/2009/06/top-output-269x300.png" medium="image">
			<media:title type="html">Fig.01: Linux top command</media:title>
		</media:content>

		<media:content url="http://files.cyberciti.biz/uploads/tips/2009/06/iptraf3.png" medium="image">
			<media:title type="html">Fig.02: General interface statistics: IP traffic statistics by network interface </media:title>
		</media:content>

		<media:content url="http://files.cyberciti.biz/uploads/tips/2009/06/iptraf2.png" medium="image">
			<media:title type="html">Fig.03 Network traffic statistics by TCP connection</media:title>
		</media:content>

		<media:content url="http://files.cyberciti.biz/uploads/tips/2009/06/kde-systemguard-screenshot.png" medium="image">
			<media:title type="html">Fig.05 KDE System Guard KDE task manager and performance monitor.</media:title>
		</media:content>

		<media:content url="http://files.cyberciti.biz/uploads/tips/2009/06/gnome-system-monitor.png" medium="image">
			<media:title type="html">Fig.06 The Gnome System Monitor application</media:title>
		</media:content>

		<media:content url="http://files.cyberciti.biz/assets/i/new_post.png" medium="image" />
	</item>
		<item>
		<title>Get Hardware Information On Linux Using dmidecode</title>
		<link>http://sojungle.wordpress.com/2012/01/31/get-hardware-information-on-linux-using-dmidecode/</link>
		<comments>http://sojungle.wordpress.com/2012/01/31/get-hardware-information-on-linux-using-dmidecode/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 02:22:29 +0000</pubDate>
		<dc:creator>ZyK</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[UNIX-LINUX]]></category>
		<category><![CDATA[LINUX]]></category>

		<guid isPermaLink="false">http://sojungle.wordpress.com/?p=258</guid>
		<description><![CDATA[dmidecode command reads the system DMI table to display hardware and BIOS information of the server. Apart from getting current configuration of the system, you can also get information about maximum supported configuration of the system using dmidecode. For example, dmidecode gives both the current RAM on the system and the maximum RAM supported by [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sojungle.wordpress.com&amp;blog=10327702&amp;post=258&amp;subd=sojungle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>dmidecode command reads the system DMI table to display hardware and BIOS information of the server. Apart from getting current configuration of the system, you can also get information about maximum supported configuration of the system using dmidecode. For example, dmidecode gives both the current RAM on the system and the maximum RAM supported by the system.<br />
<code> </code><br />
This article provides an overview of the dmidecode and few practical examples on how to use dmidecode command.</p>
<h3>1. Overview of dmidecode</h3>
<p><a href="http://www.dmtf.org/home">Distributed Management Task Force</a> maintains the <a href="http://www.dmtf.org/standards/dmi/">DMI specification</a> and <a href="http://www.dmtf.org/standards/smbios/">SMBIOS specification</a>. The output of the dmidecode contains several records from the DMI (Desktop Management interface) table.<br />
<code> </code><br />
Following is the record format of the dmidecode output of the DMI table.</p>
<pre>Record Header: Handle {record id}, DMI type {dmi type id}, {record size} bytes
Record Value: {multi line record value}</pre>
<ul>
<li><strong>record id:</strong> Unique identifier for every record in the DMI table.</li>
<li><strong>dmi type id:</strong> Type of the record. i.e BIOS, Memory etc.,</li>
<li><strong>record size:</strong> Size of the record in the DMI table.</li>
<li><strong>multi line record values:</strong> Multi line record value for that specific DMI type.</li>
</ul>
<p>Sample output of dmidecode command:</p>
<pre># <strong>dmidecode | head -15 </strong>
# dmidecode 2.9
SMBIOS 2.3 present.
56 structures occupying 1977 bytes.
Table at 0x000FB320.

Handle 0xDA00, DMI type 218, 11 bytes
OEM-specific Type
        Header and Data:
                DA 0B 00 DA B0 00 17 03 08 28 00

Handle 0x0000, DMI type 0, 20 bytes
BIOS Information
        Vendor: Dell Computer Corporation
        Version: A07
        Release Date: 01/13/2004</pre>
<p>Get the total number of records in the DMI table as shown below:</p>
<pre># dmidecode | grep ^Handle | wc -l
56

(or)

# dmidecode | grep structures
56 structures occupying 1977 bytes.</pre>
<h3>2. DMI Types</h3>
<p>DMI Type id will give information about a particular hardware component of your system. Following command with type id 4 will get the information about CPU of the system.</p>
<pre># <strong>dmidecode -t 4 </strong># dmidecode 2.9
SMBIOS 2.3 present.

Handle 0x0400, DMI type 4, 35 bytes
Processor Information
        Socket Designation: Processor 1
        Type: Central Processor
        Family: Xeon
        Manufacturer: Intel
        ID: 29 0F 00 00 FF FB EB BF
        Signature: Type 0, Family 15, Model 2, Stepping 9
        Flags:
                FPU (Floating-point unit on-chip)
                VME (Virtual mode extension)
                DE (Debugging extension)
                PSE (Page size extension)
                TSC (Time stamp counter)
                MSR (Model specific registers)</pre>
<p>Following are the different DMI types available.</p>
<pre>       Type   Information
       ----------------------------------------
          0   BIOS
          1   System
          2   Base Board
          3   Chassis
          4   Processor
          5   Memory Controller
          6   Memory Module
          7   Cache
          8   Port Connector
          9   System Slots
         10   On Board Devices
         11   OEM Strings
         12   System Configuration Options
         13   BIOS Language
         14   Group Associations
         15   System Event Log
         16   Physical Memory Array
         17   Memory Device
         18   32-bit Memory Error
         19   Memory Array Mapped Address
         20   Memory Device Mapped Address
         21   Built-in Pointing Device
         22   Portable Battery
         23   System Reset
         24   Hardware Security
         25   System Power Controls
         26   Voltage Probe
         27   Cooling Device
         28   Temperature Probe
         29   Electrical Current Probe
         30   Out-of-band Remote Access
         31   Boot Integrity Services
         32   System Boot
         33   64-bit Memory Error
         34   Management Device
         35   Management Device Component
         36   Management Device Threshold Data
         37   Memory Channel
         38   IPMI Device
         39   Power Supply</pre>
<p>Instead of type_id, you can also pass the keyword to the -t option of the dmidecode command. Following are the available keywords.</p>
<div></div>
<pre>       Keyword     Types
       ------------------------------
       bios        0, 13
       system      1, 12, 15, 23, 32
       baseboard   2, 10
       chassis     3
       processor   4
       memory      5, 6, 16, 17
       cache       7
       connector   8
       slot        9</pre>
<p>For example, to get all the system baseboard related information execute the following command, which will display the type_id 2 and 10</p>
<pre># <strong>dmidecode -t baseboard </strong># dmidecode 2.9
SMBIOS 2.3 present.

Handle 0x0200, DMI type 2, 9 bytes
Base Board Information
        Manufacturer: Dell Computer Corporation
        Product Name: 123456
        Version: A05
        Serial Number: ..CN123456789098.

Handle 0x0A00, DMI type 10, 14 bytes
On Board Device 1 Information
        Type: SCSI Controller
        Status: Enabled
        Description: LSI Logic 53C1030 Ultra 320 SCSI
On Board Device 2 Information
        Type: SCSI Controller
        Status: Enabled
        Description: LSI Logic 53C1030 Ultra 320 SCSI
On Board Device 3 Information
        Type: Video
        Status: Enabled
        Description: ATI Rage XL PCI Video
On Board Device 4 Information
        Type: Ethernet
        Status: Enabled
        Description: Broadcom Gigabit Ethernet 1
On Board Device 5 Information
        Type: Ethernet
        Status: Enabled
        Description: Broadcom Gigabit Ethernet 2</pre>
<h3>3. Get Physical Memory (RAM) information using dmidecode</h3>
<p><strong>What is the maximum RAM supported by the system?</strong> In this example, this system can support maximum 8GB of RAM.</p>
<pre># <strong>dmidecode -t 16 </strong># dmidecode 2.9
SMBIOS 2.3 present.

Handle 0x1000, DMI type 16, 15 bytes
Physical Memory Array
        Location: System Board Or Motherboard
        Use: System Memory
        Error Correction Type: Multi-bit ECC
<strong> Maximum Capacity: 8 GB </strong>        Error Information Handle: Not Provided
        Number Of Devices: 4</pre>
<p><code> </code><br />
<strong>How much memory can I expand to?</strong> From /proc/meminfo you can find out the total current memory of your system as shown below.</p>
<pre># grep MemTotal /proc/meminfo
MemTotal:      1034644 kB</pre>
<p><code> </code><br />
In this example, the system has 1GB of RAM. Is this 1 x 1GB (or) 2 x 512MB (or) 4 x 256MB? This can be figured out by passing the type id 17 to the dmidecode command as shown below. Please note in the example below, if you have to expand upto 8GB of maximum RAM, you need to remove the existing 512MB from slot 1 and 2, and use 2GB RAM on all the 4 memory slots.</p>
<pre># <strong>dmidecode -t 17 </strong># dmidecode 2.9
SMBIOS 2.3 present.

Handle 0x1100, DMI type 17, 23 bytes
Memory Device
        Array Handle: 0x1000
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
<strong> Size: 512 MB </strong>[Note: Slot1 has 512 MB RAM]
        Form Factor: DIMM
        Set: 1
        Locator: DIMM_1A
        Bank Locator: Not Specified
        Type: DDR
        Type Detail: Synchronous
        Speed: 266 MHz (3.8 ns)

Handle 0x1101, DMI type 17, 23 bytes
Memory Device
        Array Handle: 0x1000
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
<strong> Size: 512 MB </strong>[Note: Slot2 has 512 MB RAM]
        Form Factor: DIMM
        Set: 1
        Locator: DIMM_1B
        Bank Locator: Not Specified
        Type: DDR
        Type Detail: Synchronous
        Speed: 266 MHz (3.8 ns)

Handle 0x1102, DMI type 17, 23 bytes
Memory Device
        Array Handle: 0x1000
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
<strong> Size: No Module Installed</strong> [Note: Slot3 is empty]
        Form Factor: DIMM
        Set: 2
        Locator: DIMM_2A
        Bank Locator: Not Specified
        Type: DDR
        Type Detail: Synchronous
        Speed: 266 MHz (3.8 ns)

Handle 0x1103, DMI type 17, 23 bytes
Memory Device
        Array Handle: 0x1000

        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
<strong> Size: No Module Installed </strong>[Note: Slot4 is empty]
        Form Factor: DIMM
        Set: 2
        Locator: DIMM_2B
        Bank Locator: Not Specified
        Type: DDR
        Type Detail: Synchronous
        Speed: 266 MHz (3.8 ns)</pre>
<h3>4. Get BIOS information using dmidecode</h3>
<pre># <strong>dmidecode -t bios </strong># dmidecode 2.9
SMBIOS 2.3 present.

Handle 0x0000, DMI type 0, 20 bytes
BIOS Information
        Vendor: Dell Computer Corporation
        Version: A07
        Release Date: 01/13/2004
        Address: 0xF0000
        Runtime Size: 64 kB
        ROM Size: 4096 kB
        Characteristics:
                ISA is supported
                PCI is supported
                PNP is supported
                BIOS is upgradeable
                BIOS shadowing is allowed
                ESCD support is available
                Boot from CD is supported
                Selectable boot is supported
                EDD is supported
                Japanese floppy for Toshiba 1.2 MB is supported (int 13h)
                5.25"/360 KB floppy services are supported (int 13h)
                5.25"/1.2 MB floppy services are supported (int 13h)
                3.5"/720 KB floppy services are supported (int 13h)
                8042 keyboard services are supported (int 9h)
                Serial services are supported (int 14h)
                CGA/mono video services are supported (int 10h)
                ACPI is supported
                USB legacy is supported
                LS-120 boot is supported
                BIOS boot specification is supported
                Function key-initiated network boot is supported

Handle 0x0D00, DMI type 13, 22 bytes
BIOS Language Information
        Installable Languages: 1
                en|US|iso8859-1
        Currently Installed Language: en|US|iso8859-1</pre>
<h3>5. View Manufacturer, Model and Serial number of the equipment using dmidecode</h3>
<p>You can get information about the make, model and serial number of the equipment as shown below:</p>
<pre># <strong>dmidecode -t system </strong># dmidecode 2.9
SMBIOS 2.3 present.

Handle 0x0100, DMI type 1, 25 bytes
System Information
        <strong>Manufacturer</strong>: Dell Computer Corporation
        <strong>Product Name</strong>: PowerEdge 1750
        Version: Not Specified
        <strong>Serial Number</strong>: 1234567
        UUID: 4123454C-4123-1123-8123-12345603431
        Wake-up Type: Power Switch

Handle 0x0C00, DMI type 12, 5 bytes
System Configuration Options
        Option 1: NVRAM_CLR:  Clear user settable NVRAM areas and set defaults
        Option 2: PASSWD:  Close to enable password

Handle 0x2000, DMI type 32, 11 bytes
System Boot Information
        Status: No errors detected
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sojungle.wordpress.com/258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sojungle.wordpress.com/258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sojungle.wordpress.com/258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sojungle.wordpress.com/258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sojungle.wordpress.com/258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sojungle.wordpress.com/258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sojungle.wordpress.com/258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sojungle.wordpress.com/258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sojungle.wordpress.com/258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sojungle.wordpress.com/258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sojungle.wordpress.com/258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sojungle.wordpress.com/258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sojungle.wordpress.com/258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sojungle.wordpress.com/258/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sojungle.wordpress.com&amp;blog=10327702&amp;post=258&amp;subd=sojungle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sojungle.wordpress.com/2012/01/31/get-hardware-information-on-linux-using-dmidecode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3cb7c921719332496f7d411cf3be835b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ZyK</media:title>
		</media:content>
	</item>
		<item>
		<title>Configuring the DR Databases using RMAN</title>
		<link>http://sojungle.wordpress.com/2012/01/30/configuring-the-dr-databases-using-rman/</link>
		<comments>http://sojungle.wordpress.com/2012/01/30/configuring-the-dr-databases-using-rman/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 03:34:55 +0000</pubDate>
		<dc:creator>ZyK</dc:creator>
				<category><![CDATA[DR]]></category>
		<category><![CDATA[Data guard]]></category>

		<guid isPermaLink="false">http://sojungle.wordpress.com/?p=254</guid>
		<description><![CDATA[Configuring the DR Databases The Oracle DR configurations on both the primary and standby servers are identical.  Thus the alias TEST points to the primary server and STTEST points to the standby server on both environments.  Only the TNSNAMES.ORA file differs on each server defining the aliases TEST and STTEST.  For example on the primary [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sojungle.wordpress.com&amp;blog=10327702&amp;post=254&amp;subd=sojungle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h1><span style="font-size:medium;">Configuring the DR Databases</span></h1>
<p>The Oracle DR configurations on both the primary and standby servers are identical.  Thus the alias TEST points to the primary server and STTEST points to the standby server on both environments.  Only the TNSNAMES.ORA file differs on each server defining the aliases TEST and STTEST.  For example on the primary server PRSERVER, TEST points to PRSERVER as the primary server and STSERVER as the standby; where as on the standby server STSERVER the alias TEST points to STSERVER as the primary server and PRSERVER as the standby (opposite to that on PRSERVER).</p>
<p>&nbsp;</p>
<p><strong>TNSNAMES.ORA File on the primary server PRSERVER: </strong></p>
<p>TEST.DBSUPPORTSERVICES.CO.UK =</p>
<p>(DESCRIPTION =</p>
<p>(ADDRESS_LIST =</p>
<p>(ADDRESS = (PROTOCOL = TCP)(HOST = PRSERVER)(PORT = 1521))</p>
<p>)</p>
<p>(CONNECT_DATA =</p>
<p>(SERVER = DEDICATED)</p>
<p>(SERVICE_NAME = TEST)</p>
<p>)</p>
<p>)</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>STTEST.DBSUPPORTSERVICES.CO.UK =</p>
<p>(DESCRIPTION =</p>
<p>(ADDRESS_LIST =</p>
<p>(ADDRESS = (PROTOCOL = TCP)(HOST = STSERVER)(PORT = 1521))</p>
<p>)</p>
<p>(CONNECT_DATA =</p>
<p>(SERVER = DEDICATED)</p>
<p>(SERVICE_NAME = TEST)</p>
<p>)</p>
<p>)</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>TNSNAMES.ORA File on the standby server STSERVER: </strong></p>
<p>TEST.DBSUPPORTSERVICES.CO.UK =</p>
<p>(DESCRIPTION =</p>
<p>(ADDRESS_LIST =</p>
<p>(ADDRESS = (PROTOCOL = TCP)(HOST = STSERVER)(PORT = 1521))</p>
<p>)</p>
<p>(CONNECT_DATA =</p>
<p>(SERVER = DEDICATED)</p>
<p>(SERVICE_NAME = TEST)</p>
<p>)</p>
<p>)</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>STTEST.DBSUPPORTSERVICES.CO.UK =</p>
<p>(DESCRIPTION =</p>
<p>(ADDRESS_LIST =</p>
<p>(ADDRESS = (PROTOCOL = TCP)(HOST = PRSERVER)(PORT = 1521))</p>
<p>)</p>
<p>(CONNECT_DATA =</p>
<p>(SERVER = DEDICATED)</p>
<p>(SERVICE_NAME = TEST)</p>
<p>)</p>
<p>)</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Relevant Initialisation Parameters on both Production and DR Servers:</p>
<p>&nbsp;</p>
<p>*.log_archive_dest_1=&#8217;LOCATION=M:\Oracle-Databases\TEST\archive&#8217;</p>
<p>*.log_archive_dest_2=&#8217;SERVICE=STTEST.DBSUPPORTSERVICES.CO.UK REOPEN=60&#8242;</p>
<p>*.log_archive_dest_state_2=&#8217;ENABLE&#8217;</p>
<p>*.standby_archive_dest=&#8217;P:\Oracle-Databases\TEST\archive&#8217;</p>
<p>*.standby_file_management=&#8217;AUTO&#8217;</p>
<p>*.fal_client=&#8217;TEST.DBSUPPORTSERVICES.CO.UK&#8217;</p>
<p>*.fal_server=&#8217;STTEST.DBSUPPORTSERVICES.CO.UK&#8217;</p>
<p>*.archive_lag_target=900</p>
<p>&nbsp;</p>
<p>Configuring the environments as above will allow log replication to continue after a clean switchover so that it is easy to switch back and forth between servers.  For example PRSERVER can become a standby database while STSERVER is primary and vice Aversa.</p>
<h1><span style="font-size:medium;">Creating a Standby Database from the Primary via RMAN</span></h1>
<p>On production server:</p>
<p>&nbsp;</p>
<ol>
<li><strong>1.       </strong><strong>Launch RMAN to connect to the TEST database and check the current RMAN configuration:</strong></li>
</ol>
<p><strong> </strong></p>
<p>C:\ &gt;set ORACLE_SID=TEST</p>
<p>C:\ &gt;rman target /</p>
<p>Recovery Manager: Release 9.2.0.6.0 &#8211; Production</p>
<p>Copyright (c) 1995, 2002, Oracle Corporation.  All rights reserved.</p>
<p>connected to target database: TEST (DBID=1949209861)</p>
<p>&nbsp;</p>
<p>RMAN&gt; show all;</p>
<p>&nbsp;</p>
<div>
<p>using target database controlfile instead of recovery catalog</p>
<p>RMAN configuration parameters are:</p>
<p>CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 1 DAYS;</p>
<p>CONFIGURE BACKUP OPTIMIZATION OFF;</p>
<p>CONFIGURE DEFAULT DEVICE TYPE TO DISK;</p>
<p>CONFIGURE CONTROLFILE AUTOBACKUP ON;</p>
<p>CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO &#8216;I:\Oracle_Backups\%d_%F.rman&#8217;;</p>
<p>CONFIGURE DEVICE TYPE DISK PARALLELISM 1;</p>
<p>CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;</p>
<p>CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;</p>
<p>CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   &#8216;I:\Oracle_Backups\%d_%s_%p.rman&#8217;;</p>
<p>CONFIGURE MAXSETSIZE TO UNLIMITED;</p>
<p>CONFIGURE SNAPSHOT CONTROLFILE NAME TO &#8216;E:\ORACLE\ORA92\DATABASE\SNCFTEST.ORA&#8217;;</p>
</div>
<p>&nbsp;</p>
<ol>
<li><strong>2.       </strong><strong>Backup the current production database to create a standby database: </strong></li>
</ol>
<p>RMAN&gt; backup database include current controlfile for standby plus archivelog;</p>
<p>&nbsp;</p>
<ol>
<li><strong>3.       </strong><strong>Manually copy the backup sets from I:\Oracle_Backups on the production server to I:\Oracle_Backups on the DR Server (location of backups must match on both production and DR). </strong></li>
</ol>
<p><strong> </strong></p>
<ol>
<li><strong>4.       </strong><strong>On the DR Server start up the TEST database in nomount mode: </strong></li>
</ol>
<p>C:\&gt; set ORACLE_SID=TEST</p>
<p>C:\&gt; sqlplus /nolog</p>
<p>SQL&gt; connect / as sysdba</p>
<p>SQL&gt; startup nomount</p>
<p>SQL&gt; exit</p>
<p>&nbsp;</p>
<ol>
<li><strong>5.       </strong><strong>Create the standby database using RMAN (This assumes the database file structures will be identical on both servers): </strong></li>
</ol>
<p>C:\&gt; RMAN target ‘sys/fluffy@STTEST’ auxiliary /</p>
<p>RMAN&gt; duplicate target database for standby nofilenamecheck dorecover;</p>
<p>&nbsp;</p>
<ol>
<li><strong>6.       </strong><strong>Once the DR database is created; you will need to manually add a tempfile: </strong></li>
</ol>
<p>SQL&gt; alter database open read only;</p>
<p>SQL&gt; alter tablespace temp add tempfile ‘F:\Oracle-Databases\TEST\TEMP01.DBF’ size 500M;</p>
<p>&nbsp;</p>
<ol>
<li><strong>7.       </strong><strong>Put the DR database into managed standby mode: </strong></li>
</ol>
<p>SQL&gt; shutdown immediate</p>
<p>SQL&gt; startup nomount</p>
<p>SQL&gt; alter database mount standby database;</p>
<p>SQL&gt; alter database recover managed standby database disconnect;</p>
<p>&nbsp;</p>
<ol>
<li><strong>8.       </strong><strong>On the production database switch logs to initiate replication: </strong></li>
</ol>
<p>SQL&gt; alter system switch logfile;</p>
<p>The configuration of Dataguard is now complete.</p>
<h1><span style="font-size:medium;">Invoking a DR Standby Database</span></h1>
<h2><span style="font-size:medium;">Overview</span></h2>
<p>There are different methods you can use to invoke a standby database depending on the typical DR scenario you are facing.</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td rowspan="1" colspan="1" valign="top" width="138"><strong>Method </strong></td>
<td rowspan="1" colspan="1" valign="top" width="263"><strong>Description </strong></td>
<td rowspan="1" colspan="1" valign="top" width="216"><strong>Scenario for usage. </strong></td>
</tr>
<tr>
<td rowspan="1" colspan="1" valign="top" width="138">Database Switchover</td>
<td rowspan="1" colspan="1" valign="top" width="263">Using this method you can switch backwards and forwards between the primary and DR servers (e.g. so that the primary can become DR and DR can become primary) without having to rebuild either environment.</td>
<td rowspan="1" colspan="1" valign="top" width="216">This scenario can be used if both the Primary and Standby Servers are available so that you can connect to both environments simultaneously and perform a clean switchover.</td>
</tr>
<tr>
<td rowspan="1" colspan="1" valign="top" width="138">Activating a Standby Database</td>
<td rowspan="1" colspan="1" valign="top" width="263">This method will activate the Standby Database as the primary database recovering up to the point of the last log shipment.  After activating a standby database as the primary the original primary server becomes obsolete and will need to be rebuilt as a standby database (e.g. you can not just switch the servers back to act as a primary or standby database and will need to rebuild the data-guard environments).</td>
<td rowspan="1" colspan="1" valign="top" width="216">This scenario can be used if the primary server is not available and you need to force the standby database to become the primary.</td>
</tr>
<tr>
<td rowspan="1" colspan="1" valign="top" width="138">Opening the standby Database in Read-Only Mode</td>
<td rowspan="1" colspan="1" valign="top" width="263">This method involves stopping data-guard replication and opening the standby database in read-only mode for querying.  The database can then be shutdown and reopened in standby mode so that data-guard replication can resume (assuming all required archive logs are still available)</td>
<td rowspan="1" colspan="1" valign="top" width="216">This scenario can be used if you want to open the standby database temporarily for querying data and then wish to put the database back into standby mode.</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>The following section describes how to perform each of the above methods of invoking a standby database:</p>
<p>&nbsp;</p>
<h2><span style="font-size:medium;">Database Switchover</span></h2>
<p>Using this method you can switch backwards and forwards between the primary and DR servers (e.g. so that the primary can become DR and DR can become primary) without having to rebuild either environment:</p>
<p>&nbsp;</p>
<p>On Primary Server:</p>
<p>SQL&gt; alter database commit to switchover to standby;</p>
<p>&nbsp;</p>
<div>
<p>This may cause the following error to be generated:</p>
<p><strong>ERROR at line 1: </strong></p>
<p><strong>ORA-01093: ALTER DATABASE CLOSE only permitted with no sessions connected </strong></p>
<p>If this does occur then restart the database, as below, before retrying the above command:</p>
<p>SQL&gt; shutdown immediate</p>
<p>SQL&gt; startup</p>
</div>
<p>&nbsp;</p>
<p>SQL&gt; shutdown immediate</p>
<p>SQL&gt; startup nomount</p>
<p>SQL&gt; alter database mount standby database;</p>
<p>SQL&gt; alter database recover managed standby database disconnect;</p>
<p>&nbsp;</p>
<p>The primary server is now configured as a DR standby database.</p>
<p>&nbsp;</p>
<p>On DR Server:</p>
<p>SQL&gt; alter database recover managed standby database cancel;</p>
<p>SQL&gt; alter database commit to switchover to primary;</p>
<p>SQL&gt; shutdown immediate</p>
<p>SQL&gt; startup</p>
<p>&nbsp;</p>
<p>The DR server is now configured as the primary database.</p>
<p>To switch back you just need to repeat the above process but the other way around (e.g. convert the DR database back to a standby and the primary database back to primary).</p>
<p>&nbsp;</p>
<h2><span style="font-size:medium;">Activating a Standby Database</span></h2>
<p>If the primary database is not available the standby database can be converted into the primary database as follows:</p>
<p>&nbsp;</p>
<p>SQL&gt; alter database recover managed standby database cancel;</p>
<p>SQL&gt; alter database activate standby database;</p>
<p>SQL&gt; shutdown immediate</p>
<p>SQL&gt; startup</p>
<p>&nbsp;</p>
<p>The original primary database is now obsolete and can be rebuilt as a standby database once it is available again.</p>
<h2><span style="font-size:medium;">Opening the Standby Database in Read Only Mode</span></h2>
<p>The standby database can be opened in read only mode for querying and then converted back into a standby database without affecting the primary.</p>
<p>&nbsp;</p>
<p>On standby server:</p>
<p>SQL&gt; alter database recover managed standby database cancel;</p>
<p>SQL&gt; alter database open read only;</p>
<p>&nbsp;</p>
<p>The standby database is now open and available for querying in read only mode.</p>
<p>To put the standby database back into standby mode:</p>
<p>&nbsp;</p>
<p>SQL&gt; shutdown immediate</p>
<p>SQL&gt; startup nomount</p>
<p>SQL&gt; alter database mount standby database;</p>
<p>SQL&gt; alter database recover managed standby database disconnect;</p>
<p>&nbsp;</p>
<p><strong><span style="font-size:medium;">How to check whether the Standby Database is in Sync</span></strong></p>
<p>&nbsp;</p>
<p>On the primary server:</p>
<p>SQL&gt; SELECT max(sequence#) AS &#8220;PRIMARY&#8221; FROM v$log_history;</p>
<p>&nbsp;</p>
<p>On the standby server:</p>
<p>SQL&gt; SELECT max(sequence#) AS &#8220;STANDBY&#8221;, applied</p>
<p>FROM v$archived_log GROUP BY applied;</p>
<p>&nbsp;</p>
<p>The standby database is in sync with the primary database if the above PRIMARY value matches the above STANDBY value where applied = &#8216;YES&#8217;.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sojungle.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sojungle.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sojungle.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sojungle.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sojungle.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sojungle.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sojungle.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sojungle.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sojungle.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sojungle.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sojungle.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sojungle.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sojungle.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sojungle.wordpress.com/254/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sojungle.wordpress.com&amp;blog=10327702&amp;post=254&amp;subd=sojungle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sojungle.wordpress.com/2012/01/30/configuring-the-dr-databases-using-rman/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3cb7c921719332496f7d411cf3be835b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ZyK</media:title>
		</media:content>
	</item>
		<item>
		<title>2012: Just A Dream</title>
		<link>http://sojungle.wordpress.com/2012/01/20/2012-just-a-dream/</link>
		<comments>http://sojungle.wordpress.com/2012/01/20/2012-just-a-dream/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 01:14:37 +0000</pubDate>
		<dc:creator>ZyK</dc:creator>
				<category><![CDATA[Enjoy life]]></category>

		<guid isPermaLink="false">http://sojungle.wordpress.com/?p=249</guid>
		<description><![CDATA[Just A Dream (Cover) &#8211; Sam Tsui &#38; Christina Grimmie<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sojungle.wordpress.com&amp;blog=10327702&amp;post=249&amp;subd=sojungle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h1 id="watch-headline-title">Just A Dream (Cover) &#8211; Sam Tsui &amp; Christina Grimmie</h1>
<span style="text-align:center; display: block;"><a href="http://sojungle.wordpress.com/2012/01/20/2012-just-a-dream/"><img src="http://img.youtube.com/vi/XiczxhrgAMo/2.jpg" alt="" /></a></span>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sojungle.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sojungle.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sojungle.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sojungle.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sojungle.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sojungle.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sojungle.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sojungle.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sojungle.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sojungle.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sojungle.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sojungle.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sojungle.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sojungle.wordpress.com/249/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sojungle.wordpress.com&amp;blog=10327702&amp;post=249&amp;subd=sojungle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sojungle.wordpress.com/2012/01/20/2012-just-a-dream/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3cb7c921719332496f7d411cf3be835b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ZyK</media:title>
		</media:content>
	</item>
		<item>
		<title>How To Work Less and Make More</title>
		<link>http://sojungle.wordpress.com/2012/01/19/how-to-work-less-and-make-more/</link>
		<comments>http://sojungle.wordpress.com/2012/01/19/how-to-work-less-and-make-more/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 09:38:44 +0000</pubDate>
		<dc:creator>ZyK</dc:creator>
				<category><![CDATA[Enjoy life]]></category>

		<guid isPermaLink="false">http://sojungle.wordpress.com/?p=246</guid>
		<description><![CDATA[Don’t get me wrong, it’s not easy to work less, get promoted, and earn more money all at the same time. And there aren’t necessarily shortcuts to get there. Consider the advice below a menu of options that may or may not work for your specific situation. 1. Learn to Say No and/or Delegate Whether you’re addicted [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sojungle.wordpress.com&amp;blog=10327702&amp;post=246&amp;subd=sojungle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Don’t get me wrong, it’s not easy to work less, get promoted, and earn more money all at the same time. And there aren’t necessarily shortcuts to get there. Consider the advice below a menu of options that may or may not work for your specific situation.</p>
<h2>1. Learn to Say No and/or Delegate</h2>
<p><img src="http://www.brazencareerist.com/sites/default/files/images/moneytree.jpg" alt="" /></p>
<p>Whether you’re <a href="http://www.nytimes.com/2007/10/22/business/worldbusiness/22iht-workcol23.1.7992181.html">addicted to doing everything yourself</a>, or if you just have a hard time letting go, successful managers and leaders learn to accept that there are simply not enough hours to do it all. You can effectively increase your hourly pay if you can reduce your workload by <a href="http://www.bnet.com/blog/businesstips/delegate-your-gmail-account-to-your-assistant-also-you-should-hire-an-assistant/10088">delegating tasks</a> to other members of your team. This can help to free up time to enjoy more personal and family activities without decreasing your salary. (Just be careful not to delegate <a href="http://www.bnet.com/blog/harvard/when-not-to-delegate/10042">the wrong things</a>.)</p>
<h2>2. Learn a Specialized Skill</h2>
<p>Sometimes having a specialized, highly desirable skill set can make you more valuable to your employer. Find out what skills are most valuable in your industry and decide whether it’s something you can easily acquire in your spare time or whether your employer will help pay for you to acquire the skill. It could be <a href="http://headfirstlabs.com/books/hfhtml/">learning HTML</a>, learning the latest <a href="http://learning.dice.com/news.php?articleID=4">networking technology in the IT sector</a>, or becoming a <a href="http://en.wikipedia.org/wiki/Six_Sigma">six-sigma black-belt</a>. Previous employers of mine helped me to learn specific software programs like Adobe InDesign and Photoshop which increased my productivity (and in turn enhanced my worth to the company).</p>
<h2>3. Earn a Higher Degree or Qualification</h2>
<p>In some job sectors, merely having a certain degree, certificate or specialized training puts you in a higher pay scale. This can be more labor intensive, time consuming, and financially challenging, so be careful about how you navigate the pursuit of more <a href="http://www.businessweek.com/interactive_reports/bs_collegeROI_0621.html">formal education to improve your earning potential</a>. Some employers will help pay for courses that are directly relevant to your current work, so it may be possible to pursue a part-time evening program and not decrease your earnings while you do it. This option is actually more work in the short term, but could have the most benefits over the long term. Many higher management jobs have minimum qualifications of a college degree or even an MBA. If that’s a job you’re aiming for, think about the best way to achieve that given your own circumstances.</p>
<h2>4. Telecommute or Change Your Hours</h2>
<p>If your employer is unwilling or unable to give you a raise for the incredible amount of work you do, they may be willing to adjust your hours or <a href="http://www.quintcareers.com/telecommuting_options.html">allow a telecommuting option</a>, depending on the nature of your work. This doesn’t work for many industries, but if you’re in a job where you can complete most of your tasks from home, it may be worth asking if you can have a regular ‘work from home’ day once a week, or twice a month.</p>
<p>Alternatively, if you regularly stay late at the office, say 8 or 9 pm more than two or three times a week, ask if you can come in to the office at 10am or 11am instead of 8am or 9am. Your employer is still getting 40+ hours from you, but it will free up your mornings to have a workout, take the kids to school (if you have them), and do some personal chores. If you’re more productive in the mornings and would rather be home for dinner with your family, the reverse might be an option — suggest you come into the office at 6 or 7am instead of the normal 8 or 9am so you can leave by 3 or 4.</p>
<h2>5. Become a Consultant rather than a Full-timer</h2>
<p>If you regularly work well above and beyond the 40 hour work week, you might consider whether becoming an hourly <a href="http://www.managementconsultingnews.com/articles/bennett_transition.php">consultant</a> to your company makes more sense for you financially. It may not technically be less work, but it will be more flexible — and you can take on additional clients when you need the extra income rather than working 80 hours for the same employer without getting paid overtime.</p>
<h2>6. Get a Raise for Work You Are Already Doing</h2>
<p>If you’re the type of person that’s able to document significant increases in profit that you’ve brought to your company, or you’ve been doing way more than you were hired to do, you might be able to <a href="http://blog.penelopetrunk.com/2006/07/18/how-to-get-a-raise/">ask for a raise based on prior performance</a>. If you can’t document significant <a href="http://www.martinbauer.com/Articles/How-to-Plan-a-CMS-Project/Objectives-Outputs-and-Outcomes">outcomes (not outputs)</a> that improved the company’s bottom line, consider what you need in order to do so — when your employer knows exactly how valuable you are to the company, it makes more business sense to invest in your personal happiness to keep you around.</p>
<h2>7. Increase Your Productivity</h2>
<p>If you find yourself repeating certain tasks on a regular basis, spend a portion of your day <a href="http://www.bnet.com/blog/businesstips/want-to-improve-your-productivity-analyze-your-email-stats/10973">finding more efficient ways to complete them</a>. For instance, in a previous job I was responsible for maintaining press lists for all the reporters in our research area. When I first became in charge of this task, I manually entered in phone numbers and email addresses for members of the press and would regularly make calls to ensure I still had correct contact information for distributing press releases. Eventually we subscribed to a service that maintained up to date press lists on our behalf. The service wasn’t free, but removing that task from my schedule increased my productivity and allowed me to focus my efforts on more important and valuable aspects of my job. There are <a href="http://blog.brazencareerist.com/2010/04/20/9-tools-for-increased-productivity/">thousands of companies</a> out there trying to make you more efficient at your job — so spend some time investigating options for tasks that are repetitive.</p>
<h2>8. Change Job</h2>
<p>When all else fails and there’s not a way to transition into a healthier work-life balance at your current company, consider finding a new work environment where your skills and experience are more highly valued.</p>
<p>The bottom line is this: If your overworked and underpaid, you’ll head toward <a href="http://blog.brazencareerist.com/2011/04/21/4-signs-its-time-to-move-on/">burnout</a> quickly. Find a way to create more balance and earn more money for doing less (or the same) amount of work. These are a few tips to get there, but we’re always eager to hear what’s worked and what hasn’t work for your specific situation. Leave a comment below and start the conversation!</p>
<p>(Src: http://whitneymayparker.com)</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sojungle.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sojungle.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sojungle.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sojungle.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sojungle.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sojungle.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sojungle.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sojungle.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sojungle.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sojungle.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sojungle.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sojungle.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sojungle.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sojungle.wordpress.com/246/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sojungle.wordpress.com&amp;blog=10327702&amp;post=246&amp;subd=sojungle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sojungle.wordpress.com/2012/01/19/how-to-work-less-and-make-more/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3cb7c921719332496f7d411cf3be835b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ZyK</media:title>
		</media:content>

		<media:content url="http://www.brazencareerist.com/sites/default/files/images/moneytree.jpg" medium="image" />
	</item>
		<item>
		<title>Space and Storage Management Enhancements</title>
		<link>http://sojungle.wordpress.com/2012/01/07/space-and-storage-management-enhancements/</link>
		<comments>http://sojungle.wordpress.com/2012/01/07/space-and-storage-management-enhancements/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 03:52:44 +0000</pubDate>
		<dc:creator>ZyK</dc:creator>
				<category><![CDATA[Sizing]]></category>
		<category><![CDATA[sizing]]></category>
		<category><![CDATA[Storage]]></category>

		<guid isPermaLink="false">http://sojungle.wordpress.com/?p=243</guid>
		<description><![CDATA[&#160;     Proactive Tablespace Management In Oracle Database 10g, by default, all tablespaces have built-in alerts that notify you when the free space in the tablespace goes below a certain predetermined threshold level. By default, Oracle sends out a warning alert when your tablespace is 85 percent full and a critical alert when the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sojungle.wordpress.com&amp;blog=10327702&amp;post=243&amp;subd=sojungle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a name="1"></a></p>
<p>&nbsp;</p>
<table width="100%">
<tbody>
<tr>
<td bgcolor="#DFDFDF">    <strong>Proactive Tablespace Management</strong></td>
</tr>
</tbody>
</table>
<ul type="DISC">
<li><a name="01000003"></a>In Oracle Database 10g, by default, all tablespaces have built-in alerts that notify you when the free space in the tablespace goes below a certain predetermined threshold level.</li>
<li>By default, Oracle sends out a warning alert when your tablespace is 85 percent full and a critical alert when the tablespace is 97 percent full. This also applies in the undo tablespace.</li>
<li>If you are migrating to Oracle Database 10g, Oracle turns off the automatic tablespace alerting mechanism by default.</li>
</ul>
<p><strong>Tablespace Alerts Limitations</strong></p>
<ul type="DISC">
<li>You can set alerts only for locally managed tablespaces.</li>
<li>When you take a tablespace offline or make it read-only, you must turn the alerting mechanism off.</li>
<li>You will get a maximum of only one undo alert during any 24-hour period.</li>
</ul>
<p><strong>Using the Database Control to Manage Thresholds</strong></p>
<p>Manage <strong><em>Metrics</em></strong> link | click the <strong><em>Edit Thresholds</em></strong> button</p>
<p><strong>Using the DBMS_SERVER_ALERT Package</strong></p>
<p>You can use the procedures: SET_THRESHOLD and GET_THRESHOLD in the DBMS_SERVER_ALERT package to manage database thresholds.</p>
<p>Examples:</p>
<p>To set your own databasewide default threshold values for the Tablespace Space Usage metric:</p>
<p>EXECUTE DBMS_SERVER_ALERT.SET_THRESHOLD(</p>
<p>METRICS_ID=&gt;DBMS_SERVER_ALERT.TABLESPACE_PCT_FULL,</p>
<p>WARNING_OPERATOR=&gt;DBMS_SERVER_ALERT.OPERATOR_GE,</p>
<p>WARNING_VALUE=&gt;80,</p>
<p>CRITICAL_OPERATOR=&gt;DBMS_SERVER_ALERT.OPERATOR_GE,</p>
<p>CRITICAL_VALUE=&gt;95,</p>
<p>OBSERVATION_PERIOD=&gt;1,</p>
<p>CONSECUTIVE_OCCURRENCES=&gt;1,</p>
<p>INSTANCE_NAME=&gt;NULL,</p>
<p>OBJECT_TYPE=&gt;DBMS_SERVER_ALERT.OBJECT_TYPE_TABLESPACE,</p>
<p>OBJECT_NAME=&gt;NULL)</p>
<p>To set a warning threshold of 80% and a critical threshold of 95% on the EXAMPLE tablespace, use the same previous example except OBJECT_NAME parameter should take value of &#8216;EXAMPLE&#8217;</p>
<p>To turn off the space-usage tracking mechanism for the EXAMPLE tablespace:</p>
<p>EXECUTE DBMS_SERVER_ALERT.SET_THRESHOLD(</p>
<p>METRICS_ID=&gt;dbms_server_alert.tablespace_pct_full,</p>
<p>WARNING_OPERATOR=&gt;dbms_server_alert.operator_do_not_check,</p>
<p>WARNING_VALUE=&gt;&#8217;0&#8242;,</p>
<p>CRITICAL_OPERATOR=&gt;dbms_server_alert.operator_do_not_check,</p>
<p>CRITICAL_VALUE=&gt;&#8217;0&#8242;,</p>
<p>OBSERVATION_PERIOD=&gt;1,</p>
<p>CONSECUTIVE_OCCURRENCES=&gt;1,</p>
<p>INSTANCE_NAME=&gt;NULL,</p>
<p>OBJECT_TYPE=&gt;dbms_server_alert.object_type_tablespace,</p>
<p>OBJECT_NAME=&gt;&#8217;EXAMPLE&#8217;)</p>
<p><a name="2"></a></p>
<p>&nbsp;</p>
<table width="100%">
<tbody>
<tr>
<td bgcolor="#DFDFDF">   <strong>Reclaiming Unused Space</strong></td>
</tr>
</tbody>
</table>
<p>In Oracle Database 10g, you can use the new segment-shrinking capability to make sparsely populated segments give their space back to their parent tablespace.</p>
<p><strong>Restrictions on Shrinking Segments</strong></p>
<ul type="DISC">
<li>You can only shrink segments that use Automatic Segment Space Management.</li>
<li>You must enable row movement for heap-organized segments. By default, row movement is disabled at the segment level.</li>
</ul>
<p>ALTER TABLE test ENABLE ROW MOVEMENT;</p>
<ul type="DISC">
<li>You can’t shrink the following:
<ul type="DISC">
<li>Tables that are part of a cluster</li>
<li>Tables with LONG columns,</li>
<li>Certain types of materialized views</li>
<li>Certain types of IOTs.</li>
<li>Tables with function-based indexes.</li>
</ul>
</li>
<li>In Oracle 10.2 you can also shrink:
<ul type="DISC">
<li>LOB Segments</li>
<li>Function Based Indexes</li>
<li>IOT Overflow Segments</li>
</ul>
</li>
</ul>
<p><strong>Segment Shrinking Phases</strong></p>
<p>There are two phases in a segment-shrinking operation:</p>
<p><strong>Compaction phase</strong></p>
<p>During this phase, the rows in a table are compacted and moved toward the left side of the segment and you can issue DML statements and queries on a segment while it is being shrunk.</p>
<p><strong>Adjustment of the HWM/releasing space phase</strong></p>
<p>During the second phase, Oracle lowers the HWM and releases the recovered free space under the old HWM to the parent tablespace. Oracle locks the object in an exclusive mode.</p>
<p><strong>Manual Segment Shrinking</strong></p>
<p>Manual Segment Shrinking is done by the statement:</p>
<p>ALTER TABLE test SHRINK SPACE</p>
<p>You can shrink all the dependent segments as well:</p>
<p>ALTER TABLE test SHRINK SPACE CASCADE</p>
<p>To only compact the space in the segment:</p>
<p>ALTER TABLE test SHRINK SPACE COMPACT</p>
<p>To shrinks a LOB segment:</p>
<p>ALTER TABLE employees MODIFY LOB(resume) (SHRINK SPACE)</p>
<p>To shrink an IOT overflow segment belonging to the EMPLOYEES table:</p>
<p>ALTER TABLE employees OVERFLOW SHRINK SPACE</p>
<p><strong>Shrinking Segments Using the Database Control</strong></p>
<p>To enable row movement:</p>
<p>Follow the links: <strong>Schema</strong>, <strong>Tables</strong>, <strong>Edit Tables</strong>, then <strong>Options</strong>.</p>
<p>To shrink a table segment:</p>
<p>Follow the links: <strong>Schema</strong>, <strong>Tables</strong>, select from the <strong>Actions</strong> field <strong>Shrink Segments</strong> and click <strong>Go</strong>.</p>
<p><strong>Using the Segment Advisor</strong></p>
<p><strong>Choosing Candidate Objects for Shrinking</strong></p>
<p>The Segment Advisor, to estimate future segment space needs, uses the growth trend report based on the AWR space-usage data.</p>
<p>Follow the links:</p>
<p>Database Home page, Advisor Central in the Related Links, Segment Advisor.</p>
<p><strong>Automatic Segment Advisor </strong></p>
<p>Automatic Segment Advisor is implemented by the AUTO_SPACE_ADVISOR_JOB job. This job executes the DBMS_SPACE.AUTO_SPACE_ADVISOR_JOB_PROC procedure at predefined points in time.</p>
<p>When a Segment Advisor job completes, the job output contains the space problems found and the advisor recommendations for resolving those problems.</p>
<p>You can view all Segment Advisor results by navigating to the <strong>Segment Advisor Recommendations</strong> page. You access this page from the home page by clicking the <strong>Segment Advisor Recommendations</strong> link in the <strong>Space Summary</strong> section.</p>
<p>The following views display information specific to Automatic Segment Advisor:</p>
<ul>
<ul type="DISC">
<li>DBA_AUTO_SEGADV_SUMMARY: Each row of this view summarizes one Automatic Segment Advisor run. Fields include number of tablespaces and segments processed, and number of recommendations made.</li>
<li>DBA_AUTO_SEGADV_CTL: This view contains control information that Automatic Segment Advisor uses to select and process segments.</li>
</ul>
</ul>
<p><a name="3"></a></p>
<p>&nbsp;</p>
<table width="100%">
<tbody>
<tr>
<td bgcolor="#DFDFDF">   <strong>Object Size Growth Analysis</strong></td>
</tr>
</tbody>
</table>
<p>You plan to create a table in a tablespace and populate it with data. So, you want to estimate its initial size. This can be achieved using Segment Advisor in the EM or its package DBMS_SPACE.</p>
<p><strong>Estimating Object Size using EM</strong></p>
<p>You can use the Segment Advisor to determine your future segment resource usage.</p>
<p>Follow these steps:</p>
<ol type="1">
<li>From the Database Control home page, click the <strong>Administration</strong> tab.</li>
<li>Under the <strong>Storage</strong> section, click the <strong>Tables</strong> link.</li>
<li>Click the <strong>Create</strong> button to create a new table.</li>
<li>You’ll now be on the Create Table page. Under the Columns section, specify your column data types. Then click the <strong>Estimate Table Size</strong> button.</li>
<li>On the Estimate Table Size page, specify the estimated number of rows in the new table, under Projected Row Count. Then click the <strong>Estimated Table Size</strong> button. This will show you the estimated table size.</li>
</ol>
<p><strong>Estimating Object Size using DBMS_SPACE</strong></p>
<p>For example, if your table has 30,000 rows, its average row size is 3 and the PCTFREE parameter is 20. You can issue the following code:</p>
<p>set serveroutput on</p>
<p>DECLARE</p>
<p>V_USED NUMBER;</p>
<p>V_ALLOC NUMBER;</p>
<p>BEGIN</p>
<p>DBMS_SPACE.CREATE_TABLE_COST (</p>
<p>TABLESPACE_NAME =&gt; &#8216;USERS&#8217;,</p>
<p>AVG_ROW_SIZE =&gt; 30,</p>
<p>ROW_COUNT =&gt; 30000,</p>
<p>PCT_FREE =&gt; 5,</p>
<p>USED_BYTES =&gt; V_USED,</p>
<p>ALLOC_BYTES =&gt; V_ALLOC);</p>
<p>DBMS_OUTPUT.PUT_LINE(&#8216;USED: &#8216;|| V_USED/1024 || &#8216; KB&#8217;);</p>
<p>DBMS_OUTPUT.PUT_LINE(&#8216;ALLOCATED: &#8216;|| V_ALLOC/1024 || &#8216; KB&#8217;);</p>
<p>END;</p>
<p>The USED_BYTES represent the actual bytes used by the data. The ALLOC_BYTES represent the size of the table when it is created in the tablespace. This takes into account, the size of the extents in the tablespace and tablespace extent management properties.</p>
<p>If you want to make the estimation based on the column definitions (not average row size and PCTFREE):</p>
<p>set serveroutput on</p>
<p>DECLARE</p>
<p>UB NUMBER;</p>
<p>AB NUMBER;</p>
<p>CL SYS.CREATE_TABLE_COST_COLUMNS;</p>
<p>BEGIN</p>
<p>CL := SYS.CREATE_TABLE_COST_COLUMNS(</p>
<p>SYS.CREATE_TABLE_COST_COLINFO(&#8216;NUMBER&#8217;,10),</p>
<p>SYS.CREATE_TABLE_COST_COLINFO(&#8216;VARCHAR2&#8242;,30),</p>
<p>SYS.CREATE_TABLE_COST_COLINFO(&#8216;VARCHAR2&#8242;,30),</p>
<p>SYS.CREATE_TABLE_COST_COLINFO(&#8216;DATE&#8217;,NULL));</p>
<p>DBMS_SPACE.CREATE_TABLE_COST(&#8216;USERS&#8217;,CL,100000,0,UB,AB);</p>
<p>DBMS_OUTPUT.PUT_LINE(&#8216;USED: &#8216;|| UB/1024 || &#8216; KB&#8217;);</p>
<p>DBMS_OUTPUT.PUT_LINE(&#8216;ALLOCATED: &#8216;|| AB/1024 || &#8216; KB&#8217;);</p>
<p>END;</p>
<p><a name="4"></a></p>
<p>&nbsp;</p>
<table width="100%">
<tbody>
<tr>
<td bgcolor="#DFDFDF">   <strong>Using the Undo and Redo Logfile Size Advisors</strong></td>
</tr>
</tbody>
</table>
<p><strong>Undo Advisor</strong></p>
<p>The Undo Advisor helps you perform the following tasks:</p>
<ul type="DISC">
<li>Set the undo retention period</li>
<li>Set the size of the undo tablespace</li>
</ul>
<p>To access the Undo Advisor in the Database Control:</p>
<p>Follow the links: Database Control home page, <strong><em>Administration</em></strong>, <strong><em>Undo</em></strong> <strong><em>Management</em></strong> button, the <strong><em>Undo</em></strong> <strong><em>Advisor</em></strong> button in the right corner.</p>
<p><strong>Redo Logfile Size Advisor</strong></p>
<p>The Redo Logfile Size Advisor will make recommendations about the smallest online redo log files you can use.</p>
<p>The Redo Logfile Size Advisor is enabled only if you set the FAST_START_MTTR_TARGET parameter.</p>
<p>Check the column OPTIMAL_LOGFILE_SIZE in V$INSTANCE_RECOVERY view to obtain the optimal size of the redo log file for your FAST_START_MTTR_TARGET setting.</p>
<p>To access the Redo Logfile Size Advisor:</p>
<ol type="1">
<li>Database Control home page, <strong><em>Administration</em></strong>, Under the <strong><em>Storage</em></strong> section, <strong><em>Redo</em></strong> <strong><em>Log</em></strong> <strong><em>Groups</em></strong>.</li>
<li>Select any redo log group, and then choose the Sizing Advice option from the Action drop-down list, Click Go</li>
</ol>
<p><a name="5"></a></p>
<p>&nbsp;</p>
<table width="100%">
<tbody>
<tr>
<td bgcolor="#DFDFDF">   <strong>Rollback Monitoring</strong></td>
</tr>
</tbody>
</table>
<p>In Oracle Database 10g, when a transaction rolls back, the event is recorded in the view V$SESSION_LONGOPS, if the process takes more than six seconds. This view enables you to estimate when the monitored rollback process will finish.</p>
<p>SELECT TIME_REMAINING,</p>
<p>SOFAR/TOTALWORK*100 PCT</p>
<p>FROM V$SESSION_LONGOPS</p>
<p>WHERE SID = 9</p>
<p>AND OPNAME =&#8217;Transaction Rollback&#8217;</p>
<p><a name="6"></a></p>
<p>&nbsp;</p>
<table width="100%">
<tbody>
<tr>
<td bgcolor="#DFDFDF">   <strong>Tablespace Enhancements</strong></td>
</tr>
</tbody>
</table>
<p><strong>Managing the SYSAUX Tablespace</strong></p>
<ul type="DISC">
<li>Some Oracle features use SYSAUX in its operation.</li>
<li>SYSAUX is mandatory in any database.</li>
<li>SYSAUX cannot be dropped, renamed or transported.</li>
<li>Oracle recommends that you create the SYSAUX tablespace with a minimum size of 240MB.</li>
</ul>
<p><strong>Creating SYSAUX</strong></p>
<ul type="DISC">
<li>DBCA creates it automatically and asks you about its configuration.</li>
<li>Can be included in the manual database creation:</li>
</ul>
<p>CREATE DATABASE mydb</p>
<p>USER SYS IDENTIFIED BY mysys</p>
<p>USER SYSTEM IDENTIFIED BY mysystem</p>
<p>..</p>
<p>SYSAUX DATAFILE &#8216;c:\..\sysaux01.dbf&#8217; SIZE 500M</p>
<p>If you omit the SYSAUX clause, Oracle will create the SYSAUX tablespace automatically with their datafiles in location defined by the following rules:</p>
<ul type="DISC">
<li>If you are using Oracle Managed Files (OMF), the location will be on the OMF.</li>
<li>If OMF is not configured, default locations will be system-determined.</li>
<li>If you include the DATAFILE clause for the SYSTEM tablespace, you must use the DATAFILE clause for the SYSAUX tablespace as well, unless you are using OMF.</li>
</ul>
<p>You can use ALTER TABLESPACE command to add a datafile though.</p>
<p><strong>Relocating SYSAUX Occupants</strong></p>
<p>If there is a severe space pressure on the SYSAUX tablespace, you may decide to move components out of the SYSAUX tablespace to a different tablespace.</p>
<ul type="DISC">
<li>Query the column SPACE_USAGE_KBYTES in the V$SYSAUX_OCCUPANTS to how much of the SYSAUX tablespace’s space each of its occupants is currently using.</li>
<li>Query the column MOVE_PROCEDURE to obtain the specific procedure you must use in order to move a given occupant out of the SYSAUX tablespace.</li>
</ul>
<p>SQL&gt; exec dbms_wm.move_proc(&#8216;DRSYS&#8217;);</p>
<p><strong>Note</strong>: You can’t relocate the following occcupants of the SYSAUX tablespace: STREAMS, STATSPACK, JOB_SCHEDULER, ORDIM, ORDIM/PLUGINS, ORDIM/SQLMM, and SMC.</p>
<p><strong>Renaming Tablespaces</strong></p>
<p>In Oracle Database 10g, you can rename tablespaces:</p>
<p>ALTER TABLESPACE users RENAME TO users_new</p>
<p><strong>Restrictions:</strong></p>
<ul type="DISC">
<li>Your compatibility level must be set to 10.0 or higher.</li>
<li>You can’t rename the SYSTEM or SYSAUX tablespace, or offline tablespaces.</li>
<li>If the tablespace is read-only, the datafile headers aren’t updated, although the control file and the data dictionary are.</li>
</ul>
<p><strong>Renaming Undo Tablespace</strong></p>
<ul type="DISC">
<li>If database started using init.ora file, Oracle retrieves a message that you should set value of UNDO_TABLESPACE parameter.</li>
<li>If database started using spfile, Oracle will automatically write the new name for the undo tablespace in your spfile.</li>
</ul>
<p><strong>Specifying the Default Permanent Tablespace</strong></p>
<p><strong>During Database Creation</strong></p>
<p>Use DEFAULT TABLESPACE clause in the CREATE DATABASE command</p>
<p>CREATE DATABASE mydb</p>
<p>&#8230;</p>
<p>DEFAULT TABLESPACE deftbs DATAFILE &#8230;</p>
<p>If DEFAULT TABLESPACE not specified, SYSTEM tablespace will be used.</p>
<p><strong>Note</strong>:<strong> </strong>The users SYS, SYSTEM, and OUTLN continue to use the SYSTEM tablespace as their default permanent tablespace.</p>
<p><strong>After Database Creation Using SQL</strong></p>
<p>Use ALTER DATABASE command as follows:</p>
<p>ALTER DATABASE DEFAULT TABLESPACE new_tbsp;</p>
<p><strong>Using the Database Control</strong></p>
<ol type="1">
<li>Database Control home page, Administration, Storage Section, Tablespaces.</li>
<li>Edit Tablespace page, select the Set As Default Permanent Tablespace option in the Type section. Then click Apply.</li>
</ol>
<p><strong>Viewing Default Tablespace Information</strong></p>
<p>SELECT PROPERTY_VALUE FROM DATABASE_PROPERTIES</p>
<p>WHERE PROPERTY_NAME=&#8217;DEFAULT_PERMANENT_TABLESPACE&#8217;</p>
<p><strong>Temporary Tablespace Groups</strong></p>
<p>A temporary tablespace group is a list of temporary tablespaces.</p>
<p>It has the following advantages:</p>
<ul type="DISC">
<li>You define more than one default temporary tablespace, and a single SQL operation can use more than one temporary tablespace for sorting. This prevents large tablespace operations from running out of temporary space.</li>
<li>Enables one particular user to use multiple temporary tablespaces in different sessions at the same time</li>
<li>Enables the slave processes in a single parallel operation to use multiple temporary tablespaces</li>
</ul>
<p><strong>Creating a Temporary Tablespace Group</strong></p>
<p>You implicitly create a temporary tablespace group when you specify the TABLESPACE GROUP clause in a CREATE TABLESPACE statement:</p>
<p>CREATE TEMPORARY TABLESPACE temp_old TEMPFILE</p>
<p>&#8216;/u01/oracle/oradata/temp01.dbf&#8217; SIZE 500M</p>
<p>TABLESPACE GROUP group1;</p>
<p>You can also create a temporary tablespace group by:</p>
<p>ALTER TABLESPACE temp_old</p>
<p>TABLESPACE GROUP group1</p>
<p><strong>Note</strong>: If you specify the NULL or &#8221; tablespace group, it is equivalent to the normal temporary tablespace creation statement (without any groups).</p>
<p><strong>Setting a Group As the Default Temporary Tablespace for the Database</strong></p>
<p>ALTER DATABASE DEFAULT TEMPORARY TABLESPACE group1</p>
<p><strong>Assigning a Temporary Tablespace Group to Users</strong></p>
<p>CREATE USER sam IDENTIFIED BY sam</p>
<p>DEFAULT TABLESPACE users</p>
<p>TEMPORARY TABLESPACE group1;</p>
<p>ALTER USER SAM TEMPORARY TABLESPACE GROUP2;</p>
<p><strong>Viewing Temporary Tablespace Group Information</strong></p>
<p>Use the following views:</p>
<ul type="DISC">
<li>DBA_TABLESPACE_GROUPS</li>
<li>DBA_USERS</li>
</ul>
<p><strong>Bigfile Tablespaces</strong></p>
<ul type="DISC">
<li>A bigfile tablespace (BFT) contains only one very large file (can be as large as 8 to 128 terabytes depending on block size).</li>
<li>The main benefit is easier management of tablespaces and their datafiles in very large databases (VLDB). All operations that were performed on data files in previous releases can now be performed on BFT tablespaces. For example: ALTER TABLESPACE &#8230; RESIZE</li>
</ul>
<p><strong>Big File Teblespaces Restrictions</strong></p>
<ul type="DISC">
<li>You use bigfile tablespaces along with a Logical Volume Manager (LVM) or the Automatic Storage Management (ASM) feature, which support striping and mirroring.</li>
<li>Both parallel query execution and RMAN backup parallelization would be adversely impacted, if you used bigfile tablespaces without striping.</li>
<li>You cannot change tablespace type from smallfile to bigfile or vice versa. However, you can migrate object between tablespace types by using either the ALTER TABLE &#8230; MOVE or CREATE TABLE &#8230; AS</li>
<li>To avoid performance implications, use the following table as a guide to the maximum number of extents for a BFT with specific block size. If the expected size requires more extents than specified in the table, you can create the tablespace with UNIFORM option (instead of AUTOALLOCATE) with a large extend size.</li>
</ul>
<p><a name="table33"></a></p>
<div align="left">
<table width="300" border="2" cellspacing="0">
<tbody>
<tr>
<td bgcolor="#DFDFDF" width="32%"><strong>Database Block Size</strong></td>
<td bgcolor="#DFDFDF" width="68%"><strong>Recommended Maximum Number of Extents</strong></td>
</tr>
<tr>
<td>2 KB</td>
<td>100,000</td>
</tr>
<tr>
<td>4 KB</td>
<td>200,000</td>
</tr>
<tr>
<td>8 KB</td>
<td>400,000</td>
</tr>
<tr>
<td>16 KB</td>
<td>800,000</td>
</tr>
</tbody>
</table>
</div>
<p><strong>Making Bigfile the Default Tablespace Type</strong></p>
<p>Once you set the default type of your tablespace, all the tablespaces you subsequently create will be by default of the bigfile type:</p>
<p>CREATE DATABASE test</p>
<p>SET DEFAULT BIGFILE TABLESPACE &#8230; ;</p>
<p>ALTER DATABASE SET DEFAULT BIGFILE<strong> </strong> TABLESPACE<strong>;</strong></p>
<p>You can view the default tablespace type using the following command:</p>
<p>SELECT PROPERTY_VALUE</p>
<p>FROM DATABASE_PROPERTIES</p>
<p>WHERE PROPERTY_NAME=&#8217;DEFAULT_TBS_TYPE&#8217;</p>
<p><strong>Creating a Bigfile Tablespace Explicitly</strong></p>
<p>CREATE BIGFILE TABLESPACE bigtbs</p>
<p>DATAFILE &#8216;/u01/oracle/data/bigtbs_01.dbf&#8217; SIZE 100G &#8230;</p>
<p>When you use the BIGFILE clause, Oracle will automatically create a locally managed tablespace with automatic segment-space management (ASSM).</p>
<p>You can use the keyword SMALLFILE in replacement with BIGFILE clause.</p>
<p><strong>Altering a Bigfile Tablespace’s Size</strong></p>
<p>ALTER TABLESPACE bigtbs RESIZE 120G;</p>
<p>ALTER TABLESPACE bigtbs AUTOEXTEND ON NEXT 20G;</p>
<p><strong>Viewing Bigfile Tablespace Information</strong></p>
<p>All the following views have the new YES/NO column BIGFILE:</p>
<ul type="DISC">
<li>DBA_TABLESPACES</li>
<li>USER_TABLESPACES</li>
<li>V$TABLESPACE</li>
</ul>
<p><strong>Bigfile Tablespaces and ROWID Formats</strong></p>
<p><a name="table34"></a></p>
<div align="left">
<table width="313" border="2" cellspacing="0">
<tbody>
<tr>
<td bgcolor="#DFDFDF" width="19%"><strong> </strong></td>
<td bgcolor="#DFDFDF" width="34%"><strong>Bigfile tablespace</strong></td>
<td bgcolor="#DFDFDF" width="46%"><strong>Smallfile tablespace</strong></td>
</tr>
<tr>
<td bgcolor="#DFDFDF">    <strong>Format</strong></td>
<td>Object# &#8211; Block# &#8211; Row#</td>
<td>Object# &#8211; File# &#8211; Block# &#8211; Row#</td>
</tr>
<tr>
<td bgcolor="#DFDFDF">   <strong>block number size</strong></td>
<td>Can be much larger than smallfile tbs.</td>
<td>Is smaller than bigfile tbs.</td>
</tr>
</tbody>
</table>
</div>
<p>For bigfile tablespaces, there is only a single file, with the relative file number always set to 1024.</p>
<p>The only supported way to extract the ROWID components is by using the DBMS_ROWID package.</p>
<p>You can specify the tablespace type by using the new parameter TS_TYPE_IN, which can take the values BIGFILE and SMALLFILE.</p>
<p>SELECT DISTINCT DBMS_ROWID.ROWID_RELATIVE_FNO (rowid,&#8217;BIGFILE &#8216;) FROM test_rowid</p>
<p><strong>Note</strong>: The functions DATA_BLOCK_ADDRESS_FILE and DATA_BLOCK_ADDRESS_BLOCK in the package DBMS_UTILITY do not return the expected results with BFTs.</p>
<p><strong>Bigfile Tablespaces and DBVERIFY</strong></p>
<p>You cannot run multiple instances of DBVERIFY utility in parallel against BFT. However, integrity-checking parallelism can be achieved with BFTs by starting multiple instances of DBVERIFY on parts of the single large file. In this case, you have to explicitly specify the starting and ending block addresses for each instance.</p>
<p>dbv FILE=BFile1 START=1 END=10000</p>
<p>dbv FILE=BFile1 START=10001</p>
<p><strong>Viewing Tablespace Contents</strong></p>
<p>You can obtain detailed information about the segments in each tablespace using Enterprise Manager.</p>
<p>On the <strong>Tablespaces</strong> page, select the tablespace of interest, choose Show <strong>Tablespace Contents</strong> from the Actions drop-down list, and click <strong>Go</strong>. The Processing: Show Tablespace Contents page is displayed.</p>
<p><a name="7"></a></p>
<p>&nbsp;</p>
<table width="100%">
<tbody>
<tr>
<td bgcolor="#DFDFDF">   <strong>Using Sorted Hash Clusters</strong></td>
</tr>
</tbody>
</table>
<p>Sorted hash clusters are new data structures that allow faster retrieval of data for applications where data is consumed in the order in which it was inserted.</p>
<p>In a sorted hash cluster, the table’s rows are already presorted by the sort key column.</p>
<p>Here are some of its main features:</p>
<ul type="DISC">
<li>You can create indexes on sorted hash clusters.</li>
<li>You must use the cost-based optimizer, with up-to-date statistics on the sorted hash cluster tables.</li>
<li>You can insert row data into a sorted hash clustered table in any order, but Oracle recommends inserting them in the sort key column order, since it’s much faster.</li>
</ul>
<p><strong>Creating Sorted Hash Cluster</strong></p>
<p>CREATE CLUSTER call_cluster</p>
<p>(call_number NUMBER,</p>
<p>call_timestamp NUMBER SORT,</p>
<p>call_duration NUMBER SORT)</p>
<p>HASHKEYS 10000</p>
<p>SINGLE TABLE</p>
<p>HASH IS call_number</p>
<p>SIZE 50;</p>
<p><a name="table36"></a></p>
<div align="left">
<table width="100%">
<tbody>
<tr>
<td width="20%">SINGLE TABLE</td>
<td width="79%">indicates that the cluster is a type of hash cluster containing only one table.</td>
</tr>
<tr>
<td>HASH IS expr</td>
<td>Specifies an expression to be used as the hash function for the hash cluster.</td>
</tr>
<tr>
<td>HASHKEYS</td>
<td>this clause creates a hash cluster and specify the number of hash values for the hash cluster.</td>
</tr>
<tr>
<td>SIZE</td>
<td>Specify the amount of space in bytes reserved to store all rows with the same cluster key value or the same hash value.</td>
</tr>
</tbody>
</table>
</div>
<p>CREATE TABLE calls</p>
<p>(call_number NUMBER,</p>
<p>call_timestamp NUMBER,</p>
<p>call_duration NUMBER,</p>
<p>call_info VARCHAR2(50))</p>
<p>CLUSTER call_cluster</p>
<p>(call_number,call_timestamp,call_duration)</p>
<p><a name="8"></a></p>
<p>&nbsp;</p>
<table width="100%">
<tbody>
<tr>
<td bgcolor="#DFDFDF">   <strong>Partitioned IOT Enhancements</strong></td>
</tr>
</tbody>
</table>
<p>The following are the newly supported options for partitioned index-organized tables (IOTs):</p>
<ul type="DISC">
<li><strong>List-partitioned IOTs</strong>: All operations allowed on list-partitioned tables are now supported for IOTs.</li>
<li><strong>Global index maintenance</strong>: With previous releases of the Oracle database, the global indexes on partitioned IOTs were not maintained when partition maintenance operations were performed. After DROP, TRUNCATE, or EXCHANGE PARTITION, the global indexes became UNUSABLE. Other partition maintenance operations such as MOVE, SPLIT, or MERGE PARTITION did not make the global indexes UNUSABLE, but the performance of global index–based access was degraded because the guess–database block addresses stored in the index rows were invalidated. Global index maintenance prevents these issues from happening, keeps the index usable, and also maintains the guess–data block addresses.</li>
<li><strong>Local partitioned bitmap indexes</strong>: The concept of a mapping table is extended to support a mapping table that is equi-partitioned with respect to the base table. This enables the creation of bitmap indexes on partitioned IOTs.</li>
<li><strong>LOB columns</strong> are now supported in all types of partitioned IOTs.</li>
</ul>
<p><a name="9"></a></p>
<p>&nbsp;</p>
<table width="100%">
<tbody>
<tr>
<td bgcolor="#DFDFDF">   <strong>Redefine a Partition Online </strong></td>
</tr>
</tbody>
</table>
<p>The package DBMS_REDEFINITION is known to be used as a tool to change the definition of the objects while keeping them accessible (online). In previous versions, if you use it to move a partitioned table to another tablespace, it will move the entire table. This results in massive amount of undo and redo generation.</p>
<p>In Oracle 10g, you can use the package to move a single partition (instead of the entire table). The following code illustrates the steps you follow.</p>
<ol>
<ol>
<ol type="1">
<li>Confirm that you can redefine the table online. Having no output after running the following code means the online redefinition is possible:</li>
</ol>
</ol>
</ol>
<p>BEGIN</p>
<p>DBMS_REDEFINITION.CAN_REDEF_TABLE(</p>
<p>UNAME =&gt; &#8216;HR&#8217;,</p>
<p>TNAME =&gt; &#8216;customers&#8217;,</p>
<p>OPTIONS_FLAG =&gt; DBMS_REDEFINITION.CONS_USE_ROWID,</p>
<p>PART_NAME =&gt; &#8216;p1&#8242;);</p>
<p>END;</p>
<ol>
<ol>
<ol type="1">
<li>Create a temporary (interim) table to hold the data for that partition:</li>
</ol>
</ol>
</ol>
<p>CREATE TABLE hr.customers_int</p>
<p>TABLESPACE custdata</p>
<p>AS</p>
<p>SELECT * FROM hr.customers</p>
<p>WHERE 1=2;</p>
<p><strong>Note</strong>: If the table customers had some local indexes, you should create those indexes (as non-partitioned, of course) on the table customers_int.</p>
<ol>
<ol>
<ol type="1">
<li>Start the redefinition process:</li>
</ol>
</ol>
</ol>
<p>BEGIN</p>
<p>DBMS_REDEFINITION.START_REDEF_TABLE(</p>
<p>UNAME =&gt; &#8216;HR&#8217;,</p>
<p>ORIG_TABLE =&gt; &#8216;customers&#8217;,</p>
<p>INT_TABLE =&gt; &#8216;customers_int&#8217;,</p>
<p>PART_NAME =&gt; &#8216;p1&#8242; ); &#8212; partition to move</p>
<p>END;</p>
<ol>
<ol>
<ol type="1">
<li>If there were DML operations against the table during the move process, you should synchronize the interim table with the original table:</li>
</ol>
</ol>
</ol>
<p>BEGIN</p>
<p>DBMS_REDEFINITION.SYNC_INTERIM_TABLE (</p>
<p>UNAME =&gt; &#8216;HR&#8217;,</p>
<p>ORIG_TABLE =&gt; &#8216;customers&#8217;,</p>
<p>INT_TABLE =&gt; &#8216;customers_int&#8217;,</p>
<p>COL_MAPPING =&gt; NULL,</p>
<p>OPTIONS_FLAG =&gt; DBMS_REDEFINITION.CONS_USE_ROWID,</p>
<p>PART_NAME =&gt; &#8216;p1&#8242; );</p>
<p>END;</p>
<ol>
<ol>
<ol type="1">
<li>Finish the redefinition process:</li>
</ol>
</ol>
</ol>
<p>BEGIN</p>
<p>DBMS_REDEFINITION.FINISH_REDEF_TABLE (</p>
<p>UNAME =&gt; &#8216;HR&#8217;,</p>
<p>ORIG_TABLE =&gt; &#8216;customers&#8217;,</p>
<p>INT_TABLE =&gt; &#8216;customers_int&#8217;,</p>
<p>PART_NAME =&gt; &#8216;p1&#8242;);</p>
<p>END;</p>
<p>To confirm the partition P1 was moved to the new tablespace:</p>
<p>SELECT PARTITION_NAME, TABLESPACE_NAME, NUM_ROWS</p>
<p>FROM USER_TAB_PARTITIONS</p>
<p>WHERE PARTITION_NAME=&#8217;P1&#8242;</p>
<p><strong>Note: </strong>If there is any global index on the table, they will be marked as UNUSABLE and must be rebuilt.</p>
<p><strong>Note</strong>: You cannot change the structure of the table during the definition process.</p>
<p><strong>Note</strong>: statistics of object moved with this tool are automatically generated by end of the process.</p>
<p><a name="10"></a></p>
<p>&nbsp;</p>
<table width="100%">
<tbody>
<tr>
<td bgcolor="#DFDFDF">   <strong>Copying Files Using the Database Server</strong></td>
</tr>
</tbody>
</table>
<p><a name="01000004"></a>The DBMS_FILE_TRANSFER package helps you copy binary files to a different location on the same server or transfer files between Oracle databases.</p>
<p>Both the source and destination files should be of the same type, either operating system files or ASM files.</p>
<p>The maximum file size is 2 terabytes, and the file must be in multiples of 512 bytes.</p>
<p>You can monitor the progress of all your file-copy operations using the V$SESSION_LONGOPS view.</p>
<p><strong>Copying Files on a Local System</strong></p>
<p>CREATE DIRECTORY source_dir AS &#8216;/u01/app/oracle&#8217;;</p>
<p>CREATE DIRECTORY dest_dir AS &#8216;/u01/app/oracle/example&#8217;;</p>
<p>BEGIN</p>
<p>DBMS_FILE_TRANSFER.COPY_FILE(</p>
<p>SOURCE_DIRECTORY_OBJECT =&gt; &#8216;SOURCE_DIR&#8217;,</p>
<p>SOURCE_FILE_NAME =&gt; &#8216;exm_old.txt&#8217;,</p>
<p>DESTINATION_DIRECTORY_OBJECT =&gt; &#8216;DEST_DIR&#8217;,</p>
<p>DESTINATION_FILE_NAME =&gt; &#8216;exm_new.txt&#8217;);</p>
<p>END;</p>
<p><strong>Transferring a File to a Different Database</strong></p>
<p>BEGIN</p>
<p>DBMS_FILE_TRANSFER.PUT_FILE(</p>
<p>SOURCE_DIRECTORY_OBJECT =&gt; &#8216;SOURCE_DIR&#8217;,</p>
<p>SOURCE_FILE_NAME =&gt; &#8216;exm_old.txt&#8217;,</p>
<p>DESTINATION_DIRECTORY_OBJECT =&gt; &#8216;DEST_DIR&#8217;,</p>
<p>DESTINATION_FILE_NAME =&gt; &#8216;exm_new.txt&#8217;</p>
<p>DESTINATION_DATABASE =&gt; &#8216;US.ACME.COM&#8217;);</p>
<p>END;</p>
<p>In order to transfer a file the other way around, you must replace the PUT_FILE procedure with the GET_FILE procedure.</p>
<p>If you are copying a database datafile, do not forget to make it READ ONLY before you start to copy.</p>
<p>You can monitor copying progress using V$SESSION_LONGOPS view.</p>
<p><a name="11"></a></p>
<p>&nbsp;</p>
<table width="100%">
<tbody>
<tr>
<td bgcolor="#DFDFDF">   <strong>Dropping Partitioned Table</strong></td>
</tr>
</tbody>
</table>
<p>In previous versions, if you drop a partitioned table, Oracle removes all the partitions at once. This led to a time and resource consuming process.</p>
<p>In Oracle Database 10g Release 2, when you drop a partitioned table, partitions are dropped one by one. Because each partition is dropped individually, fewer resources are required than when the table is dropped as a whole.</p>
<p><a name="12"></a></p>
<p>&nbsp;</p>
<table width="100%">
<tbody>
<tr>
<td bgcolor="#DFDFDF">   <strong>Dropping Empty Datafiles</strong></td>
</tr>
</tbody>
</table>
<p>In Oracle 10g release 2, empty datafiles can be dropped</p>
<p>ALTER TABLESPACE test DROP DATAFILE &#8216;hr1.dbf&#8217;;</p>
<p>You cannot drop non-empty datafiles</p>
<p>ORA-03262: the file is non-empty</p>
<p>You cannot drop first file in tablespace</p>
<p>ORA-03263: cannot drop the first file of tablespace HR</p>
<p><a name="13"></a></p>
<p>&nbsp;</p>
<table width="100%">
<tbody>
<tr>
<td bgcolor="#DFDFDF">   <strong>Renaming Temporary Files</strong></td>
</tr>
</tbody>
</table>
<p>In Oracle 10.2 temporary files can be renamed.</p>
<p>ALTER DATABASE TEMPFILE &#8216;temp1.dbf&#8217; OFFLINE</p>
<p>$ mv temp1.dbf temp2.dbf</p>
<p>ALTER DATABASE RENAME FILE &#8216;temp1.dbf&#8217; TO &#8216;temp2.dbf&#8217;</p>
<p>ALTER DATABASE TEMPFILE &#8216;temp1.dbf&#8217; ONLINE</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sojungle.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sojungle.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sojungle.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sojungle.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sojungle.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sojungle.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sojungle.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sojungle.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sojungle.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sojungle.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sojungle.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sojungle.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sojungle.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sojungle.wordpress.com/243/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sojungle.wordpress.com&amp;blog=10327702&amp;post=243&amp;subd=sojungle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sojungle.wordpress.com/2012/01/07/space-and-storage-management-enhancements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3cb7c921719332496f7d411cf3be835b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ZyK</media:title>
		</media:content>
	</item>
		<item>
		<title>Resources</title>
		<link>http://sojungle.wordpress.com/2011/12/30/resources/</link>
		<comments>http://sojungle.wordpress.com/2011/12/30/resources/#comments</comments>
		<pubDate>Fri, 30 Dec 2011 02:46:53 +0000</pubDate>
		<dc:creator>ZyK</dc:creator>
				<category><![CDATA[English2go]]></category>
		<category><![CDATA[E2go]]></category>

		<guid isPermaLink="false">http://sojungle.wordpress.com/?p=240</guid>
		<description><![CDATA[IELTS Graduation Download: http://www.mediafire.com/?mbv0b7941xhyiii IELTS Foundation Download: http://www.mediafire.com/?ilnmq94996pq10w http://www.mediafire.com/?19u6irvkrk7luis BARRON IELTS Download: http://www.mediafire.com/?bt1kqbtivzgxipz http://www.mediafire.com/?b78359j3pqw2760 Grammar Rules Download: http://cuonsach.net/ebook/?dl_id=480 Grammar and Vocabulary for Cambridge Advanced and Proficiency Download: http://cuonsach.net/ebook/?dl_id=479 8 Kinds of Writing Download: http://cuonsach.net/ebook/?dl_id=498 1000 English Proverbs and Sayings Download: http://cuonsach.net/ebook/?dl_id=476 Fun to master English Download: http://www.mediafire.com/?lfi2j32ytkhl9c7 http://www.mediafire.com/?lu7su3nbqdd9ac4 http://www.mediafire.com/?ny2ue392uiaz2ky http://www.mediafire.com/?zk0ikmb1wr5412u http://www.mediafire.com/?yeer4z64b81v371 http://www.mediafire.com/?7kc53xzbym4iyua Pass: thuvien24.com English for children Download: http://www.mediafire.com/?n337vow3r19blwz [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sojungle.wordpress.com&amp;blog=10327702&amp;post=240&amp;subd=sojungle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h1>IELTS Graduation</h1>
<p>Download: http://www.mediafire.com/?mbv0b7941xhyiii</p>
<h1>IELTS Foundation</h1>
<p>Download: http://www.mediafire.com/?ilnmq94996pq10w</p>
<p>http://www.mediafire.com/?19u6irvkrk7luis</p>
<h1>BARRON IELTS</h1>
<p>Download: http://www.mediafire.com/?bt1kqbtivzgxipz</p>
<p>http://www.mediafire.com/?b78359j3pqw2760</p>
<h1>Grammar Rules</h1>
<p>Download: http://cuonsach.net/ebook/?dl_id=480</p>
<h1>Grammar and Vocabulary for Cambridge Advanced and Proficiency</h1>
<p>Download: http://cuonsach.net/ebook/?dl_id=479</p>
<h1>8 Kinds of Writing</h1>
<p>Download: http://cuonsach.net/ebook/?dl_id=498</p>
<h1>1000 English Proverbs and Sayings</h1>
<p>Download: http://cuonsach.net/ebook/?dl_id=476</p>
<h1>Fun to master English</h1>
<p>Download: http://www.mediafire.com/?lfi2j32ytkhl9c7 http://www.mediafire.com/?lu7su3nbqdd9ac4 http://www.mediafire.com/?ny2ue392uiaz2ky http://www.mediafire.com/?zk0ikmb1wr5412u http://www.mediafire.com/?yeer4z64b81v371 http://www.mediafire.com/?7kc53xzbym4iyua</p>
<p>Pass: thuvien24.com</p>
<h1>English for children</h1>
<p>Download: http://www.mediafire.com/?n337vow3r19blwz http://www.mediafire.com/?akp7lmb7ng2orqw http://www.mediafire.com/?zhw8eg1d5260qr7 http://www.mediafire.com/?eo5b8bv4n0dvuo2</p>
<p>Pass: thuvien24.com</p>
<h1>English Slang Dictionary</h1>
<p>Download: http://cuonsach.net/ebook/?dl_id=470</p>
<h1>Hướng dẫn đọc và dịch báo chí Anh-Việt</h1>
<p>Download: http://cuonsach.net/ebook/?dl_id=268</p>
<h1>365 Crazy English</h1>
<p>Nguồn gốc Phương pháp học tiếng Anh cuồng nhiệt (Crazy English) là phương pháp do một giáo viên người Trung Quốc tên là Lý Dương khởi xướng ra. Lúc đầu, phương pháp Crazy English không được ủng hộ bởi nó …</p>
<h1>Building Grammar Skill for TOEFL iBT</h1>
<p>Download: http://cuonsach.net/ebook/?dl_id=494</p>
<h1>136 Best model essay</h1>
<p>Download: http://cuonsach.net/ebook/?dl_id=264</p>
<h1>Essential Words for the Toefl</h1>
<p>Download: http://cuonsach.net/ebook/?dl_id=458</p>
<h1>Barrons – 501 English Verbs</h1>
<p>Download: http://cuonsach.net/ebook/?dl_id=455</p>
<h1>TOEFL iBT – Những điều cần biết</h1>
<p>Download: http://cuonsach.net/ebook/?dl_id=459</p>
<h1>English Idioms in Use</h1>
<p>Download: http://cuonsach.net/ebook/?dl_id=453</p>
<h1>Quick Solutions to Common Errors in English</h1>
<p>Download: http://cuonsach.net/ebook/?dl_id=450</p>
<h1>English Grammar Drills</h1>
<p>Download: http://cuonsach.net/ebook/?dl_id=230</p>
<h1>When Bad Grammar Happens to Good People: How to Avoid Common Errors in English</h1>
<p>Download: http://cuonsach.net/ebook/?dl_id=1020</p>
<h1>Progress in English Grammar</h1>
<p>Progress in English Grammar 1: http://cuonsach.net/ebook/?dl_id=1022</p>
<p>Progress in English Grammar 2: http://cuonsach.net/ebook/?dl_id=1023</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sojungle.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sojungle.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sojungle.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sojungle.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sojungle.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sojungle.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sojungle.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sojungle.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sojungle.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sojungle.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sojungle.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sojungle.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sojungle.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sojungle.wordpress.com/240/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sojungle.wordpress.com&amp;blog=10327702&amp;post=240&amp;subd=sojungle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sojungle.wordpress.com/2011/12/30/resources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3cb7c921719332496f7d411cf3be835b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ZyK</media:title>
		</media:content>
	</item>
		<item>
		<title>Vietnamese Food: Typical Vietnamese Foods (P2)</title>
		<link>http://sojungle.wordpress.com/2011/12/23/vietnamese-food-typical-vietnamese-foods-p2/</link>
		<comments>http://sojungle.wordpress.com/2011/12/23/vietnamese-food-typical-vietnamese-foods-p2/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 02:45:15 +0000</pubDate>
		<dc:creator>ZyK</dc:creator>
				<category><![CDATA[Food and cuisine]]></category>
		<category><![CDATA[culture]]></category>
		<category><![CDATA[Vietnam]]></category>

		<guid isPermaLink="false">http://sojungle.wordpress.com/?p=236</guid>
		<description><![CDATA[Vietnamese food is quite unlike any other food in Southeast Asia. It’s even quite different from China. Overall it’s a blend of Malay, Indian, French and influences and incorporates baguettes and pate from France; and curries and chilies from India. Recently voted by health experts as the world’s healthiest food, Vietnamese cuisine mixes grilled meats, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sojungle.wordpress.com&amp;blog=10327702&amp;post=236&amp;subd=sojungle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>
<p><em><strong> Vietnamese food is quite unlike any other food in Southeast Asia. It’s even quite different from China. Overall it’s a blend of Malay, Indian, French and influences and incorporates baguettes and pate from France; and curries and chilies from India.<br />
</strong></em><br />
<a href="http://excited2travel.com/wp-content/uploads/2011/01/Vietnamese-food.jpg"><img title="Vietnamese food" src="http://excited2travel.com/wp-content/uploads/2011/01/Vietnamese-food-300x199.jpg" alt="" width="300" height="199" /></a>Recently voted by health experts as the world’s healthiest food, Vietnamese cuisine mixes grilled meats, fresh vegetables, cold noodles, and all kinds of seafood dishes spiced with tamarind and chili.<br />
Available at all hours of the day, Vietnamese food can be eaten as snacks, in street side stalls, in budget restaurants, and in hotels. In many cases only the price is the difference because often the tastiest foods come from the most basic kitchens.<br />
As you travel up or down the country, you will notice sharp differences in both main dishes and snacks eaten by locals. Its one of the joys of traveling in the country, and it’s a good idea to ask your guide to point out interesting things to eat.<br />
<strong>THE NORTH</strong><br />
With the weather so cold for so much of the year, soups play a large part in Northern  cuisine. <em><strong>Pho</strong></em>, Vietnam’s ‘chicken soup,’ is made with white vermicelli noodles, sliced beef or chicken, bean sprouts, chopped peanuts, hot broth and mint leaves that is served piping hot and at all hours of the day. <em><strong>Pho stalls</strong></em> can be found all over Hanoi (and Hanoi style Pho can be found all over Vietnam, catering to homesick Hanoians) and a bowl can cost between 5,000 and 10,000 dong, depending on the location.<br />
Once the bowl is put in front of you, spice it up with bean sauce and chili sauce and squeeze in a few lime wedges; then dig in with a pair of chopsticks in one hand (to lift up the noodles to cool them off) and a spoon in the other (to lift the noodles to your mouth). Other soups include Chao, a kind of rice porridge, and it’s often prescribed as a remedy for common colds.<br />
By far the favorite food in Hanoi is ‘<em><strong>Bun Cha’</strong></em> grilled meat eaten at makeshift restaurants serving patrons on the street. It’s a great way to fill up for just a few thousand dongs, and when walking around the city it may be impossible to resist the smell.<br />
<em><strong>Bia Hoi</strong></em> is a Hanoi invention, and ‘Bia’ comes from the English word ‘beer.’ Its freshly brewed and served in plastic jugs; its cheap, and it’s a great way to soak up Hanoi’s ambiance at night and you might even make some friends along the way.<br />
Hanoians may be a reserved bunch, but they are downright adventurous when it comes to exotic food: <em><strong>fried silk worms, cobra meat, dog meat</strong></em> among others are eaten by people in the capital to cure sickness, increase virility or just because it’s the right season.</p>
<p><a href="http://www.vnunited.com/wp-content/uploads/2009/05/Vietnamese_Cuisine1.jpg" rel="wp-prettyPhoto[g784]"><img title="vietnamese food cooking recipes" src="http://www.vnunited.com/wp-content/uploads/2009/05/Vietnamese_Cuisine1-300x232.jpg" alt="vietnamese food cooking recipes" width="300" height="232" /></a><br />
<strong>THE CENTER</strong><br />
Most of the food eaten in Central Vietnam has some link to the imperial kitchens of the Nguyen Emperors in Hue. Many of the spices, techniques and vegetables come straight from the tables of the emperors themselves.<br />
<em><strong>Imperial spring rolls</strong></em> are commonly eaten, as is <em><strong>Bun Bo Hue</strong></em>, a spicy beef soup that is not for the faint hearted; you may need a bottle of water nearby to wash down the chili peppers.<br />
Perhaps the most famous is <em><strong>Banh Khoai</strong></em>, a pancake like food that is eaten with nuoc leo, a rich peanut sauce. The pancake includes eggs, shrimps and bean sprouts (much like <em><strong>Banh Xeo</strong></em>, in the south, discussed later)<br />
A popular snack is <em><strong>Banh Beo</strong></em>, tiny ceramic dishes with a boiled rice cake topped with pork bits and eaten with a spoon; Drop a small amount of fish sauce (<em><strong>Nuoc Mam</strong></em>) on top and dig in.<br />
A lot of seafood is eaten here as well, and boiled crabs are a specialty.<br />
Perhaps the most exotic food eaten here is <em><strong>Com Hen</strong></em>, a cold rice dish flavored with juice from clams that live in the river near Hoi An. Other ingredients include white vermicelli noodles, chili and shrimp sauce. Its quite a difficult dish to prepare and is not for those who worry about healthy shellfish.<br />
<strong>THE SOUTH</strong><br />
The South of Vietnam is considered to have the best food in the country, namely because Saigon, with its increasingly wealthy inhabitants, demand the highest quality vegetables fruits meats etc, and foreign foods (even American Fast Food giants KFC are here) are increasingly common from French to Mexican to Indian.<br />
With the lush Mekong Delta so close, the fruit is very fresh, pineapple, mango and star fruit all come into play in dishes as they come into season.<br />
<em><strong>Banh Xeo</strong></em> is perhaps the most famous Southern Dish, like Banh Khoai, it too is a pancake, but the dish Banh Xeo is much larger, and uses more green beans, shrimps and coconut milk. It serves more than one person, and is dipped in <em><strong>nuoc mam,</strong></em> fish sauce, after being wrapped in fresh lettuce leaves.<br />
<em><strong>Freshly cooked spring rolls</strong></em> are famous in Saigon, but the most specialized are <em><strong>Goi Cuon</strong></em>, the fresh spring rolls combining sliced cold shrimp, mint leaves, cold vermicelli noodles, and rice paper that is dipped in <em><strong>nuoc mam</strong></em>.<br />
Some Southern exotics include <em><strong>Hot Vit Lon</strong></em>, or fertilized <em><strong>duck egg</strong></em>, that is eaten with a spoon and is usually available in markets and street stalls.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p><strong><span style="color:#000080;">Com (boiled rice)</span></strong><br />
<img src="http://vietnam.sawadee.com/images/ma.com.jpg" alt="" width="120" height="87" align="right" border="0" hspace="3" vspace="3" />In Vietnam, com is eaten at the main meals of the day (lunch and dinner). Rice is eaten together with a variety of different dishes and is made from different kinds of rice. Typically fragrant rice is used, such as Tam Thom and Nang Huong. An ordinary meal may consist of boiled rice and the following:<br />
Mon an kho (meal without soup) consists of dishes of pork, fish, shrimp, and vegetable cooked in oil, as well as vegetables, pickles, etc.<br />
Mon canh (meal with soup) consists of a soup made with pork or spare-ribs, crab meat, and fish.<br />
In the past several years, people in urban centers have begun to go out for lunch at the food stalls on the street. Consequently, there has been a proliferation of temporary food stalls along many sidewalks and public spaces in the cities. Some stalls are open until early in the morning to cater to regular customers. Around noon, owners can be seen arranging tables and benches along the pavement to form makeshift shop floors. After two or three hours, when there are no more customers, they begin to remove all of their wooden furniture, so that the place resumes its former appearance. A well served lunch for one is very inexpensive.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<span style="color:#000080;"><strong>Banh Chung (Sticky Rice Cake)</strong></span><br />
<img src="http://vietnam.sawadee.com/images/ma.banhtrung.jpg" alt="bchun01.jpg (9667 bytes)" width="120" height="91" align="right" border="0" hspace="3" vspace="3" />Sticky rice cakes are a Vietnamese traditional dish that must be part of Tet meals. As a matter of fact, every Vietnamese family must have sticky rice cakes among the offerings placed on the altar to their ancestors.<br />
Bang chung is made of glutinous rice, pork meat, and green beans paste wrapped in a square of bamboo leaves, giving the rice a green colour after boiling.<br />
According to the legend, under the reign of the Hung Kings, Prince Lang Lieu created sticky rice cakes and presented them to his father. Bang chung won high acclaims from the King who awarded the prince his throne.<br />
Making sticky rice cakes is a very meticulous job. To obtain the best cakes, rice has to soak in water for an entire day. The pork meat must include skin and fat, the green beans must be of the same size, and the bamboo leaves must be fresh. Squaring off and tying cakes with bamboo strings requires skilful hands.<br />
Sticky rice cakes are available at any time of the year, although one is sure to enjoy them with relatives and friends during Tet. During Tet, rice cakes are served with gio lua and hanh muoi– lean meat pie and salted sour onions.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<span style="font-size:x-small;"> <img src="http://vietnam.sawadee.com/images/ma.gio.jpg" alt="Igio01.jpg (9592 bytes)" width="120" height="94" align="right" border="0" hspace="3" vspace="3" /></span><span style="color:#000080;"><strong>Gio Lua (Lean Pork Pie)</strong></span><br />
Lean pork pie is available in Vietnam only and has different names in the north and south. Foreigners as well as Vietnamese are fond of lean pork pie.<br />
Gio lua consists of pork meat wrapped in fresh banana leaves. The little bundles are then boiled. The most delicious part of lean pork pie is the top layer since it absorbs the flavour of the banana leaves.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<span style="color:#000080;"><strong>Pho &#8211; Noodles</strong></span><br />
Pho is the most popular food among the Vietnamese population. Pho is commonly eaten for breakfast, although many people will have it for their lunch or dinner. Anyone feeling hungry in the small hours of the morning can also enjoy a bowl of hot and spicy pho to fill their empty stomachs.<br />
<img src="http://vietnam.sawadee.com/images/ma.pho.jpg" alt="" width="120" height="84" align="right" border="0" hspace="3" vspace="3" />Like hot green tea which has its particular fragrance, pho also has its special taste and smell. Preparations may vary, but when the dish is served, its smell and taste is indispensable. The grated rice noodle is made of the best variety of fragrant rice called Gao Te. The broth for Pho Bo (Pho with beef) is made by stewing the bones of cows and pigs in a large pot for a long time. Pieces of fillet mignon together with several slices of ginger are reserved for Pho Bo Tai (rare fillet). Slices of well done meat are offered to those less keen on eating rare fillets.<br />
The soup for Pho Ga (pho with chicken meat) is made by stewing chicken and pig bones together. The white chicken meat that is usually served with Pho Ga is boneless and cut into thin slices. You could consider Pho Bo and Pho Ga Vietnam&#8217;s special soups. Pho also has the added advantage of being convenient to prepare and healthy to eat.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<span style="color:#000080;"><strong>Cha Ca (grilled minced fish)</strong></span><br />
<span style="font-family:Arial;font-size:x-small;"> <img src="http://vietnam.sawadee.com/images/ma.chaca.jpg" alt="" width="120" height="90" align="right" border="0" hspace="3" vspace="3" /></span>Grilled minced fish has been served in Vietnam for more than 100 years. The Doan family of Cha Ca Street in Hanoi first invented this dish.<br />
A wide variety of fish can be used in this dish including sturgeon and tuna. Tuna is low in fat, has an exquisite flavour, and few bones. The bones are separated from the meat and put into saffron water to be later used in a sauce. The fish is marinated in salt before being grilled.<br />
What is interesting about this dish is that people can add their favourite condiments: coriander, mint, dill, shallots, and more.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<span style="color:#000080;"><strong>Com (Grilled rice)</strong></span><br />
<img src="http://vietnam.sawadee.com/images/ma.coom.jpg" alt="" width="120" height="85" align="right" border="0" hspace="3" vspace="3" />Grilled rice is mostly served in the fall. After collecting the rice from the fields, several steps have to be performed to obtain excellent com. After removing the grains from their hulks, the rice is wrapped in lotus leaves to keep it from drying and to allow it to absorb the lotus flavor.<br />
Grilled rice can be found everywhere in Vietnam, but the best com is found in Vong village, 5 km from Hanoi. People in this village still use traditional secret recipes. People eat grilled rice with eggs, bananas, or sapodillas.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<span style="color:#000080;"><strong>Banh Cuon (Rice Flour Steamed Rolls)</strong></span><br />
Eating banh cuon for breakfast is a great favorite among many Vietnamese.<br />
Banh cuon is made of rice flour. Thoroughly selected rice is soaked overnight, then ground with a stone mortar. Food preservatives are put into the flour to make the rice sheets softer and smoother. A screen of cloth used to mold the rice sheets is fitted over the opening of a pot of boiling water. Flour is spread on the screen and covered with a lid. After a few minutes, a bamboo stick is used <span style="font-size:x-small;"> <img src="http://vietnam.sawadee.com/images/ma.banhcuon.jpg" alt="bcuon01.jpg (9105 bytes)" width="120" height="89" align="right" border="0" hspace="3" vspace="3" /></span>to strip the thin layer of flour off the screen. Then it is rolled up and sprinkled with fried onions.<br />
A small village in a suburb of Hanoi is famous for its banh cuon. People there serve it with a dressing comprised of lean meat, shrimps, mushrooms, dried onions, fish sauce, and pepper.<br />
All the ingredients are stir-fried and rolled into a banh cuon.<br />
Banh cuon is delicious when it is very thin, white, and sticky. It is even tastier when dipped in a sweet, sour, and spicy sauce.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<span style="color:#000080;"><strong>Bun (rice vermicelli)</strong></span><br />
<em> <img src="http://vietnam.sawadee.com/images/ma.bun.jpg" alt="" width="120" height="82" align="right" border="0" hspace="3" vspace="3" /></em>Vietnamese vermicelli is a luxurious as well as a popular dish. There are different varieties of vermicelli depending on their shape: bun roi or stirred vermicelli, bun mam or twisted vermicelli, bun la or vermicelli paper, and bun dem tram or shreded vermicelli.<br />
Different ingredients can be served with vermicelli: grilled pork meat, fried rice cakes, snails, fried eggs, lean meat pie, chicken, and crab soup, to name a few.<br />
Each region and locality, even each restaurant, has its own vermicelli dishes with their own recipes.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<span style="color:#000080;"><strong>Mien (vermicelli made of cassava)</strong></span><br />
Mien threads are very long and tough, made from a kind of tuber plant called cassava. When served, the long tiny flour threads are cut into smaller pieces. Like rice vermicelli, this kind of cassava vermicelli is used to make several different dishes, the most popular being Mien Ga (chicken cassava vermicelli), Mien Bo (beef cassava vermicelli), and Mien Luon (eel cassava vermicelli).<br />
Cassava vermicelli is also used for different dishes which are stirred in oil, such as Mien Xao Thit (vermicelli and pork stirred in fat), Mien Xao Long Ga (vermicelli and chicken tripe stirred in fat), and Mien Xao Cua Be (vermicelli and sea crab meat stirred in fat).<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<span style="color:#000080;"><strong>Banh Tom (crispy shrimp pastry)</strong></span><br />
<img src="http://vietnam.sawadee.com/images/food.h1.jpg" alt="" width="117" height="87" align="right" border="0" hspace="3" vspace="3" />Although Banh Tom is available almost everywhere in the country, it is best at the Nha Hang Ho Tay (Ho Tay Restaurant) on the banks of Truc Bach Lake, close to Ho Tay (West Lake) in Hanoi. While diners await the arrival of the hot fried shrimp pastry, they can enjoy the picturesque lake and landscapes offered by the vast expanse of water from West Lake and the tree-lined Thanh Nien Road.<br />
The dish should be eaten as soon as it arrives at the table. The fried pastry is topped with red shrimps and is eaten together with dishes of spicy vegetables mixed with sweet and sour sauce.<br />
To remind you of the local shrimping business, waiters will often tell you that the shrimps that you have ordered for your meal have just been netted in nearby West Lake. This will be a memorable meal that will ensure that you remember your stay in Hanoi.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<span style="color:#000080;"><strong>Nom (salad)</strong></span><br />
This dish is a combination of a variety of fresh vegetables, usually used in salads in Western countries. The make-up of Nom, however, is slightly different.<br />
The main ingredients of Nom include grated pieces of turnip, cabbage, or papaya, and slices of cucumber with grated, boiled, lean pork. Other auxiliary ingredients include grated carrot, slices of hot chilly, and roasted ground nuts. These are used to make the dish more colourful. All are mixed thoroughly before being soaked in vinegar, sugar, garlic, hot chilly, and seasoned with salt.<br />
The presentation of the dish is also very meticulous. The mixture of ingredients is put into a dish before being covered with vegetables.<br />
To try a mouthful of Nom is to enjoy a combination of all the tastes life has to offer, including sour, hot, sweet, salty, and fragrant tastes. The dish helps with digestion at meals and parties. It can become an addictive aid to assist the real connoisseur enjoy more food.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<span style="color:#000080;"><strong>Nem Ran or Cha Gio (fried spring roll)</strong></span><br />
<span style="font-family:Arial;font-size:x-small;"> <img src="http://vietnam.sawadee.com/images/ma.nem.jpg" alt="" width="120" height="88" align="right" border="0" hspace="3" vspace="3" /></span>This dish is called Nem Ran by northerners and Cha Gio by southerners. In Hanoi, the introduction of Nem Ran dates back to a time when Cha Ca had not existed. Although it ranks among Vietnam&#8217;s specialty dishes, Nem Ran is very easy to prepare. Consequently, it has long been a preferred food on special occasions such as Tet and other family festivities.<br />
Ingredients used for Nem Ran comprise of lean minced pork, sea crabs or unshelled shrimps, two kinds of edible mushroom (Nam Huong and Moc Nhi), dried onion, duck eggs, pepper, salt and different kinds of seasoning. All are mixed thoroughly before being wrapped with transparent rice paper into small rolls. These rolls are then fried in boiling oil.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<span style="color:#000080;"><strong>Faifo Dainty (Danang)</strong></span><br />
<span style="font-size:x-small;"> <img src="http://vietnam.sawadee.com/images/ma_caolaufaifo.gif" alt="caolau01.jpg (8253 bytes)" width="135" height="93" align="right" border="0" hspace="3" vspace="3" /></span>Faifo dainty is a fairly unknown Vietnamese dish named after an old street in Hoi An.<br />
Dainty fiber is carefully made by putting rice in water containing ashes from wood found in Cu Lao Cham. Then, the rice is ground and quickly boiled to make a fibrous mixture. Dainty can be preserved only one day, which is why it is boiled and dried. Dainty fibers have a dark-yellow colour.<br />
The filling for dainty consists of lean pork and other condiments that are stir-fried. Then, the dainty is cut into finger-long pieces that are dried and grilled. Finally, the filling is put into the dainty. For a saltier taste, one can add fish sauce. Chicken meat cut in squares combined with small shrimps can also be added to the recipe.<br />
Although dainty is not a popular meal in Vietnam, it is still served in certain restaurants in Ho Chi Minh City.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<span style="color:#000080;"><strong>Tom Chua (Hue Sour Shrimp)</strong></span><br />
<span style="font-size:x-small;"> <img src="http://vietnam.sawadee.com/images/ma_tomchua.gif" alt="tomch01.jpg (8404 bytes)" width="140" height="95" align="right" border="0" hspace="3" vspace="3" /></span>When Hue natives living outside the city return to their homeland, they usually have sour shrimp. Tourists also make sure to buy some jars of sour shrimp before leaving Hue.<br />
Because of the national reputation of this dish, some cooks and merchants specialize in making sour shrimp. In the past, people made this dish at home, but now it is easier to buy it at the market.<br />
This dish can be prepared with any kind of shrimp. The recipe includes a number of steps that must be performed in a specific order. First, the fresh, clean, and dry shrimp of approximately the same size are put in wine along with dry bamboo shoots, garlic, and chili. The ingredients are kept in a closed container at room temperature for three days. Then the container is put in a cool, dry place. After five or seven days, the sour shrimp are ready.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<span style="color:#000080;"><strong>Com Hen (Hue Mussel Rice)</strong></span><br />
Hot white rice is part of every meal in Vietnam, but only Hue mussel rice is served cool. Hue people, after deciding that no food should be wasted, have designed this dish using leftover rice.<br />
This dish includes Chinese vermicelli, bamboo shoots, lean pork meat, and an assortment of green vegetables (banana leaves, mint, star fruit, etc.).<br />
The broth obtained after boiling the mussels is used to flavour the rice. Ginger, sesame, and chili are also added to the broth. This dish is very spicy and it is not rare to see people with watery eyes and sweaty faces while eating it; nevertheless, everyone congratulates the cook for such a delicious meal.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<span style="color:#000080;"><strong>Hue Beef Noodle Soup</strong></span><br />
One must have years of experience to cook excellent Hue beef noodle soup. This recipe mainly consists of shredded meat and rice noodles. Most restaurants and merchants in Hue do not make the rice noodles themselves; they buy them in Van Cu and Bao Vinh, two villages located near Hue.<br />
Learning how to make a clear broth from bone and meat is also a difficult task, but cooks have the satisfaction of seeing customers enjoying a good meal. The secret of this recipe resides in the meat–this is why it must be bought directly from the slaughterhouse early in the morning. The meat is then shredded, boiled, and taken out of the water to obtain a delicious clear broth.<br />
The amount of salt put in the recipe varies depending on the season; during summer, Hue beef noodle soup is served with soy bean, mint, and different kinds of lettuce; in the winter, the recipe is saltier and lemongrass and fish sauce are added.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<span style="color:#000080;"><strong>Cau Mong Beef</strong></span><br />
Cau Mong beef is a specialty of Cau Mong, located 15 km from Danang, Dien Ban district, where nearly ten restaurants serve the dish. Cau Mong beef has been served for a long time and is found in many places outside Danang, such as Hoi An, Tam Ky, Vinh Dien, and Ho Chi Minh City.<br />
The meat along with its skin is cut in thin slices, half cooked, and eaten with nem, which consists of fish sauce mixed with soy sauce, sugar, chili, garlic, lemon, star fruit, vervain, and green banana.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<span style="color:#000080;"><strong>Hu Tieu (My Tho Noodle Soup)</strong></span><br />
<span style="font-size:x-small;"><em> <img src="http://vietnam.sawadee.com/images/ma_hutieu.gif" alt="hutieu01.jpg (8324 bytes)" width="135" height="94" align="right" border="0" hspace="3" vspace="3" /></em></span>My Tho seafood noodle soup is different from Chinese noodle soup, nam vang soup, and Hue beef noodle soup, because it contains soy bean, lemon, chili, and soy sauce instead of herbs and lettuce.<br />
Back in the 1960s, a shop in My Tho, 70 km from Ho Chi Minh City, started serving this dish using a secret recipe for the rice noodles. Ever since then, its reputation has grown to become a very well known meal in Vietnam.<br />
It is said that the most delicious noodle soup is made with Co Cat rice, from the most famous rice growing area of My Phong village, a suburb of My Tho.<br />
The sweet aroma of the broth comes from the meat, dried squid, and special condiments.<br />
My Tho noodle soup is a traditional dish specific to the south.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<span style="color:#000080;"><strong>Lau Mam (Mixed Soup)</strong></span><br />
Lau mam was a popular dish among farming communities hundreds of years ago, especially in the southwestern provinces. Nowadays, lau mam is considered a delicacy and is often served to special guests. Lau designates the broth, and mam the salted fish.<br />
The main ingredient used in the broth is marinated fish to which meat and vegetables are added. Various ingredients, such as seafood, fish, and meat, are prepared on separate plates. Guests choose and boil their meat in the broth. The meal is accompanied by several fresh vegetables and aromatic herbs.<br />
This dish is particularly enjoyed since so many alternatives are possible, offering a wide array of delicious flavours.<br />
<span style="font-size:x-small;"><em> <img src="http://vietnam.sawadee.com/images/ma_cchuaca2.gif" alt="cachua02.jpg (10485 bytes)" width="130" height="112" align="right" border="0" hspace="3" vspace="3" /></em></span>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<span style="color:#000080;"><strong>Canh Chua (Fish Sour Soup)</strong></span><br />
Canh chua originated from the Mekong Region, more specifically from Dong Thap Muoi. Canh chua is a fish sour soup made with fish from the Mekong River and so dua flower. This dish is mostly served when the so dua flower first blossoms at the end of the rainy season. A feast is organized and the fish sour soup is among the delicious meals prepared for this event. Fish sour soup must be eaten very hot. It must also be eaten all at one time since the taste is altered when the soup is reheated.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<span style="color:#000080;"><strong>Chao Tom (Grilled Shrimp Paste)</strong></span><br />
<strong><span style="font-size:x-small;"> <img src="http://vietnam.sawadee.com/images/ma_chaotom.gif" alt="chaotom02.jpg (9833 bytes)" width="135" height="90" align="right" border="0" hspace="3" vspace="3" /></span></strong>Foreigners often say that grilled shrimp paste is a very unusual dish made from very simple ingredients. The recipe consists of clean shrimps placed in coconut water. The shrimps are later grilled and ground to obtain shrimp flour. The flour is mixed with fat and sugar to finally obtain shrimp paste. This dish is served with fish sauce.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<span style="color:#000080;"><strong>Banh Cuon Trang Bang (Rice Cakes)</strong></span><br />
Trang Bang, located 40 km from Ho Chi Minh City, is where one can find the best rice paper and rice cakes.<br />
Both can be found everywhere, but nowhere are they better than in Trang Bang where they are made from local rice. The rice flour is roasted for four or five hours and made into thick cakes. Once the cakes are dried, they are placed into nylon bags.<br />
These cakes can be eaten with shrimp, meat, salad, and coriander. During Tet, the cakes are served with roasted meat, eggs, and sour mustard.</p>
<p>(Source: activetravelvietnam.com)</p>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sojungle.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sojungle.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sojungle.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sojungle.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sojungle.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sojungle.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sojungle.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sojungle.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sojungle.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sojungle.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sojungle.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sojungle.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sojungle.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sojungle.wordpress.com/236/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sojungle.wordpress.com&amp;blog=10327702&amp;post=236&amp;subd=sojungle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sojungle.wordpress.com/2011/12/23/vietnamese-food-typical-vietnamese-foods-p2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3cb7c921719332496f7d411cf3be835b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ZyK</media:title>
		</media:content>

		<media:content url="http://excited2travel.com/wp-content/uploads/2011/01/Vietnamese-food-300x199.jpg" medium="image">
			<media:title type="html">Vietnamese food</media:title>
		</media:content>

		<media:content url="http://www.vnunited.com/wp-content/uploads/2009/05/Vietnamese_Cuisine1-300x232.jpg" medium="image">
			<media:title type="html">vietnamese food cooking recipes</media:title>
		</media:content>

		<media:content url="http://vietnam.sawadee.com/images/ma.com.jpg" medium="image" />

		<media:content url="http://vietnam.sawadee.com/images/ma.banhtrung.jpg" medium="image">
			<media:title type="html">bchun01.jpg (9667 bytes)</media:title>
		</media:content>

		<media:content url="http://vietnam.sawadee.com/images/ma.gio.jpg" medium="image">
			<media:title type="html">Igio01.jpg (9592 bytes)</media:title>
		</media:content>

		<media:content url="http://vietnam.sawadee.com/images/ma.pho.jpg" medium="image" />

		<media:content url="http://vietnam.sawadee.com/images/ma.chaca.jpg" medium="image" />

		<media:content url="http://vietnam.sawadee.com/images/ma.coom.jpg" medium="image" />

		<media:content url="http://vietnam.sawadee.com/images/ma.banhcuon.jpg" medium="image">
			<media:title type="html">bcuon01.jpg (9105 bytes)</media:title>
		</media:content>

		<media:content url="http://vietnam.sawadee.com/images/ma.bun.jpg" medium="image" />

		<media:content url="http://vietnam.sawadee.com/images/food.h1.jpg" medium="image" />

		<media:content url="http://vietnam.sawadee.com/images/ma.nem.jpg" medium="image" />

		<media:content url="http://vietnam.sawadee.com/images/ma_caolaufaifo.gif" medium="image">
			<media:title type="html">caolau01.jpg (8253 bytes)</media:title>
		</media:content>

		<media:content url="http://vietnam.sawadee.com/images/ma_tomchua.gif" medium="image">
			<media:title type="html">tomch01.jpg (8404 bytes)</media:title>
		</media:content>

		<media:content url="http://vietnam.sawadee.com/images/ma_hutieu.gif" medium="image">
			<media:title type="html">hutieu01.jpg (8324 bytes)</media:title>
		</media:content>

		<media:content url="http://vietnam.sawadee.com/images/ma_cchuaca2.gif" medium="image">
			<media:title type="html">cachua02.jpg (10485 bytes)</media:title>
		</media:content>

		<media:content url="http://vietnam.sawadee.com/images/ma_chaotom.gif" medium="image">
			<media:title type="html">chaotom02.jpg (9833 bytes)</media:title>
		</media:content>
	</item>
		<item>
		<title>Vietnamese Food: Food of three regions (P1)</title>
		<link>http://sojungle.wordpress.com/2011/12/23/vietnamese-food-p1/</link>
		<comments>http://sojungle.wordpress.com/2011/12/23/vietnamese-food-p1/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 02:21:15 +0000</pubDate>
		<dc:creator>ZyK</dc:creator>
				<category><![CDATA[Food and cuisine]]></category>
		<category><![CDATA[Vietnam corner]]></category>
		<category><![CDATA[culture]]></category>
		<category><![CDATA[Vietnam]]></category>

		<guid isPermaLink="false">http://sojungle.wordpress.com/?p=231</guid>
		<description><![CDATA[Increasingly famous worldwide with restaurants sprawled over the globe, yet no Vietnamese food abroad can equal in flavor or quality to that made in Vietnam itself. In brief, Vietnamese cuisine depends heavily on rice grown in water paddies throughout the country, with dishes varying from simple everyday meals to most complex dishes designed for the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sojungle.wordpress.com&amp;blog=10327702&amp;post=231&amp;subd=sojungle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Increasingly famous worldwide with restaurants sprawled over the globe, yet no Vietnamese food abroad can equal in flavor or quality to that made in Vietnam itself. In brief, Vietnamese cuisine depends heavily on rice grown in water paddies throughout the country, with dishes varying from simple everyday meals to most complex dishes designed for the King. Reaching a balance between fresh herbs and meats; as well as a selective use of spices to reach a fine taste, Vietnamese food can be considered one of the healthiest yet most divine cuisines worldwide.</p>
<p><a href="http://www.smileinvietnam.com/wp-content/uploads/2011/07/Vietnam_Food.jpg"><img title="Vietnam_Food" src="http://www.smileinvietnam.com/wp-content/uploads/2011/07/Vietnam_Food-300x105.jpg" alt="" width="525" height="184" /></a></p>
<p><strong>Spices and ingredients</strong></p>
<p>Vietnam’s ingredients reflect its geography and climate. Rice (grown in water paddies throughout the country) is the main starch used in everyday meals, and is also made into different kind of cakes and noodles. Besides a number of Buddhist vegetarian dishes, most Vietnamese dishes or meals are a combination of a variety of vegetables, herbs and meats.</p>
<p>Common herbs may include lemon grass, lime or kaffir. Popular meats are pork, beef, chicken, prawn and various fish. Lamb, duck, birds, and even dog or other wild animals are also used but not widely. Fish sauce and soy sauce are used as both flavorings and dipping sauces for nearly every dish.</p>
<p>Peanuts are also used widely in Vietnamese cuisine.</p>
<p>Vegetarians and those with allergies should be careful and ask beforehand while enjoying Vietnamese cuisine.</p>
<p><strong>Style of cooking</strong></p>
<p>The Vietnamese cook their food in a variety of ways: deep fry, stir fry, boil, steam. Unlike the Chinese, the Vietnamese use a minimal amount of oil while cooking. Vietnamese cooks aim to preserve the freshness and natural taste of food as much as possible. Hence Vietnamese cuisine is often considered as one of the healthiest foods in the world.</p>
<p><strong>Food of three regions</strong></p>
<p>Like everything else, Vietnamese food also differs geographically from location to location. North Vietnam’s food uses soy sauce, fish sauce and prawn sauce and has many stir fried dishes.</p>
<p>With harsh weather and less developed agriculture than the South, North Vietnamese tend to use less meat, fish and vegetables; and black pepper (instead of chili) to create spice. The taste is strict and less sweet, but more salty than in other regions.</p>
<p>Central Vietnam is distinct in its extreme spices and color of food. Hue’s cuisine, affected by royal cuisine once created for kings and queens, emphasized on quality and quantity – A meal constitutes of many complex dishes served only at small proportions.</p>
<p>Southern Vietnamese are heavily affected by Cambodia, Thai and Chinese cuisines (due to trade and immigrants). Southerners prefer sweet tastes (created by adding sugar or coconut milk) and spicy tastes (created by chili peppers).</p>
<p>A variety of dried fish and sauces originate from the South. Southerners prefer seafood and use simple cooking methods with larger and less servings.</p>
<p><strong>Customs</strong></p>
<p>Influenced by the Chinese, chopsticks and spoons are used in Vietnam. Many foods (such as cakes) are wrapped in banana or coconut leaves. When eating with elders, younger Vietnamese always ask the elders to eat first.</p>
<p><strong>A typical family meal</strong></p>
<p>A typical Vietnamese meal (lunch or dinner) will include steamed rice; a soup dish to eat with rice, a meat or fish dish and a vegetarian dish (either stir fried or boiled).</p>
<p>Vietnamese do not eat in separate servings, but the food is placed in the middle. Each member of the family has a small bowl and chopsticks with which they take food from the table throughout the meal.</p>
<p><strong>Vietnamese noodles and cakes</strong></p>
<p>Besides the typical meal with rice, Vietnamese cuisine has many different types of noodles and cakes (mostly made from rice). To name a few: beef soup noodles (pho), crab noodle (bun rieu), spring rolls (nem), sticky rice cake (chung cake)…</p>
<p>* Source: <a href="http://www.guidevietnam.com/travel/vietnamese-food-cuisine.html" target="_blank"><em>guidevietnam.com</em></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sojungle.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sojungle.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sojungle.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sojungle.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sojungle.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sojungle.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sojungle.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sojungle.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sojungle.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sojungle.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sojungle.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sojungle.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sojungle.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sojungle.wordpress.com/231/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sojungle.wordpress.com&amp;blog=10327702&amp;post=231&amp;subd=sojungle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sojungle.wordpress.com/2011/12/23/vietnamese-food-p1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3cb7c921719332496f7d411cf3be835b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ZyK</media:title>
		</media:content>

		<media:content url="http://www.smileinvietnam.com/wp-content/uploads/2011/07/Vietnam_Food-300x105.jpg" medium="image">
			<media:title type="html">Vietnam_Food</media:title>
		</media:content>
	</item>
		<item>
		<title>How to adjust the high watermark in ORACLE 10g – ALTER TABLE SHRINK</title>
		<link>http://sojungle.wordpress.com/2011/12/09/how-to-adjust-the-high-watermark-in-oracle-10g-alter-table-shrink/</link>
		<comments>http://sojungle.wordpress.com/2011/12/09/how-to-adjust-the-high-watermark-in-oracle-10g-alter-table-shrink/#comments</comments>
		<pubDate>Fri, 09 Dec 2011 03:23:37 +0000</pubDate>
		<dc:creator>ZyK</dc:creator>
				<category><![CDATA[Tuning]]></category>
		<category><![CDATA[shrink]]></category>
		<category><![CDATA[tuning]]></category>

		<guid isPermaLink="false">http://sojungle.wordpress.com/?p=224</guid>
		<description><![CDATA[Hanging around in my hotel in Chicago because it is raining, I have been cruising around in the OTN forums which inspired me to write something about the High Watermark and the Oracle 10gR1 New Feature SEGMENT SHRINKING. The High Watermark is the maximum fill-grade a table has ever reached. Above the high watermark are [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sojungle.wordpress.com&amp;blog=10327702&amp;post=224&amp;subd=sojungle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hanging around in my hotel in Chicago because it is raining, I have been cruising around in the OTN forums which inspired me to write something about the High Watermark and the Oracle 10gR1 New Feature SEGMENT SHRINKING.</p>
<p>The High Watermark is the maximum fill-grade a table has ever reached.<br />
Above the high watermark are only empty blocks.<br />
These blocks can be formatted or unformatted.</p>
<p>First let’s have a look at the question when space is allocated</p>
<p>- when you create a table at least one extent (contiguous blocks) is allocated to the table<br />
- if you have specified MINEXTENTS the number of MINEXTENTS extents<br />
will be allocated immedaitely to the table<br />
- if you have not specified MINEXTENTS then exactely one extent<br />
will be allocated (we will look at extent sizes later in another post).</p>
<p>Immediately after creation of the segment (table) the high watermark will be at the first block of the first extent as long as there are no inserts made.</p>
<p>When you insert rows into the table the high watermark will be bumped up step by step.<br />
This is done by the server process which makes the inserts.</p>
<p>Now let us take a look at when space is released again from a segment like a table or index:</p>
<p>Let’s asume that we have filled a table with 100’0000 rows.<br />
And let’s asume that we deleted 50’000 rows afterwards.<br />
In this case the high watermark will have reached the level of 100’000 and will have stayed there. Which means that we have empty blocks below the high watermark now.<br />
Oracle has a good reason this: it might occur that you delete rows and immediately this you insert rows into the same table. In this case it is good that the space was not released with the deletes, because it had to be get reallocate again for the following inserts, which would mean permanent changes to the data dictionary<br />
(=&gt; dba_free_space, dba_extents, dba_segements …) .<br />
Furthermore the physical addresses of the deleted row get recycled by new rows.</p>
<p>These empty blocks below the high watermark can get annoying in a number of situations because they are not used by DIRECT LOADs and DIRECT PATH LOADs:</p>
<p>1. seriell direct load:<br />
INSERT /*+ APPEND */<br />
INTO hr.employees<br />
NOLOGGING<br />
SELECT *<br />
FROM oe.emps;</p>
<p>2. parallel direct load:<br />
ALTER SESSION ENABLE PARALLEL DML;<br />
INSERT /*+PARALLLEL(hr.employees,2)<br />
INTO hr.employees<br />
NOLOGGING<br />
SELECT *<br />
FROM oe.emps;</p>
<p>3. direct path loads:<br />
sqlldr hr/hr control=lcaselutz.ctl … direct=y (default is direct=n)</p>
<p>All the above actions case that the SGA is not used for the inserts but the PGA:<br />
there wil be temporary segements filled and dumped into newly formatted blocks above the high watermark.</p>
<p>So we might want to get high watermark down before we load data into the table in order to use the free empty blocks for the loading.</p>
<p>So how can we release unused space from a table?</p>
<p>There are a number of possible options which are already available before Oracle 10g:<br />
- What we always could do is export and import the segment.<br />
After an import the table will have only one extent.<br />
The rows will have new physical addresses and<br />
the high watermark will be adjusted.<br />
- Another option would be to TRUNCATE the table.<br />
With this we would loose all rows which are in the table.<br />
So we cannot use this if we want to keep existing records.</p>
<p>With Oracle 9i another possibilty was implemented:<br />
ALTER TABLE emp MOVE TABLESPACE users;<br />
This statement will also cause that<br />
- the rows will have new physical addresses and<br />
- the high watermark will be adjusted.<br />
But for this:<br />
- we need a full (exclusive) table lock<br />
- the indexes will be left with the status unusable (because they contain the old rowids) and must be rebuilt.</p>
<p>Starting with ORACLE 10gR1 we can use a new feature for adjusting the high watermark,<br />
it is called segment shrinking and is only possible for segments which use ASSM, in other words, which are located in tablespaces which use Automatic Segement Space Management.<br />
In such a tablespace a table does not really have a High watermark!<br />
It uses two watermarks instead:<br />
- the High High Watermark referred to as HHWM, above which alle blocks ar unformatted.<br />
- the Low High Watermark referred to as LHWM below which all blocks are formatted.<br />
We now can have unformatted blocks in the middle of a segment!</p>
<p>ASSM was introduced in Oracle 9iR2 and it was made the default for tablespaces in Oracle 10gR2.<br />
With the table shrinking feature we can get Oracle<br />
to move rows which are located in the middle or at the end of a segment<br />
further more down to the beginning of the segment and by<br />
this make the segment more compact.<br />
For this we must first allow ORACLE to change the ROWIDs of these rows by issuing<br />
ALTER TABLE emp ENABLE ROW MOVEMENT;<br />
ROWIDs are normally assigned to a row for the life time of the row at insert time.</p>
<p>After we have given Oracle the permission to change the ROWIDs<br />
we can now issue a shrink statement.<br />
ALTER TABLE emp SHRINK SPACE;</p>
<p>This statement will procede in two steps:<br />
- The first step makes the segment compact<br />
by moving rows further down to free blocks at the beginning of the segment.<br />
- The second step adjusts the high watermark. For this Oracle needs an exclusive table lock,<br />
but for a very short moment only.</p>
<p>Table shrinking…<br />
- will adjust the high watermark<br />
- can be done online<br />
- will cause only rowlocks during the operation and just a very short full table lock at the end of the operation<br />
- indexes will be maintained and remain usable<br />
- can be made in one go<br />
- can be made in two steps<br />
(this can be usefull if you cannot get a full table lock during certain hours:<br />
you only make the first step and adjust the high watermark later<br />
when it is more conveniant:</p>
<p>- ALTER TABLE emp SHRINK SPACE; – only for the emp table<br />
- ALTER TABLE emp SHRINK SPACE CASCADE; – for all dependent objects as well</p>
<p>- ALTER TABLE emp SHRINK SPACE COMPACT; – only makes the first step (moves the rows)<br />
)</p>
<p>How are the indexes maintained?<br />
In the first phase Oracle scans the segment from the back to find the position of the last row.<br />
Afterwards it scan the segment from the beginning to find the position of the first free slot in a block in this segment. In case the two positions are the same, there is nothing to shrink. In case the two positions are different Oracle deletes teh row from the back and inserts it into the free position at front of the segement. Now Oracle scan teh segement from the back and front again and again until it finds that the two positions are the same.<br />
Since it is DML statements performed to move the rows, the indexes are maintained at the same time. Only row level locks are used for these operations in the first pase of SHRINK TABLE statement.</p>
<p>The following restrictions apply to table shrinking:</p>
<p>1.) It is only possible in tablespaces with ASSM.<br />
2.) You cannot shrink:<br />
- UNDO segments<br />
- temporary segments<br />
- clustered tables<br />
- tables with a colmn of datatype LONG<br />
- LOB indexes<br />
- IOT mapping tables and IOT overflow segments<br />
- tables with MVIEWS with ON COMMIT<br />
- tables with MVIEWS which are based on ROWIDs</p>
<p>The Oracle 10g Oracle comes with a Segment Advisor utility.<br />
The Enterprise Manager, Database Control, even has a wizzard which can search for shrink candidates.</p>
<p>This advisor is run automatically by an autotask job on a regular basis in the default maintainance window.</p>
<p>You can use the built in package DBMS_SPACE to run the advisor manually as well&#8230;</p>
<p>(sysdba.wordpress.com)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sojungle.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sojungle.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sojungle.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sojungle.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sojungle.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sojungle.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sojungle.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sojungle.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sojungle.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sojungle.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sojungle.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sojungle.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sojungle.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sojungle.wordpress.com/224/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sojungle.wordpress.com&amp;blog=10327702&amp;post=224&amp;subd=sojungle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sojungle.wordpress.com/2011/12/09/how-to-adjust-the-high-watermark-in-oracle-10g-alter-table-shrink/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3cb7c921719332496f7d411cf3be835b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ZyK</media:title>
		</media:content>
	</item>
	</channel>
</rss>
