Comparing Tables with Different Names

Discussion of open issues, suggestions and bugs regarding database management and administration tools for MySQL
Post Reply
wimagine7
Posts: 4
Joined: Tue 18 Feb 2014 17:06

Comparing Tables with Different Names

Post by wimagine7 » Tue 18 Feb 2014 17:14

We have two tables in the same server / database with different names (the attributes are identical). We use them to store system settings. Prior to our deployments, we move the rows from the settings table over to the settings_old table. Following our deployment, we would like to compare the 2 tables to see what's changed. Is this possible?

Thanks,

Doug

alexa

Re: Comparing Tables with Different Names

Post by alexa » Wed 19 Feb 2014 10:12

You can map the tables having different names and define comparison keys on the 'Mapping' page of the 'New Data Comparison' wizard. Please refer to the 'How To: Map Tables and Views' and 'How To: Map Columns' topics in the product's Help documentation for details.

rances
Posts: 3
Joined: Sat 11 Dec 2021 15:12

Re: Comparing Tables with Different Names

Post by rances » Sat 11 Dec 2021 15:14

How About schema comparison? There's no option for custom mapping when comparing schema only. Am I right?

alexa

Re: Comparing Tables with Different Names

Post by alexa » Sun 12 Dec 2021 08:41

In the Schema Compare feature, schemas are mapped automatically.

rances
Posts: 3
Joined: Sat 11 Dec 2021 15:12

Re: Comparing Tables with Different Names

Post by rances » Sun 12 Dec 2021 11:47

Exactly what I've found. Why is custom mapping of tables only available for data comparison. If tables have different names, then the names are different for both data and schema comparison. Makes no sense.

Auto mapping maps to exact same table names and has no option to define a different prefix for the tables.

alexa

Re: Comparing Tables with Different Names

Post by alexa » Mon 13 Dec 2021 08:53

We will implement such a possibility in one of the next product versions.

rances
Posts: 3
Joined: Sat 11 Dec 2021 15:12

Re: Comparing Tables with Different Names

Post by rances » Mon 13 Dec 2021 17:10

That's great alexa, is it possible to receive a notification? Or is there another way to find out when the feature gets released?

alexa

Re: Comparing Tables with Different Names

Post by alexa » Tue 14 Dec 2021 11:41

We will drop you a notification then.

Post Reply