(Customer information)
--Shrink the specified data file, 1 is the file number, you can query through this statement:
SELECT * FROM Sysfiles
DBCC Shrinkfile (1)
4. In order to maximize the reduction of log files (if it is SQL 7.0, this step can only be done in Query Analyzer)
A. Detaching a database:
Enterprise Manager--server--database--right key--detach database
B. Delete log files on my Computer
C. Additional databases:
Enterprise Manager--
How do I check the maximum memory size supported by the server board BIOS?From:How to check the Maximum supported Memory by motherboard Bios (document ID 1680534.1)Suitable for:Linux os-version Oracle Linux 5.0 to Oracle Linux 6.5 [Release OL5 to Ol6u5]Linux x86-64Linux x86Goal:Get the maximum memory size supported by the ser
2009-02-15 11:52:54|Category: Default Categories | Tags: | Report | Font size Big medium small subscription
ASP. NET (C #) FileUpload implements uploading files of limited type and size to server 2009-01-07 23:29
The upload file has two main destinations, one is the server, the other is the database,
Since the replication of the thought can be a safe sleep, who do not know that the problem ensued
The problem is to lose the packet , do not know the situation of the reader can first look at me before the "SQL Server monitoring replication and use the Database Mail function to send alarm mail"
Because the engine room C and room A is not a LAN, the network condition is not too good
Distribution backlog of commands are often in 20w+ , replication do
1. Add the configuration size in the directory/etc/nginx/ngins.conf file (red labeled Configuration and location to add):HTTP {# Set MIME type, type defined by Mime.type fileInclude/etc/nginx/mime.types;Default_type Application/octet-stream;Client_max_body_size 100m;# Set Log formatLog_format Main ' $remote _addr-$remote _user [$time _local] "$request" '' $status $body _bytes_sent ' $http _referer '' "$http _user_agent" "$http _x_forwarded_for";Access
I. BACKGROUND
In the performance tuning or need to understand a database table information, the most intuitive way is to list the data of all the table information, including: The number of records of the table, data capture space, index footprint, unused space, etc. (as shown in Figure1), With this information you can simply determine that the pressure on the database from the data may be caused by a certain table. Because the larger the table data, the greater the impact on database performan
When you create a database in SQL Server you can specify the initial size of the database file, for example, we set the size of the newly created database mydb to 1024MBWell, the database you built will actually take up about 1024MB of disk space.However, using the stored procedure sp_spaceused you can see that there is 1021.85 MB of space that is mydb occupied u
Label:The company has to standardize the size of the personnel library every month.The following is a SQL Server with the size of the SQL repository:SELECT db_name(database_id) as [Database Name], [Name] as [Logical Name], ((Size* 8)/ 1024x768) as [Size (MB)],--the or
Today, the tribe is here to discuss with you how to set up IIS to make the default upload file size of about 200K.
In fact, we only need to make some changes to IIS on the server to break through this 200K limit, the following methods:
The first step: Edit the metabase directly to allow
In IIS, right-click Local computer to select Properties and check "Allow direct editing of the metabase."
Do project database file more than 200G, search the method of compressing data log everywhere, but a lot of log file's physical size has not changed, execute the following script can change the physical file size, the formal production environment is used with caution, can first local test decide whether to use (db_name for the corresponding database name);Use [master]GOALTER DATABASE db_name SET RECOVERY s
I. BACKGROUND
Previously wrote an article about: SQL Server cursor Usage: View a database of all table size information (sizes of all tables in a DB), which lists information about all tables of a data, including the number of records in a table, the amount of space that a data record occupies, Indexing takes up space, unused space, and so on (as Figure1 shows), now I'm going to tell you how to get informa
In the official blog of Microsoft Asia-Pacific Database Support Group, you will find that many articles use the Procmon.exe tool.
Today I would also introduce this tool
How big is the experiment based on this article, SQL Server, per log write? "
Download address for this tool:http://files.cnblogs.com/lyhabc/ProcessMonitor.zip
The test content in the article is like this
What is the minimum size of SQL
If you want to get the picture size in the background, you canSystem.Drawing.Image img = System.Drawing.Image.FromFile (Server.MapPath ("image/2.gif"));If it is an uploaded file, you can use System.Drawing.Image img = System.Drawing.Image.FromStream (this. File1.PostedFile.InputStream);int height = img. Height;int width = img. Width;/* Set the width and height of the picture */Img. Height = BMP. Height;Img. Width = BMP. Width;. NET background Get
@tablename VARCHAR (255)--use Cursors to read all table table names in the databaseDECLARE table_list_cursor Cursor FORSELECT name from sysobjectsWHERE objectproperty (ID, N ' istable ') = 1 and name not as N ' #%% ' ORDER by name--Open cursorOPEN Table_list_cursor--Read the first piece of dataFETCH NEXT from Table_list_cursor to @tablename--Iterate over the queried table nameWhile @ @FETCH_STATUS = 0BEGIN--Check whether the current table is a user tableIF EXISTS (SELECT * from sysobjects WHERE
Tags: drop div inf use ROM des PNG reserve imgCREATE TABLE tmp ( name varchar (), rowscount int, reserved varchar (), data varchar, index _size varchar (+), unused varchar (); Insert TMP (name, Rowscount, reserved, data, index_size, unused) exec sp_msforeachtable @command1 = "sp_spaceused '?"; SELECT * FROM TMP where name A different approachSELECT DISTINCT a.name, B.rowsfrom sysobjects A, sysindexes bwhere a.id = B.idand A.type = ' u ' and B.rows>0order by B.R oWS DESCSQL
NEXT from Info_cursorInto @tablenameENDCLOSE Info_cursorDeallocate info_cursorGOIi. execution of stored proceduresEXEC Get_tableinfoThird, query table dataSELECT *From TablespaceinfoOrder BY cast (left (LTrim (RTrim (reserved)), Len (LTrim (RTrim (reserved)))-2 as int) desc************************************************************************************Simple analysis:1. Single tableEXEC sp_spaceused N ' table name ';2. DatabaseUse [Database to view]sp_spaceused3. All databasesexec sp_msfore
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.