workaround for SQLNexus fail to import SQL 2016 trc file(SQLNexus...
workaround for SQLNexus fail to import SQL 2016 trc file(SQLNexus ReadTrace匯入sql 2016 trc失敗) Problem: Readtrace (SQL Profiler TRC Files) Import failed. Analysis: from ReadTrace.log 07/23/18...
View ArticleSQLNexus and RML Utilities (ReadTrace) – SQL Server效能分析工具
SQLNexus and RML Utilities (ReadTrace) - SQL Server效能分析工具 軟體下載與安裝方法 1.SQL Server Database Engine SQLNexus and RML需要SQL Server DB來儲存分析結果(可以使用SQL Server Express) Microsoft SQL Server 2016 Service Pack 2...
View ArticleWhat is ECMAScript ES (什麼是ECMAScript ES3,ES5)
What is ECMAScript ES (什麼是ECMAScript ES3,ES5) 1995年 Netscape Navigator網景的布蘭登·艾克開發的一種腳本語言的標準化規範;最初命名為Mocha,後來改名為LiveScript,一年後改名為JavaScript (PS.Javascript跟Java完全無關) ECMAScript 網景在1996將Javascript提交給ECMA...
View ArticleUse the Maintenance Plan Wizard (使用維護計畫精靈)
Use the Maintenance Plan Wizard (使用維護計畫精靈) 1.使用SSMS連線到SQL Server,在SQL Server Instance>管理>維護計畫,按下右鍵,選擇[維護計畫精靈] 2.設定排程,建議在離峰時間執行,例如01:00,最少可以每周執行一次。 3.選擇需要定期執行的工作...
View ArticleFrequently Asked Questions for PSSDiag Collection (PSSDiag收集常見問題)
Frequently Asked Questions for PSSDiag Collection (PSSDiag收集常見問題) Q1.如果你的SQL Server是在Windows 2016環境,請先安裝.NET Framework 3.5 (include .NET 2.0 and 3.0),不然會出現錯誤,無法收集 Q2.如果出現這個錯誤 SQLDIAG There are no...
View ArticleWindows Server Performance Tuning Guidelines
Windows Server Performance Tuning Guidelines OS Documents Windows 2016 Performance Tuning Guidelines for Windows Server 2016...
View ArticleThe distribution agent failed to create temporary files in xxx directory....
The distribution agent failed to create temporary files in ... directory. System returned errorcode 5 散發代理程式建立暫存檔失敗 Error: 錯誤訊息 當你修改了散發代理程式的處理帳號(執行帳號) When you change the Agent process account in the...
View ArticleReplication Log Reader Agent Error “The principal dbo does not...
Replication Log Reader Agent Error "The principal dbo does not exist" 設定SQL Server Replication複寫時,Log Reader Agent複寫記錄讀取器代理程式出現以下錯誤 Error: 錯誤訊息 Error messages: The process could not execute...
View ArticleGuideline for SQL Server configuration, installation and database creation
Guideline for SQL Server configuration, installation and database creation 1.考慮將Windows電源選項(Power Options)調整為高性能(High Performance)...
View ArticleSQL Server Reporting Services failed to start (Reporting Services啟動失敗)
SQL Server Reporting Services failed to start Reporting Services啟動失敗 Problem 問題: The SQL Server Reporting Services (MSSQLSERVER) service failed to start due to the following error: The service did not...
View ArticleCluster service verification failed
Cluster service verification failed 如果在Windows 2012 R2 failover cluster上安裝SQL Server 2008 R2 cluster將會遇到此錯誤 Rule "Cluster service verification" failed. 解決方法是 事先啟用 Failover Cluster Automation Server功能...
View ArticleInstall SQL 2017 CU4 non-English locale without internet access(離線安裝SQL 2017...
Install SQL 2017 CU4 without internet access (離線安裝SQL 2017 CU4) 週日接到微軟一位Machine Learning專家James Chang訊息,詢問如何離線安裝SQL 2017 CU4 了解狀況後,原來是SQL 2017 CU4在安裝過程中,需要下載Machine Learning(R Server and Python...
View Article複寫疑難排解 Replication Troubleshooting
複寫疑難排解 Replication Troubleshooting 從TLog讀取 sp_replcounters (Transact-SQL) Returns replication statistics about latency, throughput, and transaction count for each published database. This stored...
View Article複寫監控 Monitor Replication
複寫監控 Monitor Replication Measure Latency and Validate Connections for Transactional Replication 使用Tracer Token監控複寫延遲 保留延遲紀錄作法請參考我這篇 Programmatically Monitor Replication--Programmatically Monitor...
View ArticleSQL Server 2008 R2 Management Studio – Darker Shades of Blue Theme
SQL Server 2008 R2 Management Studio – Darker Shades of Blue Theme SSMS 2008 R2 套用Visual Studio色彩佈景主題環境設定檔 SQL 2012 SSMS以上才支援匯出與匯入環境設定檔 SQL 2008 R2 SSMS需自行調整字型與色彩,以下方法可以直接套用已經設定好的色彩佈景主題 1.Download:...
View ArticleFilter content in ERRORLOG log file過濾log檔案的內容
Filter content in ERRORLOG log file 過濾log檔案的內容 當你在Troubleshooting調查一個錯誤與問題時,如果ERRORLOG有大量不需要的紀錄,你可以使用以下方法來過濾。PS.當然如果你使用SSMS UI介面也是可以過濾,但用Command速度比較快一點。 1.Create a exclude text...
View ArticleUse Hyper-V differencing disks
Use Hyper-V differencing disks 使用Hyper-V差異虛擬磁碟 現在安裝個Windows Server虛擬機器(VM)通常要10到20GB的磁碟空間,若再安裝SQL Server則會更大,當我們需要建立多個VM時,可以使用Hyper-V的差異虛擬磁碟來節省磁碟空間。 差異虛擬磁碟(differencing disks)是共用一個parent disk(VHD or...
View ArticleInstall Windows Server 2016
Install Windows Server 2016 安裝Windows 2016 1.如果是在Hyper-V的VM安裝windows 2016則會先出現這個畫面 2.選擇語系,時間貨幣格式,與輸入法 3.按下Install Now開始安裝 4.選擇Windows版本 PS.若要安裝有GUI管理介面,請選擇(Server with Desktop Experience)的版本...
View ArticleCreate a template VM and Create a new VM from template VM
Create a template VM and Create a new VM from template VM 建立範本虛擬機器,透過範本虛擬機器來建立新的虛擬機器 1.Create a template VM (建立一個範本VM) Install guest OS, enable roles and features and then apply the needed Windows...
View ArticleVirtual Machine software and image file
Virtual Machine host software 虛擬機器軟體與虛擬機器映像檔 1.Microsoft 微軟虛擬化軟體 Windows Virtualization Software 虛擬化軟體 Windows 7 Windows Virtual PC https://www.microsoft.com/zh-tw/download/details.aspx?id=3702需要下載後安裝...
View Article