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

Re: What's reason cause the insert delay in tempdb and how to improve it?

$
0
0

Post the complete output from the following:

 

=========================== submit to 'isql'

sp_helpdb tempdb

go

sp_helpdevice

go

 

set showplan on

set statistics io,time on

go

 

-- execute each proc twice; once to compile,

-- second time to re-use in-memory query plan

 

exec sp_1 -- does the basic select * from mytab

go

exec sp_1 -- does the basic select * from mytab

go

exec sp_2 -- does the insert/select against #tmptab

go

exec sp_2 -- does the insert/select against #tmptab

go

===========================

 

NOTE: Would recommend posting all output as a *txt attachment to maintain format and make easier to read.


Viewing all articles
Browse latest Browse all 3587

Trending Articles



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