No, saying DataBase I mean SQL, LMDB database. Read here: What's the best way to load large data?
So DataBase as a external, general term.
torch.utils.data.Dataset can define how we want parse and transform data (ex. use LMDB and use DataAugmentation)