Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.


I want to see if there is a way to get total space used per column on a table in sybase IQ. I know a command "sp_iqdbspaceinfo" but this only returns the overall space used for all the columns in the tables.


asked 11 Nov '13, 15:06

sqlgeek's gravatar image

accept rate: 0%

I don't know whether this applies to Sybase IQ, however SQL Anywhere has a sa_column_stats() system procedure that may be of help here. Note: It does not really tell the space used but it may give some clues to the size of each column's data.

However, as SQL Anywhere does use a row-based storage and IQ does not AFAIK, it may not be appropriate here.

(12 Nov '13, 06:20) Volker Barth
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 11 Nov '13, 15:06

question was seen: 2,529 times

last updated: 12 Nov '13, 06:21