In my database I need to create one table which will contain temporary data, and later on part of that data will be deleted. That table will contain IP column. The problem is that I store IP in other table already, and its referenced in many other tables. So if I create foreign key constraint in my new table (the one which will contain temporary data) and delete row later on, I will have unuseful IP-s in original table if the new column has foreign key reference.
Table1 columns:
IP,
Col1
Table2 columns:
IP,
Col1,
Col2
So my question is, Is it a good approach to create columns without foreign key reference when needed? Is it ok db design not to create foreign key reference in Table2 for IP column?