what are file groups?
Answers were Sorted based on User's Feedback
Answer / j.jyothy
Filegroup is a logical container for the collection of
datafiles.(.mdf or .ndf that is primary file group or
secondary file group)
Every database contain 2 file groups
1.Primary file group, which Contains all the primary data
files any other Secondary datafile which is not
specifically allocated to anyother file groups
2.User defined file group:It is created by the user to
group the datafiles
3.transaction log file:Does not belong to any file group.A
database can have maximaum of 32,767 file groups
Example:
Create database student
on Primary ***Primary
(
name='student_pri_data1.mdf',
filename='g:\student_primary_data1.mdf',(Location of this
file group)
size=2mb
maxsize=10mb
filegrowth=1mb
),
filegroup student_group1 ***Secondary
(
name='student_Sec_data1.mdf',
filename='g:\student_sec_data1.mdf',(Location of this file
group)
size=10mb
maxsize=12mb
filegrowth=2mb
)
log on ***log file
(
name='student_log_data1.mdf',
filename='g:\student_sec_data1.mdf',(Location of this file
group)
size=12mb
maxsize=10mb
filegrowth=1mb
)
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / priyanka
Filegroups are named collections of files and are used to
help with data placement and administrative tasks such as
backup and restore operations.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / anuj
Filegroups are group or collection of Files that is used to
maintauined the transaction of Data and Restore Operations.
| Is This Answer Correct ? | 3 Yes | 4 No |
How do I edit a stored procedure in sql server?
What is forward - only cursors / read only cursor?
What are orphan records?
Define msdb database?
What are statistics?
from the table display the 2nd highest salary? and also the least 2nd salay?
What are joins in sql and what are the different types of joins?
I have all the primary data files, secondary data files as well as logs. Now, tell me can I still restore the database without having a full backup? : sql server database administration
What are the different types of replication? How are they used?
How to rename an existing column with sql server management studio?
how do we find every fifth record in a table
What are the benefits and tasks of object explorer? : sql server management studio
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)