Hi, I'm not clear about your question. Will pls elaborate it.so that I can answer.
Usually, While creating a workflow automatically a database is maintained i.e.,sharpointconfig