All insert commands on an allpages-locked heap table attempt to insert the rows on the last page of the table. If multiple users insert data simultaneously, each new insert transaction must wait for the previous transaction to complete in order to proceed.
Partitioning an allpages-locked heap table improves the performance of concurrent inserts by reducing contention for the last page of a page chain.
For data-only-locked tables, Adaptive Server stores one or more hints that point to a page where an insert was recently performed. Blocking during inserts on data-only-locked tables occurs only with high rates of inserts.
Partitioning data-only-locked heap tables increases the number of hints, and can help if inserts are blocking.