Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

Yes, but partitioning also has a number of limitations that may be quite undesirable. Like inability to create UNIQUE constraints or primary keys, for example.


sort by: page size:

We'd considered it, but partitioning hurts other things like turning a single row query into # of partitions look up.

That's correct. I also believe you could in theory forgo partition tolerance, it just wouldn't be a very useful system. Maybe there are use cases out there for it.

Cool, yeah, that's what I meant by partitioning, which I guess is more of a database term.

Yeah, partition size is only limited if you create a local index, because those are strongly consistent.

Partitioning sounds like a great solution, thank you for this.

Is there any reson that it has to be a partition?

Any partitioning?

Yes, but this assumes that users have the foresight to over-provision (enough). It becomes an operational pain in reality.

There is also no getting around the variation of the noisy (or slow) neighbor problem slowing down an entire partition. That also becomes an operational pain.


Why would anyone partition tables -- ever?

Why wouldn't you use built in partitioning for this?

Is there any advantage to doing it this way? Partitioning?

No, it is just a system that can lose data in the face of a partition.

It exists, it's just that assuming partitions never happen isn't very practical.

Partition tolerance?

Very interesting - I wasn't aware of this! Looks like this could provide a solid first cut to the partitioning process. Thanks for recommending...

Ah, this is very helpful. I was aware that I wanted to do something like #2, but I was not aware that such a partitioning was the norm.

Yes, check out the Partition I 12.1 table 6 of ECMA-335 standard

That is an example of not considering your use case and failing, yes. :P

Flexible/resizable partitions are definitely easier, but I think you could have gotten the fixed scheme right if you had tried.


I think could also try the partition feature.
next

Legal | privacy