[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1052
  • Last Modified:

'logsegment' segment is full.

I get an error from SQL server

Can't allocate space for object 'Syslogs' in database 'MyDB'
because the 'logsegment' segment is full. If you ran out of
space in Syslogs, dump the transaction log. Otherwise, use
ALTER DATABASE or sp_extendsegment to increase the size of the segment.

How can I dump transaction log? I can't expand database space.
0
hansmtbank
Asked:
hansmtbank
1 Solution
 
Victor SpiridonovCommented:
You need to execute:
DUMP TRANSACTION mydb WITH TRUNCATE_ONLY or WITH NO_LOG
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now