I have a Cassandra client table that will contain a list of clients. Each client has an address, which is a list of standard fields:
{ CustomerName: "", etc..., Address: { street: "", city: "", province: "", etc... } }
My question is that I have a million clients in this table, and I use a user-defined address of a data type to store address information for each client in the Customers table, what are the consequences of this model, especially in terms of disk space. Will it be very expensive? Should I use the data type defined by the user in the address, or pass the address data, or even use a separate table?
source share