All Apps and Add-ons
Highlighted

How to ensure data consistency after DBConnect migration from v1 to v2?

Communicator

So my Db Conenct fetches the data from the database and dumps it in an index.

I upgraded DB Connect by installing v2 of DB Connect and ran those 3 awesome scripts to migration all the DBs and connections and identities.

Which is the way to ensure DB has not missed fetching any data during the upgrade phase.

0 Karma
Highlighted

Re: How to ensure data consistency after DBConnect migration from v1 to v2?

Super Champion

You could compare what the DB Connect is showing to what is actually in your DB table(s)? Might not be the best method, but doing some field comparisons could be pretty automated, depending on the data.

0 Karma
Highlighted

Re: How to ensure data consistency after DBConnect migration from v1 to v2?

Communicator

DB will have hundreds of records. Its difficult to compare fields and values 😞

0 Karma
Highlighted

Re: How to ensure data consistency after DBConnect migration from v1 to v2?

Super Champion

is it possible to grab what is in your index index=dbIndex and do an |addcoltotals or a |stats count or dc for all fields and then do a |dbxquery connection=db query="select * from dbTable" and then do the same |addcoltotals or |stats command to the end and see if they come out the same? Just make sure if they have time frames that they're looking at the same one.

0 Karma