Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2740

Re: Running update [index] statistics on multiple tables at the same time.

$
0
0

Greetings,

 

     I get similar sp_lcok output on all processes while running update index statistics on multiple tables in ASE 15.0.3 and ASE 16 SP01.

 

fidspidloidlocktypetable_idpagerowdbnameclasscontext
014902980Sh_intent2400pssiNon Cursor Lock              

 

Sid.

 

select Login = suser_name(suid), spid, cmd, physical_io, cpu, blocked, object_name(id,dbid)

from master..sysprocesses

where suser_name(suid) is not null

and cmd  like 'UPDATE%'

go

 

Loginspidcmdphysical_iocpublockedcolumn7
dbamonsqlsvc213UPDATE STATISTICS600(null)
dbamonsqlsvc1490UPDATE STATISTICS600(null)
dbamonsqlsvc2439UPDATE STATISTICS2643800(null)

Viewing all articles
Browse latest Browse all 2740

Trending Articles



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