Hi.... Below is the locks that are generated by my program. Can someone thrown some light as to why i see multiple locks on the same table?. I first insert data in the table 'imputed_prediction' and the select data from it..........since i see locks on indexes.........................iam assuming its happening during the selection of data. I havent specifically defined locks either. However i select data from the tabel across multiple functions.I see 4 locks on the same table imputed_prediction......i insert data,select and truncate the table finally. Under what conditions do we see such locks???The program runs too with this condition.
"imputed_data_helper";85150013;2880;t;"AccessShareLock" "imputed_data_helper_i1";85150013;2880;t;"AccessShareLock" "imputed_data_helper_i2";85150013;2880;t;"AccessShareLock" "imputed_data_helper_i3";85150013;2880;t;"AccessShareLock" "imputed_data_helper_i4";85150013;2880;t;"AccessShareLock" "imputed_data_helper_pk";85150013;2880;t;"AccessShareLock" "imputed_lane_data_07_08";85150013;2880;t;"RowExclusiveLock" "imputed_lane_data_07_08_measurement_start_i";85150013;2880;t;"RowExclusiveLock" "imputed_lane_data_07_08_pk";85150013;2880;t;"RowExclusiveLock" "imputed_lane_data_07_08_quality_i";85150013;2880;t;"RowExclusiveLock" "imputed_prediction";85162809;1900;f;"ShareUpdateExclusiveLock" "imputed_prediction";85150013;2880;t;"AccessShareLock" "imputed_prediction";85150013;2880;t;"RowExclusiveLock" "imputed_prediction";85150013;2880;t;"ShareLock" "imputed_prediction";85150013;2880;t;"AccessExclusiveLock" "imputed_prediction_i1";85150013;2880;t;"AccessExclusiveLock" "imputed_prediction_i1";85150013;2880;t;"AccessShareLock" "imputed_prediction_i2";85150013;2880;t;"AccessExclusiveLock" "imputed_prediction_i2";85150013;2880;t;"AccessShareLock" "imputed_prediction_i3";85150013;2880;t;"AccessShareLock" "imputed_prediction_i3";85150013;2880;t;"AccessExclusiveLock" "imputed_prediction_i4";85150013;2880;t;"AccessExclusiveLock" "imputed_prediction_i4";85150013;2880;t;"AccessShareLock" "imputed_prediction_i5";85150013;2880;t;"AccessExclusiveLock" "imputed_prediction_i5";85150013;2880;t;"AccessShareLock" Sam
