3 ms·
That is the one feature that you shouldn't use. At $work we use table inheritance - each client gets their own schema with their own copies of the table. The
by btilly 8y ago
That is the one feature that you shouldn't use.
At $work we use table inheritance - each client gets their own schema with their own copies of the table. The idea is cute, but the problem is that the structure of indexing doesn't cooperate with it. Therefore even the simplest query against a single parent table turns into thousands of index lookups on thousands of different tables. As you can imagine, this is not exactly a scalable situation.
If they fixed the index structure, if need be only for a few index types, it would make a huge difference. But it doesn't sound like that is easy internally or will happen any time soon.