Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » UltraLiteJ » UltraLiteJ 参考 » UltraLiteJ API 参考 » Configuration 接口

 

setPageSize 方法

设置数据库的页大小(以字节为单位)。

语法
Configuration Configuration.setPageSize(
  int page_size
) throws ULjException
参数
  • page_size   页面大小。

注释

页面大小设置用于确定存储在持久数据库中的行的大小上限。它也确定了索引页面的大小,以及每个此类页面可含有的子项数目。

使用现有数据库时,该大小已经设置为数据库创建时的页面大小。无法使用此方法重置现有数据库的页面大小。

页面大小的范围是 256 到 32736 字节。缺省值为 1024 个字节。

返回值

设置了页面大小的 Configuration 对象。