to standard mode, with the 1th, because the log is often an important basis for restoring the database in some unusual cases.
However, the server can use the following statement to execute in Query Analyzer
Copy Code code as follows:
DUMP TRANSACTION [Jc8] with no_log
BACKUP LOG [Jc8] with no_log
DBCC shrinkdatabase ([Jc8])
JC8 is the
Original address: http://blog.chinaunix.net/uid-11065483-id-3654882.htmlBecause the company needs to monitor the line record of QQ, originally used the structure of the light +panabit+splunk to do record. Panabit use is quite comfortable, but when the day of the Splunk log records more than 500MB, Splunk free version can no longer use, which makes me very depressed. So I began to look for other solutions, a
understand the logstash what is going on. So this book is also highly recommended. But the new version of the book has not been found free, I was looking at 1.3.4 version, although the version is somewhat lower, and now the Logstash some different (no longer use Fatjar packaging, but directly with the bash script to launch the Ruby script), but the main function does not change much, Some of the instructions for the official documentation are still a
right-clicking the task of the database that you want to shrink the log file for corresponds to, shrink-file, as follows: Shrink log file Mode three (completely remove log files)Sometimes we don't need large log files at all, we need to completely remove the log files to
Original: SQL Server log file large shrinkage method (measured and useful)These two commands are executed consecutively, with less time and more apparent (multiple runs) until the effect is reached-- truncate BACKUP LOG to DISK = ' NUL ' -- Shrinkage DBCC Shrinkfile ('cloudmonitor_log')You can use regular regular backup logs (such as once an hour) to prevent the
-- all
Task-Detach Database(2) Delete the log file.(3) Attach the databaseEnterprise Manager -- database -- Right-click Database -- all tasks -- attach database. MDF is enough.
3. Detailed methods for compressing SQL databases and logs
Basic tutorial on SQL Server 2000-after a database is compressed for a period of time, there may often be too much free space in
: DBCC Dbreindex and CREATE INDEXD. When restoring from a transaction log backupE. Client applications do not process all resultsF. Query timed out before the transaction log completion extension, you receive a fake "Log full" error messageG. Non-replicated transactionsWorkaround:1. Free up disk space (for beginners);2
Method 1:
First step:
BACKUP LOG database_name with NO_LOG
or the BACKUP log database_name with TRUNCATE_ONLY--no_log and truncate_only is synonymous here, and any sentence can be executed.
Step Two:
1. Shrink all data and log files for a particular database, execute DBCC SHRINKDATABASE (Database_name,[,target_percent])--database_name is the name of the database
the instance, you can login to the instance through the Admin console's management terminal as long as you have a Web browser locally.
Log on to an instance using Telnet software
Remote login software is used in a similar usage. This document takes Putty as an example to describe how to remotely log on to a remote instance. Putty easy to operate, free, install
Tags: monitor window Gtid Constrain 5.7 statement process Val File Windows under Install Configuration install MySQL5.7 Server free 1. Download and unpack the installation package Download Mysql-5.7.19-winx64.zip from the official MySQL website After the download is complete, the installation package is extracted to the D:\DevSoftware\mysql57\ directory and a mysql-5.7.19-winx64 directory is generated. Now
SQL 2008 log Files account for 23G of hard disk space, and the transaction log has been truncated (Truncate), the actual log content is small, 1G is not, want to release the extra space occupied by the log files.
However, no matter how you shrink (Shrink) log files, space i
as follows:Ssh-keygen-B key length-t key typeKey types can be: rsa1 (corresponding to SSH1 RSA), rsa and dsa (corresponding to SSH2)
For example, ssh-keygen-B 1024-t rsa
Generated by default ~ /. Ssh/id_rsa file.
However, the format of the SSH2 key generated by ssh-keygen is different from that generated by putty and cannot be used directly. You must use puttygen.exe to convert the key.
So we are still using rsa1, so there is no difference in general use.
2. Let Putty display Chinese Characters
Old left first See Pagoda server Management Assistant software information should be last week in the Little Night blog to see ads, from this software introduction should be in the past two years gradually in the update, upgrade, currently has Linux and Windows environment version, where most of our users need Linux system version in the inside version , but the function for the ordinary construction station should be relatively complete.
From the
Tags: style tar ext c Get fileWhen doing the project to get a only 280M database backup, but in SQL Server 2000 recovery time to wait for a half a day before the recovery is complete, it feels very strange, so suspect there is something fishy. To the directory of the data file next look, sure enough to claim a close to 10G database log file! Databases that have never done so much data before, and have not d
Article Title: XFS System in the Linux server operating system log file. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open source, and other basic categories. XFS is a high-performance 64-bit file system, developed by SGI to replace the original EFS file system. XFS maintains cache consistency, locates data,
DBCC LoginfoDBCC log (' Qssys ', type=2)GoSELECT * from Sys.fn_dblog (null,null)Select [Dirty pages],[minimum lsn],[checkpoint end],[chkpt Begin DB version],[checkpoint begin],operation,context,[log Record length],allocunitname from Fn_dblog (null,null)SELECT * FROM dbo. T_companyaccount with (NOLOCK)Operation: Operations done by the current LSNCURRENTLSN: Serial number uniquely identified in the transactio
Execute SQL statement with no temporary table in the middle
Prompt server: Message 9002, Level 17, State 2, row 1
database ' tempdb ' logs are full. Please back up the transaction log of the database to free up some log space.
On the Internet to find a solution, is to expand the temporary library of the
Label:Error description: The transaction log for the database is full. To find out why the space in the log cannot be reused, see the Log_reuse_wait_desc column in sys.databases.First introduce the concept of transaction log (from Baidu Encyclopedia):The transaction log is a file that is separate from the database file
traditional mirror environments, We did the appropriate pruning using scripting, so let's talk about the simplest method of shrinking in AlwaysOn.SQL Server logs will automatically free up space when it is backed up, such as a weekly log of 10GB, a weekly backup, and a log on disk that will always remain around 10GB.T
Microsoft released the visual Studio Team Foundation Server Update 2.1 on May 5, 2016. Let's take a look at the new features that Update2.1 has brought to us.: Team Foundation Server Update 2.1Note: Team Foundation Server Update 2.1 Fixes some of the bugs in the previously released Update 2.0, please refer to the following: HTTPS://MSDN.MICROSOFT.COM/EN-US/LIBRAR
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.