Memory usage of SQL Server

Memory usage of SQL Server Every time SQL Server is enabled on a machine, the memory will be very tight whether or not it is used for SQL-related work. Today, I saw this in my book. I Googled it online and found related

SQL Server Stored Procedures and advanced applications

  Today, we will mainly discuss the application and Optimization Solutions of SQL Server Stored Procedures. Stored Procedure: As I wrote earlierArticleAn overview of the stored procedure is provided. Today, let's take a look at the advanced

SQL Server: Mobile System Database

When it comes to this problem, someone will think of three questions: 1. What is system data? 2. Why do we need a mobile system database? 3. We can use attaching and separating mobile system databases. Why do we need to separate them? Let me

SQL Server: Use a web browser in management Studio

  This is just a technique for using management studio.   When writing SQL in SQL Server Management studio, we cannot avoid frequent switching between the browser and SSMs, which is a waste of time. However, SSMs comes with a web browser, it is

[SQL Server] Create a table-auto-increment field and primary key

Create Table ds_tcategory -- problem category information table (categoryidint identity () primary key, -- category ID, primary key, automatically increasing categorynamevarchar (20) uniquenot null, -- category name (such as default, Major, c ++, C,

Temporary tables vs. Table variables and their impact on SQL Server Performance

Temporary tables vs. Table variables and their impact on SQL Server Performance -- Wang Chenghui translation finishing, post please indicate from Microsoft Bi pioneer http://www.windbi.com/--Original post addressIn the temporary tableCreate

SQL Server transactions and locks (II)-range S-S locks

In this article, we mainly focus on key-range lock. Key-range lock has s-s, S-u, I-n, X-X several situations. One by one, we strive to understand. Unfortunately, the deadlock analysis may be prolonged. Acquisition rules for range S-S locks Msdn

SQL Server case sensitive

Table Alter table name Alter column name nvarchar (100) (type) Collate chinese_prc_ci_as -- Case insensitive ALTER TABLE TBAlter column colname nvarchar (100) Collate chinese_prc_cs_as-- Case sensitive Modify to fieldAlso, in the design

SQL server disk space usage and log cleanup

I. query the usage of disk space and the size and utilization of data files and log files in each database:1. query the remaining space of each disk partition:Exec master. DBO. xp_fixeddrives 2. query the data files and log files of the database

SQL Server database table Locking Principle and how to unlock the table

1. Database Table Locking Principle 1.1 currently, the C/S and B/S structures all involve multiple users accessing the database. Each time point there are thousands of users accessing the database, and the same data is also accessed, this may

SQL Server transaction processing rollback transaction

Create a table: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> Set Ansi_nulls On Go Set Quoted_identifier On Go Create   Table   [ DBO ] . [ T1 ] (

How to assign the null value, null and "" to the datetime type in the C # and SQL Server databases

 Today, when you assign the datetime type data in the database to the datetime type variable in C #, a problem occurs, that is, the datetime data in the database has a null value. C # by default, null cannot be assigned to the datetime variable,

SQL Server 08 monitoring and common system tables

/* The reliability and performance monitor is a standard tool used by sql08 to monitor servers. It has updated the report counter for SQL Server.You can use these counters to track many different server resources and activities.SQL Server Profiler

Three methods for SQL Server to write transaction processing code during storage

SQL ServerMedium DatabaseTransaction ProcessingIs quite useful, given that many SQL beginners write Transaction ProcessingCodeVulnerabilities often exist. This article introduces three different methods to illustrate howStored ProcedureWrite the

SQL Server memory usage Solution

In the last two weeks, the memory of the DB server has not been used up, and 32 GB is used. As a result, the memory usage has been around 4 GB, which is really confusing. Normally, around 17 GB should be used. After troubleshooting for half a day,

Use SYS. sysprocesses to check the blocking and deadlock of SQL Server

SYS. sysprocesses is an important system view. It is mainly used to locate and solve SQL Server blocking and deadlock. Msdn: contains information about processes running on an SQL server instance. These processes can be client processes or

SQL Server System Table Analysis (2)-job table

1. sysjobactivity table Record the activity and status of the current SQL Server proxy job. Job_id: Job IDRun_requested_date: date and time when the job is requested to runRun_requested_source: the requester requesting to run the job. 1 = source_

SQL Server statement Import and Export

/****** Export to excelExec master.. xp_mongoshell 'bcp settledb. DBO. shanghu out c: \ temp1.xls-C-Q-s "JLJ"-U "sa"-P "password0987 "' /*********** Import ExcelSelect *From OpenDataSource ('Microsoft. Jet. oledb.4.0 ','Data source = "C: \ test.xls";

SQL Server Partitioned Tables process massive data volumes

Are you struggling to optimize your SQL Server database? If your database contains many very large tables, the partition function can help you a lot ...... [IT expert network exclusive] Are you also struggling to optimize your SQL Server database?

How to store database files, files, and file groups in SQL Server

Preface: Last time I wrote an article about indexes, several insite emails from yuanyou asked me how to store indexes and tables on different hard disks. I think it should be easier to write an article to describe files and file

Total Pages: 923 1 .... 260 261 262 263 264 .... 923 Go to: GO

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.