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

Can a stored procedure call itself(recursive). If yes what level and can it be controlled.?

2 Answers  


What is mean by clustered index and non clustered index, give syntax of creation? : sql server database administration

0 Answers  


What is policy based management (pbm)? : sql server database administration

0 Answers  


Mention the differences between local and global temporary tables.

0 Answers  


What is difference between TRUNCATE and DELETE statement

12 Answers   CTS,






What options are there to delete rows on the publisher and not on the subscriber? : sql server replication

0 Answers  


List the advantages of using stored procedures?

0 Answers  


How to create a simple table to test triggers in ms sql server?

0 Answers  


What is acid mean in sql server?

0 Answers  


one table has four field id,name,design,salary. i have to find maximum salary .

6 Answers  


After the SQL installation what are the jobs will you configure?

1 Answers   G7 CR Technologies, IBM, Satyam,


What is the purpose of object explorer and its features? : sql server management studio

0 Answers  


Categories