Which approach to follow - Tag Historian /Transaction Groups/Tag Event Script and Query Tag/Named Query

There's no general rule. Tell us what you are trying to do. But these links might help: