<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6307381106435989970</id><updated>2024-09-15T19:56:50.020-04:00</updated><category term="SQL"/><category term="DBA"/><category term="peoplesoft"/><category term="database"/><category term="oracle"/><category term="AE"/><category term="Real estate"/><category term="TRADE"/><category term="credit card"/><category term="optimizer"/><category term="performance"/><category term="Application Engine"/><category term="CPU"/><category term="HASHvalue"/><category term="PUT"/><category term="RENT"/><category term="RSI"/><category term="condo fee"/><category term="debt"/><category term="execution plan"/><category term="expenses"/><category term="explain plan"/><category term="index"/><category term="insert"/><category term="mortgage"/><category term="options"/><category term="process scheduler"/><category term="property tax"/><category term="stocks"/><category term="52wk high"/><category term="AAPL ISRG"/><category term="ALT"/><category term="ALT key"/><category term="Array Fetch Size"/><category term="Brokerage"/><category term="CMG"/><category term="Call"/><category term="Campus solution"/><category term="Campus solutions peoplesoft xml publisher transcript template xsl"/><category term="Controller"/><category term="Covered Calls"/><category term="DMA"/><category term="DMA AAPL resistance support apple"/><category term="DML Parallel Trigger Referential integrity constraint  INSERT DELETE UPDATE"/><category term="EMA"/><category term="ERP"/><category term="Enrollment"/><category term="FIRST_ROWS"/><category term="Firewall"/><category term="Full table scan"/><category term="Generator"/><category term="Goog"/><category term="HCM"/><category term="House"/><category term="Investing"/><category term="KEy"/><category term="Load Runner"/><category term="Load controller load generator site scope memory cpu vusers vugen"/><category term="MACD"/><category term="MDVN"/><category term="Medivation"/><category term="Memory"/><category term="OLTP"/><category term="Oracle Database"/><category term="Oracle optimizer Cost index range scan full table scan cardinality nested loop hash joins leaf_blocks clustering_factor"/><category term="PUBSUB"/><category term="Peoplesof"/><category term="Peoplesoft conversion gather statistics dba_tables updatestats slow data conversion"/><category term="Peopletools"/><category term="Process instance"/><category term="Query"/><category term="ReUse statement"/><category term="Resistance"/><category term="SACR"/><category term="SQL Developer"/><category term="Sanofi"/><category term="Service operations monitor"/><category term="Slow insert"/><category term="Statistics"/><category term="Stock"/><category term="Support"/><category term="TOAD"/><category term="Technical indicators"/><category term="Tuxedo Trace txrpt load balance psappsrv ubx CLOPT ICPanel ICScript"/><category term="Xtandi"/><category term="after tax"/><category term="air fare"/><category term="annual fee"/><category term="annual return"/><category term="application designer"/><category term="architecure"/><category term="batch"/><category term="batch server"/><category term="bear"/><category term="biotech"/><category term="blog"/><category term="bond"/><category term="bull"/><category term="buyout"/><category term="commit"/><category term="compilled"/><category term="continental"/><category term="conversion"/><category term="correction"/><category term="costing"/><category term="credit"/><category term="data Conversion"/><category term="database server"/><category term="db file scattered read"/><category term="delete"/><category term="developer"/><category term="domain"/><category term="down payment"/><category term="drop"/><category term="earnings"/><category term="equities"/><category term="fear"/><category term="finance"/><category term="financial independence"/><category term="foreclosure"/><category term="google"/><category term="greed"/><category term="growth"/><category term="growth stock"/><category term="hoa fee"/><category term="income tax"/><category term="index scan"/><category term="interest charges"/><category term="keys"/><category term="latch"/><category term="late fees"/><category term="legacy"/><category term="long running sql"/><category term="loop holes"/><category term="miles"/><category term="needs and wants"/><category term="own vs rent"/><category term="paid off"/><category term="parsed"/><category term="points"/><category term="poor database performance"/><category term="portfolio"/><category term="processes"/><category term="profit"/><category term="property"/><category term="prstat"/><category term="reduce income"/><category term="rental"/><category term="round trip"/><category term="row level security"/><category term="running slow"/><category term="schedule of class"/><category term="secured PUT"/><category term="sequential read"/><category term="session"/><category term="shared pool"/><category term="short"/><category term="spending"/><category term="sql running slow"/><category term="staging tables"/><category term="stock chart"/><category term="student admissions"/><category term="student financials"/><category term="t Verity Job Index"/><category term="table"/><category term="tax bracket"/><category term="taxable earnings"/><category term="taxes"/><category term="too many processes"/><category term="update"/><category term="wait events"/><category term="web server"/><title type='text'>Let&#39;s talk Finance and Technology</title><subtitle type='html'>This blog is an attempt to share technical challenges, tips and some insights into investing and managing your finances.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gupta-munish.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://gupta-munish.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18436111632226504467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>39</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6307381106435989970.post-2456044625522330997</id><published>2016-04-13T23:40:00.000-04:00</published><updated>2016-04-13T23:40:29.178-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="biotech"/><category scheme="http://www.blogger.com/atom/ns#" term="buyout"/><category scheme="http://www.blogger.com/atom/ns#" term="MDVN"/><category scheme="http://www.blogger.com/atom/ns#" term="Medivation"/><category scheme="http://www.blogger.com/atom/ns#" term="Sanofi"/><category scheme="http://www.blogger.com/atom/ns#" term="Xtandi"/><title type='text'>Medivation(MDVN)  - Red hot Biotech</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
By this time, it is a stale news that MDVN rocketed higher and it is becoming a takeover target.&lt;br /&gt;
&lt;br /&gt;
Bloomberg reported that Sanofi is interested in buying MDVN for an undisclosed price/share for synergies.&lt;br /&gt;
&lt;br /&gt;
There is a interesting OPTION activity for the week ending 04/15.&lt;br /&gt;
&lt;br /&gt;
Option volume is pretty volume for MDVN. However, for strike price of $43 and $50, there is a Open Interest in excess of 6000 call options. Looking at options data helps sometimes figure out where there might be some action expected&lt;br /&gt;
&lt;br /&gt;
MDVN close FY2015 at $48.34 and today it closed at $49.37 after a buyout offer. MDVN had a run up to $50 on Apr 07, 2016 as well but failed and gave back all the gains until today.&lt;br /&gt;
If it does have a weekly close above $50, the gains are likely to continue.&lt;br /&gt;
&lt;br /&gt;
H2 2016 looks even more interesting for MDVN with expanded label for Xtandi expected in Europe.&lt;br /&gt;
&lt;br /&gt;
As it stands right now, MDVN does look attractive. This is very similar to PCYC, another biotech company, that was acquired for $20 Billion. MDVN&#39;s market cap is about $7 billion right now with similar revenue stream to PCYC before it got acquired.&lt;br /&gt;
&lt;br /&gt;
Watching for the weekly close above $50... Stay tuned...&lt;br /&gt;
&lt;br /&gt;
Disclosure: I am long MDVN.&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gupta-munish.blogspot.com/feeds/2456044625522330997/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gupta-munish.blogspot.com/2016/04/medivationmdvn-red-hot-biotech.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/2456044625522330997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/2456044625522330997'/><link rel='alternate' type='text/html' href='http://gupta-munish.blogspot.com/2016/04/medivationmdvn-red-hot-biotech.html' title='Medivation(MDVN)  - Red hot Biotech'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18436111632226504467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6307381106435989970.post-6206701470500492021</id><published>2013-08-06T10:09:00.000-04:00</published><updated>2013-08-06T10:09:24.610-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DMA AAPL resistance support apple"/><title type='text'>AAPl AAPL AAPL</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
For all those apple die hard fans, AAPL is trading near its 200-DMA. This has happened only once in the last 1 year. It tested its 200DMA only once in Dec-2012. It wasn&#39;t successful as there was not enough volume.&lt;br /&gt;
&lt;br /&gt;
Now, the optimist scenario. If AAPL succeeds in crossing the 200DMA($473) right now, with good volume(more than 1.5x average volume), this could push apple towards $500.&lt;br /&gt;
&lt;br /&gt;
This will be a significant event for the stock. All the traders and big money managers watch this DMA. Close above this 200DMA would bring in those buyers and would take apple higher in relatively short amount of time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gupta-munish.blogspot.com/feeds/6206701470500492021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gupta-munish.blogspot.com/2013/08/aapl-aapl-aapl.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/6206701470500492021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/6206701470500492021'/><link rel='alternate' type='text/html' href='http://gupta-munish.blogspot.com/2013/08/aapl-aapl-aapl.html' title='AAPl AAPL AAPL'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18436111632226504467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6307381106435989970.post-4392849398318708409</id><published>2013-08-02T13:48:00.000-04:00</published><updated>2015-07-13T23:48:32.628-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="costing"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle optimizer Cost index range scan full table scan cardinality nested loop hash joins leaf_blocks clustering_factor"/><title type='text'>Oracle Optimizer costing algorithm</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
This is my presentation on how Oracle Optimizer comes up a cost of accessing any table or any index.&lt;br /&gt;
I have also shown how the cost of any join in computed. I hope this will provide enough information for you to understand the concept and apply it to your problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://docs.google.com/file/d/0B8Datogha1MFdWVTUnNwR2lNck0/edit?usp=sharing&quot;&gt;Oracle Costing Algorithm&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
If you have any questions, feel free to leave a comment.&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gupta-munish.blogspot.com/feeds/4392849398318708409/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gupta-munish.blogspot.com/2013/08/oracle-optimizer-internals.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/4392849398318708409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/4392849398318708409'/><link rel='alternate' type='text/html' href='http://gupta-munish.blogspot.com/2013/08/oracle-optimizer-internals.html' title='Oracle Optimizer costing algorithm'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18436111632226504467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6307381106435989970.post-7994494839969527938</id><published>2012-07-04T23:37:00.001-04:00</published><updated>2012-07-04T23:37:29.315-04:00</updated><title type='text'>Peoplesoft Functional indexes</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
This is for PeopleSoft experts.&lt;br /&gt;
&lt;br /&gt;
I see a lot of functional indexes in my PeopleSoft database. This is due to the indexes created on date columns as DESC. Because of these functional indexes, full table scan is being preferred by the optimizer.&lt;br /&gt;
Is there any way to get around this problem?&lt;br /&gt;
&lt;br /&gt;
Any help is appreciated.&lt;br /&gt;
&lt;br /&gt;
Please leave your answer/comments.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gupta-munish.blogspot.com/feeds/7994494839969527938/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gupta-munish.blogspot.com/2012/07/peoplesoft-functional-indexes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/7994494839969527938'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/7994494839969527938'/><link rel='alternate' type='text/html' href='http://gupta-munish.blogspot.com/2012/07/peoplesoft-functional-indexes.html' title='Peoplesoft Functional indexes'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18436111632226504467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6307381106435989970.post-2927905872104159641</id><published>2012-07-04T23:37:00.000-04:00</published><updated>2012-07-04T23:37:06.383-04:00</updated><title type='text'>PeopleSoft: Setting up a COBOL trace</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.5pt;&quot;&gt;Goal&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 12.0pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;How to set trace on for
Application Engine, Cobol, without setting the trace in the Process Scheduler&#39;s
psprcs.cfg configuration file.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;&quot; name=&quot;FIX&quot;&gt;&lt;/a&gt;&lt;b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.5pt;&quot;&gt;Solution&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 12.0pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;For Application Engine programs,
Open the Process Definition under PeopleTools, Process Scheduler.&amp;nbsp;&amp;nbsp;Go
to the Override tab, and on the Parameter list line select Append from the
dropdown, and in the edit box next to it, enter the desired combination of
traces, they all are;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #EEF3F7;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 9pt;&quot;&gt;&lt;br /&gt;
Parameter List&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Append&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-TRACE 7
-TOOLSTRACEPC 4044&amp;nbsp;&amp;nbsp;-TOOLSTRACESQL 31&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 12.0pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Save the Definition and this program will be traced each time it is run, until
this is removed.&amp;nbsp;&amp;nbsp;Using Both the -TOOLSTRACEPC &amp;amp; -TOOLSTRACESQL
together should only be done when required, as the output from both go into the
same file, making it very large and difficult to read.&amp;nbsp;&amp;nbsp;For normal
program tracing using just the;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #EEF3F7;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 9pt;&quot;&gt;&lt;br /&gt;
-TRACE 7 -TOOLSTRACEPC 4044&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 12.0pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Give the Application Engine Trace, which traces the SQL in an Application
Engine program, and the PeopleSoft Trace, which is the pcode trace.&lt;br /&gt;
&lt;br /&gt;
The above settings have equivalent settings in psprcs.cfg, they are;&lt;br /&gt;
&lt;br /&gt;
TraceAE=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-TRACE&amp;nbsp;&amp;nbsp;output goes into Application
Engine Trace (.AET)&lt;br /&gt;
TracePC=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-TOOLSTRACEPC&amp;nbsp;&amp;nbsp;output goes into the
PeopleTools trace file (.trc)&lt;br /&gt;
TraceSQL=&amp;nbsp;&amp;nbsp;-TOOLSTRACESQL output ALSO goes into the PeopleTools trace
file (.trc)&lt;br /&gt;
&lt;br /&gt;
Again, depending on what the program is doing, most commonly use the -TRACE
&amp;amp; -TOOLSTRACEPC together. The only time I use the -TOOLSTRACESQL is when
we&#39;re looking for a problem with the psae program itself.&lt;br /&gt;
&lt;br /&gt;
For COBOL the idea is similar, we won&#39;t be appending to the parameter list
instead we&#39;ll be overriding it.&amp;nbsp;&amp;nbsp;So first step is to open the
appropriate&amp;nbsp;&amp;nbsp;Process Type Definition, example;&lt;br /&gt;
&lt;br /&gt;
Process Type: COBOL SQL&lt;br /&gt;
Operating System: NT Server&lt;br /&gt;
Database Type: Oracle&lt;br /&gt;
&lt;br /&gt;
Copy the whole parameter list line into you mouse clipboard;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #EEF3F7;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 9pt;&quot;&gt;&lt;br /&gt;
%%DBTYPE%%/%%DBNAME%%/%%OPRID%%/%%OPRPSWD%%/%%RUNCNTLID%%/%%INSTANCE%%//%%DBFLAG%%&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 12.0pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Then open the Process Definition for the particular COBOL Process, go to the
Override Tab, and on the Parameter list line, select Override from the drop
down. Then in the Parameter Edit box, paste the whole parameter list from the
Process Definition just retrieved;&lt;br /&gt;
&lt;!--[if !supportLineBreakNewLine]--&gt;&lt;br /&gt;
&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #EEF3F7;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 9pt;&quot;&gt;%%DBTYPE%%/%%DBNAME%%/%%OPRID%%/%%OPRPSWD%%/%%RUNCNTLID%%/%%INSTANCE%%//%%DBFLAG%%&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 12.0pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Notice at the end of the line after the %%INSTANCE%% and before the %%DBFLAGS%%
there are 2 forward slashes //&amp;nbsp;&amp;nbsp; Insert the desired bit map number
inbetween the slashes.&amp;nbsp;&amp;nbsp;Choose the bitmap&amp;nbsp;&amp;nbsp;number desired
for the trace, and put it between the slashes like so;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #EEF3F7;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 9pt;&quot;&gt;&lt;br /&gt;
%%DBTYPE%%/%%DBNAME%%/%%OPRID%%/%%OPRPSWD%%/%%RUNCNTLID%%/%%INSTANCE%%/255/%%DBFLAG%%&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 12.0pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Save the Process Definition and&amp;nbsp; launch the COBOL or AE program and
Navigate to the Process Monitor, Details, Parameter List, and see the expanded
command line with the trace value inserted;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #EEF3F7;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 9pt;&quot;&gt;&lt;br /&gt;
Command Line:&amp;nbsp;&lt;br /&gt;
&amp;nbsp;PSRUN PTPDBTST
ORACLE/E840D20P/VP1/%OPRPSWD%/1/475/255/%DBFLAG%&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
With both the AE &amp;amp; Cobol traces done like this, every time the program runs
it will be traced.&amp;nbsp;&amp;nbsp;Need to undo all of this setting the override
back to None in both Definitions will turn it off.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gupta-munish.blogspot.com/feeds/2927905872104159641/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gupta-munish.blogspot.com/2012/07/peoplesoft-setting-up-cobol-trace.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/2927905872104159641'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/2927905872104159641'/><link rel='alternate' type='text/html' href='http://gupta-munish.blogspot.com/2012/07/peoplesoft-setting-up-cobol-trace.html' title='PeopleSoft: Setting up a COBOL trace'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18436111632226504467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6307381106435989970.post-424380892509601704</id><published>2012-04-04T10:43:00.001-04:00</published><updated>2012-04-04T10:43:34.728-04:00</updated><title type='text'>Peoplesoft Functional indexes</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;This is for PeopleSoft experts.&lt;br /&gt;
&lt;br /&gt;
I see a lot of functional indexes in my PeopleSoft database. This is due to the indexes created on date columns as DESC. Because of these functional indexes, full table scan is being preferred by the optimizer.&lt;br /&gt;
Is there any way to get around this problem?&lt;br /&gt;
&lt;br /&gt;
Any help is appreciated.&lt;br /&gt;
&lt;br /&gt;
Please leave your answer/comments.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gupta-munish.blogspot.com/feeds/424380892509601704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gupta-munish.blogspot.com/2012/04/peoplesoft-functional-indexes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/424380892509601704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/424380892509601704'/><link rel='alternate' type='text/html' href='http://gupta-munish.blogspot.com/2012/04/peoplesoft-functional-indexes.html' title='Peoplesoft Functional indexes'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18436111632226504467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6307381106435989970.post-4582309289584140069</id><published>2012-03-19T14:19:00.000-04:00</published><updated>2012-03-19T14:19:55.064-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Load controller load generator site scope memory cpu vusers vugen"/><title type='text'>Load Generators</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Load generators are used to simulate actual users while running the load tests. Load controller contact the load generators and sends the scripts on the load generators to simulate the vusers.&lt;br /&gt;
&lt;br /&gt;
It is very important to have a few load generators to support the load. It is equally important to monitor the load generators during the performance test as it is important to monitor the IT architecture that is being load tested.&lt;br /&gt;
&lt;br /&gt;
In our scenario, the load generators were running out of the Physical memory and hence, the response time was getting impacted. You can configure site scope to monitor all the load generators in load controller itself.&lt;br /&gt;
&lt;br /&gt;
Watch for memory consumption on the load generators to make sure there is enough memory available for the vusers. CPU should not be a concern on these generators since there is no CPU intensive processing on these machines.&lt;br /&gt;
&lt;br /&gt;
Specific question, concern or comment? Please leave a note and I would be glad to respond.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gupta-munish.blogspot.com/feeds/4582309289584140069/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gupta-munish.blogspot.com/2012/03/load-generators.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/4582309289584140069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/4582309289584140069'/><link rel='alternate' type='text/html' href='http://gupta-munish.blogspot.com/2012/03/load-generators.html' title='Load Generators'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18436111632226504467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6307381106435989970.post-2004250856273122722</id><published>2012-03-19T14:11:00.000-04:00</published><updated>2012-03-19T14:11:19.382-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Campus solutions peoplesoft xml publisher transcript template xsl"/><title type='text'>PeopleSoft: Students Transcript Report</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;In Campus Solutions module from PeopleSoft applications, students as well as Advisors can run the Transcript report. In our instance, the final step, &#39;View Report&#39;, that triggers the XML publisher was taking close to 30 seconds.&lt;br /&gt;
&lt;br /&gt;
The App server log shows that 20 seconds or more out of total 30 seconds were being spent in converting the RTF template to XSL template. We removed this step by using the XSL template directly.&lt;br /&gt;
&lt;br /&gt;
Results were phenomenal. Our transcript report is now completing in 10 seconds.&lt;br /&gt;
&lt;br /&gt;
Specific questions/comments/concerns? Please leave a comment and I would gladly answer.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gupta-munish.blogspot.com/feeds/2004250856273122722/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gupta-munish.blogspot.com/2012/03/peoplesoft-students-transcript-report.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/2004250856273122722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/2004250856273122722'/><link rel='alternate' type='text/html' href='http://gupta-munish.blogspot.com/2012/03/peoplesoft-students-transcript-report.html' title='PeopleSoft: Students Transcript Report'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18436111632226504467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6307381106435989970.post-7586681270678956573</id><published>2012-03-01T09:21:00.003-05:00</published><updated>2012-03-01T09:29:06.548-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Tuxedo Trace txrpt load balance psappsrv ubx CLOPT ICPanel ICScript"/><title type='text'>PeopleSoft Tuxedo Trace</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Ever wondered how much time each service takes within the Application Server?&lt;br /&gt;
&lt;br /&gt;
Well, there is a way to get that information. Just enable the TUXEDO Service Trace for the duration of the load. Once the trace is turned off, you can use txrpt utility to get the output in a nice format summarized on an hourly basis.&lt;br /&gt;
&lt;br /&gt;
I ran a load test for about 3 hours under Tuxedo Service Trace and here is what I got from txrpt.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;SERVICE SUMMARY REPORT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SVCNAME &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 17p-18p &amp;nbsp; &amp;nbsp; 18p-19p &amp;nbsp; &amp;nbsp; 19p-20p &amp;nbsp; &amp;nbsp; 20p-21p &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TOTALS&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Num/Avg &amp;nbsp; &amp;nbsp; Num/Avg &amp;nbsp; &amp;nbsp; Num/Avg &amp;nbsp; &amp;nbsp; Num/Avg &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Num/Avg&lt;br /&gt;
--------------- -------- &amp;nbsp; &amp;nbsp;-------- &amp;nbsp; &amp;nbsp;-------- &amp;nbsp; &amp;nbsp;-------- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-------&lt;br /&gt;
ICScript &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2803/0.13 &amp;nbsp; 13708/0.14 &amp;nbsp;12907/0.14 &amp;nbsp;4202/0.14 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 33620/0.14&lt;br /&gt;
ICPanel &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1856/2.14 &amp;nbsp; 12973/1.83 &amp;nbsp;12511/1.76 &amp;nbsp;3942/1.80 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 31282/1.82&lt;br /&gt;
HomepageT &amp;nbsp; &amp;nbsp; &amp;nbsp; 306/0.06 &amp;nbsp; &amp;nbsp;1183/0.05 &amp;nbsp; 1082/0.05 &amp;nbsp; 361/0.05 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2932/0.05&lt;br /&gt;
FileAttach &amp;nbsp; &amp;nbsp; &amp;nbsp;59/0.02 &amp;nbsp; &amp;nbsp; 510/0.02 &amp;nbsp; &amp;nbsp;526/0.02 &amp;nbsp; &amp;nbsp;171/0.02 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1266/0.02&lt;br /&gt;
PortalRegistry &amp;nbsp;636/0.03 &amp;nbsp; &amp;nbsp;254/0.03 &amp;nbsp; &amp;nbsp;8/0.02 &amp;nbsp; &amp;nbsp; &amp;nbsp;1/0.02 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;899/0.03&lt;br /&gt;
GetCertificate &amp;nbsp;206/0.09 &amp;nbsp; &amp;nbsp;105/0.09 &amp;nbsp; &amp;nbsp;6/0.10 &amp;nbsp; &amp;nbsp; &amp;nbsp;214/0.02 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;531/0.06&lt;br /&gt;
KeyStore &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4/0.05 &amp;nbsp; &amp;nbsp; &amp;nbsp;0/0.00 &amp;nbsp; &amp;nbsp; &amp;nbsp;0/0.00 &amp;nbsp; &amp;nbsp; &amp;nbsp;0/0.00 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4/0.05&lt;br /&gt;
PpmMonSvc &amp;nbsp; &amp;nbsp; &amp;nbsp; 4/0.14 &amp;nbsp; &amp;nbsp; &amp;nbsp;0/0.00 &amp;nbsp; &amp;nbsp; &amp;nbsp;0/0.00 &amp;nbsp; &amp;nbsp; &amp;nbsp;0/0.00 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4/0.14&lt;br /&gt;
GetWebProfile &amp;nbsp; 2/0.41 &amp;nbsp; &amp;nbsp; &amp;nbsp;0/0.00 &amp;nbsp; &amp;nbsp; &amp;nbsp;0/0.00 &amp;nbsp; &amp;nbsp; &amp;nbsp;0/0.00 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2/0.41&lt;br /&gt;
--------------- ------- &amp;nbsp; &amp;nbsp; ------- &amp;nbsp; &amp;nbsp; ------- &amp;nbsp; &amp;nbsp; ------- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -------&lt;br /&gt;
TOTALS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5876/0.75 &amp;nbsp; 28733/0.90 &amp;nbsp;27040/0.88 &amp;nbsp;8891/0.87 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 70540/0.88&lt;br /&gt;
&lt;br /&gt;
As you can see clearly, ICPanel is the one taking the most time. This information can be used to assign LOAD factor to the above listed services and hence, it helps in LOAD BALANCING the queues to the application server process.&lt;br /&gt;
&lt;br /&gt;
Here is how we enable the tuxedo service trace.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Default Entry in PSAPPSRV.UBX file&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# PeopleSoft Application Server&lt;br /&gt;
#&lt;br /&gt;
PSAPPSRV &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SRVGRP=APPSRV&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SRVID=1&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MIN={$PSAPPSRV\Min Instances}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MAX={$PSAPPSRV\Max Instances}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RQADDR=&quot;APPQ&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; REPLYQ=Y&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CLOPT=&quot;-o \&quot;{REL_LOG}{FS}stdout\&quot; -e \&quot;{REL_LOG}{FS}stderr\&quot; {$PSAPPSRV\Spawn Server} -s@psappsrv.lst -- -D {$Domain Settings\Domain ID} -S PS&lt;br /&gt;
APPSRV&quot;&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;u&gt;Modified Entry in PSAPPSRV.UBX file&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# PeopleSoft Application Server&lt;br /&gt;
#&lt;br /&gt;
PSAPPSRV &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SRVGRP=APPSRV&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SRVID=1&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MIN={$PSAPPSRV\Min Instances}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MAX={$PSAPPSRV\Max Instances}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RQADDR=&quot;APPQ&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; REPLYQ=Y&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CLOPT=&quot;-r -o \&quot;{REL_LOG}{FS}stdout\&quot; -e \&quot;{REL_LOG}{FS}stderr\&quot; {$PSAPPSRV\Spawn Server} -s@psappsrv.lst -- -D {$Domain Settings\Domain ID} -S PS&lt;br /&gt;
APPSRV&quot;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;The only addition is &quot;-r&quot; . This flag will turn on the tuxedo service trace and can provide a great deal of information.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Have any specific questions? Please leave a comment and I would be glad to answer that.&amp;nbsp;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gupta-munish.blogspot.com/feeds/7586681270678956573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gupta-munish.blogspot.com/2012/03/peoplesoft-tuxedo-trace.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/7586681270678956573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/7586681270678956573'/><link rel='alternate' type='text/html' href='http://gupta-munish.blogspot.com/2012/03/peoplesoft-tuxedo-trace.html' title='PeopleSoft Tuxedo Trace'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18436111632226504467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6307381106435989970.post-852145576043650994</id><published>2012-01-11T09:03:00.000-05:00</published><updated>2012-01-11T09:03:29.261-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DML Parallel Trigger Referential integrity constraint  INSERT DELETE UPDATE"/><title type='text'>Why is my query not using parallel slaves?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Oracle support parallel query for DML statements that include INSERT, UPDATE and DELETE statements. This is a great way to speed up these DML statements when you are trying to process those millions or records.&lt;br /&gt;
&lt;br /&gt;
Not a big deal! you already knew about it. Infact, you have used parallel query on your DML statements. Have you ever been in a situation when your parallel DML that used to complete quickly enough is not completing today?????&lt;br /&gt;
&lt;br /&gt;
To your surprise, it is entirely possible that your Parallel DML is not using parallel slaves because there are some restrictions for using parallel query on DML. Two of the most important ones are below&lt;br /&gt;
&lt;br /&gt;
1) Triggers on the underlying tables. If the table used in your DML statement has triggers on it, it cannot use Parallel query&lt;br /&gt;
2) Referential integrity constraint: The underlying table, if it has referential integrity constraint, will not be able to use Parallel query.&lt;br /&gt;
&lt;br /&gt;
This is true even if there is sufficient parallel slaves available for your query.&lt;br /&gt;
&lt;br /&gt;
So, next time you run into this situation, you know what to check.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gupta-munish.blogspot.com/feeds/852145576043650994/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gupta-munish.blogspot.com/2012/01/why-is-my-query-not-using-parallel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/852145576043650994'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/852145576043650994'/><link rel='alternate' type='text/html' href='http://gupta-munish.blogspot.com/2012/01/why-is-my-query-not-using-parallel.html' title='Why is my query not using parallel slaves?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18436111632226504467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6307381106435989970.post-2586771098224795514</id><published>2011-11-23T16:52:00.000-05:00</published><updated>2011-11-23T16:52:31.845-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Call"/><category scheme="http://www.blogger.com/atom/ns#" term="Covered Calls"/><category scheme="http://www.blogger.com/atom/ns#" term="options"/><category scheme="http://www.blogger.com/atom/ns#" term="profit"/><category scheme="http://www.blogger.com/atom/ns#" term="PUT"/><category scheme="http://www.blogger.com/atom/ns#" term="secured PUT"/><category scheme="http://www.blogger.com/atom/ns#" term="TRADE"/><title type='text'>Sell Covered calls and Secured Cash puts</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Here is an excellent way to add some green to your portfolio.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://seekingalpha.com/article/310015-generating-year-end-income-part-ii-cash-secured-puts&quot;&gt;http://seekingalpha.com/article/310015-generating-year-end-income-part-ii-cash-&lt;/a&gt;&lt;a href=&quot;http://seekingalpha.com/article/310015-generating-year-end-income-part-ii-cash-secured-puts&quot;&gt;secured-puts&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://seekingalpha.com/article/308612-generating-year-end-income-part-i-covered-calls&quot;&gt;http://seekingalpha.com/article/308612-generating-year-end-income-part-i-covered-calls&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gupta-munish.blogspot.com/feeds/2586771098224795514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gupta-munish.blogspot.com/2011/11/sell-covered-calls-and-secured-cash.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/2586771098224795514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/2586771098224795514'/><link rel='alternate' type='text/html' href='http://gupta-munish.blogspot.com/2011/11/sell-covered-calls-and-secured-cash.html' title='Sell Covered calls and Secured Cash puts'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18436111632226504467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6307381106435989970.post-3070168668747848133</id><published>2011-11-22T11:38:00.000-05:00</published><updated>2011-11-22T11:38:27.414-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="air fare"/><category scheme="http://www.blogger.com/atom/ns#" term="annual fee"/><category scheme="http://www.blogger.com/atom/ns#" term="continental"/><category scheme="http://www.blogger.com/atom/ns#" term="credit card"/><category scheme="http://www.blogger.com/atom/ns#" term="miles"/><category scheme="http://www.blogger.com/atom/ns#" term="points"/><category scheme="http://www.blogger.com/atom/ns#" term="round trip"/><title type='text'>Credit Card Offers</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Need everyone to chip in on this lucrative offer. I just found out this new credit card offer from continental.com. It says apply for a new credit card and get 40,000 miles with no fee for the first year.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.continental.com/web/en-US/content/products/chase/continental.aspx?v_ctrk=HBAN2$0-916-2365-1-1348&amp;amp;offer=OPP40K&amp;amp;mkid=6S2B&quot;&gt;http://www.continental.com/web/en-US/content/products/chase/continental.aspx?v_ctrk=HBAN2$0-916-2365-1-1348&amp;amp;offer=OPP40K&amp;amp;mkid=6S2B&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
40,000 miles should be good enough for one-round trip within continental US. Round-trip ticket these days could be worth upto $500.&lt;br /&gt;
&lt;br /&gt;
There could be similar offers out there which are as good as this one if not better.&lt;br /&gt;
&lt;br /&gt;
Could anyone comment on what are downsides of taking this offer and closing the account in less than 1 year to avoid the annual credit card charges?&lt;br /&gt;
&lt;br /&gt;
I would love to hear from your experience on similar offers like this one. So, keep them coming.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gupta-munish.blogspot.com/feeds/3070168668747848133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gupta-munish.blogspot.com/2011/11/credit-card-offers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/3070168668747848133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/3070168668747848133'/><link rel='alternate' type='text/html' href='http://gupta-munish.blogspot.com/2011/11/credit-card-offers.html' title='Credit Card Offers'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18436111632226504467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6307381106435989970.post-3394500263538059940</id><published>2011-11-18T08:22:00.001-05:00</published><updated>2011-11-18T09:14:06.872-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ALT"/><category scheme="http://www.blogger.com/atom/ns#" term="delete"/><category scheme="http://www.blogger.com/atom/ns#" term="index"/><category scheme="http://www.blogger.com/atom/ns#" term="insert"/><category scheme="http://www.blogger.com/atom/ns#" term="KEy"/><category scheme="http://www.blogger.com/atom/ns#" term="keys"/><category scheme="http://www.blogger.com/atom/ns#" term="peoplesoft"/><category scheme="http://www.blogger.com/atom/ns#" term="performance"/><category scheme="http://www.blogger.com/atom/ns#" term="update"/><title type='text'>Peoplesoft Search Keys</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I have taken a very simple topic today but yet a very important one. Whenever we create any custom objects in Peoplesoft, be mindful of the Keys and Alt Search keys you choose, since every column that has been identified as a key, will end up creating an additional index.&lt;br /&gt;
&lt;br /&gt;
Every index is a lot of overhead on INSERT/UPDATE and DELETE statements. So, choose the KEYS carefully and only what is really needed. I have seen objects with 28 Keys that essentially means an index with 28 columns, which would obviously be no good as an index.&lt;br /&gt;
&lt;br /&gt;
Additionally, every ALT search keys would create additional indexes on that objects. This would be even worse. You will take a big performance hit if you have more indexes than needed.&amp;nbsp;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gupta-munish.blogspot.com/feeds/3394500263538059940/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gupta-munish.blogspot.com/2011/11/peoplesoft-search-keys.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/3394500263538059940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/3394500263538059940'/><link rel='alternate' type='text/html' href='http://gupta-munish.blogspot.com/2011/11/peoplesoft-search-keys.html' title='Peoplesoft Search Keys'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18436111632226504467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6307381106435989970.post-8224448522915108545</id><published>2011-11-15T17:48:00.001-05:00</published><updated>2011-11-19T14:21:46.953-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AE"/><category scheme="http://www.blogger.com/atom/ns#" term="compilled"/><category scheme="http://www.blogger.com/atom/ns#" term="latch"/><category scheme="http://www.blogger.com/atom/ns#" term="optimizer"/><category scheme="http://www.blogger.com/atom/ns#" term="parsed"/><category scheme="http://www.blogger.com/atom/ns#" term="peoplesoft"/><category scheme="http://www.blogger.com/atom/ns#" term="performance"/><category scheme="http://www.blogger.com/atom/ns#" term="ReUse statement"/><category scheme="http://www.blogger.com/atom/ns#" term="shared pool"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>PeopleSoft ReUse Statement AE</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: Verdana, sans-serif; font-size: 12px; line-height: 20px; margin-bottom: 1.2em; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;&lt;i&gt;The ReUse statement setting on an Application Engine is a great way to increase performance&lt;/i&gt;&lt;/b&gt;. It’s useful when you have a SQL object that is called multiple times, for instance when you have a &lt;b&gt;DoSelect that runs a SQL Step repeatedly&lt;/b&gt;, substituting different Bind variables in each time.&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #494949; font-family: Verdana, sans-serif; font-size: 12px; line-height: 20px; margin-bottom: 1.2em; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;The default setting for ReUse is ‘No’, which means that each time the SQL Step is called it is recompiled and new execution plan generated, bad news if the SQL has to run a large number of times. With the default setting of &#39;No&#39;, a new SQL statement is generated which needs to be parsed and stored in &#39;Shared Pool&#39; for every row that satisfies the DoSelect loop. This is like thrashing the shared pool literally. You should see some &#39;wait events&#39; on latches in the shared pool that clearly would mean, the performance is getting degraded. If the ReUse setting is ‘Yes’ then any %Binds in the SQL statement are converted into ‘:1’, ‘:2’ etc. This means the statement can just be compiled once and the same plan used each time, resulting in really quite dramatic improvements in processing time.&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #494949; font-family: Verdana, sans-serif; font-size: 12px; line-height: 20px; margin-bottom: 1.2em; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;This is a very simple and low hanging fruit but yet this would result in dramatic performance improvements.&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #494949; font-family: Verdana, sans-serif; font-size: 12px; line-height: 20px; margin-bottom: 1.2em; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gupta-munish.blogspot.com/feeds/8224448522915108545/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gupta-munish.blogspot.com/2011/11/must-use-reuse-statement-in-peoplesoft.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/8224448522915108545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/8224448522915108545'/><link rel='alternate' type='text/html' href='http://gupta-munish.blogspot.com/2011/11/must-use-reuse-statement-in-peoplesoft.html' title='PeopleSoft ReUse Statement AE'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18436111632226504467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6307381106435989970.post-638935809335805246</id><published>2011-11-15T10:11:00.000-05:00</published><updated>2011-11-18T09:15:13.159-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="batch"/><category scheme="http://www.blogger.com/atom/ns#" term="database"/><category scheme="http://www.blogger.com/atom/ns#" term="db file scattered read"/><category scheme="http://www.blogger.com/atom/ns#" term="DBA"/><category scheme="http://www.blogger.com/atom/ns#" term="developer"/><category scheme="http://www.blogger.com/atom/ns#" term="Full table scan"/><category scheme="http://www.blogger.com/atom/ns#" term="index scan"/><category scheme="http://www.blogger.com/atom/ns#" term="OLTP"/><category scheme="http://www.blogger.com/atom/ns#" term="optimizer"/><category scheme="http://www.blogger.com/atom/ns#" term="oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="sequential read"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>FULL Table Scan(DB file Scattered read) Vs INDEX Scan(DB file sequential read)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
DBAs and Developers often look at FULL Table Scans or INDEX scans happening within their database and code respectively. It is often assumed that FULL Table Scan would make the SQL statement perform slower.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Let us try and clear this misconception.&amp;nbsp;&lt;/u&gt;&lt;br /&gt;
FULL Table Scan(DB file scattered read) is not necessarily an expensive operation as compared to INDEX scan. It all depends on what the SQL is trying to do. If the SQL statement is returning more than 10% of the total volume in the table, FULL Table Scan is actually faster than Index Scan. This is because an index is scanned one block at a time whereas&amp;nbsp;in-case&amp;nbsp;of FULL Table Scan, multiple blocks, as determined by &#39;DB_file_multiblock_read_count, are fetched and read into the memory.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, if the SQL statement serves more as a batch query rather than OLTP, FTS(FULL Table Scan) is actually faster than Index read.&lt;br /&gt;
&lt;br /&gt;
The reverse is true in case of Online Transactions because your SQL statement is expected to return only a few rows.&lt;br /&gt;
&lt;br /&gt;
Have a specific case to discuss, please leave a comment or reach me at munish07@gmail.com. I would be glad to answer.&amp;nbsp;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gupta-munish.blogspot.com/feeds/638935809335805246/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gupta-munish.blogspot.com/2011/11/full-table-scandb-file-scattered-read.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/638935809335805246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/638935809335805246'/><link rel='alternate' type='text/html' href='http://gupta-munish.blogspot.com/2011/11/full-table-scandb-file-scattered-read.html' title='FULL Table Scan(DB file Scattered read) Vs INDEX Scan(DB file sequential read)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18436111632226504467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6307381106435989970.post-3839039088390660651</id><published>2011-11-13T13:11:00.001-05:00</published><updated>2011-11-18T12:22:06.959-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DBA"/><category scheme="http://www.blogger.com/atom/ns#" term="execution plan"/><category scheme="http://www.blogger.com/atom/ns#" term="explain plan"/><category scheme="http://www.blogger.com/atom/ns#" term="HASHvalue"/><category scheme="http://www.blogger.com/atom/ns#" term="long running sql"/><category scheme="http://www.blogger.com/atom/ns#" term="optimizer"/><category scheme="http://www.blogger.com/atom/ns#" term="oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>SQL running long?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;If you are an IT person, I am sure you know what I am talking about. &lt;b&gt;&lt;i&gt;You have a SQL statement or a program/job that you run every day and it completes in a few minutes but today it has been running for hours&lt;/i&gt;&lt;/b&gt;. Nothing has changed as far as you know. It is still supposed to process the similar amount of volume. No change in the code yet the SQL does not seem to be finishing.&lt;br /&gt;
&lt;br /&gt;
The answer is simple. It&#39;s execution plan has changed. Your DBA should be able to confirm that or you could check it out yourself provided you know the hashvalue or the SQL_ID of the SQL in question.&lt;br /&gt;
&lt;br /&gt;
Run the below SQL for the sql_id in question. Oracle optimizer generates a plan hash value for every execution plan it generates and executes. If you see different plan hash values for the same SQL hashvalue or SQL_ID, this will confirm that SQL statement plan has changed and hence it is running long. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;i&gt;select&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;inst_id,sql_id,plan_hash_value,child_number,executions,round(buffer_gets/executions,2)&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&quot;buffer_gets/exec&quot; , cpu_time/1000000 &quot;Cpu Time(s)&quot;,round(rows_processed/executions,2) &quot;Rows&quot;,&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;elapsed_time/1000000 &quot;Elpased Time(s)&quot; &amp;nbsp;from gv$sql where&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;sql_id=&#39;&amp;amp;sql_id&#39;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Once you know that SQL plan did change, you would obviously want to know, what are the new and the old execution plans.&lt;br /&gt;
Run the below SQL Statement from the SQL_ID in question and for each child_cursor taken from above sql.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;i&gt;select * from TABLE(dbms_xplan.display_cursor(&#39;&amp;amp;SQL_ID&#39;,&amp;amp;child_cursor,&#39;PEEKED_BINDS&#39;))&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;Have a question? Please leave a comment and I would be glad to answer.&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gupta-munish.blogspot.com/feeds/3839039088390660651/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gupta-munish.blogspot.com/2011/11/sql-is-running-long.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/3839039088390660651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/3839039088390660651'/><link rel='alternate' type='text/html' href='http://gupta-munish.blogspot.com/2011/11/sql-is-running-long.html' title='SQL running long?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18436111632226504467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6307381106435989970.post-2806622980345958512</id><published>2011-11-12T11:11:00.000-05:00</published><updated>2011-11-18T09:16:42.151-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="annual return"/><category scheme="http://www.blogger.com/atom/ns#" term="condo fee"/><category scheme="http://www.blogger.com/atom/ns#" term="expenses"/><category scheme="http://www.blogger.com/atom/ns#" term="fear"/><category scheme="http://www.blogger.com/atom/ns#" term="foreclosure"/><category scheme="http://www.blogger.com/atom/ns#" term="greed"/><category scheme="http://www.blogger.com/atom/ns#" term="property"/><category scheme="http://www.blogger.com/atom/ns#" term="property tax"/><category scheme="http://www.blogger.com/atom/ns#" term="Real estate"/><category scheme="http://www.blogger.com/atom/ns#" term="rental"/><title type='text'>Should I buy an Investment Property?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Real estate does not excite now-a-days as much as it used to do a few years ago.&lt;/b&gt;&amp;nbsp;We are hearing about so many under-water mortgages, foreclosures, sub-prime mortgages, etc that they is a huge fear among all of us to even talk about real-estate let alone buy it for an investment.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Mr. Buffet once quoted, &#39;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;Be fearful when others are greedy and be greedy when others are fearful&#39;&lt;/span&gt;&lt;/i&gt;. The more I think about this line, the more I appreciate it.&amp;nbsp;In-fact, I feel it is true in all investment vehicles and at all times.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Let us dig more closely into it.Real-estate always goes through up-down cycle. &amp;nbsp;It simply means when everyone in the office, friends, family, news channel starts talking &lt;b&gt;&lt;u&gt;positive &lt;/u&gt;&lt;/b&gt;about something, it excites people into it. This creates such an artificial demand that prices start going through the roof. Still, there will be number of people who will profit from such a upswing in a very short amount of time yet no one can predict where we are in the cycle. On the other hand,&amp;nbsp;when everyone in the office, friends, family, news channel starts talking &lt;b&gt;&lt;u&gt;negative &lt;/u&gt;&lt;/b&gt;about something, it spreads fear among us. Everyone wants to get out of that investment whether that is any stock, or real-estate. This drives down rates much faster. Fear and Greed overpower our thinking process in such times.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
If you are thinking about investing your hard-earned money into real-estate but you are fearful, sit back, relax your mind and just think logically. Plan your investment as to when you would need your money. If you are disciplined enough and can wait out the greed or fear cycle, you would definitely get a very good return on your investment. In today&#39;s real-estate market, there are tons of properties that you can buy and rent them out for no out-of-pocket expenses. I, myself, am doing that. I bought a foreclosed condo in 2009 and have since been renting it. I am earning close to $800/month(almost $10,000/year) after deducting all my expenses like real-estate tax, condo fees, Landlord insurance, and other expenses. After renting it out for just 1.5 years, I recovered all of my total investment from the rental income itself. If I sell it after say 5 years at the same price that I bought it for, I would have made a handsome return of &amp;nbsp;20% annually. Keep in mind that my initial investment was only $10,000 to buy this condo plus another $5000 towards closing and fixing some minor things in the house. There is every chance that in the next 5 years, real-estate prices will not only stabilize, but it would start going up.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
In a nutshell, when you want to invest any money, &lt;b&gt;&lt;i&gt;don&#39;t let fear or greed drive your thinking&lt;/i&gt;&lt;/b&gt;. Plan your investment strategy well, and stick to it. Learn to profit from others&#39; fears.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Would you like to share your investment experience? I would be happy to post your story on my blog for others to learn from it.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gupta-munish.blogspot.com/feeds/2806622980345958512/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gupta-munish.blogspot.com/2011/11/should-i-buy-investment-property.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/2806622980345958512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/2806622980345958512'/><link rel='alternate' type='text/html' href='http://gupta-munish.blogspot.com/2011/11/should-i-buy-investment-property.html' title='Should I buy an Investment Property?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18436111632226504467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6307381106435989970.post-3277781414489038201</id><published>2011-11-07T13:06:00.002-05:00</published><updated>2011-11-18T09:17:09.596-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="application designer"/><category scheme="http://www.blogger.com/atom/ns#" term="architecure"/><category scheme="http://www.blogger.com/atom/ns#" term="batch server"/><category scheme="http://www.blogger.com/atom/ns#" term="database server"/><category scheme="http://www.blogger.com/atom/ns#" term="peoplesoft"/><category scheme="http://www.blogger.com/atom/ns#" term="process scheduler"/><category scheme="http://www.blogger.com/atom/ns#" term="web server"/><title type='text'>Peoplesoft Architecture</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;Let us look at PeopleSoft Architecture in easy to understand terms.&lt;/span&gt;&lt;/u&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: purple;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: purple;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8ggCJCuORcHnMdVRUBkIG2esvbXWSQOjkEoWNrJUNhO89d1d4x8Swvibfmyd4KMOz8bmaV3oBrIGyncI2wehhlZVx4paSiDRIVPMADFKWs3eCMmyV8yLuApdsPgEObVWL4d4VmyLYrm2V/s1600/Peoplesoft+Architecture.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;243&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8ggCJCuORcHnMdVRUBkIG2esvbXWSQOjkEoWNrJUNhO89d1d4x8Swvibfmyd4KMOz8bmaV3oBrIGyncI2wehhlZVx4paSiDRIVPMADFKWs3eCMmyV8yLuApdsPgEObVWL4d4VmyLYrm2V/s400/Peoplesoft+Architecture.bmp&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: purple;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: purple;&quot;&gt;Broadly speaking, PeopleSoft has 5 main components to support it&#39;s architecture.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: purple;&quot;&gt;a) Web Server: &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #fd0000;&quot;&gt;&amp;nbsp;it is a java-enabled web server to support browser transaction requests and the application messaging technology. It is also a collection of java servlets to handle wide range of PeopleSoft transactions. It is the web server that communicates with the client requests.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #fd0000;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;text-indent: -24px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: purple; font-weight: bold;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; b) Application Server:&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #fd0000;&quot;&gt;&lt;b&gt;&amp;nbsp;It executes business logic and issues SQL statements to the database. It consists of numerous services and server processes that handle transaction requests. It is also responsible for maintaining&amp;nbsp;persistent&amp;nbsp;connections with the databases. It is fair to say that &lt;i&gt;application server is the heart of PeopleSoft Architecture&lt;/i&gt;.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-indent: -24px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #fd0000;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-indent: -24px;&quot;&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #fd0000;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: purple;&quot;&gt;&amp;nbsp; &amp;nbsp;c)&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: purple;&quot;&gt;Database Server:&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #fd0000;&quot;&gt; It houses the database engine and PeopleSoft database. Database server can service many application servers.&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-indent: -24px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #fd0000;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-indent: -24px;&quot;&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #fd0000;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: purple;&quot;&gt;&amp;nbsp; &amp;nbsp;d)&amp;nbsp;Batch Server:&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #fd0000;&quot;&gt; It is the server where PeopleSoft Process Scheduler is installed and configured. It can be located on the same physical machine as the database server or on a dedicated machine or it can also be co-located with application server.&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-indent: -24px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #fd0000;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-indent: -24px;&quot;&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #fd0000;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: purple;&quot;&gt;e)&amp;nbsp;Application Designer:&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #fd0000;&quot;&gt; It is an integrated development environment that enables you to work with the numerous definitions of a business application in a single work area. In simpler terms, Application Designer is a tool that enables you to develop custom applications in PeopleSoft.&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #fd0000;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #fd0000;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I can really go in a great detail for each of the above components or the architecture in general but I would love to answer the specific questions you have. Please leave your questions by posting a comment. I would promptly answer and cover them at great length.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gupta-munish.blogspot.com/feeds/3277781414489038201/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gupta-munish.blogspot.com/2011/11/peoplesoft-architecture.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/3277781414489038201'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/3277781414489038201'/><link rel='alternate' type='text/html' href='http://gupta-munish.blogspot.com/2011/11/peoplesoft-architecture.html' title='Peoplesoft Architecture'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18436111632226504467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8ggCJCuORcHnMdVRUBkIG2esvbXWSQOjkEoWNrJUNhO89d1d4x8Swvibfmyd4KMOz8bmaV3oBrIGyncI2wehhlZVx4paSiDRIVPMADFKWs3eCMmyV8yLuApdsPgEObVWL4d4VmyLYrm2V/s72-c/Peoplesoft+Architecture.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6307381106435989970.post-7076408603807490188</id><published>2011-10-18T12:17:00.000-04:00</published><updated>2011-11-18T09:17:35.033-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bond"/><category scheme="http://www.blogger.com/atom/ns#" term="credit card"/><category scheme="http://www.blogger.com/atom/ns#" term="debt"/><category scheme="http://www.blogger.com/atom/ns#" term="interest charges"/><category scheme="http://www.blogger.com/atom/ns#" term="late fees"/><category scheme="http://www.blogger.com/atom/ns#" term="Real estate"/><category scheme="http://www.blogger.com/atom/ns#" term="stocks"/><title type='text'>How to cut your Debt?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&lt;br /&gt;
&lt;i&gt;You are fed up with your debt and want to start all over again? Tired of collection calls and worry about what would happen tomorrow? Tired of living pay day to pay day?&lt;/i&gt;&lt;/div&gt;
&lt;br /&gt;
You are not alone. Each and every human being takes a debt atleast once in their lifetimes in one way or the other. The key to get out of debt is self-discipline. The best part about this is that you do not have to depend on financial advisor or some wall street guru or anyone else to get your life back on track. So, let us take a look at how it can be done.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;Professionals often say that we should pre-pay our mortgage or you should keep paying the minimum due to the credit card companies but not the full amount due. Their argument is that if you have extra cash, you are better off investing in the stocks, bonds, real estate, gold etc etc for a better return rather than paying off your debt.&amp;nbsp;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Well, this is true in some cases who have enough cash to pay off their debt in a flash. For others like me, I would prefer to pay off any debt I have. Investing in the market in any instrument like stocks, bonds, precious metals, real-estate etc in no guarantee to get returns. Rather, we could loose that money pretty quickly especially in this volatile market. However, what is guaranteed is that we are paying interest on our mortgage every month until that is paid off. Most importantly, having no debt on your shoulders, just changing your life. It gives you confidence to try out new ventures and in your abilities to manage your debt.&lt;br /&gt;
&lt;br /&gt;
Let us consider a very simple example. Banks lend us money at a mere 3.5%-4% these days. Banks are guaranteed to keep collecting 3.5-4% interest on the their loans every month in the normal situation. If there are 10 such loans they are guaranteed on collect 35-40% income on their investment.&lt;br /&gt;
Banks have enough smart people working for them. If we were to follow the so-called financial experts, banks should not make lend money on just 4% rather they should invest in hot items like stocks, bonds and real-estate and that will generate a very high return.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&lt;u&gt;&lt;b&gt;Guess what! Banks followed their advice in 2008 and we all know what happened.&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;
&lt;br /&gt;
Again, There are no guarantees on the returns in any investment. However, any interest charges/late charges etc are guaranteed every month if there is any outstanding dues against you.&lt;br /&gt;
&lt;br /&gt;
So, save some money every month and focus on reducing or eliminating your debt before we start investing. You will have more success and more favorable results.&lt;br /&gt;
&lt;br /&gt;
Have a question? Please leave a comment and I would be glad to answer. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gupta-munish.blogspot.com/feeds/7076408603807490188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gupta-munish.blogspot.com/2011/10/how-to-cut-your-debt.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/7076408603807490188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/7076408603807490188'/><link rel='alternate' type='text/html' href='http://gupta-munish.blogspot.com/2011/10/how-to-cut-your-debt.html' title='How to cut your Debt?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18436111632226504467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6307381106435989970.post-349139711790929574</id><published>2011-10-18T11:56:00.000-04:00</published><updated>2011-11-18T09:18:04.829-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="after tax"/><category scheme="http://www.blogger.com/atom/ns#" term="blog"/><category scheme="http://www.blogger.com/atom/ns#" term="earnings"/><category scheme="http://www.blogger.com/atom/ns#" term="growth"/><category scheme="http://www.blogger.com/atom/ns#" term="income tax"/><category scheme="http://www.blogger.com/atom/ns#" term="loop holes"/><category scheme="http://www.blogger.com/atom/ns#" term="reduce income"/><category scheme="http://www.blogger.com/atom/ns#" term="tax bracket"/><category scheme="http://www.blogger.com/atom/ns#" term="taxable earnings"/><category scheme="http://www.blogger.com/atom/ns#" term="taxes"/><title type='text'>Should we worry about income taxes?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;i&gt;&lt;b&gt;Are income taxes really too high? Should we be worried about income taxes? Should we focus on ways to reduce income taxes?&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
There is enough debate on personal and business income taxes these days on almost all the news channels and websites. They have now become a talk point for the upcoming elections.&lt;br /&gt;
&lt;br /&gt;
Should we really be scared about our taxes and focus on findings ways to reduce our taxable earnings and thus focus on getting in on the lower tax bracket. Well, I don&#39;t think so.&lt;br /&gt;
&lt;br /&gt;
We pay income taxes only if we are making a profit. That is the first principle. So, let us assume that we are making $100 in profit and we are in 20% tax bracket. That means for every $100 we generate in profit, we keep $80 and give away $20 in taxes.&lt;br /&gt;
&lt;br /&gt;
So, should we focus on saving $20 somehow by findings loop holes in tax codes, manipulating our expenses and somehow lowering our tax brackets or should we focus on generating hundreds more in profits thus keeping $80 for every $100.&lt;br /&gt;
&lt;br /&gt;
If I were to choose, I would certainly focus on growing my business to be able to keep $80 out of every $100 I generate in revenue. Even if my tax goes to $30, I am still keeping $70 out of every $100, I am generating in profits.&lt;br /&gt;
&lt;br /&gt;
So, unless my taxes are more than 51% of profits, I would still focus on growing more earnings for my family. Simply because, controlling taxes is not in my hands but exploring ways to generate more income certainly is.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; margin-left: 4.65pt; width: 329px;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;height: 15pt;&quot;&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;background: none repeat scroll 0% 0% yellow; border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 83pt;&quot; valign=&quot;bottom&quot; width=&quot;111&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;Taxable Earnings&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;background: none repeat scroll 0% 0% yellow; border-color: windowtext windowtext windowtext -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 58pt;&quot; valign=&quot;bottom&quot; width=&quot;77&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;Tax Bracket&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;background: none repeat scroll 0% 0% yellow; border-color: windowtext windowtext windowtext -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 48pt;&quot; valign=&quot;bottom&quot; width=&quot;64&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;Taxes&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;background: none repeat scroll 0% 0% yellow; border-color: windowtext windowtext windowtext -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 58pt;&quot; valign=&quot;bottom&quot; width=&quot;77&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;After Taxes&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 15pt;&quot;&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; height: 15pt; padding: 0in 5.4pt; width: 83pt;&quot; valign=&quot;bottom&quot; width=&quot;111&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;100000&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 58pt;&quot; valign=&quot;bottom&quot; width=&quot;77&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;20&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 48pt;&quot; valign=&quot;bottom&quot; width=&quot;64&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;20000&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 58pt;&quot; valign=&quot;bottom&quot; width=&quot;77&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;80000&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 15pt;&quot;&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; height: 15pt; padding: 0in 5.4pt; width: 83pt;&quot; valign=&quot;bottom&quot; width=&quot;111&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;110000&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 58pt;&quot; valign=&quot;bottom&quot; width=&quot;77&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;22&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 48pt;&quot; valign=&quot;bottom&quot; width=&quot;64&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;24200&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 58pt;&quot; valign=&quot;bottom&quot; width=&quot;77&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;85800&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 15pt;&quot;&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; height: 15pt; padding: 0in 5.4pt; width: 83pt;&quot; valign=&quot;bottom&quot; width=&quot;111&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;120000&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 58pt;&quot; valign=&quot;bottom&quot; width=&quot;77&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;24&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 48pt;&quot; valign=&quot;bottom&quot; width=&quot;64&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;28800&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 58pt;&quot; valign=&quot;bottom&quot; width=&quot;77&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;91200&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 15pt;&quot;&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; height: 15pt; padding: 0in 5.4pt; width: 83pt;&quot; valign=&quot;bottom&quot; width=&quot;111&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;130000&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 58pt;&quot; valign=&quot;bottom&quot; width=&quot;77&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;26&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 48pt;&quot; valign=&quot;bottom&quot; width=&quot;64&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;33800&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 58pt;&quot; valign=&quot;bottom&quot; width=&quot;77&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;96200&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 15pt;&quot;&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; height: 15pt; padding: 0in 5.4pt; width: 83pt;&quot; valign=&quot;bottom&quot; width=&quot;111&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;140000&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 58pt;&quot; valign=&quot;bottom&quot; width=&quot;77&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;28&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 48pt;&quot; valign=&quot;bottom&quot; width=&quot;64&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;39200&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 58pt;&quot; valign=&quot;bottom&quot; width=&quot;77&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;100800&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 15pt;&quot;&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; height: 15pt; padding: 0in 5.4pt; width: 83pt;&quot; valign=&quot;bottom&quot; width=&quot;111&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;150000&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 58pt;&quot; valign=&quot;bottom&quot; width=&quot;77&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;30&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 48pt;&quot; valign=&quot;bottom&quot; width=&quot;64&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;45000&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap=&quot;nowrap&quot; style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 58pt;&quot; valign=&quot;bottom&quot; width=&quot;77&quot;&gt;&lt;div align=&quot;right&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt; text-align: right;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;105000&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
As we see clearly, With more earnings, the tax bracket went up and so did the taxes. When we had $100,000 as taxable earnings, we were paying $20,000 in taxes. When we jumped to $150,000, our taxes went to $45,000.&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;However, the key point here is that when we had $100,000 in earnings, we took home only $80,000. When our business did good or we got promoted resulting in earnings to $150,000, we took home $105,000 which is a lot more than $80,000.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
To conclude, I would prey for my income tax to increase and not decrease. Because if my income tax has increased, that simply means my income has grown too. I have more money to keep now.&lt;br /&gt;
&lt;br /&gt;
I know we can go on and on on this topic but I would just say it is the way we look at things in our life. Opportunity comes in difficult times. Rather than getting depressed about the rise in income tax, I think about ways to add more income and writing blogs is one way to do that :)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gupta-munish.blogspot.com/feeds/349139711790929574/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gupta-munish.blogspot.com/2011/10/should-we-worry-about-income-taxes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/349139711790929574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/349139711790929574'/><link rel='alternate' type='text/html' href='http://gupta-munish.blogspot.com/2011/10/should-we-worry-about-income-taxes.html' title='Should we worry about income taxes?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18436111632226504467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6307381106435989970.post-2701835239983908570</id><published>2011-09-27T14:00:00.000-04:00</published><updated>2011-11-18T09:18:22.915-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ALT key"/><category scheme="http://www.blogger.com/atom/ns#" term="data Conversion"/><category scheme="http://www.blogger.com/atom/ns#" term="ERP"/><category scheme="http://www.blogger.com/atom/ns#" term="index"/><category scheme="http://www.blogger.com/atom/ns#" term="legacy"/><category scheme="http://www.blogger.com/atom/ns#" term="peoplesoft"/><category scheme="http://www.blogger.com/atom/ns#" term="Peopletools"/><category scheme="http://www.blogger.com/atom/ns#" term="Slow insert"/><category scheme="http://www.blogger.com/atom/ns#" term="staging tables"/><title type='text'>Peoplesoft: Slow data conversions</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&lt;b&gt;&lt;i&gt;Are your data conversions running longer and longer?&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
There is a simple fix you can do to make it go faster. Let&#39;s discuss it here.&lt;br /&gt;
&lt;br /&gt;
Let us look at the basic conversion process in any environment.&lt;br /&gt;
&lt;br /&gt;
Flat Files -&amp;gt; Staging tables -&amp;gt; ERP tables.&lt;br /&gt;
&lt;br /&gt;
This is how the typical conversion happens. We get the flat files from legacy the system. We load the data from the flat files to the staging tables using data loading utility like SQL Loader or any other tool.&lt;br /&gt;
Once the staging tables are populated, we apply business validations and business logic to make sure we have clean data. Finally, we insert the data into the ERP Tables.&lt;br /&gt;
&lt;br /&gt;
In the above process, the use of the STAGING tables cannot be undermined but their use is only limited. The STAGING tables will not be used once the data is converted. The ERP application is never going to use the staging tables. So, by dropping the unnecessary indexes on these staging tables, we can easily improve the performance of the conversions by manifolds. In Peoplesoft, when we define ALT keys, Peopletools automatically create indexes on these keys that are often not needed as these staging tables are not going to be searched by the application.&lt;br /&gt;
&lt;br /&gt;
Following the simple step described above, you are sure to make your conversions go faster by a factor that is dependent on the number of indexes dropped.&lt;br /&gt;
&lt;br /&gt;
Have a question? Please leave a comment and I would be glad to answer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gupta-munish.blogspot.com/feeds/2701835239983908570/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gupta-munish.blogspot.com/2011/09/peoplesoft-slow-data-conversions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/2701835239983908570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/2701835239983908570'/><link rel='alternate' type='text/html' href='http://gupta-munish.blogspot.com/2011/09/peoplesoft-slow-data-conversions.html' title='Peoplesoft: Slow data conversions'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18436111632226504467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6307381106435989970.post-7465955254046623344</id><published>2011-09-27T12:20:00.000-04:00</published><updated>2011-09-27T12:20:58.555-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Peoplesoft conversion gather statistics dba_tables updatestats slow data conversion"/><title type='text'>Peoplesoft: Data conversions extremely slow</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
One of the most important but yet forgotten concept during data conversions is &lt;u&gt;&lt;b&gt;&#39;database statistics&#39;.&amp;nbsp;&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
Object statistics give valuable information to the database optimizer to be able to generate the right execution plan for the SQL statements used in the conversions. &lt;br /&gt;
There are numerous ways that a given SQL statement can be executed.&lt;br /&gt;
For instance, you could reach nearest Starbucks or Subway from your home by taking a number of different roads/highways. Imagine, what would happen if you do not have the below critical information to get to your nearest Starbucks for your morning coffee. &lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Distance between your home and Starbucks&lt;/li&gt;
&lt;li&gt;Condition of the various road&lt;/li&gt;
&lt;li&gt;Traffic situation on these situations&lt;/li&gt;
&lt;/ul&gt;
You would not know which route to take to get there faster. You may end up taking the longest and slowest path.&lt;br /&gt;
 &lt;br /&gt;
Similarly, without the object level statistics, the database optimizer cannot decide how to execute the SQL statement in the most efficient manner. When we are dealing with conversions, we are dealing with millions or rows. So, the statistics become even more important.&lt;br /&gt;
&lt;br /&gt;
In Peoplesoft, when we multi-thread a process, each thread works on its own instance of the base table. This instance of the table is temporary in nature meaning the data exists for the duration of the thread.&lt;br /&gt;
One of the first steps in the conversion is to gather statistics on the underlying objects like tables, and indexes once the initial INSERT statement is called to populate the STAGING tables.&lt;br /&gt;
This can be easily done in Peoplesoft by calling UPDATESTATS at the end of the INSERT statement. Another important point to remember here is to make sure to issue a COMMIT just after the INSERT and before the UPDATESTATS else, gather statistics would still run but would show 0 rows in dba_tables leading to incorrect execution path.&lt;br /&gt;
&lt;br /&gt;
This simple step could save you countless hours in conversion and could save you a lot of hassles during the go-live. All the best for your go-live.&lt;br /&gt;
&lt;br /&gt;
Have a question? Please leave a comment and I would be glad to answer. &lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gupta-munish.blogspot.com/feeds/7465955254046623344/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gupta-munish.blogspot.com/2011/09/peoplesoft-data-conversions-extremely.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/7465955254046623344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/7465955254046623344'/><link rel='alternate' type='text/html' href='http://gupta-munish.blogspot.com/2011/09/peoplesoft-data-conversions-extremely.html' title='Peoplesoft: Data conversions extremely slow'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18436111632226504467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6307381106435989970.post-6141253423550101086</id><published>2011-09-19T09:13:00.000-04:00</published><updated>2011-11-18T09:18:42.377-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AE"/><category scheme="http://www.blogger.com/atom/ns#" term="Application Engine"/><category scheme="http://www.blogger.com/atom/ns#" term="commit"/><category scheme="http://www.blogger.com/atom/ns#" term="conversion"/><category scheme="http://www.blogger.com/atom/ns#" term="database"/><category scheme="http://www.blogger.com/atom/ns#" term="DBA"/><category scheme="http://www.blogger.com/atom/ns#" term="insert"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="Statistics"/><title type='text'>Database Stats</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;i&gt;Has it every happened to you that a given database table has thousands or millions or rows but dba_tables shows 0 rows once you generated the statistics on the table?&lt;/i&gt;&lt;br /&gt;
Does it ring a bell?&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Here is a simple scenario to test&lt;/b&gt;&lt;/u&gt;.&lt;br /&gt;
&lt;br /&gt;
Like it happens it most data conversions, records get inserted into a staging table from a flat file. However, if we generate statistics on this table before a commit happens, the statistics will get generated but it would show 0 rows.&lt;br /&gt;
&lt;br /&gt;
Hence, we should generate database statistics only after commit has been issued on the table after massive data inserts/deletes/updates.&lt;br /&gt;
&lt;br /&gt;
So, go back to your code and review the position of commit and the command to generate the statistics. Commit should happen prior to generating statistics. &lt;br /&gt;
&lt;br /&gt;
Have a question? Please leave a comment and I would be glad to answer.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gupta-munish.blogspot.com/feeds/6141253423550101086/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gupta-munish.blogspot.com/2011/09/database-stats.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/6141253423550101086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/6141253423550101086'/><link rel='alternate' type='text/html' href='http://gupta-munish.blogspot.com/2011/09/database-stats.html' title='Database Stats'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18436111632226504467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6307381106435989970.post-4458255449534400691</id><published>2011-09-12T12:41:00.000-04:00</published><updated>2011-11-18T09:18:58.808-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="drop"/><category scheme="http://www.blogger.com/atom/ns#" term="Enrollment"/><category scheme="http://www.blogger.com/atom/ns#" term="peoplesoft"/><category scheme="http://www.blogger.com/atom/ns#" term="schedule of class"/><title type='text'>Peoplesoft: Mass delete the enrollment</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
There is a very easy way to mass delete the enrollment from a given class. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Go to Curriculum Management-&amp;gt;Schedule of Classes-&amp;gt;Maintain Schedule of Classes&lt;/b&gt;&lt;br /&gt;
Search for the required class&lt;br /&gt;
&lt;b&gt;Go to Enrollment Cntrl tab.&lt;/b&gt;&lt;br /&gt;
Click on &quot;Cancel if Students Enrolled&quot; check box. &lt;i&gt;It should be checked&lt;/i&gt;&lt;br /&gt;
&lt;b&gt;Finally, change class status to &quot;Cancelled Section&quot;. &lt;/b&gt;&lt;br /&gt;
This will delete all the enrollments for the given class. &lt;br /&gt;
If needed, you can make the class Active again. &lt;br /&gt;
&lt;br /&gt;
This will drop all the existing enrollments of a given class. This is a quick way to drop everyone from the given class and start over.&lt;br /&gt;
&lt;br /&gt;
Have a question? Please leave a comment and I would be glad to answer&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gupta-munish.blogspot.com/feeds/4458255449534400691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gupta-munish.blogspot.com/2011/09/peoplesoft-mass-delete-enrollment.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/4458255449534400691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/4458255449534400691'/><link rel='alternate' type='text/html' href='http://gupta-munish.blogspot.com/2011/09/peoplesoft-mass-delete-enrollment.html' title='Peoplesoft: Mass delete the enrollment'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18436111632226504467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6307381106435989970.post-1417364568150985695</id><published>2011-09-06T14:04:00.000-04:00</published><updated>2011-11-18T09:19:12.320-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Controller"/><category scheme="http://www.blogger.com/atom/ns#" term="Firewall"/><category scheme="http://www.blogger.com/atom/ns#" term="Generator"/><category scheme="http://www.blogger.com/atom/ns#" term="Load Runner"/><title type='text'>Loadrunner Controller cannot connect to Load Generator</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Loadrunner controller cannot connect to Load Generators?&lt;br /&gt;
Here are a few things to check.&lt;br /&gt;
1) All the load generators are in the same network as the controller.&lt;br /&gt;
2) Load generator agent service is running on all the generators&lt;br /&gt;
3) Very important to make sure Windows Firewall is turned off. Agent service cannot start if windows firewall is on&lt;br /&gt;
4) Good practice to start the agent service/process as Administrator.&lt;br /&gt;
&lt;br /&gt;
You should be able to make a connection between controller and generators.&lt;br /&gt;
Have a question? Please leave a comment and I would be glad to answer.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gupta-munish.blogspot.com/feeds/1417364568150985695/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gupta-munish.blogspot.com/2011/09/loadrunner-controller-cannot-connect-to.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/1417364568150985695'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6307381106435989970/posts/default/1417364568150985695'/><link rel='alternate' type='text/html' href='http://gupta-munish.blogspot.com/2011/09/loadrunner-controller-cannot-connect-to.html' title='Loadrunner Controller cannot connect to Load Generator'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18436111632226504467</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry></feed>