cvs: presentations /slides/hpp oracle_opt1.xml oracle_opt2.xml oracle_opt3.xml oracle_opt4.xml
| From: | George Schlossnagle | Date: | Thu, 08 May 2003 11:06:28 +0000 |
| Subject: | cvs: presentations /slides/hpp oracle_opt1.xml oracle_opt2.xml oracle_opt3.xml oracle_opt4.xml | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-697@lists.php.net to get a copy of this message | ||
gschlossnagle Thu May 8 07:06:28 2003 EDT
Added files:
/presentations/slides/hpp oracle_opt1.xml oracle_opt2.xml
oracle_opt3.xml oracle_opt4.xml
Log:
oracle slides
Index: presentations/slides/hpp/oracle_opt1.xml
+++ presentations/slides/hpp/oracle_opt1.xml
<slide title="Databases Idiosyncrasies (Oracle)">
<image filename="10000000000000690000004538A678CE.jpg" align="right"/>
<image filename="10000000000000610000006B74D8AABB.jpg" align="right"/>
<blurb><![CDATA[<br/><br/><br/>]]></blurb>
<list title="Use Stored Procedures For DML">
<bullet>Combining multiple DML statements in a single stored procedure can reduce the number
of soft parses.</bulllet>
<bullet>Isolating your DML is also nice to separate out the implementation.
</list>
</slide>
Index: presentations/slides/hpp/oracle_opt2.xml
+++ presentations/slides/hpp/oracle_opt2.xml
<slide title="Databases Idiosyncrasies (Oracle)">
<image filename="10000000000000690000004538A678CE.jpg" align="right"/>
<image filename="10000000000000610000006B74D8AABB.jpg" align="right"/>
<blurb><![CDATA[<br/><br/><br/>]]></blurb>
<list title="Tuning for Large Selects">
<bullet>Oracle has the ability to buffer queries locally (at the OCI layer)</bullet>
<bullet>PHP does no intelligent "guessing" of correct buffer sizes</bullet>
<bullet>Set %OciSetPreftech% when issuing multi-row selects.</bullet>
</list>
</slide>
Index: presentations/slides/hpp/oracle_opt3.xml
+++ presentations/slides/hpp/oracle_opt3.xml
<slide title="Databases Idiosyncrasies (Oracle)">
<image filename="10000000000000690000004538A678CE.jpg" align="right"/>
<image filename="10000000000000610000006B74D8AABB.jpg" align="right"/>
<blurb><![CDATA[<br/><br/><br/>]]></blurb>
<example><![CDATA[<br>"SELECT * FROM table where field = ?"<br>
versus<br>
"SELECT * FROM table where field = '$name'"<br>]]></example>
<list>
<bullet>Avoids hard parsing of your query</bullet>
<bullet>Avoids extensive fragmentation of the SGA</bullet>
</list>
</slide>
Index: presentations/slides/hpp/oracle_opt4.xml
+++ presentations/slides/hpp/oracle_opt4.xml
<slide title="Databases Idiosyncrasies (Oracle)">
<image filename="10000000000000690000004538A678CE.jpg" align="right"/>
<image filename="10000000000000610000006B74D8AABB.jpg" align="right"/>
<blurb><![CDATA[<br/><br/><br/>]]></blurb>
<list title="Avoiding Latch and Lock Contention">
<bullet>Correctly Size your SGA</bullet>
<bullet>Leave autocommit on unless you explicitly need it</bullet>
<bullet>Avoid excessive use of triggers</bullet>
<bullet>Use bind SQL</bullet>
</list>
<blurb>Oracle has extremely powerful introspection capabilities to help determine bottlenecks
and diagnose performance issues.</blurb>
</slide>