Notion of Equivalent Relational Databases (RDBs)?

  • Thread starter Thread starter WWGD
  • Start date Start date
  • Tags Tags
    Equivalent
Click For Summary
Determining the equivalence of two relational databases (RDBs) involves several approaches beyond simple relabeling and reordering of fields. At a fundamental level, comparing database snapshots using techniques like CRC can confirm if two databases are identical. A more advanced method involves comparing schemas, tables, and indexes at the user level, assuming consistent naming conventions, which can reveal equivalence across different vendor platforms. The highest level of comparison involves assessing schema designs to ensure that all necessary data is represented, even if naming differs. This is particularly relevant during database migrations, such as when a bank transitions to a new system, ensuring that data is accurately mapped and preserved. Companies like IBM provide industry-specific schemas and ETL tools to facilitate these migrations and ensure compatibility in merged organizations.
WWGD
Science Advisor
Homework Helper
Messages
7,766
Reaction score
12,982
Hi all,
RDB:=Relational Database
I need for this to determine if there is a standard, " reasonable" notion for when two RDBs are considered to be equivalent ( other than the obvious relabeling and reordering of fields). OF course, we assume that the Functional Dependency graphs are unique/fixed, up to graph isomorphism. I did a search, but it seems like anything useful is behind a pay wall.
 
Last edited:
Computer science news on Phys.org
This is a hard question to answer.

On the lowest level, comparing database saves using CRC or something similar would be one way. It would basically say if two snapshots of a database were identical.

At a higher level, using the whole database schema comparing schema to schema, table to table, indexes to indexes at the user level would be another. It assumes the names of schema, tables, columns... are the same. This might show two databases implemented on different vendor platform are the same.

At the highest level, comparing schema design to design and how things are modeled to see if any data is left out by one of the databases where names of things are different but still represent the same things.

Usually what happens is a company say a bank wants to migrate to a new database system. They would insure that existing data is properly mapped into the new schema and that nothing needed is lost in the migration.

Companies like IBM, would offer comprehensive industry specific schemas for banking that banks would use if a bank merger was planned so they would now have a common database for the new organization. The vendor would also supply the necessary ETL tools to migrate the data and its relationships over to th new system.
 
Last edited:
  • Like
Likes WWGD
Thanks, Jedi, how about using Relational Algebra? And, what is CRC?
 
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 95 ·
4
Replies
95
Views
7K
  • · Replies 110 ·
4
Replies
110
Views
19K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 26 ·
Replies
26
Views
5K
  • · Replies 21 ·
Replies
21
Views
6K
  • · Replies 51 ·
2
Replies
51
Views
5K
  • · Replies 37 ·
2
Replies
37
Views
3K
  • · Replies 335 ·
12
Replies
335
Views
40K
  • · Replies 4 ·
Replies
4
Views
3K