Toward smart and efficient scientific data management