The database I'm designing, needs to store steps that a person go through doing certain activity and when he will stop:
The schema is above so you can understand better.
I was thinking about something like this:
Step table
 Step
 ---
 StepId
 StepTypeId
stepType table
stepType
---
idstepType
stepTransition table to track the steps
stepTransition
---
stepSource
stepTarget
stepTransitionType
or a stepTracking table like this:
stepTracking
---
path
numberofTimesTaken int
stoppedbyUser bool
stoppedbySystem bool
any idea how to improve it if the data are numerous or any thoughts ?
And the idea of this is to track and know how many people went through each step and when they did stop, etc.
to finally be able to do some statistics on which steps the users stop the most.

 
    