IDIOMS

know inside and out

(transitive, idiomatic) To know (something or someone) very thoroughly.

Example:   He's still new to their system, but he knows databases inside and out and will understand the rest soon.