Notion of Equivalent Relational Databases (RDBs)?

  • Thread starter WWGD
  • Start date
  • Tags
    Equivalent
In summary, the conversation discusses possible ways to determine if two relational databases are equivalent. These methods include comparing database saves using CRC, comparing database schemas at the user level, and comparing schema design and data models at the highest level. The conversation also mentions how companies may use comprehensive schemas and ETL tools to migrate data between databases, and suggests using Relational Algebra to address the issue.
  • #1
WWGD
Science Advisor
Gold Member
7,031
10,618
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
  • #2
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
  • #3
Thanks, Jedi, how about using Relational Algebra? And, what is CRC?
 

Related to Notion of Equivalent Relational Databases (RDBs)?

1. What is the notion of equivalent relational databases (RDBs)?

The notion of equivalent relational databases refers to the concept that different databases can have the same data and relationships between data, but may have different physical structures and query languages. Essentially, they are equivalent in terms of data and relationships, but may differ in how they are implemented.

2. How are equivalent relational databases (RDBs) different from other types of databases?

RDBs differ from other types of databases, such as NoSQL databases, in that they use a structured data model and have a defined schema. This allows for easier querying and ensures data integrity. Equivalent RDBs may differ in their physical structures, but the data and relationships remain the same.

3. What are the advantages of using equivalent relational databases (RDBs)?

One major advantage of using equivalent RDBs is the ability to easily query and manipulate data using SQL. This structured approach also ensures data integrity and consistency. Additionally, RDBs have been used for decades and have a well-established set of best practices and tools.

4. Can equivalent relational databases (RDBs) be used in different programming languages?

Yes, equivalent RDBs can be used in different programming languages. As long as the programming language has a library or driver that can connect to the database, it can be used to access and manipulate data. This is because RDBs use a standard query language (SQL) that is supported by many programming languages.

5. How can one determine if two databases are equivalent?

To determine if two databases are equivalent, one can compare the data and relationships between the two. If they have the same data and relationships, but differ in their physical structures and query languages, they can be considered equivalent RDBs. However, if they have different data or relationships, they are not equivalent.

Similar threads

  • Programming and Computer Science
Replies
3
Views
975
  • Special and General Relativity
3
Replies
95
Views
4K
Replies
6
Views
1K
  • Special and General Relativity
2
Replies
51
Views
2K
  • Beyond the Standard Models
Replies
14
Views
3K
Replies
13
Views
2K
  • Special and General Relativity
4
Replies
110
Views
18K
  • Special and General Relativity
2
Replies
58
Views
4K
  • Quantum Interpretations and Foundations
Replies
2
Views
1K
  • Special and General Relativity
10
Replies
335
Views
35K
Back
Top