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

Where is database stored?

455


What is progress open edge?

673


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

470


What is an example of a database?

474


What are reports in a database?

493






Can you drop all the columns of a table ?

538


I want to export the data date to date from oracle database then what can i do?

1980


Compare non-clustered and clustered index

480


What is database schema in dbms?

636


Tell me about view, sequence and index in DBMS.

690


What is the purpose of database management system?

535


What is second normal form?

523


What is a driver in programming?

486


How do I delete a database in phpmyadmin?

492


What are the two types of database?

481