Question

In: Computer Science

What is the difference between MDF and LDF files in Microsoft SQL Server? give examples.

What is the difference between MDF and LDF files in Microsoft SQL Server? give examples.

Solutions

Expert Solution

MDF :

1) mdf stands for "master database file".

2) these file conntains all the startup information for the database to run and track all the databases.

3) it also points to other files in database.

4) these file is also a key file in storing information that is very important in supervision of data content on server.

LDF :

1) ldf is the file extension ofr server transaction log for the main data file.

2) it saves the database info. to keep a record of all the action and change made on the information.

3) it also features the computer terminal where the changes were made.

differnece:

1) MDF is primary data file for microsoft sql. the LDF, on the other hand, is a supporting file .

2) MDF contain all the info. in databases which are necessary and vital . LDF contain all the action related to transaction and changes made in MDF.

3) LDF is concerned with three operation but MDF is not.

4) MDF file can maintain or a change in file size depending on the actual changes made to a file. while, LDF file size can take up a lot of space due to the numerous changes.


Related Solutions

Which of the following is a database client software? Microsoft SQL Server 2017 Developer Microsoft SQL...
Which of the following is a database client software? Microsoft SQL Server 2017 Developer Microsoft SQL Server Management Studio Microsoft SQL Server Configuration Manager SQL Server Analysis Service Compared to Data Warehousing approach, the following are disadvantages of query-driven data integration approach, EXCEPT: __________. competition with local processing at source delay in query processing waste of storage space inefficient and potentially expensive for frequent queries What does OLAP stand for? Olympic Linear Algebra Problem On-Line Amazon Platform On-Line Analytical Processing...
You should try this code in Microsoft SQL Server to get the practice of using the...
You should try this code in Microsoft SQL Server to get the practice of using the command line and getting syntax errors. You can submit to me your sql files or just copy and paste of your code in a word document. I may try to run it, so make sure it is error free. Or you can show screen shots of code running. Write SQL CREATE Table statement to create the following table with  Owner ID  as a surrogate key.  Owner ID...
You should try this code in Microsoft SQL Server to get the practice of using the...
You should try this code in Microsoft SQL Server to get the practice of using the command line and getting syntax errors. You can submit to me your sql files or just copy and paste of your code in a word document. I may try to run it, so make sure it is error free. Or you can show screen shots of code running. Write SQL CREATE Table statement to create the following table with  Owner ID  as a surrogate key.  Owner ID...
What is the difference between a conspiracy and collusion? Give examples.
What is the difference between a conspiracy and collusion? Give examples.
Research Microsoft SQL Server and in your own words, describe your understanding of this and its...
Research Microsoft SQL Server and in your own words, describe your understanding of this and its role in Microsoft's model for web programming. Be sure to list your sources by providing links and/or printed book/article names. As one open option available to us is Microsoft SQL Server Express, for your response discuss too which is better for development. SQL Server Express or a full SQL Server environment?
6-Microsoft SQL Server is a​ ________ for large mainframes and midrange computers. A.SimpleDB B.MongoDB C.relational DBMS...
6-Microsoft SQL Server is a​ ________ for large mainframes and midrange computers. A.SimpleDB B.MongoDB C.relational DBMS D.NoSQL E.distributed database 16-SQL stands for​ ________. A.Structured Query Language B.Streamlined Question Language C.Structured Question Language D.Special Question Language E.Structured Questioning Language 18-Which of the following is a distributed database technology that enables firms and organizations to create and verify transactions on a​ peer-to-peer network nearly instantaneously without a central​ authority? A.MySQL B.DB2 C.NoSQL D.Blockchain E.Cloud Spinner 19-What makes a Blockchain system possible and...
What is the difference between a congenital and a genetic disorder? Explain and give examples with...
What is the difference between a congenital and a genetic disorder? Explain and give examples with rationales.
What is the difference between fiscal and monetary policy? Give examples of each.
What is the difference between fiscal and monetary policy? Give examples of each.
What is the difference between functional and nonfunctional requirements and give examples of each?
What is the difference between functional and nonfunctional requirements and give examples of each?
a) What are the most important differences between MS Access and as Server database like SQL...
a) What are the most important differences between MS Access and as Server database like SQL Server? b) Does Access have any advantages over SQL Server? c) Describe one or more scenarios where you would recommend upgrading an existing MS Access application to SQL Server. Not the use of SQL Server Express edition.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT