Why we need to use secondry database file? though, we can
do same work using primary database file also.

Answers were Sorted based on User's Feedback



Why we need to use secondry database file? though, we can do same work using primary database file..

Answer / sivasql

The reason for secondary database files:

1. Performance
Say if we keep Read-Only and Read-Write data on the same
Primary files, fragmentation on the file will be huge. To
avoid this we can place them separate files.

2. Maintenance
If the Read-Only objects are kept on separate file, the Re-
Index sort of maintenance activities need not be performed
on this file.

3. Backup
The Read-only secondary file need not be backed on every
file level backup, it saves time

4. Microsoft Standard
Microsoft advise to keep the Primary filegroup with the
primary file to keep system related objects.

Is This Answer Correct ?    4 Yes 0 No

Why we need to use secondry database file? though, we can do same work using primary database file..

Answer / sagi.rahul

Secondary files can be used to spread data across multiple
disks by putting each file on a different disk drive which
will improve i/o.

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More SQL Server Interview Questions

How we create SQL Server 2005 Reporting Services ? Give me Sample

0 Answers   HCL,


How to perform backup for certificates in sql server? : sql server security

0 Answers  


How will you fine tune a stored procedure or what are the steps that should be taken to fine tune or optimize a stored procedure?

1 Answers   Logitech, Mphasis,


How do I open port 1433?

0 Answers  


What is the process of normalising?

0 Answers  






How to write character string constants or literals in ms sql server?

0 Answers  


Give some Scenario for Non Clusterd index? Can we write system defined functions in side The Function? Wat is the Unique Datatype?

0 Answers   Value Labs,


What do you understand by hotfixes and patches in sql server?

0 Answers  


Describe in brief system database.

0 Answers  


What is optimistic concurrency?

0 Answers  


Explain the stored procedure?

0 Answers  


Explain having clause and where clause?

0 Answers  


Categories