Even SGSN will clear your subscriber data if you didn't attach for a long time. However, when you initiate a new session (PDP context), if SGSN doesn't have your subscriber data, SGSN should initiate a request to HLR to get your subscriber datra (APN, QoS ...etc)
HLR清除掉SGSN位址紀錄 won't cause PDP context failure.
As I know, this kind of scenario has been definded and prevented in 3GPP standard, and has already been tested and passed in operator's (FET, TCC, CHT) system acceptance test. It's a highly possibility you have to check with your mobile.