History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CORAL-15
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed/Completed
Priority: Major Major
Assignee: Rafał Krzewski
Reporter: Rafał Krzewski
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Coral

port KickStart from ARL

Created: 2004-06-23 12:14   Updated: 2005-01-26 16:06
Component/s: datatypes, ri, @implementation
Affects Version/s: 0.1
Fix Version/s: 0.1

Time Tracking:
Issue & Sub-Tasks
Issue Only
Not Specified

Issue Links:
Blocker
 

Sub-Tasks  All   Open   

 Description  « Hide
KickStart is may be invoked upon system to load as much data from DB into the RAM using as few queries as possible.

This is useful in the systems that have plenty of RAM, and application startup performance is important - where it's better to load things that may be not needed in bulk than have the users wait while the things they need are loaded separately.

KickStart in ARL tries to prefill the following tables, using a single query per each:

- AttributeClasses
- ResourceClasses
- AttributeDefinitions
- ResourceClass inheritance
- Subjects
- Roles
- Role intheritance
- Role assignments
- Permissions
- Permission / ResourceClass associations
- Resources (accounting information)
- Resource / attribute / value key mapping
- Resources by parent mapping
- Resources by parent & name mapping
- Permission assignments
- Values of certain attributes
  - integers
  - short strings
  - dates
  - resources

KickStart in Coral should do the same, but should be implemented in more orderly way. This may require API changes.

 All   Comments   Work Log   Change History   FishEye      Sort Order: Ascending order - Click to sort in descending order
Rafał Krzewski - 2005-01-20 11:31
all changes except preloading / kickstart were implemented.

Rafał Krzewski - 2005-01-26 16:06
completed.