Let?s say you have 100,000 records and you want to delete
95,000 at a time and keep only 5 thousand. But in local
memory you don?t have enough space for 95,000 records. What
do you do in this case? How do you delete without any
problem with time and performance?

Answer Posted / java

Do the batch delete.
ie Delete the set of records in loop and commit the transaction

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the main features of a database?

705


What are databases what are the uses of databases?

628


Define view, sequence and index in DBMS.

723


What is query in database?

690


What are the two types of database?

665


Explain about the case statement present in stored procedure?

659


What are the main components of a database in healthcare?

642


Define database lock and its types.

670


What is the difference between indexes,views,synonyms?

743


Why c++ used in clipper?

658


What is data in dbms?

681


What are 4 types of models?

609


What is cold backup and hot backup (in case of oracle)?

666


What are cursors and what are the situations you will use them?

726


What is 2nf in database?

674