Patches for check_oracle -adds cache and tablespace  [sf#621567] [#90]