Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7488245
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T14:49:09+00:00 2026-05-29T14:49:09+00:00

sp_helpdb is giving me wrong results for log size/free: device_fragments size usage created free

  • 0

sp_helpdb is giving me wrong results for log size/free:

device_fragments               size          usage                created                   free kbytes      
------------------------------ ------------- -------------------- ------------------------- ---------------- 
data_device2                       1024.0 MB data only            Nov  5 2011  5:24AM                    238 
log_device1                         640.0 MB log only             Nov  5 2011  5:24AM       not applicable   
data_device1                       2048.0 MB data only            Nov  5 2011  5:24AM                 980560 
data_device1                       1024.0 MB data only            Nov  5 2011  9:41AM                1044480 
log_device1                        1024.0 MB log only             Nov  5 2011  9:41AM       not applicable   



-------------------------------------------------------------- 
log only free kbytes = 1723580                                 

Summing log only data size, it gives 1024+640 = 1664

But log free in mb is 1723580/1024 = 1 683.18359


How is it possible to have more free log space than the total size?

Sybase version:
Adaptive Server Enterprise/15.0.3/EBF 16736
ESD#2/P/Sun_svr4/OS 5.8/ase1503/2707/64-bit/FBO/Sun Jul 26 10:29:50
2009

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T14:49:11+00:00Added an answer on May 29, 2026 at 2:49 pm

    just a guess but any chance these are allocated values instead of used values? Maybe your log was bigger than it was cleaned and Sybase kept the apace allocated for it. I know that SQL Server does this when increasing the DB file sizes so just a guess…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The sp_password sproc in sql server 2000 only required membership in the db_accessadmin db_securityadmin
I am using sp_send_dbmail in SQL2005 to send an email with the results in
Like we have alternative for sp_helpdb sp = sysdatabases table, Do we have an
Sp I have a function like: void WriteToUrl(const unsigned char *buf, int size) {
sp_helpdb returns strings like '50000.255 MB' in the db_size column. These strings are culture-dependent;
I have a SP that Prints the results into SQL Server , but I
I have imported a SP to Entity Entity Data Model and added it to
sp_help lists columns among other things. I am trying to get just the results
By using sp_who2 I can get a list of current log-in users and machine
Quick question about SP 2010 licensing. Is it totally free? Can I install onto

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.