<slide title="SQL: Avoiding Locks">

<image filename="database_sm.gif" align="right" />

<blurb fontsize="4em">
To ensure data integrity in certain situations you will need to use locks. However, overuse of locks or improper
implementation can severely hinder the performance of your application.
</blurb>

<break lines="2" />

<list fontsize="3.4em">
	<bullet>If supported, whenever possible use row level locks instead of table locks.</bullet>
	<bullet>When using table locks, try to lock as few tables as possible.</bullet>
	<bullet>Whenever possible avoid locks all together.</bullet>
</list>

</slide>
