[quote:ad59da7f24]In the wrong hands you can wreak havoc by poor or incorrect use of optimiser hints. .Trust me i know from experience how easy it is to get things wrong.[/quote:ad59da7f24] . .So do several clients :lol: . .A point perhaps worth remembering is that most of the time the Cost-Based optimiser will do a lot of the figuring out for you provided you give it some reasonably up-to-date stats to work on. Eg a common problem encountered during datamigration excercises (particularly into new database instances) is that after the first couple of entities eg person/assignment thereafter performance starts to dip. This is usually because the stats process hasn't been run to update the stats on the affected tables. There is a standard process helpfully entitled 'Gather Schema Stats' within the SYSADMIN responsiblity that will address this problem. As Mr Brookes will doubtless attest it is possible to run this whilst a migration program is running and may even result in a noticeable improvement in throughput once complete.
_________________________
L&K
CT
Remember: A dog is for life, not just for Christmas... unless you're in Korea