I need to know the amount of data being changed, the only portion or blocks being changed not the entire file. For instance, files may be made up of 100 blocks, but probably on 10 blocks being changed. I wanted to list only amount of data being changed in this case, 10 blocks. Are there such commands?
WHen (in relation to actual execution of the insert/update/delete SQL statement) do you want to see this information?
What do you envision doing with this information when you get it?
Sounds like either an x-y problem, or a perceived solution to a non-existent problem.
Does not seem you fully understand Linux kernel I/O concepts.
Have a look at "Chapter 4. Advanced File I/O" (https://www.oreilly.com/library/view/linux-system-programming/9781449341527/ch04.html) in Linux System Programming, 2nd Edition by Robert Love.