table.setmaxcachesize - Function

3.2.1 set maximum cache size for column in the table
Description

It can sometimes be useful to limit the size of the cache used by a column stored with the tiled storage manager. This function requires some more knowledge about the table system and is not meant for the casual user.

Arguments





Inputs

columnname

Name of column

allowed:

string

Default:

nbytes

Maximum cache size in bytes

allowed:

int

Default:

Returns
bool

Example

  tb.open("3C273XC1.MS")  
  tb.nrows()  
# 7669L  
  tb.setmaxcachesize ("DATA", 4*1024*1024);  
# True

Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu

Copyright © 2008 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search

Updated daily during alpha development.