Changes to commands  Changes to set

Chapter 1: The Statement Cache

Changes to dbcc

dbcc adds the prsqlcache and purgesqlcache parameters. The prsqlcache parameter allows you to print summaries of cached SQL statements, and the purgesqlcache parameter purges all statement cache entries, except those that are currently in use.

This is the partial syntax for dbcc:

dbcc prsqlcache[oid, printopt]
dbcc purgesqlcache

where:

See “Purging the statement cache” for an example of dbcc prsqlcache and “Printing statement summaries” for examples of dbcc purgesqlcache.





Copyright © 2004. Sybase Inc. All rights reserved. Changes to set

View this book as PDF