In most cases, users end up in a database for reading news. For transactions, very few queries are performed. 95% of database calls will be read-only.
The size of the log files in my database is growing 1 GB per day. Even if I compress the database, the size of the log file does not decrease. What could be causing the log file to grow larger? How can I control this? According to my knowledge log file does not increase when we read data from tables.
Any suggestions on how to work with the log file? How can you keep a manageable or reasonable size? Does this effect on performance?
There are a few things to consider. What types of backups do you make and what types of backups do you need. If you have an answer to this question, you can switch the recovery mode to simple or leave it filled, but then you need to do incremental backups on a daily basis (or whatever you do with the size of the log).
To set up database logging to simple (but only if you are doing a full backup of your database!).
, , . , ( ).
Grandeather & Father & Son, , , /STRONG > . . 1 , 15 . , .
, , , ( 1- ). , .
, ( ) . , , . , , , . , , . , , . , . 15 .
BOL, , , . . , . , , , , , . - .
? / , SQL Server .
The main reason for the large log file size is related to the bulk transaction in the database. To reduce the size of the log file, select the option to back up the transaction log after a certain period of time.
Source: https://habr.com/ru/post/1755045/More articles:How to crop gtk pixbufs - pythonShadow and CCSprite - objective-cкачать автозаполнение текстовое поле/выпадающее меню - javamiglayout question: column restrictions - swingjQuery Ajax How to pass responseText as a variable to indexOf? - jqueryiphone sdk 3.2 to 4.0 nib editing - iphoneLog file size is huge - sqlNokogiri: Parsing Irregular "<" - xmljQuery: Fade Out - Do Something - Fade in Pattern - jqueryКаково использование ":" в операторах if и else? - phpAll Articles