GetNextRecId stored procedure can be In-Memory one. We have just converted SYSTEMSEQUENCE table and GetNextRecId stored procedure to as In-Memory objects. Actually, It's too fast for between 1 and 1000 records. We don't know why after 1000 records In-Memory's performance reduced unexpectedly. It may redesigned.