Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 3587

Re: Performance Penatly using Partitions

$
0
0

For comparison purposes I would want to see the rows from monSysStatement, the entire query plan for both queries, the output from sp_help for both tables, and information about any triggers on the tables, otherwise ...

 

- I can't tell if the monProcessActivity records include activity not related to the actual delete

 

- I can't tell (for sure) if both operations were run in direct mode

 

- I can't tell if one operation had more indexes to update

 

Also ...

 

- were these 6500 rows deleted via a single DELETE statement, or via a cursor/looping construct?  (I'm trying to understand how you could delete 6500 rows and have 6546 Transactions & Commits ... as opposed to a single Transaction & Commit.)

 

- what construct did you use to perform the deletes?  did you use a SQL batch, a stored proc, a sql query run via a exec() call?

 

- did you perform these deletes on the same dataserver with the same configurations

 

------------------------

 

Without more details I'd guess the cpu (and total time) difference is due to having to compile 6500 separate DELETE statements ... perhaps with the slower process not being able to use statement cache ... again, just a guess without more details ...


Viewing all articles
Browse latest Browse all 3587

Trending Articles



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