If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Sybase > Sybase Cache

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-23-10, 05:11
manik019 manik019 is offline
Registered User
 
Join Date: Mar 2009
Location: New Delhi - India
Posts: 22
Question Sybase Cache

How can I clear all the cache' in Sybase ??
Reply With Quote
  #2 (permalink)  
Old 09-29-10, 15:05
farhy farhy is offline
Registered User
 
Join Date: Aug 2010
Posts: 19
sp_unbindcache_all "default_data_cache"

--------------------------
check out our blog:
SybDocBlog | The Sybase internal FAQ page
Reply With Quote
  #3 (permalink)  
Old 09-30-10, 10:40
ishu.cs ishu.cs is offline
Registered User
 
Join Date: Mar 2008
Posts: 59
try dbcc cacheremove ( dbname, objectname )
Reply With Quote
  #4 (permalink)  
Old 10-01-10, 05:43
pdreyer pdreyer is offline
Registered User
 
Join Date: May 2005
Location: South Africa
Posts: 1,268
Besides those already posted
Other commands to look at depending on your version

set statement_cache off -- session level
<your sql statements here>

or
sp_configure 'statement cache size',0 -- server level

dbcc proc_cache (free_unused)

dbcc proc_cacherm(type, dbname, objname)

where: type is V,P,T,R,D,C,F, or S (must be uppercase) corresponds to View,
Proc, Trigger, Rule, Default, Cursor, SQLJ Function, SQL function
Reply With Quote
Reply

Tags
cache, sybase

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On