If you do something for the sake of something, you do it for that purpose or in order to achieve that result. You can also say that you do it for something's sake.
Let's assume for the sake of argument that we manage to build a satisfactory database.
For the sake of historical accuracy, please permit us to state the true facts.
For safety's sake, never stand directly behind a horse.