First, backgroundPreviously wrote an article about backup: SQL Server maintenance plan to implement database backup, the above article using full backup and differential backup basically can solve the problem of database backup, but in order to protect the data more secure, we need to perfect our backup plan again;The following article mainly joins the log backup
change the original table to the online table has been modified failed. After you temporarily disable SQL Server account, you can modify the name of the table.Analysis: There is a schema-stable lock during SQL execution, and it is easy to modify the data structure failure for highly concurrent access tables. It is recommended that you temporarily stop the busine
Start a server, is exactly the cloud host, the environment inside is pre-configured, but in the configuration planning tasks, but found that mssql2005 plan backup can not do, will error:
Copy Code code as follows:
SQL Server Create Maintenance plan failed (SQL
SQL Server Maintenance Plan Maintenance Plan is a very useful maintenance tool that can accomplish most of the database maintenance tasks, and by encapsulating these features, you can save a lot of code writing time. There is n
SQL ServerHorizontal scaling: Design, implementation and maintenance (3)-distributedPartitionView implementation
In the previous articleArticle, We have already mentionedDistributed partition ViewThe linked server technology is used for implementation, and the implementation principle is also roughly described.Internal MechanismSo far, our series aims to practi
Tags: directory maintenance guideSQL Server 2014 installation and Configuration guideChapter Catalogue"SQL Server 2014 management and Maintenance"1th. Achieving data integrity and consistency1.1 Data integrity1.2 Data consistency1.3 Blocking and deadlocksThe 2nd chapter cont
of requests for full index scans per second or full table scans per second. If the scan frequency is greater than 1 per second, the index is missing or the index is poor.
3.2.5. SQL serveraccess methodspagesplits/sec displays the number of page splits per second. It can be avoided through proper index maintenance or good fill factor.
3.3. CPU
3.3.1. systemprocessor Queue Length indicates the system queue l
the New Task Step dialog box, enter the name of the output file that reports the fragmentation analysis results: 6. Click the OK button to return to the new Job dialog box; 7. On the schedule page of the New Task dialog box, click New Schedule and enter the appropriate plan for running the SQL Server task: Schedule this stored procedure to execute at non-peak. To determine the database schema of the
Indeed, database maintenance is often given to professional database administrators, but as a developer, you may occasionally need to do this work temporarily. So, try these two SQL Server maintenance tips: Easily change the database owner, defragment the index. Who would have thought you could even teach one or two ne
Indeed, database maintenance is often given to professional database administrators, but as a developer, you may occasionally need to do this work temporarily. So, try these two SQL Server maintenance tips: Easily change the database owner, defragment the index. Who would have thought you could even teach one or two ne
recovery, and differential recovery;
With the above foundation, we have added database backup elements to generate database backup files through maintenance plans. These include two types of files: Full backup and differential backup of the database, with these two files, we can use SQL Server backup and restoration full strategy (Graphic operations) or
Tags: server error code base SYS about MDA tar Restart Center Error symptoms: D:\Program Files\Microsoft SQL Server\mssql.1\mssql\log below Erroelog, hit with text, view run dimension plan unsuccessful is the generated error log details: 2011-08-11 14:16:48-! [298] SQL Server
operations. This is called the reaching. But note that some additions and deletions with a where condition, in these cases, some indexes can improve performance, such as the millions of the table to delete a row of data, if there is no index (assuming that even the clustered index does not), then only scan the entire table delete, in the formal environment to try to know, the speed is simply unacceptable.
Too many indexes also cause the database to "volume" to become larger. In essence, the p
SQL Server backup and restoration raiders, which includes through SSMS operation to restore a variety of backup files graphics guide, SQL Server database minimum downtime migration solution, which uses SQL script (T-SQL) complete
Summary of SQL SERVER partition tables-Maintenance and Management of partition tables
After creating a partition table as required, you must manage and maintain the partition table. The main content is:
1. Use the Sliding Window Scenario solution to split partition tables and data moving intermediate tables.
2. Structure Change Management of Partitioned Tables.
options
Minimum--Minimum value for configuration options
Maximum--Maximum value of configuration options
Value_in_use--The running value currently used by the configuration option
Description--Description of configuration options
Is_dynamic--equals 1 indicates a variable that needs to execute the reconfiguration statement to take effect
Is_anvanced--equals 1 indicates a variable that requires the show advanced statement to take effect
--You can also use sp_configure to
=pc.index_idWHEREPs.avg_fragmentation_in_percent> Ten andIx.name is not NULL Execution Result:Execute the generated SQL statement:ALTER INDEX [PK__GD_MOVEB__1489BC61D65FF2AA] on [dbo].[Gd_movebarcode_detail]REBUILDGoALTER INDEX [Pk_branchstylealldata] on [dbo].[Branchstylealldata]REORGANIZEGoALTER INDEX [pk_pubbranchlocation_1] on [dbo].[pubbranchlocation]REBUILDGo5. Rebuilding the entire library's statisticsExec sp_updatestats;6. View
?', ObjectProperty (object_id (' Udftotalamount '), ' isdeterministic ') ' udfdeterministic? ', ColumnProperty (' OBJECT_ID (' Salesorderdetaildemo '), ' netprice ', ' isprecise ') as ' precise?'5. Build the index when the requirements are met. and run the previous query statement againCREATE INDEX Idx_salesorderdetaildemo_netpriceon Salesorderdetaildemo (netprice) goselect * from Salesorderdetaildemo WHERE Netprice>5000goThe performance results for this time are as follows:
SQL Server Performance Tuning 3 Index MaintenancePreface
The previous article introduced how to improve database query performance by creating indexes, which is just the beginning. If you do not need proper maintenance in the future, the indexes you have previously created may even become a drag-and-drop attack and a helper for database performance degradation.Se
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.