troubleshooting Question

Can Sybase display size, db filename, etc from a compressed file without restoring the compressed db?

Avatar of ART_Mac03
ART_Mac03Flag for United States of America asked on
Sybase Database
5 Comments1 Solution692 ViewsLast Modified:
I am relative unfamilar with how Sybase uses compressed files.

can Sybase read the contents of a compressed file to show me the size of the database contained in the compressed files as well as table and column information? I would like to see such information without actually loading the database contained in the compressed files.

Here is a sample of the Sybase load statement
load database merrin
       from 'compress::6::/net/locki/export/dumps/support/clientDbs/mftp/BPI/merrin_01.zmp'
  stripe on 'compress::6::/net/locki/export/dumps/support/clientDbs/mftp/BPI/merrin_02.zmp'
  stripe on 'compress::6::/net/locki/export/dumps/support/clientDbs/mftp/BPI/merrin_03.zmp'
  stripe on 'compress::6::/net/locki/export/dumps/support/clientDbs/mftp/BPI/merrin_04.zmp'
  stripe on 'compress::6::/net/locki/export/dumps/support/clientDbs/mftp/BPI/merrin_05.zmp'
go

The system uses SQL Advantage/Sybase 12.5.3.

Basically, I would like to how the Sybase equivalent of MS-SQL Server's RESTORE FILELISTONLY FROM DISK.

Thanks,
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros