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
223 Views Asked by user3915488 At
0
There are 0 best solutions below
Related Questions in SQL-SERVER-2016
- SSRS 2016 List View Search
- Query fast, but when in a VIEW, it's slow - due to ROW_NUMBER
- Can not install SQL Server 2016 Basic
- R services in SQL Server 2016
- Stored Procedure - Search Parameter across multiple columns
- SQL Server edition for desktop application with no network
- Bottle neck on SORT operation
- Identify input file from PolyBase query in SQL Server 2016
- Calculating Percentage the best way alongside a count
- Merge Statement giving error once last name gets changed in Source Table
- Incorrect Syntax Near GO, T-SQL EXEC()
- Color the datagridview there where it found a difference with SQL
- Automatically submit an "OK" button press to SQL Server when brought up
- How to get end of month date from a "YearMonth" varchar column?
- SQL Server 2016 with Azure Blob Container , nvarchar(max) is not supported for external tables?
Related Questions in DATABASE-ADMINISTRATION
- Windows Authentication - Restrict SQL Server Backend Access
- who writes a DDL - DBA or the developer using the table
- Selecting ticketid with status history
- Oracle DB: delete all the contents
- How to create a "live" feed for two seperate Postgres Instances?
- grant to multiple db using one command
- what is the correct format of a column for store UTC date time
- how to schedule a job on Oracle SQL developer to execute shell command "Java -Jar /Home/JavaFile.jar" each one minute?
- Any ideas on why this query would run so slow?
- Attempting insertion into the row version column "SSMA_TimeStamp". Cannot insert into a row version column
- MongoDB command `compact` is not working
- Can we do table partition in SQL Server 2012 Standard Edition
- query that shows if the tables might need analyze and vacuum
- How to extractvalue of table counts using xml in DB2? (see working Oracle equivalent)
- Data Export of SQL Server table from one server to another / Data Flow task error
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 Find Whether SQL Server 2016 Db is set to be Memory Optimized or not?
- Out of Process in memory database table that supports queries for high speed caching
- Querying into a memory table
- Run SQL query on MySQL service startup
- How to change Delphi FireDAC tFDMemTable field name in design-time
- SQL Server In memory tables using tempdb
- mariadb galera cluster could support in memory table
- How to set Foreign Key constraint for 2 tables?
- DML triggers in memory optimized table in SQL Server 2016
- how to shrink a very big log file in SQL server 2016
- Issue with memory optimized tables transaction commit dependencies
- Best Table Engine for massively updated MySQL table. MyISAM or HEAP?
- Query returns wrong data with in-memory table and/or clustered column store index
- Using Web API TransactionScope and SQL Server in-memory table Issue
- Choose Mysql engine for processing a big "type-value" table
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?