While creating a database..Is the data transfered directly from the user-input into the database or transfered to a buffer and final transfer from buffer to database is done..?
Plz answer it..

Recommended Answers

Depends, there may be many more transfers for some databases. Example: if the database is SQL running on another computer across the internet. That could require hundreds of transfers all over the world to get to the final database.

Even if the database is a simple text file on your …

Jump to Post

All 2 Replies

Depends, there may be many more transfers for some databases. Example: if the database is SQL running on another computer across the internet. That could require hundreds of transfers all over the world to get to the final database.

Even if the database is a simple text file on your own computer the number of transfers is not constant. Is user input from a GUI program or console program? Is the file i/o buffered or unbuffered? What does your program do with the data once it receives user input?

It really depends on both the library used to access the database and how the database itself works. Typically though, I'd lean toward the data going directly into the database.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.