문제

My team is considering utilizing Hibernate/Envers for a granular point in time rollback solution for Redshift data. I have heard that using an ORM with Redshift is not a good idea. Are there particular drawbacks related to using an ORM such as hibernate with Redshift?

도움이 되었습니까?

해결책

There are known drawbacks related to using ORMs, period. They are a result of the inherent impedance between the object-oriented and relational models of the world. These issues will probably be exacerbated by the lack of Redshift-specific Hibernate dialect, and using a Postgres dialect will likely cause additional problems, as many Postgres features are not supported by Redshift.

In short, my opinionated advice would be, don't use an ORM for any non-trivial application, Redshift or not. "[G]ranular point in time rollback solution for Redshift data" doesn't sound like one.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 dba.stackexchange
scroll top