nosql & relational database architecture