Memory misunderstanding of SQL ServerSQL Server Memory
The read/write speed of the memory is much higher than that of the disk. For the database, it will take full advantage of the memory to cache as much data as possible from the disk to the memory, this allows the database to read and write data directly from the memory, reduce IO requests to the mechanical disk, and improve the data read and write effici
. The default mode is full recovery. To modify the default recovery mode, you can useALTER DATABASEStatement to modify the recovery mode of the model database.Note that if you plan to maintain consistent transaction log backup, you cannot switch to the simple recovery mode or change from the simple recovery mode to other.
Use SQL Server management tool (SSMS) to
SQL Server database scheduled automatic backupThis article is from reprint: http://www.cnblogs.com/zhangq723/archive/2012/03/13/2394102.htmlPrerequisite: Before using the backup method below, you need to make sure that your SQL Server Agent service is started, and that the c
executed. Then, the remote database will send the data back, however, at this time, the four remote databases cannot transmit data at the same time, but they can only be sent one by one.
In addition, in this process, the SQL Server ole db will send the "Statistical Information of the retrieved data rows" to the remote SQL S
Problem description after SQLServer2008R2 is installed, it is found that the default database instance installed locally cannot be found through SSMS (SQLServerManagementStudio, because this problem has been fixed) Open SQLServerConfirmation
Problem description after installing SQL Server 2008 R2, it is found that the default database instance installed locally c
, NAME = n' TestDB1-full database backup ', SKIP, NOREWIND, NOUNLOAD
After the creation steps are completed, the next step is to create a plan. The operation for creating a plan is very simple, and the interface is described in detail. I will not talk about it much. You can also configure alarms and notifications, but this is rarely used.
The method of executing SQL scripts in SQL jobs to back up data is si
included in the account configuration information. e-Mail Retry configuration: Specifies how many times the email is sent and the retry interval.e-Mail size limit: The size of the sent message configuration. List of excluded Attachment extensions: Provides the list log level for prohibited extensions:Specifies that logging is performed at that level.We recommend creating a mail-only account.Can be configured by ssms→ management → Database Mail. Archi
create a backup job of a system database that alerts you whether the backup job succeeded or failed. Subsequent work may include creating and dispatching business database backups, index maintenance (rebuilding or reorganization), and so on. If you are managing a relatively simple database system, you can use the SSMS Database Maintenance Plan Wizard to enable maintenance scheduled job scheduling.This article is the first in this series, mainly to in
First, we will introduce how to migrate access data to SQL Server. Here we use the access northwind database as an example.
This is the table structure.
OK. First, open SSMs, select any database, right-click the database, and choose task> Import database.
Welcome to the next step in the Wizard, select the data source
If the format is. accdb,
Label:SQL Server memory UnderstandingMemory read and write much larger than the disk, for the database, will make full use of the advantages of memory, the data as much as possible from the disk cache to memory, so that the database can read and write data directly from memory, reduce the IO request to the mechanical disk, improve the efficiency of data read and write.Memory is so important to the database that we can see the memory as long as it is i
. Start a page restore from a full database backup, file backup, or filegroup backup that contains the page. In the Restore DATABASE statement, use a page clause to list the page IDs of all the pages that you want to restore.Page= ' Filepage '3. Apply the most recent differential backup.4, apply the subsequent log backup.5. Create a new database tail-log backup.6, restore the new tail day backup. After you apply this new log backup, the page restore is complete and you can start to access the pa
Cannot Debug SQL: Unable to start T-SQL Debugging. cocould not attach to SQL Server process on, t-sqldebuggingWhen SSMS debug SQL script is used today, an error is reported: Unable to start T-
version of SSMs already has a function point for the server object, the linked server , the user first creates a linked object of the remote DB, and then executes the DML of the table like the local surface.Create step: Open in SQL Server 2005 version
Registered servers window:
You can use SSMs to register multiple servers and connect them, so that DBA can manage multiple local or remote servers in one environment. The registered servers window is invisible by default. to display it, click the View menu to select the registered servers option, or press the shortcut key CTRL + ALT + G.
Right-click any location in the registered servers window, open the context menu, register a new
SQL or machine, the oldest log will be gone.First compress these several errorlog, then copy to the local, actually copy to the local as a backup role, and how to check how to checkStep 2: How can I view such a large log file? Install a SQL Server on this computer, and then replaceInstallation path \microsoft SQL
Tags: style blog http io ar color using SP on This experience uses the SQL database migration Wizard (SQLAZUREMW) to migrate SQL Server 2008 databases to Azure SQL database. Of course, SQLAZUREMV can also migrate SQL Server 2005/
Failover Cluster Manager----Verify the configurationTwo additional SQL Server serversAfter the verification has passed, click FinishAfter the validation is passed, we can create it;We define the cluster name and IPSql-cluster192.168.5.46Confirm the information afterStart creating a clusterDefinition CompleteTwo node informationDisk informationConfigure QuorumAdvanced arbitration OptionsSelect all nodesSele
performance
SQL Server worst practices
DBA
Security
SQL injection attacks by example
SQL Injection cheat sheet
Performance TroubleShooting
Improving SQL server performance (msdn)
Did you know? Free
References
Monitoring with SQL profilerReadtrace
There is a profiler tool in SQL Server to track the execution process of SQL Server and monitor all the processes of SQL Server. If
steal data or tamper with the data. Ensuring data security is a critical part of configuring SQL Server and developing applications that use it to store data. This ladder explores the fundamentals of SQL Server 2012 security so that you can protect your data and
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.