Blob Sizes
Posted in 2000
Topics: General Discussion
Hello, All, Does anyone have a shell script that reports the blob sizes of each blob column for a particular database? I'm in the process of migrating some databases to a new platform, and I'd like to create some blob spaces but I don't know how big the average blobs are.
Vickey Crouch wrote: > > Hello, All, > > Does anyone have a shell script that reports the blob sizes of each blob > column for a particular database? I'm in the process of migrating some > databases to a new platform, and I'd like to create some blob spaces but > I don't know how big the average blobs are. Hi, I guess it would be easier to write a small ESQL/C program. Regards -- Stefan Weideneder Phone: +49 89/3565478-2 --------------- --- Fax: +49 89/3565478-3 ------------- ------ mailto:/stefan@weideneder.de --- -------- http://www.weideneder.de -----
Vickey Crouch wrote: > > Hello, All, > > Does anyone have a shell script that reports the blob sizes of each blob > column for a particular database? I'm in the process of migrating some > databases to a new platform, and I'd like to create some blob spaces but > I don't know how big the average blobs are. SELECT AVG(length( blob_colname )) FROM blob_tablename; I'm not sure you can do the function( function()) but if not use a temp table and average the records there. -- Art S. Kagel & Family kagel@erols.com