Modul 1
Modul 1
FUNDAMENTALS
MODULE 1
➢ Overview of Database and DBMS
➢ Introduction to SQL Server and its Edition
➢ Exploring SQL Server Management Studio
Overview of Database
and DBMS
Data, Information, Metadata
Workgroup
Enterprise
Exercise 1 (Waktu: 30 Menit)
❑ Case: Sistem Informasi Kepegawaian
❑ Sebutkan contoh entitas yang dapat digunakan pada rancangan database
sistem tersebut!
❑ Bagaimana relasi dari tiap entitas?
❑ Sebutkan contoh atribut dari tiap-tiap entitas!
Introduction to SQL
Server and its Edition
What is SQL Server?
❑ It is a software, developed by Microsoft, which is implemented from the
specification of RDBMS.
❑ It is also an ORDBMS.
❑ It is platform dependent.
❑ It is both GUI and command-based software.
❑ It supports SQL (SEQUEL) language which is an IBM product, non-
procedural, common database and case insensitive language
Usage of SQL Server
❑ To create databases.
❑ To maintain databases.
❑ To analyze the data through SQL Server Analysis Services (SSAS).
❑ To generate reports through SQL Server Reporting Services (SSRS).
❑ To carry out ETL operations through SQL Server Integration Services (SSIS)
SQL Server Features
❑ Data Storage and Management
❑ Security
❑ High Availability and Disaster Recovery
❑ Performance Tuning and Optimization
❑ Business Intelligence
❑ Scalability
❑ Cloud Integration
❑ Developer Tools
❑ Advanced Analytics
SQL Server Editions (1)
Edition Definition
Enterprise The premium offering, SQL Server Enterprise edition delivers comprehensive high-end
datacenter capabilities with blazing-fast performance, unlimited virtualization 1, and end-
to-end business intelligence, enabling high service levels for mission-critical workloads and
end-user access to data insight.
Standard SQL Server Standard edition delivers basic data management and business intelligence
database for departments and small organizations to run their applications and supports
common development tools for on-premises and cloud, enabling effective database
management with minimal IT resources.
Web SQL Server Web edition is a low total-cost-of-ownership option for Web hosters (including
choosing Web edition on IaaS on Azure) and Web VAPs to provide scalability, affordability,
and manageability capabilities for small to large-scale Web properties.
SQL Server Editions (2)
Edition Definition
Developer SQL Server Developer edition lets developers build any kind of application on top of SQL
Server. It includes all the functionality of Enterprise edition, but is licensed for use as a
development and test system, not as a production server. SQL Server Developer is an ideal
choice for people who build and test applications.
Express edition SQL Server Express edition is the entry-level, free database and is ideal for learning and
building desktop and small server data-driven applications. It is the best choice for
independent software vendors, developers, and hobbyists building client applications. If
you need more advanced database features, SQL Server Express can be seamlessly
upgraded to other higher end versions of SQL Server.
Scale Limits
Feature Enterprise Standard Web Express with Express
Advanced Services
Maximum compute Operating system Limited to lesser of 4 Limited to lesser of 4 Limited to lesser of 1 Limited to lesser of 1
capacity used by a maximum sockets or 24 cores sockets or 16 cores socket or 4 cores socket or 4 cores
single instance - SQL
Server Database
Engine
Maximum memory for Operating system 128 GB 64 GB 1410 MB 1410 MB
buffer pool per maximum
instance of SQL Server
Database Engine
Maximum memory for Unlimited memory 32 GB 16 GB 352 MB 352 MB
Columnstore segment
cache per instance of
SQL Server Database
Engine
Maximum memory- Unlimited memory 32 GB 16 GB 352 MB 352 MB
optimized data size per
database in SQL Server
Database Engine
Maximum relational 524 PB 524 PB 524 PB 10 GB 10 GB
database size
SQL Server Installation (1)
❑ Kunjungi link berikut: SQL Server Downloads | Microsoft
❑ Download SQL Server 2022 Express
SQL Server Installation (2)
❑ Pilih tipe instalasi “Basic” dan accept lisensi
SQL Server Installation (3)
❑ Klik Install
SQL Server Installation (4)
❑ Klik Install SSMS
❑ Setelah melakukan klik pada tombol install SSMS, maka halaman web untuk download akan
muncul di browser, yaitu Download SQL Server Management Studio (SSMS) - SQL Server
Management Studio (SSMS) | Microsoft Docs.
SQL Server Installation (5)
❑ Klik hasil download software SSMS → pastikan lokasi instalasi → klik
❑ Jika status instalasi SSMS sudah complete, maka akses database dapat dilakukan melalui SSMS
Exercise 2 (Waktu 1 Jam)
❑ Lakukan instalasi SQL server dan SSMS sesuai langkah-langkah yang telah
dijelaskan sebelumnya.
Exploring SQL Server
Management Studio
SSMS Features (1)
❑ Versi disesuaikan dengan hasil instalasi (20.1)
❑ Isi server name (biasanya sesuai dengan device
name) dan nama instance
❑ Login menggunakan windows authentication
SSMS Features (2)
➢ Object Explorer: tampilan pohon dari semua objek
database di server. Tampilan ini mencakup
database SQL Server Database Engine, SQL Server
Analysis Services, SQL Server Reporting Services,
dan SQL Server Integration Services. Object
Explorer menyertakan informasi untuk semua
server yang tersambung ke server tersebut.
SSMS Features (3)
➢ Browser Template (Ctrl+Alt+T): Browser Template ➢ detail Object Explorer (F7): Tampilan ini lebih terperinci
memiliki berbagai templat T-SQL bawaan. Anda bisa daripada tampilan di Object Explorer. Anda dapat
menggunakan templat ini untuk melakukan berbagai menggunakan detail Object Explorer untuk memanipulasi
fungsi, seperti membuat atau mencadangkan database. beberapa objek secara bersamaan. Misalnya, di jendela ini,
Anda dapat memilih beberapa database, lalu
menghapusnya atau membuat skrip secara bersamaan.
SSMS Features (5)
➢ Eksekusi query
Quick Start (4)
➢ Cek hasil insert data
Exercise 3 (Waktu 30 Menit)
➢ Implementasikan rancangan database Anda sesuai dengan hasil Exercise 1
➢ Ikuti langkah-langkah pada penjelasan Quick Start SSMS
Questions & answers