Author Topic: Oracle DBA Question 47  (Read 54 times)

0 Members and 1 Guest are viewing this topic.

Offline ralph0595

  • Full Member
  • *
  • Posts: 107
  • Karma: +0/-0
    • View Profile
Oracle DBA Question 47
« on: April 20, 2009, 02:34:08 PM »
Question:

The credit controller for your organization has complained that the report she runs to show customers with bad credit ratings takes too long to run.You look at the query that the report runs and determine that the report would run faster if there were an on the CREDIT_RATING column of the CUSTOMERS table.
The CUSTOMERS table has about 5 millions rows and around 100 new rows are added every month. Old records are not deleted from the table.
The CREDIT_RATING column is defined as a VARCHAR2(5) field. There are only 10 possible credit ratings and a customer\'s credit rating changes infrequently. Customers with bad credit ratings have a value in the CREDIT_RATINGS column of \'BAD\' of \'F\'.
Which type of index would be best for this column?

A. B-Tree
B. bitmap
C. reverse key
D. function-based

Answer: B

Techronnati | where technology never sleeps

Oracle DBA Question 47
« on: April 20, 2009, 02:34:08 PM »

Mountain View

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
62 Views
Last post April 19, 2009, 06:01:21 AM
by ralph0595
0 Replies
63 Views
Last post April 19, 2009, 06:39:28 AM
by ralph0595
0 Replies
55 Views
Last post April 19, 2009, 06:41:37 AM
by ralph0595
0 Replies
58 Views
Last post April 19, 2009, 06:46:32 AM
by ralph0595
0 Replies
54 Views
Last post April 19, 2009, 06:51:28 AM
by ralph0595

Posting Disclaimer: Any individual may post a message in this forum and may do so anonymously. Therefore, the sole author is exclusively and entirely responsible for all opinions in that message. They do not represent the official opinions of Techronnati, its administrators or moderators or the Techronnati Management. Techronnati is merely acting as an impartial conduit for constitutionally protected free speech and is not responsible and will not be held liable for the content of such messages. All images and service logos are trademarks of their respective owners.