Quantcast
Viewing all articles
Browse latest Browse all 3587

Re: Sybase 16 SP02 not dropping temp tables

As far as I know:

 

  1. Each lwp will use an object descriptor (a DES) which will sit in the metadata cache. Yes it will have a dbid of 2 assigned to it, but I don't think it'll use any space in that db.
  2. The plan and sql text will be in the proc cache (the statement cache bit of it where applicable).
  3. There is no on-disk representation of a lwp as with regular objects/procs (i.e. no sysobjects/sysprocedures entries). They are by their nature non-persistent.

 

What is it that would use space in tempdb for a lwp?


Viewing all articles
Browse latest Browse all 3587

Trending Articles



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