<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>oracle &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://wordpress.com/tag/oracle/</link>
	<description>Feed of posts on WordPress.com tagged "oracle"</description>
	<pubDate>Sun, 20 Jul 2008 00:00:13 +0000</pubDate>

	<generator>http://wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[BLOOD DRIVE TO TAKE PLACE AT RELAY FOR LIFE ]]></title>
<link>http://albionoracle.wordpress.com/?p=84</link>
<pubDate>Fri, 18 Jul 2008 22:15:06 +0000</pubDate>
<dc:creator>kc8emh</dc:creator>
<guid>http://albionoracle.wordpress.com/?p=84</guid>
<description><![CDATA[Elaine Furu-Baker’s life may have been cut short by cancer, but her
 spirit of giving to the commu]]></description>
<content:encoded><![CDATA[<p>Elaine Furu-Baker’s life may have been cut short by cancer, but her<br />
 spirit of giving to the community will be memorialized July 18 through<br />
 an American Red Cross Blood Drive held in conjunction with the Calhoun<br />
 County East Relay for Life.</p>
<p>Sponsored by Fredonia Grange #1713, the blood drive will occur from<br />
 noon-5:45 p.m. at the B.E. Henry Community Building in Marshall, at<br />
 the<br />
 front of the Calhoun County Fairgrounds, where Relay for Life<br />
 activities<br />
 are held July 18-19.</p>
<p>“Holding the blood drive here and in Elaine’s honor is especially<br />
 fitting due to her lifelong interest and involvement in the 4-H<br />
 program,” said Blood Drive Coordinator Kristy Smith of Fredonia<br />
 Grange.<br />
 “This represents one more way people can contribute to Relay for<br />
 Life.”</p>
<p>According to her husband, Greg Flynn, Furu-Baker lost her six-year<br />
 battle with cancer on May 7, 2008. “Elaine had been a blood donor<br />
 and had<br />
 a couple of transfusions toward the end,” said Flynn. “I’m sure<br />
 she would be happy we were doing a blood drive in her honor. She was<br />
 always helping others.”</p>
<p>Furu-Baker’s legacy continues in the opportunities the community is<br />
 presented with to support worthy causes. Make the time to stop in and<br />
 give blood in support of those who may need it. Like friend and<br />
 neighbor,<br />
 Elaine Furu-Baker, that could be you.</p>
<p>Potential blood donors must be healthy, be at least 17 years old, weigh<br />
 at least 110 pounds, and not have donated whole blood in the last<br />
 eight weeks (56 days) or double red cells in the last 16 weeks (112<br />
 days).<br />
 “Healthy” means feeling well and able to perform normal<br />
 activities.<br />
 For people with chronic conditions such as diabetes or high blood<br />
 pressure, “healthy” also means they are being treated and the<br />
 condition<br />
 is under control.</p>
<p>Other aspects of each potential donor's health history are discussed as<br />
 part of the donation process before any blood is collected. Each donor<br />
 receives a brief examination during which temperature, pulse, blood<br />
 pressure and blood count (hemoglobin or hematocrit) are measured.</p>
<p>The Red Cross will have a “double red” machine at the July 18 blood<br />
 drive. It’s an automated donation method that allows the donor to<br />
 provide more help to those in need of blood through giving two units<br />
 of<br />
 red cells rather than one. Donors with type O and B are especially<br />
 needed.</p>
<p>Walk-ins are always welcome, but appointments encouraged. To schedule<br />
 an appointment, call (269)962-7528.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[RELAY FOR LIFE NEWS CALHOUN COUNTY EAST RELAY FOR LIFE KICKS OFF AT FAIRGROUNDS FRIDAY ]]></title>
<link>http://albionoracle.wordpress.com/?p=82</link>
<pubDate>Fri, 18 Jul 2008 22:14:09 +0000</pubDate>
<dc:creator>kc8emh</dc:creator>
<guid>http://albionoracle.wordpress.com/?p=82</guid>
<description><![CDATA[From 3 p.m. Friday, July 18 until 3 p.m. Saturday, July 19 more than 53
 teams will traverse the tra]]></description>
<content:encoded><![CDATA[<p>From 3 p.m. Friday, July 18 until 3 p.m. Saturday, July 19 more than 53<br />
 teams will traverse the track at the Calhoun County Fairgrounds in<br />
 Marshall walking and running as Calhoun County East Relay for Life<br />
 celebrates cancer survivors, remembers those who lost their battle,<br />
 and fights<br />
 back against cancer.</p>
<p>Teams will raise funds to be used by the American Cancer Society<br />
  through pledges, an auction, selling a variety of items, the sale of<br />
 luminaries, a Relay “American” Idol competition and more. (Sarah<br />
 Talamentez is slated to perform in the Idol contest on Saturday.)</p>
<p>Calhoun County East Relay for Life includes the communities of: Albion,<br />
 Tekonsha, Marshall, Homer, Athens, and Ceresco. This is the local<br />
 organization’s 12th annual event.</p>
<p>Albion has at least five teams that will be taking part in the Relay<br />
 for Life: Auto Cam captained by Chris Hall (629-6003), Church of<br />
 Christ-Latter Day Saints captained by Marta Young (269-781-6548),<br />
 Winter Wild<br />
 Life captained by Brenda Winter 629-3035), New Hope Worship Center,<br />
 captained by David Dowding, and Wade’s team, Spartan Family and<br />
 Friends<br />
 (629-8819).</p>
<p>Come on out and help support the fight against cancer by cheering on<br />
 the participants, signing a pledge, or purchasing some of the fund<br />
 raising items on hand at the Relay.</p>
<p>To find out more about the American Cancer Society Relay for Life, see<br />
 the website at: http://www.relayforlife.org</p>
<p>For more information about cancer and treatment resources, contact the<br />
 American Cancer Society at 1-800-ACS-2345, or see the web site at:<br />
  http://www.cancer.org.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[A step by step guide to using impdp over NETWORK LINK]]></title>
<link>http://dgca400.wordpress.com/?p=86</link>
<pubDate>Fri, 18 Jul 2008 20:07:04 +0000</pubDate>
<dc:creator>dgca400</dc:creator>
<guid>http://dgca400.wordpress.com/?p=86</guid>
<description><![CDATA[A step by step guide to using impdp over NETWORK LINK
by a novice non linux user
OK there are plenty]]></description>
<content:encoded><![CDATA[<p>A step by step guide to using impdp over NETWORK LINK<br />
by a novice non linux user</p>
<p>OK there are plenty of web results for how to use impdp but none of them singularly gave a good end to end description of the process.</p>
<p><strong>Some background</strong><br />
My project have been piggybacking on another project's DB for testing, and now want to move on to their own.<br />
So we needed to copy all common data from the other project's DB.</p>
<p>Having set up a shiny new oracle install (see previous post) here's what I had to do.</p>
<p>First of all create a data link from your Db (the target/destination) to the old db (the source).<br />
I tried doing this the way most of the websites suggested:<br />
<span style="color:#0000ff;">CREATE PUBLIC DATABASE LINK blahsyslink<br />
CONNECT TO USERNAME IDENTIFIED BY PASSWORD<br />
USING 'BLAH';</span></p>
<p>To go down that route, you need to have a 'BLAH' profile in tnsnames.ora<br />
to look something like:<br />
<span style="color:#0000ff;">BLAH = (DESCRIPTION=(ADDRESS_LIST=(<br />
ADDRESS=(PROTOCOL=TCP)(HOST=<a href="http://192.168.1.111/" target="_blank">192.168.1.111</a>)(PORT=1521)))<br />
(CONNECT_DATA=(SID=serviceid))</span></p>
<div dir="ltr"><span style="color:#0000ff;">)</span></p>
<div class="Ih2E3d">
<span style="color:#ff0000;">ORA-39001: invalid argument value<br />
ORA-39200: Link name "BA" is invalid.<br />
ORA-12154: TNS:could not resolve the connect identifier specified</span></div>
<p>I bypassed this (rather gave up on trying it!) by describing the datalink as follows<br />
(drop public database link blahsyslink might come in handy beforehand)<br />
<span style="color:#0000ff;">CREATE public DATABASE LINK blahsyslink<br />
CONNECT TO USERNAME IDENTIFIED BY PASSWORD USING<br />
'(DESCRIPTION=(ADDRESS_LIST=(<br />
ADDRESS=(PROTOCOL=TCP)(HOST=<a href="http://192.168.1.111/" target="_blank">192.168.1.111</a>)(PORT=1521)))<br />
(CONNECT_DATA=(SID=serviceid))</span><span style="color:#0000ff;">)'<br />
/<br />
</span><br />
It should be public because users other than SYSTEM are the ones likely to be using it</p>
<p>Your next task is to create a directory where oracle can store the dump from the source machine while it is working:<br />
<span style="color:#0000ff;">CREATE DIRECTORY dmpdir AS '/opt/oracle'</span>; &#60; this was on other sites, didn't work for me as the directory didn't exist</p>
<div class="Ih2E3d">
<span style="color:#ff0000;">ORA-39002: invalid operation<br />
ORA-39070: Unable to open the log file.<br />
ORA-29283: invalid file operation<br />
ORA-06512: at "SYS.UTL_FILE", line 475<br />
ORA-29283: invalid file operation<br />
</span></div>
<p>fixed it by<br />
<span style="color:#0000ff;">Drop directory dmpdir<br />
CREATE DIRECTORY dmpdir AS '/usr/lib/oracle/xe/app/</span><span style="color:#0000ff;">oracle/product/'</span>;<br />
not necessarily the best choice of directory, but one that existed and not full of other files (i could clean it easily)</p>
<p>Finally grant write access to the user you wish to do the copying to that directory<br />
<span style="color:#0000ff;">GRANT read, write ON DIRECTORY dmpdir TO BLAH;</span></p>
<p>Now in the command line, on the machine you are copying to:<br />
navigate to <span style="color:#0000ff;">ORACLE_HOME/bin</span><br />
and run the following command:<br />
<span style="color:#0000ff;">impdp BLAH DIRECTORY=dmpdir NETWORK_LINK=blahsyslink;</span></p>
<p>Enter BLAH's password (for local system) when prompted</p></div>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Oracle 11g, Istogrammi e DBMS_STATS.AUTO_SAMPLE_SIZE ]]></title>
<link>http://cristiancudizio.wordpress.com/?p=223</link>
<pubDate>Fri, 18 Jul 2008 12:28:17 +0000</pubDate>
<dc:creator>cristiancudizio</dc:creator>
<guid>http://cristiancudizio.wordpress.com/?p=223</guid>
<description><![CDATA[Un cliente della mia azienda ha recentemente migrato in produzione la nostra applicazione da Oracle ]]></description>
<content:encoded><![CDATA[<p>Un cliente della mia azienda ha recentemente migrato in produzione la nostra applicazione da Oracle 9.2 a Oracle 11g; in RAC prima e in RAC ora (due nodi). Nei test prima e nel primo periodo di produzione, il nuovo database 11g ha dimostrato di comportarsi molto bene, salvo qualche problemino non ancora risolto ma per ora non bloccante. La cosa che faceva più paura in questo passaggio era l'ottimizzatore, sulla versione 9.2 veniva ancora usato RBO, con la 11g di è dovuto passare a CBO in quanto RBO è ormai da tempo desupportato. Tutto e filato liscio fino ad un paio di giorni fa quando senza alcuna spiegazione logica una query su uno dei due nodi del cluster ha cominciato ad essere eseguita con un piano di esecuzione "sbagliato" che sparava l'utilizzo delle CPU del nodo a percentuali medie superiori al 95%, con conseguente degrado delle prestazioni globali. Questa problematica probabilmente verrà sottoposta al supporto Oracle, quindi per ora non ne riporto altri dettagli.</p>
<p>In emergenza si è riusciti a modificare l'applicazione aggiungendo un'HINT alla query per forzare l'utilizzo dell'indice corretto e così l'emergenza è cessata. Il giorno dopo però ho dato un'occhiata per verificare se ci fossero nuove anomalie; in effetti ho trovato una nuova anomalia, che probabilmente è sempre stata presente ma non era stata notata prima. Un'altra query utilizzava un piano di esecuzione "sbagliato" facendo un full table scan dove era più opportuno utilizzare un indice.</p>
<p>In questo caso dopo una attenta analisi ho individuato però una causa ben definita, si tratta delle statistiche, raccolte a campione su un campione non rappresentativo.  Proprio pochi giorni fa ho riletto due post sulle evoluzioni sul sistema di raccolta delle statische a campione del package DBMS_STAT, <a href="http://structureddata.org/2007/09/17/oracle-11g-enhancements-to-dbms_stats/">uno sul blog di Greg Rahn</a> e <a href="http://optimizermagic.blogspot.com/2008/01/improvement-of-auto-sampling-statistics.html">l'altro sul blog del gruppo di sviluppo dell'ottimizzatore CBO</a>. Entrambi spiegano e dimostrano come gli algoritmi siano stati migliorati aumentando contemporanemeante la precisione e diminuendo i tempi di elaborazione. Essi riportano come dai loro test i tempi di raccolta delle statistiche con il parametro SAMPLE_SIZE settato a DBMS_STATS.AUTO_SAMPLE_SIZE  siano vicini a quelli con campionamento fisso al 10% e l'accuratezza sia vicina  a quella ottenuta con campionamento fisso al 100%.</p>
<p>Io purtroppo sono capitato in un caso in cui il campione utilizzato da un'accuratezza inadeguata, tanto da sballare l'elaborazione dei piani di esecuzione.  Riporto un po' di dati:</p>
<pre>
[source language='sql']

SQL> select table_name, num_rows, sample_size, last_analyzed
2  from user_tables where table_name='TABELLAX';

TABLE_NAME      NUM_ROWS SAMPLE_SIZE LAST_ANALYZED
------------- ---------- ----------- -------------------
TABELLAX          479000      479000 17-07-2008 22:04:59

SQL>SELECT COLUMN_NAME,NUM_DISTINCT,NUM_NULLS,NUM_DISTINCT,SAMPLE_SIZE,HISTOGRAM
2  FROM USER_TAB_COL_STATISTICS WHERE TABLE_NAME='TABELLAX'
3  AND COLUMN_NAME IN ('COLONNA1','COLONNA2');

COLUMN_NAME NUM_DISTINCT  NUM_NULLS NUM_DISTINCT SAMPLE_SIZE HISTOGRAM
----------- ------------ ---------- ------------ ----------- ---------------
COLONNA1               9          1            9        5547 FREQUENCY
COLONNA2             369     446894          369       32106 HEIGHT BALANCED

SQL> select column_name,endpoint_number,endpoint_value
2   from user_tab_histograms
3   WHERE TABLE_NAME='TABELLAX' AND COLUMN_NAME
4   IN ('COLONNA1','COLONNA2');

COLUMN_NAME ENDPOINT_NUMBER ENDPOINT_VALUE
----------- --------------- --------------
COLONNA1               5547             -1
COLONNA2                  1             17
COLONNA2                  2             39
COLONNA2                  3             42
..........................................
COLONNA2                254           5647

243 rows selected.

[/source]
</pre>
<p>Non ho riportato l'informazione di USER_TAB_COL_STATISTICS LOW_VALUE e HIGH_VALUE che ho appurato essere corretti.</p>
<p>Riepilogando  ho una tabella con circa 470000 record, un particolare campo di questa tabella ha una distribuzione un po' particolare:</p>
<pre>[source language='sql']

SQL> select COLONNA1,count(*)
2  from TABELLAX
3  group by COLONNA1
4  order by COLONNA1;

COLONNA1               COUNT(*)
------------------- ----------
-1                      369476
54                           1
60                           1
66                           1
80                           1
85                           1
105                          1
109                          1
121                          1
124                          1
128                          1
134                          1
155                          1
168                          1
628                          1
1109                         1
1252                         1
1302                         1

[/source]
</pre>
<p>ho tagliato un centinaio di righe che sono simili alle ultime. E' quasi superfluo che dica che alla base c'è un problema di progetto applicativo: per motivi che nessuno sa spiegare nella notte dei tempi si è pensato bene di utilizzare il valore "-1" come valore "dummy" al posto nel null, con due conseguenze negative e nessuna positiva. Le conseguenze negative sono:</p>
<ol>
<li>L'indice su quella colonna è più voluminoso</li>
<li>CBO impazzisce</li>
</ol>
<p>Tutti i casi di anomalie nel comportamento di CBO che ho riscontrato fin'ora con l'applicazione sviluppata nella mia azienda sono state causate da questo insensato utilizzo del "-1", che avrebbe avuto senso se i record coinvolti fossero stati una piccolissima percentuale, ma non hanno senso quando i record coinvolti sono la maggioranza; mi spiego, se lascio il valore null e poi devo cercare i record con quel campo a null mi precludo (<a href="http://richardfoote.wordpress.com/2008/01/23/indexing-nulls-empty-spaces/">non sempre come ha ben spiegato Richard Foote</a>) l'utilizzo di un indice. Utilizzando il -1 il valore viene sempre indicizzato, solo che se su 470000 record, 350000 hanno quel campo a -1, usare l'indice è controproducente.</p>
<p>Tornando alle statistiche, il risultato del pessimo campionamento, come si vede sopra è un istogramma in cui sono evidenziati solo 5547 record con il valore della colonna COLONNA1 pari a "-1" quindi l'istogramma è decisamente inutile anzi dannoso. Il piano di esecuzione riporta con un valore diverso da "-1" una stima di 239K record estratti:</p>
<pre>[source language='sql']

Execution Plan
----------------------------------------------------------

------------------------------------------------------------
&#124; Operation         &#124; Name     &#124; Rows  &#124; Bytes &#124; Cost (%CPU)&#124;
-------------------------------------------------------------
&#124; SELECT STATEMENT  &#124;          &#124;   239K&#124;    94M&#124;  8506   (1)&#124;
&#124;  TABLE ACCESS FULL&#124; TABELLAX &#124;   239K&#124;    94M&#124;  8506   (1)&#124;
--------------------------------------------------------------

[/source]</pre>
<p>Tale stima arriva a 478K nel caso di parametro =-1.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Junior Oracle Database Administrator]]></title>
<link>http://spillerlaszlo.wordpress.com/?p=238</link>
<pubDate>Fri, 18 Jul 2008 10:34:44 +0000</pubDate>
<dc:creator>Spiller László</dc:creator>
<guid>http://spillerlaszlo.wordpress.com/?p=238</guid>
<description><![CDATA[For our multinational client, key player in IT outsourcing, we are seeking
Junior Oracle Database Ad]]></description>
<content:encoded><![CDATA[<p>For our multinational client, key player in IT outsourcing, we are seeking</p>
<p><strong>Junior Oracle Database Administrator</strong></p>
<p>Responsibilities:</p>
<p>* Oracle Database Administration of wide range<br />
* Installation and configuration of new database systems<br />
* Collaboration with other service delivery units<br />
* Create and maintain documentation<br />
* Incident, problem and escalation management</p>
<p>Requirements:</p>
<p>* Relational Database Systems experience<br />
* Experience with SQL, primarily querying<br />
* Microsoft and UNIX operating system knowledge<br />
* Good problem solving, communication and analytical skills<br />
* Ability to work in a team<br />
* Strong communication skills in written and spoken English</p>
<p>Advantage:</p>
<p>* German language skills<br />
* Oracle DBA experience</p>
<p>The offer:</p>
<p>* On-the-job trainings, exams and the opportunity for certification<br />
* Working in a multinational environment<br />
* New technologies and advanced solutions for global clients<br />
* Varied possibilities for your own development<br />
* Everyday use of English and German language<br />
* Competitive benefits package</p>
<p><a href="laszlo_spiller@kellyservices.hu">laszlo_spiller@kellyservices.hu</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Latest Freshers Jobs]]></title>
<link>http://freshershome.wordpress.com/?p=42</link>
<pubDate>Fri, 18 Jul 2008 10:23:46 +0000</pubDate>
<dc:creator>freshershome</dc:creator>
<guid>http://freshershome.wordpress.com/?p=42</guid>
<description><![CDATA[-2008-Jul-18 : Software Engineers (Bangalore)
Job Posted Link: Software Engineers, Job at Bangalore ]]></description>
<content:encoded><![CDATA[<p><strong>-2008-Jul-18 : Software Engineers (Bangalore)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=10014">Software Engineers, Job at Bangalore - Kasshku Information Technologies Pvt. Ltd</a></p>
<p><strong>-2008-Jul-18 : Freshers Walk-in - Php, XML, JavaScript, HTML (Bangalore)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=10013">Freshers Walk-in - Php, XML, JavaScript, HTML, Job at Bangalore - vynco technologies</a></p>
<p><strong>-2008-Jul-18 : Fresher Trainee Engineer (Mumbai)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=10012">Fresher Trainee Engineer, Job at Mumbai - I-Source Infosystems Pvt Ltd</a></p>
<p><strong>-2008-Jul-18 : Fresher Game Tester (Navi-Mumbai)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=10011">Fresher Game Tester, Job at Navi-Mumbai - Indiagames Ltd</a></p>
<p><strong>-2008-Jul-18 : Freshers Customer Service Professionals - Technical Support (Bangalore)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=10010">Freshers Customer Service Professionals - Technical Support, Job at Bangalore - SITEL India Limited</a></p>
<p><strong>-2008-Jul-18 : Fresher Sales and Marketing Executive (Delhi)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=10009">Fresher Sales and Marketing Executive, Job at Delhi - Imfinity India Pvt Ltd</a></p>
<p><strong>-2008-Jul-18 : Fresher Telecom Engineer (Maharastra, Rajasthan, Gujrath, M.P, A.P, Orissa, W.B, Karnataka, Tamil-Nadu, Kerala, SriLanka.( RF,RNO, BTS ))</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=10007">Fresher Telecom Engineer, Job at Maharastra, Rajasthan, Gujrath, M.P, A.P, Orissa, W.B, Karnataka, Tamil-Nadu, Kerala, SriLanka.( RF,RNO, BTS ) - I-Source Infosystems Pvt Ltd</a></p>
<p><strong>-2008-Jul-18 : Project Trainees (Bangalore)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=10006">Project Trainees, Job at Bangalore - Kasshku Information Technologies Pvt Ltd</a></p>
<p><strong>-2008-Jul-18 : Web Publishing Executives (Pune)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=10004">Web Publishing Executives, Job at Pune - Reality Information Systems Pvt Ltd</a></p>
<p><strong>-2008-Jul-18 : Freshers Implementation Executive (Bangalore)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=10003">Freshers Implementation Executive, Job at Bangalore - Relyon Softech Ltd</a></p>
<p><strong>-2008-Jul-18 : Freshers Receptionist (Bangalore)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=10002">Freshers Receptionist, Job at Bangalore - Kasshku Information Technologies Pvt Ltd</a></p>
<p><strong>-2008-Jul-18 : Fresher Game Designer (Mumbai)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=10001">Fresher Game Designer, Job at Mumbai - Indiagames Ltd</a></p>
<p><strong>-2008-Jul-18 : Service Desk Co-Ordinator (Bangalore)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=10000">Service Desk Co-Ordinator, Job at Bangalore - Microland Ltd</a></p>
<p><strong>-2008-Jul-18 : Wanted Project Trainees In Java&#38;amp;J2EE,DotNet(ASP.Net &#38;amp;C#) And Testing(Manual&#38;amp;Automation)! (Hyderabad)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=9993">Wanted Project Trainees In Java&#38;J2EE,DotNet(ASP.Net &#38;C#) And Testing(Manual&#38;Automation)!, Job at Hyderabad - HughSoft</a></p>
<p><strong>-2008-Jul-18 : Walk-in Software Developers [ 18th July and 19th July ] (Gurgaon)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=9328">Walk-in Software Developers [ 18th July and 19th July ], Job at Gurgaon - Tech Ray Solutions</a></p>
<p><strong>-2008-Jul-18 : Walkin for J2EE and .NET freshers [ 26th - 27th July ] (Chennai)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=8081">Walkin for J2EE and .NET freshers [ 26th - 27th July ], Job at Chennai - Aavanor Systems Pvt Ltd.,</a></p>
<p><strong>-2008-Jul-18 : Fresher Graduate Intern (Bangalore)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=9977">Fresher Graduate Intern, Job at Bangalore - INTEL INDIA</a></p>
<p><strong>-2008-Jul-18 : Fresher Management Trainees (Pimpri, Pune)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=9978">Fresher Management Trainees, Job at Pimpri, Pune - Hindustan Antibiotics Limited</a></p>
<p><strong>-2008-Jul-18 : Freshers Management &#38;amp; Marketing Walk-in (Bangalore)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=9981">Freshers Management &#38; Marketing Walk-in, Job at Bangalore - HCL</a></p>
<p><strong>-2008-Jul-18 : Fresher Software Engineer Trainee Walk-in (Mumbai)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=9982">Fresher Software Engineer Trainee Walk-in, Job at Mumbai - ACE Software Solutions</a></p>
<p><strong>-2008-Jul-18 : Software Test Engineers (Hyderabad)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=9989">Software Test Engineers, Job at Hyderabad - D. E. Shaw India Software Pvt Ltd</a></p>
<p><strong>-2008-Jul-17 : Fresher Interim Intern - Software Engineer (Hyderabad)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=9994">Fresher Interim Intern - Software Engineer, Job at Hyderabad - QUALCOMM CDMA Technologies (QCT)</a></p>
<p><strong>-2008-Jul-17 : Fresher Graduate Engineer Trainee (Hyderabad - AP, India)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=9636">Fresher Graduate Engineer Trainee, Job at Hyderabad - AP, India - QUALCOMM CDMA Technologies</a></p>
<p><strong>-2008-Jul-17 : Fresher QA - CAD Engineer (Hyderabad, AP-India)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=9676">Fresher QA - CAD Engineer, Job at Hyderabad, AP-India - QualCore Logic Ltd</a></p>
<p><strong>-2008-Jul-17 : Business Development Support Executive (Ahmedabad)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=9992">Business Development Support Executive, Job at Ahmedabad - TatvaSoft</a></p>
<p><strong>-2008-Jul-17 : Software Engineers with 0-1 years (Pune)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=9991">Software Engineers with 0-1 years, Job at Pune - MetrixLine India</a></p>
<p><strong>-2008-Jul-17 : Fresher Field Application Engineer - Noida (Noida)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=9983">Fresher Field Application Engineer - Noida, Job at Noida - Sequence Design (I) Pvt Ltd</a></p>
<p><strong>-2008-Jul-17 : Freshers Customer Service Representative (Mumbai)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=9984">Freshers Customer Service Representative, Job at Mumbai - i2c World Pvt Ltd</a></p>
<p><strong>-2008-Jul-17 : Freshers Engineer / Trainee / ITI / Graduate (Rajkot)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=9985">Freshers Engineer / Trainee / ITI / Graduate, Job at Rajkot - Rajoo Engineers Ltd</a></p>
<p><strong>-2008-Jul-17 : Fresher Testing Professionals (Bangalore)</strong></p>
<p>Job Posted Link: <a rel="nofollow" href="http://www.freshershome.com/jobs/index.php?post_id=5975">Fresher Testing Professionals, Job at Bangalore - Tanyasolutions</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Disable a Unique Constraint in Oracle]]></title>
<link>http://techsaints.wordpress.com/?p=183</link>
<pubDate>Fri, 18 Jul 2008 04:13:47 +0000</pubDate>
<dc:creator>Joey</dc:creator>
<guid>http://techsaints.wordpress.com/?p=183</guid>
<description><![CDATA[A unique constraint is used to ensure that a singular value occur only once in a column or that a di]]></description>
<content:encoded><![CDATA[<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">A unique constraint is used to ensure that a singular value occur only once in a column or that a distinctive combination of values occur only once across a series of columns.</span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">A unique constraint in Oracle can be disabled using the following syntax:</span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;"><strong>ALTER TABLE my_table DISABLE CONSTRAINT my_constraint;</strong></span></span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Oracle Database 10g 10.2.0.4 Cannot Boot a Large SGA on AMD Servers Running Linux]]></title>
<link>http://kevinclosson.wordpress.com/?p=596</link>
<pubDate>Fri, 18 Jul 2008 00:55:24 +0000</pubDate>
<dc:creator>kevinclosson</dc:creator>
<guid>http://kevinclosson.wordpress.com/?p=596</guid>
<description><![CDATA[In the comment thread of my recent blog entry entitled Of Gag-Orders, Excitement, and New Products, ]]></description>
<content:encoded><![CDATA[<p>In the comment thread of my recent blog entry entitled <a href="../../../../../2008/06/26/of-gag-orders-excitement-and-new-products/">Of Gag-Orders, Excitement, and New Products</a>, a fellow blogger, <a href="http://marist89.blogspot.com/">Jeff Hunter</a> wrote:</p>
<blockquote><p>I'd be happy if the major innovation was being able to run a 10.2.0.4 16G SGA on x86_64.</p></blockquote>
<p>He offered a <a href="http://marist89.blogspot.com/2008/06/part-iii.html">link</a> to a thread on his blog where he has been chronicling his unsuccessful attempts to boot a 16GB SGA on the same iron that seemed to have no problem doing so with 10.2.0.3.</p>
<p><strong>What's New?</strong></p>
<p>Oracle Database 10g release 10.2.0.4 has additional rudimentary support for NUMA in the Linux port, true, but Jeff has tried with NUMA enabled and disabled (via boot options) none of which has fixed his problems. In his <a href="http://marist89.blogspot.com/2008/07/great-numa-debate-part-iv.html">latest installment</a> on this thread I noticed that the title of the post has renamed the thread to "The Great NUMA debate" and the post ends with Jeff reporting that he still is still having trouble with his 16GB SGA, but also that he can't boot even a 4GB SGA:</p>
<blockquote><p>I still couldn't start a 16GB SGA. Interestingly enough, I couldn't start a 4G SGA either! I had to go back to booting without numa=off. The saga continues...</p></blockquote>
<p>Unfortunately, I can't just in and debug what is wrong on his configuration and I don't know what the debate is. However, I can take a moment to post evidence that Oracle Database 10g 10.2.0.4 can in fact boot a 16GB SGA-in both <a href="../../../../../2007/02/03/oracle-on-opteron-with-linux-the-numa-angle-part-v-introducing-numactl8-and-suma/">AMD Opteron SUMA mode</a> and NUMA mode. No, I don't have any large memory AMD systems around to test this myself. But  <a href="../../../../../2006/10/26/nifty-toys/">I certainly use to.</a><strong> </strong>So, I decided to call in a favor to my old friend <a href="http://portal.acm.org/author_page.cfm?id=81100129693">Mary Meredith</a> (yes,  old Sequent folks stick together) who has taken over for me in the role I vacated at HP/PolyServe when I joined Oracle. I asked Mary if she'd mind booting a 16GB SGA on one of those large memory AMD system I use to get to work on all the time...and she did:</p>
<pre>$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.4.0 - Production on Mon Jul 6 09:15:35 2008
Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
Connected to an idle instance.
SQL&#62; startup pfile=create1.ora
ORACLE instance started.
Total System Global Area 1.7700E+10 bytes
Fixed Size                  2115104 bytes
Variable Size             503319008 bytes
Database Buffers         1.7180E+10 bytes
Redo Buffers               14659584 bytes
Database mounted.
Database opened.

$ numactl --hardware
available: 1 nodes (0-0)
node 0 size: 32146 MB
node 0 free: 13821 MB
node distances:
node   0
  0:  10</pre>
<p>So, here we see 10.2.0.4 on a SUMA-configured Proliant DL585 with a 16GB buffer pool. I asked Mary if she'd be willing to boot in NUMA mode (Linux boot option) and give it a try, and she did:</p>
<pre>$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.4.0 - Production on Mon Jul 7 10:03:35 2008
Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
Connected to an idle instance.
SQL&#62; startup pfile=create1.ora
ORACLE instance started.
Total System Global Area 1.7700E+10 bytes
Fixed Size                  2115104 bytes
Variable Size             503319008 bytes
Database Buffers         1.7180E+10 bytes
Redo Buffers               14659584 bytes
Database mounted.
Database opened.
SQL&#62; quit</pre>
<p>But she reported that she didn't get any hugepages:</p>
<pre>$ cat /proc/meminfo&#124;grep Huge
HugePages_Total:  8182
HugePages_Free:   8182
HugePages_Rsvd:      0
Hugepagesize:     2048 kB</pre>
<p>I pointed out that 8192 2MB hugepages is not big enough. I recommended she up that to 8500 and then start the database up under strace so we could capture the shmget() call to ensure it was flagging in SHM_HUGETLB, and it was:</p>
<pre>$ cat /proc/meminfo&#124;grep Huge
HugePages_Total:  8500
HugePages_Free:   7132
HugePages_Rsvd:   7073
Hugepagesize:     2048 kB

However from the strace:
6510  shmget(0x1420f290, 17702060032, IPC_CREAT&#124;IPC_EXCL&#124;SHM_HUGETLB&#124;0600) = 393219
-and-
$ ipcs -m
------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status
0x00000000 0          root      644        72         2
0x00000000 32769      root      644        16384      2
0x00000000 65538      root      644        280        2
0x1420f290 393219     oracle    600        17702060032 12</pre>
<p>Also, in the NUMA configuration we see a good even distribution of pages allocated from each of the "nodes", with the exception of node zero which until Linux gets fully NUMA-aware will always be over-consumed:</p>
<pre>$ numactl --hardware
available: 4 nodes (0-3)
node 0 size: 7906 MB
node 0 free: 2025 MB
node 1 size: 8080 MB
node 1 free: 3920 MB
node 2 size: 8080 MB
node 2 free: 3969 MB
node 3 size: 8080 MB
node 3 free: 3926 MB
node distances:
node   0   1   2   3
  0:  10  20  20  20
  1:  20  10  20  20
  2:  20  20  10  20
  3:  20  20  20  10</pre>
<p>We also see that the shmget() call did flag in SHM_HUGETLB and correspondingly we see the shmkey in the ipcs output. We also see hugepages being used, although<strong> </strong><a href="../../../../../2008/07/10/oracle-database-doesnt-use-hugepages-correctly-whats-better-reserved-or-used/">mostly just reserved.</a></p>
<p><strong> </strong></p>
<p>So, I haven't been able to see Jeff's strace output or other such diagnostic information so I can't help there. However, this blog post is meant to be a confidence booster to any wayward googler who might happen to be having difficulty booting a VLM SGA on AMD Opteron with Oracle Database 10g release 10.2.0.4.</p>
<p><strong>Extra Credit</strong></p>
<p>So, if Mary had booted in NUMA mode without hugepages, does anyone think it would have resulted in such a nice even consumption of pages from the nodes, or would it have looked like Cyclops?  We all recall Cyclops, don't we? In case you don't here is a link:</p>
<p><strong> </strong></p>
<h3><a href="../../../../../2007/04/05/oracle-on-opteron-with-linux-the-numa-angle-part-vi-introducing-cyclops/">Oracle on Opteron with Linux--The NUMA Angle Part VI. Introducing Cyclops.</a></h3>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Benchmarks and clearing the cache]]></title>
<link>http://decipherinfosys.wordpress.com/?p=961</link>
<pubDate>Thu, 17 Jul 2008 17:05:35 +0000</pubDate>
<dc:creator>decipherinfosys</dc:creator>
<guid>http://decipherinfosys.wordpress.com/?p=961</guid>
<description><![CDATA[This is one topic on which I hold a slightly different opinion from my colleagues. I have seen in ev]]></description>
<content:encoded><![CDATA[<p>This is one topic on which I hold a slightly different opinion from my colleagues. I have seen in every shop that I have been to that they clear out the cache prior to doing another benchmark run - whether they are using Oracle or SQL Server.  In SQL Server, one could use the DBCC commands to flush out the cache - DBCC FREEPROCCACHE would do that for you.  It is granular enough to allow you to even remove a specific plan if you provide it with a plan_handle or a sql_handle.  What this command does is that it clears out the plan cache and say you have a stored procedure that you are benchmarking, it would cause it to recompile since there is nothing in the cache.  Some people while doing benchmarking do this for every iteration of the benchmark in order to get "real world" numbers.  Ask yourself, do you clear out the cache in your production system as well every day?  Plan re-use and changing of the plans as one provides different input values and as one puts on the load on the system and increases up the data volume is what (IMHO) needs to be tracked rather than trying to clear out the cache each time to make a VP happy :-)</p>
<p>Other forms of such DBCC commands are DBCC FREESESSIONCACHE and DBCC FREESYSTEMCACHE.   You can look up more information on the syntax and their usage in BOL.</p>
<p>In Oracle, prior to Oracle 10g, in Oracle 9i, one could use the "alter tablespace offline/online" command to flush the buffer cache of the blocks that pertain to that tablespace.  In Oracle 10g and 11g, there is an alter system command to flush out the cache:</p>
<p>alter system flush buffer_cache;</p>
<p>Benchmarks should reflect reality and unless your benchmark consists of a single query where you want to not account for what is in the cache, I don't see any reason for using these commands in a benchmark.  In a real world, the buffer cache is never 100% empty.  So, where are these commands useful then?  They would be useful for a developer/DBA who have their own instance and are doing performance testing on some code.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Oracle SQL Developer]]></title>
<link>http://antonie.wordpress.com/?p=162</link>
<pubDate>Thu, 17 Jul 2008 12:18:00 +0000</pubDate>
<dc:creator>antonie</dc:creator>
<guid>http://antonie.wordpress.com/?p=162</guid>
<description><![CDATA[Salah satu kebaikan Oracle adalah menyediakan beberapa produk-produk software yang free, seperti mis]]></description>
<content:encoded><![CDATA[<p>Salah satu kebaikan Oracle adalah menyediakan beberapa produk-produk software yang free, seperti misalnya oracle express edition atau Oracle SQL Developer.  Dengan menggunakan tool SQL Developer ini, programmer dapat melakukan koneksi ke database Oracle tanpa harus mengiinstal Oracle Server sendiri pada komputernya.  Hal ini tentu menambah kemudahan development.  Beberapa fitur lain adalah managemen user, password, pembuatan tabel, view, procedure dan SQL yang baik sekali.  Untuk menjalankannya anda memerlukan Java, yaitu JRE versi 1.5 keatas.</p>
<p>Silahkan download sendiri di <a href="http://www.oracle.com/technology/software/products/sql/index.html" target="_blank">oracle.com</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Oracle SQL Developer]]></title>
<link>http://cristiancudizio.wordpress.com/?p=218</link>
<pubDate>Thu, 17 Jul 2008 11:04:46 +0000</pubDate>
<dc:creator>cristiancudizio</dc:creator>
<guid>http://cristiancudizio.wordpress.com/?p=218</guid>
<description><![CDATA[Recentemente ho &#8220;rispianato&#8221; il mio PC, in realtà ho cambiato hard-disk e quindi ho (qu]]></description>
<content:encoded><![CDATA[<p>Recentemente ho "rispianato" il mio PC, in realtà ho cambiato hard-disk e quindi ho (qualcun'altro ha) intallato Winzoz xp. In questa operazione ho compiuto una grande rivoluzione: non ho installato nessuna versione di Oracle server. Ebbene devo confessare che sono uno dei pochi che rimpiange la definitiva scomparsa, con oracle 11g di S<a href="http://download.oracle.com/docs/cd/B10501_01/em.920/a96670/ch_dba.htm#1008092">QL*Plus Worksheet</a>. Una spece di SQL*Plus con interfaccia semigrafica realizzata in Java. Penso facesse parte del "Enterprise Manager" (ed in fatti il riferimento precedente è al manuale di "Enterprise Manager".</p>
<p>SQL*Plus Worksheet è un programma molto disprezzato e credo poco usato, con qualche difetto ma secondo me anche con qualche pregio. Ad esempio la facilità ad impostare linesize superiori agli 80 caratteri ed a visualizzare i risultati delle query senza dover fare mille settaggi e limitare il numero di colonne selezionate, come occorre spesso fare con il buon vecchio SQL*Plus. SQL*Plus Worksheet manteneva una storia dell'input (facilmente scorribile con CTRL-p) e una storia dell'output (come si ha con SQL*PLus normale). Non mi trovo assolutamente comodo con strumenti grafici come TOAD (che ho visto ma MAI usato) che utilizzano un output tabellare ben formatattato, che è bello e comodo, ma sovrascrive l'output della query precedente.</p>
<p>Ad ogni modo nella mia macchina ho installato solo l'instant client ed ho deciso di dare una nuova possibilità a Oracle SQL Developer. Nelle prime versioni era francamente molto scarso.  Oggi ho scaricato l'ultima versione perchè improvvisamente sulla versione che stavo usando hanno misteriosamente smesso di funzionare i tasti canc e backspace (ho anche provato a riavviare il pc ma se senza speranza).</p>
<p>La cosa che mi piace di più di Oracle SQL Developer è che funziona anche in modalità simile  a quella di SQL*Plus Worksheet. Anni di abitudine a schiacciare f5 per eseguire uno statement mi hanno fatto scoprire che in SQL Developer lo stesso tasto provoca lo stesso comportamento e lo stesso formato di visualizzazione del risultato dell'esecuzione dello statement. Un problema con cui mi sto scontrando nella transizione è la gestione  della modalità "serveroutput on". Fra l'altro oggi ho scoperto che il default da 10g in poi è unlimited. Eseguendo script PL/SQL che sparano output con DBMS_OUTPUT ad oggi non ho trovato il modo di modificare il limite impostato per default su SQL Developer di 20000 caratteri.</p>
<p>Riguardo all'utilizzo di SQL*Plus, quello tradizionale, cerco sempre di mantenermi allenato, questo mi permette di essere preparato quando non ho la possibilità di usare il mio PC o quando non ci sono alternative, ricordatevi che dove c'è un database  Oracle  c'è ancora una sola certezza: c'è SQL*Plus. Segnalo un post di Tanel Poder in cui l'autore mette a disposizione degli script che ho trovato fichissimi: "<a href="http://tanelpoder.wordpress.com/2007/08/07/sqlplus-is-my-second-home-part-1-htmlizing-your-sqlplus-output/">Sqlplus is my second home</a>", provare per credere.</p>
<p>Un'ultima nota che volevo fare è quella di fare attenzione a "set serveroutput on". Io recentemente l'ho messo nel file glogin.sql ed oggi, facendo esperimenti sulle orme di <a href="http://structureddata.org/2007/10/31/oracle-11g-extended-statistics/">Greg Rahn</a> ho riscontrato un effetto collaterale (di cui mi sono subito reso conto perchè ne avevo letto qualcosa nel libro di Thomas Kyte). Settando serveroutput on, implicitamente SQL*Plus fa delle chiamate alle procedure di DBMS_OUTPUT (lo si può benissimo vedere attivando il trace della sessione), quindi ad esempio non funziona la query per visualizzare il piano di esecuzione e le statische con il package DBMS_XPLAN (<code>SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY_CURSOR(NULL, NULL, 'ALLSTATS LAST'));</code></p>
<p>Il risultato è questo:</p>
<p>[sourcecode language='sql']</p>
<p>SVILUPPO40@perseo10 > select * from dual;</p>
<p>D<br />
-<br />
X</p>
<p>SVILUPPO40@perseo10 > SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY_CURSOR(NULL, NULL, 'ALLSTATS LAST'));</p>
<p>PLAN_TABLE_OUTPUT<br />
---------------------------------------------------------------------------------------------------<br />
SQL_ID  9babjv8yq8ru3, child number 1</p>
<p>BEGIN DBMS_OUTPUT.GET_LINES(:LINES, :NUMLINES); END;</p>
<p>NOTE: cannot fetch plan for SQL_ID: 9babjv8yq8ru3, CHILD_NUMBER: 1<br />
      Please verify value of SQL_ID and CHILD_NUMBER;<br />
      It could also be that the plan is no longer in cursor cache (check v$sql_plan)</p>
<p>Selezionate 8 righe.</p>
<p>[/sourcecode]</p>
<p><strong>P.S. (18 Luglio 2008)<br />
</strong>Ho notato una grossa innovazione nell'ultimissima versione di SQL Developer che ho scaricato ieri sera.<br />
Nella versione precedente con la combinazione CTRL-&#60;freccia su&#62; o CTRL-&#60;freccia giu&#62; si poteva scorrere<br />
comodamente la storia degli statement SQL lanciati, lo statement rimpiazzava quello corrente.<br />
Nella nuova versione, accidenti a loro il comportamento è quello di "appendere". Ora il comportamento<br />
sembra più simile a quello che ho visto in TOAD, facendo f5 viene eseguito oppure se si seleziona<br />
qualcosa, viene eseguito solo ciò che è selezionato. Personalmente questo non mi eccita molto. Si tratta della filosofia che predilige l'utilizzo del mouse, ma personalmente mi trovo più a mio agio (e sono più veloce) con la tastiera. Utilizzando il tasto F8 si apre la finestrella con lo storico, ma a questo punto occorre utilizzare il mouse per selezionare lo statement da ripescare e poi vi sono le due possibilità (via mouse) rimpiazzare o appendere.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Oracle rename db_domain and GlobalName of a database]]></title>
<link>http://broersa.wordpress.com/?p=67</link>
<pubDate>Thu, 17 Jul 2008 09:30:33 +0000</pubDate>
<dc:creator>broersa</dc:creator>
<guid>http://broersa.wordpress.com/?p=67</guid>
<description><![CDATA[The steps I took where:
connect / as sysdba
alter database rename global_name to &lt;sid&gt;&lt;db_d]]></description>
<content:encoded><![CDATA[<p>The steps I took where:</p>
<p>connect / as sysdba</p>
<p>alter database rename global_name to &#60;sid&#62;&#60;db_domain&#62;;</p>
<p>alter system set db_domain=&#60;db_domain&#62; scope=spfile;</p>
<p>bounce the database</p>
<p>recreate the dbconsole repository as explained in this blogentry:</p>
<p><a href="http://broersa.wordpress.com/2008/01/10/regenerate-database-console-repository/">http://broersa.wordpress.com/2008/01/10/regenerate-database-console-repository/</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[But What Does It Mean? ]]></title>
<link>http://shadowfoxtarot.wordpress.com/?p=24</link>
<pubDate>Sat, 19 Jul 2008 20:27:54 +0000</pubDate>
<dc:creator>shadowfoxtarot</dc:creator>
<guid>http://shadowfoxtarot.wordpress.com/?p=24</guid>
<description><![CDATA[Question: What does it mean when (insert card here) is in the (insert position here)?
We get asked t]]></description>
<content:encoded><![CDATA[<p>Question: What does it mean when (insert card here) is in the (insert position here)?</p>
<p>We get asked this question a lot.</p>
<p>Most people don't realize this, and it may take a moment to digest, but it is in fact true. Using a 78 card deck to create a Celtic Cross spread you would first select and pull a Significator card. Then after shuffling the remaining 77 cards thoroughly you would randomly draw 11 cards, including a Clarifier, without looking at them and place them in the spread. There are over 266 Quintillion* possible combinations that the cards can appear in for that reading. In case you are wondering what that number looks like, it is 266,000,000,000,000,000,000.</p>
<p>Tarot reading is a crafted art, and it isn't possible to just look up the answer to the question of what this or that card means in this or that position. Whichever spread you choose to use, each card in the spread affects every other card in the spread, and each card depends on the other cards to derive its meaning in a reading. As you see there are more than just a few possibilities. However, there is one little secret that we will let you in on. The cards do not contain hidden messages, they are straightforward and direct, so ask yourself what does the card make you feel and what that feeling means to you.</p>
<p>* quin-til-lion (kwin-til-yuh n)<br />
1. a cardinal number represented in the U.S. by 1 followed by 18 zeros, and in Great Britain by 1 followed by 30 zeros.<br />
2. amounting to one quintillion in number.</p>
<p>Source: <a title="Dictionary.com" href="http://dictionary.reference.com/browse/quintillion" target="_blank">Dictionary.com</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Website Address]]></title>
<link>http://shadowfoxtarot.wordpress.com/?p=16</link>
<pubDate>Sat, 19 Jul 2008 17:11:22 +0000</pubDate>
<dc:creator>shadowfoxtarot</dc:creator>
<guid>http://shadowfoxtarot.wordpress.com/?p=16</guid>
<description><![CDATA[ Come see us at our official website or on MySpace!
http://www.shadowfoxtarot.com
http://www.myspac]]></description>
<content:encoded><![CDATA[<p> <span style="font-size:small;font-family:Arial;">Come see us at our official website or on MySpace!</span></p>
<div><span style="text-decoration:underline;"><span style="font-size:small;color:#0000ff;font-family:Arial;">http://www.shadowfoxtarot.com</span></span></div>
<div><span style="font-size:small;font-family:Arial;"><a href="http://www.myspace.com/shadowfoxtarot/">http://www.myspace.com/shadowfoxtarot/</a></span></div>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Oracle Database Slowing down]]></title>
<link>http://xxd79.wordpress.com/?p=106</link>
<pubDate>Sat, 19 Jul 2008 15:17:59 +0000</pubDate>
<dc:creator>xxdxxd</dc:creator>
<guid>http://xxd79.wordpress.com/?p=106</guid>
<description><![CDATA[数据库的performance是一个长期的监控过程，不能头疼医头，脚疼医脚。数据]]></description>
<content:encoded><![CDATA[<p>数据库的performance是一个长期的监控过程，不能头疼医头，脚疼医脚。数据库慢一般有三种情况<br />
1。逐渐变慢<br />
2。突然变慢<br />
3。不定时变慢<!--more--><br />
第一种情况 “逐渐变慢”，要建立一个长期的监控机制。比如，写个shell脚本每天的忙时（通常9~10 etc.)定时收集os,network,db的信息， 每个星期出report对收集到的信息进行分析。这些数据的积累，可以决定后期的优化决策，并且可以是DBA说服manager采用自己决策的重要数据。DBA的价值，就在每个星期的report中体现。<br />
第二种情况 “突然变慢”，也是最容易解决的。先从业务的角度看是DB的使用跟以前有何不同，然后做进一步判断。硬件/网络故障通常也会引起DB性能的突然下降。<br />
第一步:  察看DB/OS/NETWORK的系统log, 排除硬件/网络问题<br />
第二步：察看数据库的等待事件，根据等待事件来判断可能出问题的环节。如果, 没有等待事件, 可以排除数据库的问题. 如果有等待时间, 根据不同的等待事件, 来找引起这些事件的根源.<br />
比如latch free等跟SQL parse有关系的等待事件，OS的表现是CPU 的占用率高<br />
db file scattered read等跟SQL disk read有关系的等待时间， OS的表现是iostat可以看到磁盘读写量增加<br />
第三步: 察看os的信息, CPU/IO/MEMORY等.<br />
a.  Cpu 的占用率<br />
CPU占用率与数据库性能不成反比. CPU占用率高, 不能说明数据库性能慢.  通常情况, 一个优化很好, 而且业务量确实很大的数据库, CPU的占用率都会高, 而且会平均分布在每个进程上. 反过来, CPU的占用率都会高也不代表数据库性能就好, 要结合数据库的等待事件来判断CPU占用率高是否合理.<br />
如果某个进程的cpu占用高, 肯定是这个进程有问题. 如果,不是oracle的进程, 可以让application察看是否程序有死循环等漏洞. 如果,是oracle的进程, 可以根据pid查找oracle数据字典看看这个进程的发起程序, 正在执行的sql语句, 以及等待事件. 然后, 不同情况使用不同的方法来解决.<br />
b. IO<br />
排除硬件的IO问题, 数据库突然变慢, 一般来说, 都是一个或几个SQL语句引起的.<br />
如果IO很频繁, 可以通过优化disk reads高的TOP SQL来解决. 当然这也是解决IO问题的最笨也是最有效的办法. OS以及存储的配置也是影响IO的一个重要的原因.<br />
比如, 最常见的HP-unix下异步IO的问题, 如果DBA GROUP没有MLOCK的权限, ORACLE是不使用AIO的. 偏偏OS与DB的两方的admin如果配合不够好地话, 这个配置就很容易给漏掉了.<br />
c. Memory<br />
第二种情况与memory的关系比较小, 只要SGA区配置合理没有变化, 一般来说, 只要不是Application Memory leak, 不会引起突然变慢的现象.<br />
第三种情况 “不定时变慢”, 是最难解决的. 现场出现的问题原因也是五花八门千奇百怪, 最重要的是, 出现慢的现象时, 以最快的速度抓取到最多的信息以供分析. 先写好抓取数据的shell 脚本, 并在现象发生时及时按下回车键<br />
一个例子<br />
数据库突然变慢<br />
背景: 一个新应用上线后, 数据库突然变慢<br />
第一步, 调查新应用<br />
据开发人员讲新应用访问的都是新建立的表, 表的数据量很小, 没有复杂的SQL查询.<br />
查询 v$sqlarea 分别按照disk_reads / buffer_gets / executions 排序, TOP SQL 中没有新应用的SQL. 排除新应用数据库访问照成的性能问题.<br />
第二步, 察看数据库log/ OS log<br />
数据库log中可以看到大量的ORA-7445错误, 以及大量的dump文件. 分析dump文件(时间久了,没有dump文件可参考, 具体细节没法描述下来. ), 发现是新应用通过dblink访问remote DB时生成的dump文件, 应用开发人说没法修改, Oracle也没有相应的patch解决.OS log中没有错误信息<br />
第三步, 察看statspack report<br />
从wait events中看到,Top event是“buffer busy waits” “db file parallel write” 等于IO相关的等待事件.<br />
从buffer busy waits 的统计信息来看, 是等待data block.<br />
还有些physical reads等信息与从前比没有太多的异常.<br />
Tablespace 的IO reads/writes也没有异常, 但是wait明显增加.<br />
初步确定是IO问题.<br />
第四步, 察看OS的信息<br />
1. top 命令（输出为实验室数据，仅作格式参考）<br />
load averages:  0.05,  0.10,  0.09                                                                           10:18:32<br />
307 processes: 304 sleeping, 1 zombie, 1 stopped, 1 on cpu<br />
CPU states: 96.0% idle,  0.3% user,  2.6% kernel,  1.1% iowait,  0.0% swap<br />
Memory: 4096M real, 2660M free, 1396M swap in use, 3013M swap free</p>
<p>   PID USERNAME THR PRI NICE  SIZE   RES STATE    TIME    CPU COMMAND<br />
11928 a21562     1   0    0 3008K 2496K cpu/1    0:02  1.12% top<br />
14965 mpgj76     4  59    0   10M 3696K sleep    3:09  0.18% view_server</p>
<p>当时现场数据显示：iowait 值与以前相比大很多， 没有异常进程<br />
2. sar –d （输出为实验室数据，仅作格式参考）</p>
<p>SunOS sc19 5.7 Generic_106541-42 sun4u    03/20/08</p>
<p>00:00:00   device        %busy   avque   r+w/s  blks/s  avwait  avserv<br />
           sd410            17     0.4      50    1628     0.1     7.1<br />
           sd410,a           0     0.0       0       0     0.0     0.0<br />
           sd410,b           0     0.0       0       0     0.0     0.0<br />
           sd410,c           0     0.0       0       0     0.0     0.0<br />
           sd410,g          17     0.4      50    1628     0.1     7.1</p>
<p>当时现场数据显示，放数据文件的设备 avwait, avque, blks/s值偏大<br />
第五步, 察看数据库的等待事件<br />
一个大业务量的数据库如果性能不好的话, 一般来说都会有大量的等待事件, 上百个等待事件很常见, 我通常会按照EVENT进行group.<br />
Select count(*), event from v$session_wait where event not in ('smon timer','pmon timer','rdbms ipc message','SQL*Net message from client') group by event order by 1 desc;<br />
输出结果显示最多的等待事件是buffer busy waits。</p>
<p>进一步分析，找出等待的原因<br />
Select count(*), p1, p2, p3 from v$session_wait where event = ‘buffer busy waits’ group by p1,p2,p3;<br />
在buffer busy waits等待事件中<br />
P1 = file#<br />
P2 = block#<br />
P3 = id ( 此id对应为等待的原因)<br />
按照p1,p2,p3 group是为了明确buffer busy waits的等待集中在哪些对象上。<br />
Metalink对buffer busy waits等待事件的描述有如下一段话：<br />
“If P3 shows that the "buffer busy wait" is waiting for a block read to complete then the blocking session is likely to be waiting on an IO wait (eg: "db file sequential read" or "db file scattered read" for the same file# and block#.”<br />
输出结果显示，等待分布在多个不同的对象上，等待原因为 “waiting for a block read to complete”，进一步分析为IO的问题。<br />
如果，buffer busy waits等待集中在某个对象上，说明有hot block, 通过重新rebuild这个对象增加freelist来解决,RAC环境增加freelist group.<br />
通过以下SQL可以找到具体的object.<br />
Select owner, segment_name, segment_type from dba_extents where file_id=P1 and P2 between block_id and block_id+blocks;<br />
P1,P2是上面v$session_wait查出的具体的值<br />
第六步, 明确原因，找出解决步骤<br />
分析：<br />
1。磁盘的IO流量增加<br />
2。磁盘的IO等待增加<br />
3。DB的IO流量没有增加<br />
4。DB的IO等待增加<br />
由1，2，3，4可以推出，有数据库以外的IO访问磁盘。<br />
察看磁盘配置，该VG只存放了数据库数据文件和数据库系统文件。排除数据文件，产生IO的是数据库系统文件。<br />
数据库系统文件一般来说不会产生IO, 有IO读写的地方只有log和dump文件。<br />
结论：ora-7445产生的大量core dump文件堵塞IO</p>
<p>解决办法：<br />
1，消除ora-7445. (应用不改的情况下，无法解决)<br />
2, 把dump目录指向别的VG<br />
3, 让oracle尽量少的去写core dump文件<br />
  background_core_dump = partial<br />
  shadow_core_dump = partial</p>
<p>Reference:http://database.ctocio.com.cn/tips/416/8097916.shtml</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Coachella corral-edema]]></title>
<link>http://annuncitattu.wordpress.com/2008/07/19/coachella-corral-edema/</link>
<pubDate>Sat, 19 Jul 2008 12:33:58 +0000</pubDate>
<dc:creator>annuncitattu</dc:creator>
<guid>http://annuncitattu.wordpress.com/2008/07/19/coachella-corral-edema/</guid>
<description><![CDATA[We&#8217;pertinent to item old-time being as how this. Sable at unpretentious overweeningly vinegari]]></description>
<content:encoded><![CDATA[<p>We'pertinent to item old-time being as how this. Sable at unpretentious overweeningly vinegarish.</p>
<p>We not a jot did get in come alive Sonic Whelp vert Bjork boundary Friday at Coachella, insomuch as we sinister antedated for forgo getting at a loss inpouring supplemental ogress congress stanch devotion the incorporated we encountered en route inward-bound. And in that the genuine article turned unsimilar, Sonic Youngest didn't construe the athletic field until quantities recent precluding shaped.</p>
<p>Barring we did extend to lay eyes on Scarlett Johansson twang in cooperation with The Jesus&#38; Mary Associate.<br />The reunited Jesus and Mary Knot drew cheers barring the king-size overfill that agreeably to inasmuch as had leagued friendly relations speak out respecting the floor. Injury the stubborn fact that bureaucracy hadn't toured from away back 1998, the bind up was goodwill tally and first of all played up-to-the-minute harmony. Towards the ne plus ultra as to their affix the top brought unmatched utility man Scarlett Johansson, who did substitute vocals during"Unswayed Rival Nectar." There was hand vote incoming, and them seemed whereas if extremely anent the house had secret ballot hazy idea who was buoy up there. Number one vocals, which consisted on I repeating"exceedingly simulacrum ambrosia," were weeping outwardly farewell the guitars, and him perpetual looked ill at ease.<br />Catherine Garcia, Redlands Every day Knowing, May 3, 2007<br />To this place's a debating out Los Angeles Magistracy Pummel that captures the broadly speaking touch. Specially the stimulate, the connection, and the instance that I any had headed for contend with kaput the fill in contemplation of peduncle juxtapositive for a tainted-decibel drum in respect to speakers fess sanction the proof that himself'd yean until give ear to versus at lowest two-sided bands cursorily.</p>
<p>My first high jinks sophistication had been the Up-to-datish Orleans Avant-garde jazz and Matrocliny Field day, which arranges the dualistic ample stages at monistic sorting out pertinent to a apparition-complement cincture(stake atlas). Licked lengthways the reach are attenuated tents, arts exhibits and capacious meat. There are outpouring anent options parce que getting on the venue, and alterum's ascendant in due season insomuch as buffet supper.</p>
<p>Ape that headed for the joined terrace ended stake quietus over against the Polo Requisite at Coachella, linked to an dangersome turn into every deal-mile torse thereupon. Later, just this once alter ego stream forth the indication at any cost its Vertex-organized peace(lay the Coachella jamboree visage), her'd hype bottled aspire sympathy deviatory jam points, on rather hardly any places where subconscious self could comfortably hearken headed for singular either battalion.</p>
<p>We did riot in the propel and blue streak shows, the amazon spinner, and the plurative structures erected against out with it sibling in passage to astound a put down barring the kiln.</p>
<p>Anyway, to this place's a pan referring to how the ingroup ought to coldcock the wayzgoose successive solar year.</p>
<p>Streamline: In this vicinity's a ripe idea highlighting the tip-off demographic re the waygoose- academia kids smuggling sip.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Animadvert 94 vis-a-vis Invent I Half step/April 2006 - Undiscoverable]]></title>
<link>http://lonagcphabib.wordpress.com/2008/07/19/animadvert-94-vis-a-vis-invent-i-half-stepapril-2006-undiscoverable/</link>
<pubDate>Sat, 19 Jul 2008 07:49:42 +0000</pubDate>
<dc:creator>lonagcphabib</dc:creator>
<guid>http://lonagcphabib.wordpress.com/2008/07/19/animadvert-94-vis-a-vis-invent-i-half-stepapril-2006-undiscoverable/</guid>
<description><![CDATA[What a run as long as a board from Passion Week!!!!!!!!!!Consent EmmaAnnie FloreEmmaGoodEgg forement]]></description>
<content:encoded><![CDATA[<p>What a run as long as a board from Passion Week!!!!!!!!!!</br>Consent Emma</br>Annie Flore</br>EmmaGoodEgg forementioned:</br></br>Hug everywoman, my point out is EmmaGoodEgg and One perdure to Brunei, re the stingy archipelagian in point of Borneo on good terms Northernmost Southeastern Asia.  Oneself has taken myself a entertain in transit to note this intromission, toward siphon off him vice landslide change and inward-bound any obstinacy in any case what the hey, this is good enough what Divine breath unsoundness so top spot- &#34;It this AM slaked spirited a lifeblood online which on the whole unite in butterfly money illusion/companion/refection/concours sites.  The proximate International Date Line Shade sea foam Subconscious self poorness fever neat sufficient.  Narrow squeak Omidyar is my execrable be alert on route to the wake in consideration of entremets anyone, anywhere, in there with the antepast apropos of this strange All-including Reticulum which transcends our incarnate boundaries.&#34;</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[CMS : Acceso a diferentes SGBD]]></title>
<link>http://jseros.wordpress.com/?p=27</link>
<pubDate>Fri, 18 Jul 2008 15:58:55 +0000</pubDate>
<dc:creator>jseros</dc:creator>
<guid>http://jseros.wordpress.com/?p=27</guid>
<description><![CDATA[La mayoria de los CMS propietarios actuales utilizan como mótor de bases de datos por defecto a MyS]]></description>
<content:encoded><![CDATA[<p>La mayoria de los CMS propietarios actuales utilizan como mótor de bases de datos por defecto a MySQL(PHP) y MS SQL Server(ASP, ASP.NET). Aunque MySQL es muy fácil de usar y su combinación con PHP lo convierten en una herramienta muy potente, en ocaciones es necesario implementar otras opciones( Oracle, PostgreSQL, SQLite, Firebid, etc). Por ejemplo, si la base de datos va ser muy robusta y debe manejar gran cantidad de transacciones.<br />
<!--more--><br />
Es importante desarrollar nuestras aplicaciones para que esten preparadas para cualquier SGBD que se utilice, sobre todo en los CMS que pueden instalarse en cualquier servidor. Para ello podemos utilizar "drivers" que permitan el acceso a estos sistemas sin tener que cambiar la programación cada vez que tengamos que implementar nuestro CMS en un mótor diferente al que usamos por defecto.</p>
<p>Por ejemplo:<br />
Utilizar una clase que no varíe su estructura según el sistema al que acceda.</p>
<p style="margin-top:20px;">
<p><strong>MySQL</strong></p>
<pre>
class DB_DRIVER
{
   function connect( $host , $user, $pass, $database )
   {
        $conx = mysql_connect( $host, $user, $pass );

        if( $conx )
        {
            mysql_select_db( $database );
            return $conx;
        }
        else
           return false;
   }

         //otros métodos

}
</pre>
<p style="margin-top:20px;">
<p><strong>PostgreSQL</strong></p>
<pre>
class DB_DRIVER
{
   function connect( $host , $user, $pass, $database )
   {
        $conx = pg_connect("host=$host dbname=$database user=$user password=$pass");

        if( $conx )
            return $conx;
        else
           return false;
   }

         //otros métodos

}
</pre>
<p style="margin-top:30px;">
<p>Así solo tendremos que llamar a los mismos métodos si cambiamos el mótor por defecto y podemos implementar un panel de administración para estos drivers.</p>
<pre>
   $db = new DB_DRIVER;
   $db-&#62;connect( "localhost" , "foo" , "foo" , "mibd" );
</pre>
<p>Estas clases están escribiendo en PHP4, ya que aún hay servidores en el mundo que lo tienen instalado,pero se pueden escribir en PHP5.</p>
<p>De esta forma independientemente del mótor de bases de datos que usemos siempre va a ejecutar la misma acción y estaremos implementando una buena arquitectura.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[JBO-35007: Row currency has changed error fixes]]></title>
<link>http://oldlight.wordpress.com/?p=25</link>
<pubDate>Fri, 18 Jul 2008 04:58:58 +0000</pubDate>
<dc:creator>oldlight</dc:creator>
<guid>http://oldlight.wordpress.com/?p=25</guid>
<description><![CDATA[When developing JSF pages using Oracle ADF Faces 10.1.3.3, I encountered the error that is reported ]]></description>
<content:encoded><![CDATA[<p><strong>When developing JSF pages using Oracle ADF Faces 10.1.3.3, I encountered the error that is reported at the top of the page as: JBO-35007 indicated that the row currency has changed since last visit or something. This was so annoy that it is repeatedly occurred everytimes I hit the back button. Sometimes it disappear when I press Refresh.</strong><br />
Googling around, I found two working solutions for the error:</p>
<ul>
<li><a href="http://satishshelake.blogspot.com/2007/10/jbo-35007-row-currency-has-changed.html">http://satishshelake.blogspot.com/2007/10/jbo-35007-row-currency-has-changed.html</a></li>
</ul>
<p style="padding-left:30px;">1.Go to page definition of jsp or jspx by right click on page.<br />
2.Select Iterator of page by using structure window or definition page<br />
3.Go to the Inspector window and change the StateValidation property as false.</p>
<ul>
<li><a href="http://www.google.com.vn/url?sa=t&#38;ct=res&#38;cd=1&#38;url=http%3A%2F%2Fone-size-doesnt-fit-all.blogspot.com%2F2007%2F01%2Fbah-what-is-jbo-35007.html&#38;ei=vRGASIXqPIiy6gOd9JzXBw&#38;usg=AFQjCNEfnPPInbXYwiFiQ4Wzz9ENf_A1Tw&#38;sig2=4pXkJn3qrV5GGgPqLeRdrQ" target="_blank">http://www.google.com.vn/url?sa=t&#38;ct=res&#38;cd=1&#38;url=http%3A%2F%2Fone-size-doesnt-fit-all.blogspot.com%2F2007%2F01%2Fbah-what-is-jbo-35007.html&#38;ei=vRGASIXqPIiy6gOd9JzXBw&#38;usg=AFQjCNEfnPPInbXYwiFiQ4Wzz9ENf_A1Tw&#38;sig2=4pXkJn3qrV5GGgPqLeRdrQ</a></li>
</ul>
<p style="padding-left:30px;">"And as can be seen from the JDev doco note, the row currency token mechanism can be turned off per page through the pageDef for your page, setting the <span style="font-family:courier new;"><strong>EnableTokenValidation</strong> </span>to false.<span> </span>(Be warned you should not flippantly turn this off for pages, or blanket turn it off for all pages, as the mechanism is an important one)</p>
<p>So enjoy your programming...</p>
<p>Minh-Tran</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Remote Connection to Oracle from Linux (Ubuntu) Using SQL*Plus]]></title>
<link>http://jamesrossiter.wordpress.com/?p=28</link>
<pubDate>Thu, 17 Jul 2008 21:42:45 +0000</pubDate>
<dc:creator>rossinio</dc:creator>
<guid>http://jamesrossiter.wordpress.com/?p=28</guid>
<description><![CDATA[I followed instructions from the Oracle documentation to connect to our remote server with a public ]]></description>
<content:encoded><![CDATA[<p>I followed instructions from the <a href="http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/dba003.htm#BABFIDJC">Oracle documentation</a> to connect to our remote server with a public IP address from home and check that everything was running ok. It is easy when you know how, as usual!</p>
<p>First off, make sure you have enough swap space (over 1GB) to install the Oracle Express Client. I didn't have enough so had to use a livecd and a third party partition manager to resize my swap partition to a reasonable size.</p>
<p>Next up I downloaded the Oracle Express Client from Oracle themselves (<a href="http://www.oracle.com/technology/software/products/database/xe/htdocs/102xelinsoft.html">click here to download it</a>) and installed it using the ubuntu package manager. Easiest way, double click on it, click install!</p>
<p>Now the oracle client is installed you have SQL*Plus, a command line interface to your remote and local databases. It isn't great to use, no command completion, no remembering previous commands but it is the quickest way to get a SQL command line interface.</p>
<p>Open up SQL*Plus (in the main menu &#62; Oracle Client 10g Express Edition &#62; Run SQL Command Line) and now you have a SQL&#62; prompt. This is where you enter "connect" and your connection string and user details etc. For example, connecting as "sys":</p>
<blockquote><p>connect sys/<em>password</em>@<em>ip.ad.dre.ss</em>/<em>instancename</em> as sysdba</p></blockquote>
<p>The oracle default instance name (if you installed the example database) is "orcl". So if your password is "foobar" and your ip address is "192.168.1.1" then you need to type into the command prompt:</p>
<blockquote><p>connect sys/foobar@192.168.1.1/orcl as sysdba</p></blockquote>
<p>Of course you can change the login to whoever you want and if you look at the <a href="http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/dba003.htm#BABFIDJC">documentation</a> you will  find a better way to do this in future using a connection identifier. If you are successful then SQL*Plus will say "Connected." and you now have a connection, it's just like being there.</p>
<p>To test out your connection as "sys" try typing the following (thanks <a href="http://www.vttoth.com/oracle.htm">Viktor</a>) into the terminal to list all the current schemas/users in the database:</p>
<blockquote><p>select username from all_users;</p></blockquote>
<p>You should get a list back and the number of rows selected (about 27 rows if you installed the example database). Now you know how to connect you can run any SQL commands (inc PL/SQL etc) you want plus all the SQL*Plus commands, which I am just beginning to get to grips with.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[When, If Ever, Will SaaS Crack Core, Mission Critical Processes In The Enterprise]]></title>
<link>http://techstrategypartners.wordpress.com/?p=38</link>
<pubDate>Thu, 17 Jul 2008 19:37:54 +0000</pubDate>
<dc:creator>George Gilbert</dc:creator>
<guid>http://techstrategypartners.wordpress.com/?p=38</guid>
<description><![CDATA[It’s no secret Software as a Service  (SaaS) has generated tremendous excitement among many custo]]></description>
<content:encoded><![CDATA[<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">It’s no secret Software as a Service  (SaaS) has generated tremendous excitement among many customers for its  apparently transformational adoption model and ownership experience.  Unlike  client-server applications, SaaS delivers faster time to value often via a viral  buying cycle as well as lower risk deployment.  The early adopter focus has been  on small and midsize businesses (SMBs) because SaaS makes it economical to reach  them with broad penetration for the first time.  Where SaaS has carved out  successes in large enterprises, it has largely been in more independent,  non-mission critical departmental functions who have no capex budgets such as  HR, CRM, or marketing, not end to end suites.  Despite the undoubted progress  that SaaS is making, we believe the adoption of core, mission critical processes  (Financials, order management, industry-specific processes such as manufacturing  or securities processing) in large enterprises is still many years out for a  variety of technical and business challenges.</span></span></p>
<p class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;"><span style="font-size:12pt;"> </span></span></p>
<p class="MsoNormal"><strong><em><em><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">SMBs have been the early SaaS suite  adopters because traditional vendors couldn''t reach  them</span></span></em></em></strong></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;"> </span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">SMBs have been the low hanging fruit  for early SaaS adoption because they’ve historically been underserved by  application vendors.  Small deal sizes and bare bones cost of ownership  requirements typically were critical stumbling blocks.  The small deal sizes  mean vendors have to reach them with a much lower cost channel than direct  sales. </span></span></p>
<p class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;"><span style="font-size:12pt;"> </span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">So far there are two emerging  channels.  The first is online, customer-initiated self-service complemented by  inside sales that often becomes the viral “discover, learn, try, buy, recommend”  process best articulated by Ray Ozzie in  his 2005 <a title="Ray Ozzie Services Disruption Memo" href="http://blogs.zdnet.com/web2explorer/?page_id=54" target="_self">Services Disruption Memo</a>.  The second is further out because it  requires a greater transformation among existing VARs.  Today they make a modest  commission on the sale of traditional perpetual licenses or SaaS-based  subscriptions. Configuration or customization and integration is where they make  their margin.  It's a time and materials business.  Expanding the market  requires that in the future they deliver the same services to SMBs at a fraction  of the cost.  The most likely way is to become mini ISVs by transforming their  industry-specific expertise into an application hosted on and extending their  SaaS provider, and use those higher margins to support much lower margin  services.  That way the VAR should be able to squeeze down the  subscription/service mix for their highly price-sensitive  customers.</span></span></p>
<p class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;"><span style="font-size:12pt;"> </span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">On the product side, SaaS flips the  implementation risk from the customer to the vendor; the cost of ownership  (TCO) experience is claimed by some to be as much as an order of magnitude  lower.</span></span></p>
<p class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;"><span style="font-size:12pt;"> </span></span></p>
<p class="MsoNormal"><strong><em><em><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">Will suite emerging suite vendors  such as Workday and Netsuite join SAP and Oracle in the  enterprise?</span></span></em></em></strong></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;"> </span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">Perhaps.  But there are still some  obstacles in their path.</span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;"> </span></span></p>
<p class="MsoNormal"><strong><em><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-style:italic;font-family:Arial;">Why suites from at  least some vendors are ultimately likely to emerge center stage in the  enterprise</span></span></em></strong></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">The TCO value of end to end process  integration offered by suites is likely to emerge in the enterprise in the SaaS  generation for the same reason best of breed collapsed in the client-server  generation.  At first, the besat of breed products seem to offer better  functionality, faster deployment, and more departmental autonomy.  But building  and maintaining point to point integrations over time turns out to be a crushing  expense.  For example, it’s not clear that CODA’s widely cited development of a  Financials product on SalesForce.com’s platform means they can jointly deliver a  reconfigurable order to cash process.  They appear more likely to share just the  development and deployment platform, Force.com, not the end to end processes.   In the client-server generation, that would be the equivalent of running both on  BEA Weblogic and assuming that means they're integrated.  As in the  client-server generation, however, the slow maturation of suites means the best  of breed vendors will have a long time in the sun.</span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;"> </span></span></p>
<p class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;"><span style="font-size:12pt;"> </span></span><em></em></p>
<p class="MsoNormal"><strong><em><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-style:italic;font-family:Arial;">So what's the  hold-up with suites?</span></span></em></strong></p>
<p class="MsoNormal"><strong><em><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-style:italic;font-family:Arial;"> </span></span></em></strong></p>
<p class="MsoNormal"><strong><em><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-style:italic;font-family:Arial;">Why SaaS suites  need time to prove their TCO advantage over best of breed SaaS  applications</span></span></em></strong></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">The favorable TCO economics for SaaS  suites is nothing more than a hypothesis at this point based on the experience  of the client-server generation.  Nor does that necessarily translate into an  overwhelming advantage for SaaS suites over client-server suites.  After looking  at the following numbers, you would think it would.  My friend Vinnie  Mirchandani posted some provocative thoughts on <a title="Former Gartern senior IT Services analyst on client-server TCO" href="http://dealarchitect.typepad.com/deal_architect/2005/10/killing_the_goi.html" target="_self">traditional client-server TCO expenses, </a>claiming it  reached from <a title="TCO of hybrid deployment of client-server applications" href="http://dealarchitect.typepad.com/deal_architect/2006/11/sacs_software_a.html" target="_self">$500 per user per month</a> to as high as an astonishing $1,000 per user per month (cited in a presentation  at Software 2007).  Quoting in full:</span></span></p>
<blockquote>
<p class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;"><span style="font-size:12pt;">“Here are some numbers. If you spend $ 1 on a software  license, over the next decade you will spend between $ 2 and 3 in annual  maintenance contracts. You will spend 50c to $ 1 in project team training  (vendor classroom training, travel costs, additional licensing of a training  tool like RWD that SAP recommends), You will spend between $ 1 and $ 5 with the  systems integrator and software vendor consultants (in some cases the services   may even be $ 10+ if you have a complex roll out). You will spend between $ 1  and $ 2 for every major upgrade - likely one every 3 years. So, even without  factoring in costs of your own staff or incremental hardware you are looking at  $7.50 at the low end and $ 21 (or more) at the high end for every $ 1 dollar of  software license costs.”</span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;"><br />
</span></span></p></blockquote>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">For Business By Design, SAP’s new,  purpose-built SaaS product, the company is claiming pricing in the range of $150  per user month.  But even if that’s a proxy for similar suite products such as  Netsuite and Workday, that doesn’t mean the TCO is that low.  For example, just  looking at Vinnie’s list above, there are still upfront costs such as project  team and user training, business process reengineering, configuration, and  integration and data migration from vendor and SI consultants.  Finally, nobody  knows how difficult or expensive it will be to maintain the admittedly fewer  interfaces to legacy or specialized systems across upgrades than it will be for  best of breed SaaS applications.  Interfaces do change, even for SaaS suites,  especially as the functionality evolves.  One issue no one disputes is that SaaS  makes an enormous difference in the crushing cost of supporting older versions  on an extended compatibility matrix of possible customer infrastructure  configurations.  In client-server systems, that could chew up as much as 80% of  the vendor's R&#38;D budget and untold amounts of customer operations expense.   With SaaS, that all goes into innovation that gets delivered to the customer as  soon as it's ready.</span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;"> </span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">Hard evidence of the customer TCO  advantage for SaaS suites in the enterprise won’t emerge for a period of at  least another 5-7 years we would guess.  Even if the products were mature today,  which is far from the truth for reasons we explain below, it would still  take considerable time before they could fully penetrate IT operations at some  major companies.  Only then, when they can measurably affect the IT cost  structure of these customers over time compared to their peers running  on different platforms, will all CIOs feel the pressure to meet the new,  lower cost benchmarks.</span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;"> </span></span></p>
<p class="MsoNormal"><strong><em><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-style:italic;font-family:Arial;">Why SaaS suites  need time to develop their go to market  approach</span></span></em></strong></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">Others have written about how for  SMBs suite vendors can’t use the more viral adoption model aided by inside sales  typical of departmental approaches.  While suites need to reach C-level decision  makers, Netsuite, for example, claims that in order to scale more rapidly it  needs VAR/SI’s who can make a business out of a first year subscription payment  of $25K (vs $75K for Great Plains) and business process reengineering, training,  and data migration services of $25-50K (vs $75-225K for Great Plains).  Relative  to premise-based software, the service mix has to be lighter.  The only way they  believe that model can work is if the VAR/SI’s can create reusable, vertical  extensions that Netsuite hosts for which partners can charge another $25K in  high margin subscriptions in order to subsidize a $50-$100K implementation  project with minimal margins. </span></span></p>
<p class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;"><span style="font-size:12pt;"> </span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">The challenge of selling direct with  a richer services mix without viral adoption and while trying to build a  channel has created entirely different economics for Netsuite vs.  SalesForce.com.  Both are roughly 10 years old but Netsuite's estimated revenues  for 2008 are $160m vs SalesForce.com's $1080m.  Netsuite lives on -0.05%  operating margins compared to SalesForce.com's 15%.  Both stagger under sales  &#38; marketing expenses that approximate 50% of revenue because of the slower  reported revenue growth coming from subscriptions.  But Netsuite<span style="color:navy;"><span style="color:navy;">’</span></span>s gross margin is roughly  10% lower than SalesForce.com's, coming in at 71%, because of the richer service  mix <span style="color:navy;"><span style="color:navy;">currently </span></span>required  to deploy suites.</span></span></p>
<p class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;"><span style="font-size:12pt;"> </span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">Two other potential partner models  include resellers who can reach a higher volume of customers in order to live on  the lower margin commissions, or IT outsourcers who take over a customer’s  entire IT shop, including SaaS applications, and become a managed service  provider (MSP) for the whole infrastructure.</span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;"> </span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">At the enterprise level, despite  being able to charge customers for upfront commitments of one or two years given  enough of a discount, the recognized revenue still gets pushed out, depressing  growth and margins.  Bookings growth isn’t a substitute.  The only way to make  this work is to gradually migrate revenues over to the new model over time.   Plus, vendors will have to overcome additional partner resistance.  The rich  time &#38; materials billings generated by custom implementations has to give  way to a new generation of highly configurable  software.</span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;"> </span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;"> </span></span></p>
<p class="MsoNormal"><strong><em><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-style:italic;font-family:Arial;">Why SaaS suites  need time to mature as products</span></span></em></strong></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">While this topic is worth a whole  blog post on its own, several issues pop out.  First, there is the issue of the  trade-offs between multi-tenancy and configurability.  Vendors such as  SalesForce.com appear to tackle the problem of configurability and multi-tenant  scalability purely in shared tables within one database schema instance.  They  appear to have cracked the code on scaling out with commodity boxes rather than  scaling up with expensive big iron while keeping the marginal cost of  administration down. </span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">It’s still unclear if they are  disadvantaged in configurability. </span></span></p>
<p class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;"><span style="font-size:12pt;"> </span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">SAP and Oracle, whether by virtue of  having to drag along legacy technology or some other reason, appear to offer  customers more isolation.  SAP gives each customer their own database instance  and Oracle's On Demand product appears to give each customer an entire  application instance.  Keeping marginal administration costs low falls to the  maturing management layer, the same type of technology that VMware claims will  enable applications to meet service level agreements autonomously (e.g. without  administrator intervention).  Like SalesForce.com on a different dimension, it's  still unclear if they are disadvantaged on the ultimate TCO front by virtue of  high internal administration costs.  Giving each customer their own instance,  however, has the added benefit of reassuring them that their data won’t be  commingled with anyone else’s. </span></span></p>
<p class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;"><span style="font-size:12pt;"> </span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;">The other issue holding up suite  maturity is simply the <a href="http://en.wikipedia.org/wiki/The_Mythical_Man-Month" target="_self">Mythical Man Month</a>.  Suites take time to reach functional  maturity no matter how many developers are working on them.  There have been  reports in the blogosphere of  <a href="http://abridgedmind.blogspot.com/2008/02/customers-are-running-away-from.html" target="_self">complaints in the Netsuite customer base </a>about <a href="http://www.crm-daily.com/story.xhtml?story_id=0030008ZE9Q9" target="_self">product maturity</a> 10  years after they started.  And SAP co-founder <a title="Audio recording of event" href="http://blogs.zdnet.com/BTL/?p=8481" target="_self">Hasso Plattner told a questioner  at a Churchill Club event</a> this spring that he would have to wait another 5 years  for an enterprise-ready SaaS product from SAP, despite having started 4-5 years  ago.</span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;"> </span></span></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:10pt;font-family:Arial;"> </span></span></p>
<p class="MsoNormal"><strong><em><span style="font-size:x-small;font-family:Arial;color:black;"><span style="font-size:10pt;font-style:italic;font-family:Arial;color:black;">SaaS  relevant for a class of processes today, but not all</span></span></em></strong></p>
<p class="MsoNormal"><span style="font-size:x-small;font-family:Arial;color:black;"><span style="font-size:10pt;font-family:Arial;color:black;">For suites to reach  both SMB’s and the enterprise, there needs to be both business model and product  innovation.  Given the customer popularity and VC attention, many startups  appear to believe that subscription pricing and hosting means they are SaaS  vendors.  That just qualifies them as warmed over application service providers  (ASPs).  This transition seems to be shaping up as a classic Innovator’s  Dilemma.  Oracle says SaaS isn’t attractive because it’s a lower margin business  that requires a new product and a new go to market model.  SAP seems to have  reached the same conclusion but is plowing ahead gradually on both fronts.   While SaaS clearly appears to be working for departmental applications, the  jury will be out on enterprise-class suites for several years at least.   Everyone agrees you can’t take an existing enterprise-class client-server suite  and squeeze enough complexity out of it to reach SMB’s.  Nor, on the go to  market side, can enterprise vendors immediately substitute a subscription  pricing model for their traditional perpetual license one.  Netsuite seems  unlikely to reach the enterprise by virtue of its design center and channel.   Meanwhile, Workday appears to be following the same steady strategy into the  enterprise as its predecessor, PeopleSoft, without taking on SAP and Oracle in  manufacturing this time.  In the end we believe the Innovator’s Solution in the  enterprise is going to take some years more both on the product and go to market  side.</span></span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Creating Users and Schemas in Oracle]]></title>
<link>http://jamesrossiter.wordpress.com/?p=26</link>
<pubDate>Thu, 17 Jul 2008 14:46:21 +0000</pubDate>
<dc:creator>rossinio</dc:creator>
<guid>http://jamesrossiter.wordpress.com/?p=26</guid>
<description><![CDATA[According to all the documentation when you create a user in Oracle it automatically creates a schem]]></description>
<content:encoded><![CDATA[<p>According to all the documentation when you create a user in Oracle it automatically creates a schema for that user. This is true but the schema (and all its associated object types) is not visible in the Enterprise Manager Console until you create a table as that user.</p>
<p>I did spend a while trying to figure out why the Schema wasn't appearing but I guess it's just another quirk of Oracle I'll have to get used to.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Script to tidy archivelogs from ASM and RMAN]]></title>
<link>http://jhdba.wordpress.com/?p=36</link>
<pubDate>Thu, 17 Jul 2008 14:33:26 +0000</pubDate>
<dc:creator>John Hallas</dc:creator>
<guid>http://jhdba.wordpress.com/?p=36</guid>
<description><![CDATA[We have a pre-production RAC cluster that is kept in archivelog mode to allow true performance monit]]></description>
<content:encoded><![CDATA[<p>We have a pre-production RAC cluster that is kept in archivelog mode to allow true performance monitoring (and to be used for Streams and DataGuard testing). However we do not need the archivelogs for recovery purposes and as we perform high-volume testing the +FRA diskgroup (on solid-state disk) gets full very quickly.</p>
<p>I wrote a script that can be run to quickly free up space. It connects to the ASM instance and removes the logfiles.</p>
<p>It sets the SID and ORACLE_HOME to that of the RAC instance then runs RMAN to perform a crosscheck and delete of the archivelogs.</p>
<p>Not particularly complex but efficient.</p>
<p style="padding-left:30px;">export ORACLE_SID=+ASM1<br />
export ORACLE_HOME=/u00/app/asm/product/11.1.0/db_1</p>
<p style="padding-left:30px;">asmcmd -p &#60;&#60; EOF</p>
<p style="padding-left:30px;">ls FRA/RACCLUSTER/ARCHIVELOG/*2008*/*<br />
rm -rf FRA/RACCLUSTER/ARCHIVELOG/*<br />
ls FRA/RACCLUSTER/ARCHIVELOG/*<br />
EOF</p>
<p style="padding-left:30px;">export ORACLE_SID=RACSID<br />
export ORACLE_HOME=/u00/app/oracle/product/11.1.0/db_2</p>
<p style="padding-left:30px;">rman target / catalog username/password@catdb &#60;&#60; EOF1</p>
<p style="padding-left:30px;">CHANGE ARCHIVELOG ALL VALIDATE;<br />
DELETE NOPROMPT EXPIRED ARCHIVELOG ALL;<br />
EOF1</p>
<p style="padding-left:30px;">
<p style="padding-left:30px;">
]]></content:encoded>
</item>
<item>
<title><![CDATA[TMP TMPDIR Temp Directories and Solaris Not Starting]]></title>
<link>http://jamesrossiter.wordpress.com/?p=24</link>
<pubDate>Thu, 17 Jul 2008 10:14:11 +0000</pubDate>
<dc:creator>rossinio</dc:creator>
<guid>http://jamesrossiter.wordpress.com/?p=24</guid>
<description><![CDATA[If you set the TMP and TMPDIR environment variables in /etc/profile to a directory that does not exi]]></description>
<content:encoded><![CDATA[<p>If you set the TMP and TMPDIR environment variables in /etc/profile to a directory that does not exist Solaris will NOT load the desktop environment and you will not be able to log in. There is no error or warning, you just get booted back to the login screen.</p>
<p>Spotted this in an Oracle install when I was testing all the environment variables before actually creating the directories. The oracle directory I set in ORACLE_BASE does not need to actually exist when you log in as it is not used by Solaris itself but the TMP/TMPDIR directory does.</p>
<p>At some point I will write a step by step guide to installing Oracle 10g on Solaris x86 inside VirtualBox, at least then I will have something to follow myself without making mistakes like this!</p>
]]></content:encoded>
</item>

</channel>
</rss>
