|
[
Permlink
| « Hide
]
Gregory Kick added a comment - 01/Apr/08 03:00 PM
A patch that includes the changes outlined in the issue.
Shouldn't there be more indexes present in the Oracle schema? Currently no indexes are created except for the ones associated with primary keys (these are auto created).
@Richard
AFAIK, the framework only queries based on the primary keys. Any additional indexes would depend on your particular usecase. (e.g. monitoring, reporting, etc.) Actually we do query on the JOB_KEY column in BATCH_JOB_EXECUTION. But if we provide indexes, someone will only want more, or to put them in a different tablespace. I would prefer that people do their own indexing. Maybe we could explicitly recommend which columns should be indexed for efficiency.
At the end of the day, even a full table scan once per job execution on our meta data tables is unlikely to be a bottleneck if the jobs are doing any significant processing. So it might not be that important. Ok, a note in the reference documentation describing candidate indexes would suffice (for most user I think).
while i appreciate extra documentation as much as the next person, the original issue had nothing to do with indexing. (see the original title, description and patch.) it seems that that should have been a separate issue linked to this one. please reopen this issue.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||