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 different types of joins in the sql?

535


What is management system in dbms?

511


What is the structure of a table in database?

528


Is it possible to declare or create a cursor for update of table? If no tell me why?

483


Name the different data models that are available for database systems.

467






What is the main purpose of normalization?

531


What is use of foreign key?

492


What are the types of database lock?

558


What is pcbs (program communication blocks)?

533


Explain about the properties of cursors?

510


What is field record and table in database?

478


How do you copy a database?

501


What is cardinality in db?

513


Explain what are service-specific middleware?

544


What is data management process?

499