<?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/'><id>tag:blogger.com,1999:blog-25740336.post6838808006565202650..comments</id><updated>2007-05-29T00:23:53.192+01:00</updated><category term='varchar'/><category term='Fine-Grained Auditing'/><category term='enq: RO - fast object reuse'/><category term='re-posting'/><category term='PeopleTools 8.48'/><category term='scalar queries'/><category term='clob'/><category term='Global Unique Identifier'/><category term='row cache lock'/><category term='Instrumentation'/><category term='Dead Connect Detection'/><category term='Append'/><category term='Recyclebin'/><category term='row source alias'/><category term='Application Server'/><category term='PeopleTools 8.49'/><category term='PSPMSESSIONS_VW'/><category term='QB_NAME'/><category term='unicode'/><category term='performance'/><category term='posting'/><category term='Truncate'/><category term='Stored Statements'/><category term='Application Engine'/><category term='Batch Timings'/><category term='scalability'/><category term='Hints'/><category term='Report Reposiory'/><category term='Restartability'/><category term='local write wait'/><category term='Stored Outlines'/><category term='SQL Server 2005'/><category term='global temporary tables'/><category term='SQR'/><category term='ASSM'/><category term='Database Links'/><category term='Temporary Records'/><category term='DDL trigger'/><category term='Materialized View'/><category term='Privileges'/><category term='Network Latency'/><category term='Oracle Enterprise Manager'/><category term='8.48'/><category term='COBOL'/><category term='v$session_longops'/><category term='Freelist'/><category term='%CurrentDateIn'/><category term='view'/><category term='column default values'/><category term='Optimizer Dynamic Sampling'/><category term='redo logging'/><category term='nvision'/><category term='Flashback Query'/><category term='PeopleSoft Temporary Records'/><category term='Grid Control'/><category term='Unix Process Limits Memory Application Engine'/><category term='Cache'/><category term='Component Processor'/><category term='Oracle 10g'/><category term='DataGuard'/><category term='SQL*Net'/><category term='Multi-versioning'/><category term='Partitions'/><category term='trace &quot;external table&quot; directory'/><category term='Parse'/><category term='ASH'/><category term='ReUse Statement'/><category term='Plan Stability'/><category term='Global Payroll'/><category term='Statistics Retention'/><category term='PeopeTools Tables'/><category term='PeopleTools 8.50'/><category term='Descending Indexs'/><category term='Dirty Reads'/><category term='Conference'/><category term='clone database'/><category term='DBMS_STATS'/><category term='Record Locator Dialogue'/><category term='Isolation Level'/><category term='Tuxedo'/><category term='Terminated Connection Timeout'/><category term='Oracle SQL Trace Trigger'/><category term='long'/><category term='PeopleTools 8.1x'/><category term='Dynamic Code'/><category term='GetNextNumberWithGapsCommit'/><category term='Performance Metrics'/><category term='PS/Query'/><category term='Performance Monitor'/><category term='Load Balancing'/><category term='serialisation'/><category term='SQL Tuning'/><category term='Null'/><category term='sequences'/><category term='Analyze'/><category term='DDL'/><category term='Lookup Exclusion'/><category term='Locking'/><category term='Read Consistency'/><category term='SQL*Plus login prompt'/><category term='Process Scheduler'/><category term='Search Record'/><category term='%UpdateStats'/><category term='DBMS_APPLICATION_INFO'/><category term='sparse index'/><category term='Scheduled Queries'/><category term='Redo'/><category term='DDL Model'/><category term='MetaSQL'/><category term='Run Control'/><category term='XML Reporting'/><category term='Deferred Segment Creation'/><category term='Descending Key'/><title type='text'>Comments on The PeopleSoft DBA Blog: %UpdateStats() -v- Optimizer Dynamic Sampling</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.psftdba.com/feeds/6838808006565202650/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/6838808006565202650/comments/default'/><link rel='alternate' type='text/html' href='http://blog.psftdba.com/2007/05/updatestats-v-optimizer-dynamic.html'/><author><name>David Kurtz</name><uri>http://www.blogger.com/profile/08139761793598085235</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-25740336.post-8594039998939617215</id><published>2007-05-29T00:23:00.000+01:00</published><updated>2007-05-29T00:23:00.000+01:00</updated><title type='text'>You can't put an anonymous PL/SQL block in the DDL...</title><content type='html'>You can't put an anonymous PL/SQL block in the DDL model, but you can call a PL/SQL procedure - either one supplied by Oracle, or written by yourself.&lt;BR/&gt;In PT8.47 and earlier, you cannot call DBMS_STATS.GATHER_TABLE_STATS directly because [TBNAME] contains both the schema and table name and must be separated.  In PT8.48 the schema name moves to [DBNAME], and [TBNAME] contains only the table name.  A different version of the wrapper is required.   You can download wrapper.sql as a part of the &lt;A HREF="http://www.apress.com/ApressCorporate/supplement/1/366/1590594223-2273.zip" REL="nofollow"&gt;code examples&lt;/A&gt; for &lt;A HREF="http://www.psftdba.com" REL="nofollow"&gt;PeopleSoft for the Oracle DBA&lt;/A&gt; (if you have the book see page 122).&lt;BR/&gt;The wrapper in the book does not handle the exception raised when analysing a table with locked statistics.  I'll leave that as a exercise.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/6838808006565202650/comments/default/8594039998939617215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/6838808006565202650/comments/default/8594039998939617215'/><link rel='alternate' type='text/html' href='http://blog.psftdba.com/2007/05/updatestats-v-optimizer-dynamic.html?showComment=1180394580000#c8594039998939617215' title=''/><author><name>David Kurtz</name><uri>http://www.blogger.com/profile/00924323960047469300</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.psftdba.com/2007/05/updatestats-v-optimizer-dynamic.html' ref='tag:blogger.com,1999:blog-25740336.post-6838808006565202650' source='http://www.blogger.com/feeds/25740336/posts/default/6838808006565202650' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-332347483'/></entry><entry><id>tag:blogger.com,1999:blog-25740336.post-3278594717063075621</id><published>2007-05-25T17:51:00.000+01:00</published><updated>2007-05-25T17:51:00.000+01:00</updated><title type='text'>OK.  I understand the package that you have create...</title><content type='html'>OK.  I understand the package that you have created.... and you can't put a PL/SQL block in DDL model &lt;BR/&gt;but what do we put into the PSDDLMODEL to call this new procedure ?  We are 10G and 8.47.03 of Tools.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/6838808006565202650/comments/default/3278594717063075621'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/6838808006565202650/comments/default/3278594717063075621'/><link rel='alternate' type='text/html' href='http://blog.psftdba.com/2007/05/updatestats-v-optimizer-dynamic.html?showComment=1180111860000#c3278594717063075621' title=''/><author><name>Bruce H</name><uri>http://www.blogger.com/profile/04035725562604679836</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.psftdba.com/2007/05/updatestats-v-optimizer-dynamic.html' ref='tag:blogger.com,1999:blog-25740336.post-6838808006565202650' source='http://www.blogger.com/feeds/25740336/posts/default/6838808006565202650' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1115303442'/></entry></feed>
