SQL Server 2017 có tính năng mới: Machine Learning Services (R/Python), SSIS Scale Out Master/Worker, PolyBase extensions. Bài viết hướng dẫn cài đặt chi tiết.
Chọn phiên bản
- Evaluation Trial (180 ngày): Full features, sau đó mua license Enterprise/Standard.
- Developer Edition: Free, full features, **chỉ dùng dev/test** (khuyên dùng cho học tập).
- Express Edition: Free, dùng production được, giới hạn 10GB, thiếu một số features (Agent, DTA...).
- Standard/Web/Enterprise: Có phí, khác biệt về features (TDE, partitioning, online indexing...).
Quy trình cài đặt (Custom)
- Chạy setup -> Custom -> Chọn thư mục (cần 9GB).
- Installation -> New SQL Server stand-alone installation.
- Product Key -> Free edition -> Developer.
- License Terms -> Accept.
- Microsoft Updates -> Check updates.
- Install Rules -> Pass.
- Feature Selection (chọn quan trọng):
- Database Engine Services (core).
- Replication.
- Machine Learning Services (In-Database): R và/hoặc Python.
- Full-Text Search.
- Data Quality Services.
- PolyBase: Query external data (NoSQL, Hadoop) -> cần Oracle JRE.
- Analysis Services (Multidimensional/Tabular).
- Integration Services: Scale Out Master / Worker.
- Distributed Replay Controller/Client.
- Client Tools SDK / SQL Client Connectivity SDK.
- Master Data Services.
- Instance Configuration: Default instance.
- PolyBase: Standalone hoặc Scale-out group (cần port/MSDTC).
- Server Configuration: Service accounts (không cho admin trừ khi bắt buộc).
- Database Engine Configuration:
- Authentication: Mixed Mode -> Set sa password -> Add Current User.
- Data Directories: Tách data/log.
- TempDB: Config số file (khuyên 4).
- FILESTREAM: Enable nếu cần.
- Analysis Services: Multidimensional hoặc Tabular (Tabular phụ thuộc RAM). Add Current User.
- Integration Services Scale Out: Master port/cert, Worker endpoint.
- Accept R / Python installation.
- Ready to Install -> Install (15-45 phút).
Sau cài đặt
- Cài SSMS từ Installation Center.
- Mở SSMS -> Connect -> New Query -> Chạy
sp_whotest. - Cài thêm SQL Server Data Tools (SSDT) cho BI (SSAS/SSIS/SSRS) nếu cần.