indexing - How does a data merge between indexed tables work? -
recently had start working sas indexed tables. problem trying sort indexed table, not it, unless deleted index. understood problem, because when sorting indexed table rid index changes , sas cannot locate anymore row.
but cannot understand why merge works perfectly, keeping index , updating it. in full outer join between 2 tables rows changed, sas it’s able keep index. thought possibilities when making merge, 2 sorted tables, when inserting row has add 1 rids bellow. know if this.
sorry explanation, making myself clear not stronger gift.
thanks time.
try setting
options msglevel = i;
before running code - sas print diagnostic messages in log showing when , isn't using indexes, , when created or removed.
if want more specific answer, please post specific code.
Comments
Post a Comment