dbTalk Databases Forums  

Sybase 15.x recommended default page size

comp.databases.sybase comp.databases.sybase


Discuss Sybase 15.x recommended default page size in the comp.databases.sybase forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
TobiMc3
 
Posts: n/a

Default Sybase 15.x recommended default page size - 01-11-2012 , 09:52 AM






Is there an industry standard recommended page size for new 15.x
installations? My client is using 2K page size, and is having problems
with applications that access the database as follows:

Caused by: com.sybase.jdbc3.jdbc.SybSQLException: Attempt to update or
insert row failed because resultant row of size 2493 bytes is larger
than the maximum size (1964 bytes) allowed for this table.

Thanks!

Tobi

Reply With Quote
  #2  
Old   
bret_halford@msn.com
 
Posts: n/a

Default Re: Sybase 15.x recommended default page size - 01-13-2012 , 12:36 PM






On Jan 11, 8:52*am, TobiMc3 <tobi... (AT) gmail (DOT) com> wrote:
Quote:
Is there an industry standard recommended page size for new 15.x
installations? My client is using 2K page size, and is having problems
with applications that access the database as follows:

Caused by: com.sybase.jdbc3.jdbc.SybSQLException: Attempt to update or
insert row failed because resultant row of size 2493 bytes is larger
than the maximum size (1964 bytes) allowed for this table.

Thanks!

Tobi

The default value was raised to 4K some time back.

You do need to set the page size large enough to handle the largest
row
length your applications will require. This will be somewhat less
than the page size as there is some overhead used for the page
header of each page, and INSERT log records need to be able
to store the whole row plus some additional overhead for the row.
The "dbcc serverlimits" command gives the exact values for
various page sizes, lock schemes, etc.

Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.