I have a warehouse with a 800 GB log file.now I want to shrink or another solution to reduce the disk space occupied by the Log.ldf. I tried shrink file in several ways.I got a full backup , transaction log back up , changed recovery mode , ran dbcc command but none of them affected log file volume in disk , detach database and then deleted the log file but because of memory-optimize file container I faced error while I attempted to attach it again (I read SQL server will automatically add a log file but apparently not when database has a memory_optimize file ) after all these solutions my log file is still 800 GB and I don't know what to do to free disk space used by log file. Is there any suggestion ? Or do I forget to do sth in my approaches ?
how to shrink a very big log file in SQL server 2016
224 Views Asked by user3915488 At
0
There are 0 best solutions below
Related Questions in SQL-SERVER-2016
- Select Columns with prefix
- Run SSIS package through Server its working fine but that package I am running on my local system its not working
- Degraded performance when inserting records in batches into a table with columnstore index
- Select substring of multiple rows with similar values
- How delete in specific order
- The 'Other Data Source' button is not activated when creating a SQL Server linked server
- Why can't I combine two SQL Server functions?
- How do I revoke a SELECT permission on one column of a table and still allow the user to do a SELECT * FROM the table?
- Why can't SQL Server Agent be started?
- Properly implement DENSE_RANK() or similar function
- Powershell SQL module errors out when trying to use sqlserver cmdlets
- How do I make one trigger fire but ignore the actions done by another trigger?
- Conditionally execute a query
- Issue with embedded text qualifier
- How do I create log of running balance of debits associated to the credits
Related Questions in DATABASE-ADMINISTRATION
- Moving LOB size more than actual size
- import dump in oracle database
- SQL Server Replication - Transactional
- Create a one computer/one user relationship to permissions on a database
- Grant Alter to Only to All Functions on SQL Server
- Oracle database Undo size not clearing after the dml operation
- How to create specific user security for schemas?
- How to change the password for all Oracle database users?
- OS User on Oracle DBA History views
- How Oracle calculates the db block changes segment metric?
- Is there a way to update 2 values each time calculating data on each row?
- Views Creation Permissions without table Creation Permissions in POSTGRESQL
- Can i set -I ( Quoted Identifier ON ) for all scripts while running through Batch File?
- Cassandra dynamic snitch and dynamic_snitch_reset_interval_in_ms parameter
- Reading system_health*.xel files efficiently
Related Questions in SHRINK
- How to safely release unallocated space for 1 table in a database?
- Android proguard removes all classes in the root jar
- Unable to Shrink ubuntu root partition on vmware
- To Shrink or Not to Shrink the Log File
- shrink (truncate) file from beginning on linux
- Replicate OpenCV resize with bilinar interpolation in C (shrink only)
- Remove redundancies in code
- Dynamically shrinking textfield's frame to text inputted
- How to make an absolute positioned element end just before the other element while changing the width of the screen?
- Force shrinking of MigLayout-Component inside JScrollPane
- Multiline EditText shrinking when focused
- Python: Shrink/Extend 2D arrays in fractions
- Problems with Dojo ShrinkSafe
- Shrink string encoding algorithm
- Resize tightly packed array without copying data
Related Questions in IN-MEMORY-TABLES
- How to disconnect recordset obtained from local table in MS Access?
- MS Access crashes after reassigning disconnected ADODB recordset to form
- mariadb galera cluster could support in memory table
- Oracle: detect a NOT INMEMORY column
- SQL Server - Memory quota error during migration to in-memory table
- how to update in-memory table dynamically using dolphindb database
- How to change Delphi FireDAC tFDMemTable field name in design-time
- How to set Foreign Key constraint for 2 tables?
- SQL Server In-Memory table use case with huge data
- Querying into a memory table
- PostgreSQL User Defined table type in memory
- Issue with memory optimized tables transaction commit dependencies
- Query returns wrong data with in-memory table and/or clustered column store index
- Why is TABLE not POPULATING in V$IM_SEGMENTS even after scanning?
- Using Web API TransactionScope and SQL Server in-memory table Issue
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?