I have requirement to replace with previous record value, So I have implemented this using window function but i want to improve performance. Could you please advise if there is