Quantcast
Channel: Toad Data Point Forum - Recent Threads
Viewing all articles
Browse latest Browse all 2544

Cross Connection Query - Looking for Better Performance

$
0
0

I am new to Toad (less than year with it), as we are gradually migrating away from using Hyperion (Brio).  I was given a list of 21,539 part numbers and asked to return one metric on each of them (quantity sold in the last 12 months).  We store this value in the INVENTORY table, so it seems to be a simple scenario.  The steps that I took:

  1. Imported the list of parts from a .csv file into my Toad Local Storage Connection.
  2. Connect to the Oracle database.
  3. Setup a cross connection query:
    1. Bring in the table from local storage (TinaR_20170222)
    2. Bring in the INVENTORY table from Oracle
    3. Join on part number
    4. Select the part number from the local storage table.
    5. Select the qty RYTD from the INVENTORY table.
    6. Execute.
  4. Duration:  2 hours 2 minutes.

Query: 

SELECT TinaR_20170222.`SKU ID`

, INVENTORY.QTY_ROLL_YTD_SALES_NET_BALANCE

FROM

`Local Storage Connection`.ToadMain.TinaR_20170222 TinaR_20170222

INNERJOIN DWH_LIVE_SREDWH_OC.DW_ORDER.INVENTORY INVENTORY

ON (TinaR_20170222.`SKU ID` = INVENTORY.PART_NUMBER)


I grew curious while the query was processing so I tried the same steps with Hyperion; duration:  less than 2 minutes.

How can this task be completed quicker with Toad Data Point 4.0.1.775?


Viewing all articles
Browse latest Browse all 2544


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>