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 IQ: Size of resultset

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-29-10, 11:20
mayankv mayankv is offline
Registered User
 
Join Date: Jun 2010
Posts: 1
Sybase IQ: Size of resultset

I am a novice in Sybase, working on a project and for some validations I need to know the size of the resultset in MBs for a given select query. These validations have to be done at run-time so any help will really be appreciated. Thanks in advance!

(I had thought of 2 ways of doing the above initially: 1. Form a temp table from the resultset and then find size of the temp table. But this doesnt solve the purpose because if the space is going to be high, system will crash even then right when the temp table is created .
2. Find the size of 1 row by summing up size of each coloumn and then multiply it with count(*). But again I have more than 5000 tables and some of them with more than 500 coloumns.)
Reply With Quote
Reply

Tags
resultset, size, sybase

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

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