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

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.