can anyone help me ?

an index has been done on the primary key of a table. an
update operation was performed on that table.
now my question is

1> what abt the performance ? means faster or slower due to
indexing ?
2> does the operation affect to the primary key constraint ?

Answers were Sorted based on User's Feedback



can anyone help me ? an index has been done on the primary key of a table. an update operatio..

Answer / dinesh a.

If you have a primary key there is no need to create one
explicitly index on that , Oracle create implicitly index
on your primary key .

We create index on a table to fast access (ie retrive) so
your data accessing will be fast but same above asnwer in
case of DML operation the performance will get slow.

Is This Answer Correct ?    3 Yes 0 No

can anyone help me ? an index has been done on the primary key of a table. an update operatio..

Answer / patilshashi

1) Slower due to frequent updating , if their is bulk
updation then disable the constraint and then enable it.
2) No

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Oracle General Interview Questions

What is the difference between post-database commit and post-form commit?

1 Answers  


Is it possible to insert comments into sql statements return in the data model editor ?

1 Answers   Oracle,


waht is the difference between primary key and super key?

9 Answers  


1:-How to write to update command in a procedure in oracle which update two different table at a time 2:-How to write the select command in a procedure in oracle which give multiple records

1 Answers  


What is ceil and floor in oracle?

1 Answers  


which statement is running fastly ie insert or delete?

13 Answers   Oracle,


How to use fetch statement in a loop?

1 Answers  


Tab A A B ------ 1 A 2 B 3 C Tab B A B ----- 4 D 5 E 6 F Generate the value into B table from A table. Only table A has the value. Write the SQL query to get B table value.

1 Answers   TCS,


i wrote a pl/sql procedure. it must run every sunday 4.40 How can i schedule it with the help of dbms_jobs (or another other procedure with out creating bat file,exe file)

1 Answers   eicc,


"primary key=unique+null" is equal,reson?not,reason?

5 Answers  


How to get a list of all background sessions in the database?

1 Answers  


How can you merge two tables in oracle?

1 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1803)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)