I'm using this definition for the (Krull) dimension of a topological space $X$ and (Krull) dimension at a point $x\in X$. In general, given a topological space $X$, one always has $$ \dim X=\max\{\dim T\mid T\subset X\text{ is an irreducible component}\}. $$ If $X$ is a scheme locally of finite type over a field, one has $$ \dim_x X=\max\{\dim T\mid T\subset X\text{ is an irreducible component passing through }x\}. $$ (See 0A21(5).) Now, if $X$ is just some arbitrary topological space, is the last formula true? My guess is that it is not, but I don't know right now what a counterexample might look like. Besides, can we show that one quantity is always bounded by the other one? Or are there examples of both types of behaviors?
It seems one cannot obtain a bound: let $T\subset X$ be an irreducible component passing through $x$, and let $U\subset X$ be an open neighborhood of $x$. Then $\dim T$ and $\dim U$ are both greater or equal that $\dim T\cap U$, but I don't see a way of comparing the values $\dim T$ with $\dim U$.