Hi,

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.

Thanks

asked 11 Nov '13, 15:06

sqlgeek's gravatar image

sqlgeek
1477713
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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×34

question asked: 11 Nov '13, 15:06

question was seen: 1,000 times

last updated: 12 Nov '13, 06:21