Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I don’t want to give other teams direct access to a DB [...]

You don't have to. Package up necessary queries into views and/or stored procedures and grant permissions only on those. Views can also shield from schema changes.



That also requires all data to be in the same DB. Often that’s not practical or possible.


Postgres FDW's do wonders to centralize this type of access.


In SQLServer you can define external tables that access data on another server, or even parses a file.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: