It completely depends on the size of your Tableau Server and the version to which the upgrade is happening. On average, your complete Tableau Server upgrade activity should not take more than 7-8 hours. This excludes your preparation and planning for the upgrade. The preparation and planning vary depending on the object count & size, user base, etc.