Prerequisites to run SQL Nexus
- .NET framework 4.6.2. Windows 10 anniversary update has version already.
- Download and install SQLSysClrTypes
- Download and install ReportViewer control (ReportViewer.msi)
- Download and install RML Utilities (RMLSetup_AMD64.msi)
- An instance of SQL Server (2012 or above) to connect to and process data
- Optional: PowerBI Desktop
Automate Prerequisites Installation
You can use the following PowerShell file (https://github.com/microsoft/SqlNexus/blob/master/Setup-Related/SetupSQLNexusPrereq.ps1) to install the three required and one optional prerequisites for SQL Nexus
How to Download and Use
- Download the SQLNexus_7.22.03.23_Signed.zip from Assets below. This is a zip file that contains Microsoft digitally-signed binaries
- Extract in a path location of your choice
- Go to the path and run sqlnexus.exe
Report Viewer |
Download |
2008 |
Report Viewer 2008系統需求.Net Framework 2.0 Microsoft Report Viewer 2008 SP1
Redistributable http://www.microsoft.com/download/en/details.aspx?id=3841 Security Update MS09-062 Report Viewer Redistributable 2008
Service Pack 1 GDIPLUS.DLL Security Update |
2010 |
Microsoft Report Viewer 2010 SP1
Redistributable Package http://www.microsoft.com/download/en/details.aspx?id=6610 Update fixes several Report Viewer
issues after you install Visual Studio 2010 Service Pack 1 (主要描述的就是要安裝下面那個連結) http://support.microsoft.com/kb/2549864 Update for Microsoft Visual Studio
2010 Service Pack 1 Report Viewer (KB2549864) Note If you have Microsoft Report
Viewer 2010 SP1 Redistributable Package installed, install the file that is
named "ReportViewer.exe." If you use Microsoft Visual Studio 2010
Service Pack 1, install the file that is named "VS10SP1-KB2549864-x86.exe." 遇到以下錯誤,需安裝Report Viewer 2010 SP1 Redistributable Package SQL Nexus的Reports有超連結,但是無法點選開啟報表,需安裝Report
Viewer 2010 SP1 update(KB2549864)
|
2015 Version=12.x.x.x |
MICROSOFT REPORT VIEWER 2015 RUNTIME
(12.0.2402.15) |
Version=13.0.0.0 |
Microsoft® SQL Server® 2016 Service Pack 3 Feature Pack https://www.microsoft.com/en-us/download/details.aspx?id=103444 i. Download and install enu\x86\sqlsysclrtypes.msi 若x86與x64都下載了,在Windows 2016環境兩個版本都能安裝成功 Microsoft® System CLR Types for Microsoft SQL Server® 2016 SP3
Note: This component also requires Windows Installer 4.5
ii. Download and install
enu\x86\reportviewer.msi 安裝完成後的版本資訊 為 13.3.6300.2 SQLNexus github提供的下載連結reportviewer版本是13.2.5026.0(比較舊) 必須先裝sqlsysclrtypes.msi,不然安裝ReportViewer時會出現以下錯誤 若sqlsysclrtypes.msi與reportviewer.msi沒有安裝正確,執行SQLNexus會出現以下錯誤訊息 If you run
sqlnexus.exe, Error "Could not load file or assembly
'Microsoft.ReportViewer.Common, Version=13.0.0.0,'" |
After you install the Database Experimentation Assistant, you will find the RML tools (ReadTrace
and OStress
) present in the C:\Program Files (x86)\Microsoft Corporation\Database Experimentation Assistant\Dependencies\X64\
folder.
If you're using the RML tools together with the SQL Nexus tool, you can obtain ReadTrace
and ostress
from https://github.com/microsoft/SqlNexus/releases/tag/09.04.0097.
RML Utilities for SQL Server is available for download from the Microsoft Download Center.
Microsoft SQL Nexus
Prerequisites to run SQL Nexus
- .NET framework 4.6.2. Windows 10 anniversary update has version already.
- Download and install SQLSysClrTypes
- Download and install ReportViewer control (ReportViewer.msi)
- Download and install RML Utilities (RMLSetup_AMD64.msi)
- An instance of SQL Server (2012 or above) to connect to and process data
- Optional: PowerBI Desktop
Automate Prerequisites Installation
You can use the following PowerShell file (https://github.com/microsoft/SqlNexus/blob/master/Setup-Related/SetupSQLNexusPrereq.ps1) to install the three required and one optional prerequisites for SQL Nexus
How to Use
- Download the SQLNexus_v_7_21_07_07.EXE (this is a digitally signed self-extracting zip file by Microsoft)
- Double-click on it to allow files to be extracted in a path location of your choice
- You will now see a SQLNexus_v_7_21_03_26.zip file which you can extract into a subfolder, e.g. \SQLNexus_v_7_21_03_26
- Go to the new subfolder and execute sqlnexus.exe
Cd C:\Program Files\Microsoft Corporation\RMLUtils
ReadTrace.exe -S"(local)" -E -d"ReadTraceDB20161020213501" -I"D:\TEMP\SQLTraceFiles\2016-10-20_21-35-01\TPECDB08_20161020212501.trc" -o"D:\TEMP\SQLTraceFiles\2016-10-20_21-35-01\output"
-d後面的資料庫名稱
-l要匯入第一個trc檔
-o指定一個執行匯入過程的紀錄檔目錄
暫時還沒有找到解決方法
https://blogs.msdn.microsoft.com/psssql/2008/11/12/cumulative-update-1-to-the-rml-utilities-for-microsoft-sql-server-released/
http://blogs.technet.com/b/patricg/archive/2008/01/11/precision-performance-for-microsoft-sql-server.aspx
PRB: RML Utilities - ReadTrace processing fails with "Attempt to use an invalid variant type
http://blogs.msdn.com/b/psssql/archive/2009/02/11/prb-rml-utilities-readtrace-processing-fails-with-attempt-to-use-an-invalid-variant-type.aspx
SQL Nexus and RML Utilities: A primer on the issues that I have dealt with last year
http://blogs.msdn.com/b/sqlserverfaq/archive/2011/02/07/sql-nexus-and-rml-utilities-a-primer-on-the-issues-that-i-have-dealt-with-last-year.aspx
沒有留言:
張貼留言