oracle - Is there a way to resolve Parallel from Serial in SQL? -
I have problems with a query that I wrote that we do not accept the data warehouse we use There is a part in which there is parallel with serial or S-> P, when I explain the plan, I have a trivial error, even when I remove the query from errors. Any idea would be useful.
query This should be done in the same form as your query. Can this also give you an error?
SELECT / * + use_hash (doi, seg) * / doi.ORDER_ID as "PO", Doi.DISTRIBUTOR_ID as the "vendor ID", doi.ISBN aS "ASIN", as doi.QUANTITY_ORDERED the "volume went confirmed" D_DISTRIBUTOR_ORDER_ITEMS doi (SELECT / * + use_hash PRODUCT_SEGMENT_MEMBERSHIP psm from * / psm.ASIN WHERE psm.SEGMENT_ID = 784885) Seg ON doi.ISBN = seg.ASIN WHERE doi.ORDER_DAY = '2009/04/06 seg.ASIN by command
doi.ORDER_ID selection as "PO", doi.DISTRIBUTOR_ID as "Vendor ID", doi.ISBN as "ASIN", D_DISTRIBUTOR_ORDER_ITEMS as doi.QUANTITY_ORDERED doi "the confirmed volume" Join PRODUCT_SEGMENT_MEMBERSHIP PSM on doi.ISBN = psm.ASIN and psm.SEGMENT_ID = 784,885 where doi.ORDER_DAY = '2009/04/06' ordered by psm.ASIN
Comments
Post a Comment