In case you have your own slow SQL query, you can optimize it automatically here.
For the query above, the following recommendations will be helpful as part of the SQL tuning process.
You'll find 3 sections below:
SELECT
V1.Live_DataIdx,
V1.DTLive1,
V1.DTLive2,
V1.DTLive3,
V1.DTLive4,
V1.DTDelivery,
V1.DTData2,
V1.DTLive5,
V1.DTData3,
V1.DTData4,
V1.Desc,
V1.Counter,
V1.DataFormat,
V1.DataType,
V1.Live_QueueIdx,
V1.Live_QueueGUID
FROM
V1
UNION
SELECT
V2.History_DataIdx,
V2.DTLive1,
V2.DTLive2,
V2.DTLive3,
V2.DTLive4,
V2.DTDelivery,
V2.DTData2,
V2.DTLive5,
V2.DTData3,
V2.DTData4,
V2.Desc,
V2.Counter,
V2.DataFormat,
V2.DataType,
V2.live_QueueIdx,
V2.Live_QueueGUID
FROM
V2