Symptom
- A DELETE query executed in the Sybase IQ database runs for an extended duration and consumes a very high amount of TEMP DBSPACE.
- TEMP DBSPACE utilization increases significantly, impacting other queries and scheduled reporting jobs.
- The DELETE query involves two tables, with the following query structure:
```
DELETE FROM "owner"."tab_A" AS A
FROM "owner"."tab_B" AS B
WHERE A.COL1= B.COL1
AND A.COL2 = B.COL2;
```
Read more...
Environment
SAP IQ 16.1
Product
SAP IQ 16.0 ; SAP IQ 16.1 ; SAP IQ 16.2
Keywords
sybase iq, delete query, temp dbspace, long-running query, query optimization, many-to-many join, cartesian product, database performance, query plan, indexing , KBA , BC-SYB-IQ , Sybase IQ , How To
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview