Nicholade Serverteknologi-Database
Nicholade Serverteknologi-Database
Database Design and Resource use Install SQL Server Configure Windows Firewall
(cont)
Hardware Minimum Requirements Open TCP port 1433
Primary It is very important in terms of SQL Server requires a minimum of 6 GB of Run netsh.exe with admin permissions
keys relational database, that your available hard-disk space. firewall set portopening
primary and natural key is set protocol = TCP port = 1433 name
SQL Server requires Super-VGA (800x600)
correctly. Be sure that you = SQLPort mode = ENABLE scope =
or higher resolution monitor.
define a primary key and natural SUBNET profile = CURRENT
Memory: Express Edition 512 MB, All other
key for your tables – It can be
Editions 1 GB
very important when you start to Tabeller
break up your tables when you Processor Speed: x64 Processor: 1.4 GHz
MASTER The master database records
start to normalize. Processor Type: x64 Processor: AMD
all the system-level information
Data Data integrity is very important Opteron, AMD Athlon 64, Intel Xeon with
for a SQL Server system.
Integrity when you work with RDBMS Intel EM64T support, Intel Pentium IV with
MODEL The model database is used as
and it is one of the core EM64T support
the template for all databases
functions to uphold the data Install SQL Server
created on an instance of SQL
integrity in your database.
Run setup.exe from your media -> Server.
Indexing A proper indexing is a key to a Installation -> Choose "New SQL
MSDB The msdb database is used by
successful database. It can be Server stand-alone installation
SQL Server Agent for
very complexed to index your or add features to an existing scheduling alerts and jobs and
database and deserves quite
installation" -> Next -> Check I by other features such as SQL
focus when creating your
agree to the terms -> Next Server Management Studio,
database.
Advance to Install Setup Files and check for Service Broker and Database
Testing Testing your relational database
updates, if not move on and check your Mail
is very important and can be
installation is correct. Click Next. TEMPDB The tempdb system database
crucial to avoid system failures.
On Installation type choose new is a global resource that is
Quality assurance is there for
or add features to existing and available to all users connected
key in database creating.
click Next -> Advance -> Name to the instance of SQL Server
Reference: https://www.quora.com/What-‐ or connected to SQL Database.
your Instance ID -> Create
are-good-resources-to-learn-Database-de‐ Tempdb is used to hold:
Service Account -> Advance to
sign-best-practices Temporary user objects that
Install page -> Reboot when
are explicitly created. Internal
Required to -> Your installation
objects that are created by the
is now complete
database engine. tempdb is re-
https://docs.microsoft.com/en-us/sql/sql-s‐ created every time SQL Server
erver/install/hardware-and-software-requir‐ is started
ements-for-installing-sql-server?view=sql-‐
server-2017
LoginName" -CreateSQLServerLogin Go to your Database in Object Explorer ation > Configure Distribution > Act as own
Right click NORTHWIND -> Tasks - Distributor > When asked for publisher add
-IntegratedSecurity
> Back UP second server
GUI
From here go to Destination -> 2. Creating Snapshot Publication
SSMS > "SQL-Server" > Right click on SSMS > "Publisher Server" > Replication >
General -> Select Disk from
Security > New - Login Right click Local Publications > New public‐
Drop-down menu
Creating an user in Query Click Remove until all existing backup files ations > Use following server > Add >
CREATE LOGIN "USERNAME" have been removed. Select Distributor > Select Database >
WITH PASSWORD = 'Pa$$w0rd' Click Add and enter your desired Path. Snapshot Publication > Choose Tables >
The Password need to follow the Windows It creates our backup and sets it to your Create Snapshot Immediately