Databases
-a database is a structured collection of data.
-Database can is thought as simple data file.
-It's more powerful than data file which stores the data in organized.
-Database organizes the data into a table. It is made up of several tables with rows and columns.
SQL Database Architecture
SQL database is divided to logical and physical components.
Logical Component
Logical components comprises of following:
Database objects,
Collation,
Login, Users, Roles and groups.
Physical Component
Physically components exist as, or more files on disk.
Physically files can be of three types.
Primary Data Files
This is starting point of the database and contain pointer to point other files. Extension is mainly. mdf.
secondary data Files
IT consists of data other than primary data file. Extension is mainly. ndf.
Log Files
It contains log information which is used to recover database.
What is the database files and filegroups?
Database files is used for mapping the database over some operating system files. Data and log information are separate.
SQL Server database has three types of database files:
Primary: starting point of a database. It also points to other files in database. Extension:. mdf
Secondary: All data files except primary data file are a part of secondary files. Extension:. ndf
Log Files: All logs information used to recover database. Extension:. ldf
Describe in brief Databases and SQL Server Databases Architecture.
SQL Server consists of a set of various components which fulfill data storage and data analysis needs for enterprise appli Cations. Database Architecture:all The data is stored in databases which are organized into logical components visible to the end U Sers. It's only the administrator who needs to actually deal and the physical storage aspect of the databases, whereas users on LY deal with database tables.
Every SQL Server instance has primarily 4 system database i.e. master, model, tempdb, and msdb. All other databases is user created databases as per their needs and requirements.
A single SQL Server instance are capable of handling thousands of users working on multiple DATABASESV
Describe in brief Databases and SQL Server Databases Architecture.