Why is My Transaction Log Growing in My Availability Group? (Dear SQL DBA Episode 36)

Поделиться
HTML-код
  • Опубликовано: 13 янв 2025

Комментарии • 7

  • @cwaddy878
    @cwaddy878 3 месяца назад

    I have the exact same problem on our SQL cluster and did not find this helpful I am sorry to say. All that and then "reboot", I thought there would be a process described on how to actually find the root cause and how to resolve.

  • @jeroendankelman9641
    @jeroendankelman9641 7 лет назад +1

    Thanks for the clear and nice explanation!

  • @abandonedstudios
    @abandonedstudios 4 года назад

    Thank you for this video! I'm experiencing a similar issue and this gave me a lot of information about what I can look into! :-)

  • @carstenhansen3979
    @carstenhansen3979 7 лет назад

    From the lazy log blog:
    CREATE TABLE test1 ( myvarchar varchar(5000))
    GO
    INSERT INTO test1 VALUES( replicate(‘*’,5000))
    GO 5000
    DELETE FROM test1
    At first, I did not understand but it works because the primary key constraint is missing :-)
    BACKUP LOG [LLTTest] TO DISK = N’C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\LLTTest.bak’ WITH NOFORMAT, NOINIT, NAME = N’LLTTest-Transaction Log Backup’, SKIP, NOREWIND, NOUNLOAD, STATS = 10
    What is the purpose of NOREWIND, NOUNLOAD when creating a disk file?
    What is the purpose of NOINIT/SKIP: "If the volume contains a valid media header, appends the backup set, preserving all existing backup sets."

    • @Kendra_Little
      @Kendra_Little  7 лет назад

      I can't tell if this is a joke or not, because I was joking around in the video about how I couldn't answer random questions on RUclips with any speed or accuracy :)
      The backup options are explained here: docs.microsoft.com/en-us/sql/t-sql/statements/backup-transact-sql
      It gives more details on all of those items if you have a question. (I can't tell if you're sharing or asking.)

    • @carstenhansen3979
      @carstenhansen3979 7 лет назад +1

      Thanks. I did not expect an answer but was just asking a “Dear SQL DBA” Question

    • @Kendra_Little
      @Kendra_Little  7 лет назад

      Oh, sure! That would be a fun episode to talk through some of the cryptic backup terminology. I'll put that on my list.
      Thanks, I totally didn't get it. Probably because I was doing two things at once.