I do not know how, but i somehow seem to have managed to create duplicate entries on the db with my import from vCenter. Could this happen to VMs with multiple IPs?
I am using MySQL, i ran below sql to identify if there are duplicate entries and yes two records with count 2.
select object_name, count(*) c from imported_row group by object_name having c>1;
I did not delete duplicate entries considering those records may have reference in other tables and i may end up with some stale records. How can i safely clean it up? I am okay to drop entire imported data too.
Hi,
I do not know how, but i somehow seem to have managed to create duplicate entries on the db with my import from vCenter. Could this happen to VMs with multiple IPs?
I am using MySQL, i ran below sql to identify if there are duplicate entries and yes two records with count 2. select object_name, count(*) c from imported_row group by object_name having c>1;
I did not delete duplicate entries considering those records may have reference in other tables and i may end up with some stale records. How can i safely clean it up? I am okay to drop entire imported data too.
Thank you, Jay