문제

For a testing projects I need to test is databases are working as required or not; as well as need to check that given two databases, the data in DB are identical or not. So, is there any pre-defined algorithm for preforming this task?

도움이 되었습니까?

해결책

Define what is identical. Is it schema, data or both? If schema, is it only tables or all elements including functions/procedures/views etc.

If you would use jdbc, then start with schema revealing functions and compare and contrast the objects one by one. Then repeat the same for the data inside the tables.

You can take advantage of the OpenSource projects to read the schema details.

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