0

I want to limit the number of rows in x table. Let say in x table have 3 records r1, r2 and r3 when new record is available for insertion then r3 should be deleted and new record should be added so the total number of rows always remain 3 ...

Shoaib Ahmed
  • 55
  • 1
  • 1
  • 8

1 Answers1

0

You need LRU Disk (Last recently used) mechanism. There are lots of LRU libraries that can read and write from disk. Here is a one of them.

Emre Aktürk
  • 3,306
  • 2
  • 18
  • 30