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 do you mean by entity type?

540


Enlist the various relationships of database.

624


Explain the use of assign statement in progress database?

528


What is 3 level architecture dbms?

513


How are exceptions handled in pl/sql? Give some of the internal exceptions name?

572






why an information gap exists in most organizations.

533


What is big data in database?

471


What is the default '-sort' order for a sql?

519


What do you understand by correlated subqueries in dbms?

563


I have a table which has lot of inserts, is it a good database design to create indexes on that table?

515


What do you understand by data redundancy?

497


What do you understand by the view and mention the steps to create, update and drop a view?

471


Define and explain about progress?

538


How do you set a primary key?

499


How many types of users in dbms?

446