airs_ci-382
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| airs_ci-382 [2020/02/26 09:08] – [AIRS_CI-380 SQL Performance Improvement for DA Creation Quicksearch Count] kalaschnikow | airs_ci-382 [2020/03/25 09:34] (current) – [AIRS_CI-382 Contimual Improvement of DA related SQL statements] kalaschnikow | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== AIRS_CI-382 Contimual Improvement of DA related SQL statements ====== | ||
| + | |||
| + | [[https:// | ||
| + | [[https:// | ||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | ===== AIRS_CI-380 SQL Performance Improvement for DA Creation Quicksearch Count ===== | ||
| + | |||
| + | ==== TODO ==== | ||
| + | |||
| + | * There are different statements for seller and buyer users, which contain only those predicates, which are necessary to select the seller or the buyer specific data => no predicates like (cCustomerCGId = :11 OR cSupplierCGId = :12) | ||
| + | * this means | ||
| + | * if supplier add '' | ||
| + | * if buyer add '' | ||
| + | * Frank did this work already for "ASN Overview" | ||
| + | * https:// | ||
| + | * Eliminate repetitions of identical predicates like | ||
| + | <code sql> | ||
| + | AND ROWNUM <= 5000 | ||
| + | AND (cCustomerPortalGroup IN (:21 ,:22 )) | ||
| + | AND (cSupplierCPId IN (:23 ,:24 ,:25 ,:26 )) | ||
| + | AND (cSupplierCGId = :27) | ||
| + | AND CISUNREGSUPPLIER = :28 | ||
| + | </ | ||
| + | |||
| + | ===== AIRS_CI-381 SQL Performance Improvement for DA Creation Quicksearch Data ===== | ||
| + | |||
| + | ==== TODO ==== | ||
| + | * Eliminate repetitions of identical predicates like | ||
| + | <code sql> | ||
| + | AND ROWNUM <= 5000 | ||
| + | AND (cCustomerPortalGroup IN (:21 ,:22 )) | ||
| + | AND (cSupplierCPId IN (:23 ,:24 ,:25 ,:26 )) | ||
| + | AND (cSupplierCGId = :27) | ||
| + | AND CISUNREGSUPPLIER = :28 | ||
| + | </ | ||
| + | |||
| + | * Missing selective conditions for the joins of the sub queries in the first query block (for ASN_SOURCE_TYPE 2) are present. | ||
| + | |||
| + | |||
| + | ==== Misc ==== | ||
| + | |||
| + | * The SQL is built in '' | ||
| + | * The statement is built (filled with parameters) in '' | ||
| + | * To fetch VMIs use quick search ' | ||
