본문 바로가기

분류 전체보기

Testing SMTP Server from the command line http://www.vsysad.com/2013/10/testing-smtp-server-from-the-command-line/ Method 1 – TelnetI am going to assume that your server is Windows Server 2008 R2, although these steps will work on Server 2003 also. Another assumption is that you have the telnet client installed. If you don’t have it installed follow the steps in this post and then follow these instructions:1. Fire up the command prompt .. 더보기
윈도우명령어 - icacls -- 백업Icacls.exe "F:\Cluster" /save C:\BACKUP\Tech_F_acl.txt /t /c-- 복원 (주의:백업받은 폴더의 상위폴더로 정의하자) Icacls.exe F:\ /restore C:\BACKUP\Tech_F_acl.txt 더보기
Create DNS records - Allow any authenticated user to update DNS records with the same owner name Name (uses parent domain name if blank) The single-part name for a host (a computer or other device) in this zone. If this box is blank, the host name is the same as the parent domain name. If you need to add a name here that contains a period (.) to indicate the name of an additional domain level, first add the additional domain separately in DNS Manager and then add a new host record there as .. 더보기
Editions and Supported Features for SQL Server 2016 2016에서는 특이하게 SP1에서 기능들이 향상된 것들이 많다.주의깊게 보시라.Editions and Supported Features for SQL Server 2016https://docs.microsoft.com/en-us/sql/sql-server/editions-and-supported-features-for-sql-server-2016 키워드 : SQL2016기능 더보기
SQL Server 연결 풀링 - 성능 카운터(ADO.NET) .Net 어플리케이션을 사용하여 SQL에 접속을 할 경우에 Connection Pool 이 정상적으로 동작하는지 체크할 수 있다.해당 서버에서 성능카운터로 확인이 가능하다. Connection Pool 의 개념은 아래의 링크에서 확인. SQL Server 연결 풀링(ADO.NET)https://msdn.microsoft.com/ko-kr/library/8xx3tyca.aspx 성능카운터성능 카운터(ADO.NET)https://msdn.microsoft.com/ko-kr/library/ms254503.aspx 성능 카운터 설명 HardConnectsPerSecond 데이터베이스 서버에 대한 초당 연결 수입니다. HardDisconnectsPerSecond 데이터베이스 서버에 대한 초당 끊긴 연결 수입니다... 더보기
How It Works: When is the FlushCache message added to SQL Server Error Log 아래 로그를 보면 checkpoint I/O에 대한 내용이다.TF3504를 걸면 저런 로그를 확인할 수 있다. 그냥 참고용. FlushCache is the SQL Server routine that performs the checkpoint operation. The following message is output to the SQL Server error log when trace flag (3504) is enabled.2012-05-30 02:01:56.31 spid14s FlushCache: cleaned up 216539 bufs with 154471 writes in 69071 ms (avoided 11796 new dirty bufs) for db 6:02012-05-30 02:01:56.. 더보기
Diskpart 로 SAS인지 iSCSI 인지 확인하기 C:\Windows\system32>DISKPART Microsoft DiskPart version 6.3.9600 Copyright (C) 1999-2013 Microsoft Corporation.On computer: DCHGUAWECMV01 DISKPART> SELECT DISK The arguments specified for this command are not valid.For more information on the command type: HELP SELECT DISK There is no disk selected. DISKPART> LIST DISK Disk ### Status Size Free Dyn Gpt -------- ------------- ------- ------- --- .. 더보기
SQL 테이블 PK 추가 및 삭제하기 [LAB]PatientTable 이 테이블에 ID 열로 PK 가 있음. PK 는 클러스터 인덱스로 정의 될 수 있음. CREATE TABLE [dbo].[PatientTable]( [ID] [int] NOT NULL, [name] [nvarchar](30) NULL, [Docname] [varchar](20) NULL, [Jumin] [varbinary](128) NULL, [Problem] [varbinary](400) NULL,CONSTRAINT [PK_PatientTable] PRIMARY KEY CLUSTERED ( [ID] ASC)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = .. 더보기