Results 1 to 4 of 4

Thread: SQL Admin question--Transaction log problem?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2000
    Location
    BC, Canada
    Posts
    142
    A SQL7 DB has following transaction log setting

    Space allocated 11 MB
    Maxmium size 18MB

    Used 2.44MB
    Free 10.24MB

    Database option: Truncate log on checkpoint (checked)


    But when I tried to do a modification of a table with 14K records (eg. add one more column), I got an error msg:


    'MLetter' table
    - Unable to modify table.
    ODBC error: [Microsoft][ODBC SQL Server Driver][SQL Server]The log file for database 'MDB' is full. Back up the transaction log for the database to free up some log space.


    Since I checked the option 'Truncate log on checkpoint', the server is supposed to clean log file automatically.
    What could be wrong?





  2. #2
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105
    Were other people using the database when you attempted this? The log file is only cleared to the point of the oldest open transaction.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 2000
    Location
    BC, Canada
    Posts
    142
    I am the only user for this database now.
    What should I check at this moment? Any idea?

  4. #4
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105
    You might try opening the database exclusively and making the change...

    OR

    Increasing your log files by a couple of hundred percents...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width