The --keep-db-files option is only available when goaccess is built with --enable-tcb=btree. You'd have to petition the package maintainers to build the (EPEL) package with that option.