Welcome Guest, Not a member yet? Register   Sign In
softDelete and database indexing
#8

(08-22-2019, 12:38 PM)php_rocs Wrote: @includebeer,

I would go into more details (I use to be a database administrator) but it's not that deep but here are some useful links...

https://stackoverflow.com/questions/1844...ean-fields
https://stackoverflow.com/questions/1052...lean-field

Thanks for the explanation, I didn't know there were no benefit in indexing a boolean field. 

But, the soft delete field in CI4 is not boolean, it's a timestamp. So an index may make sense if there's a lot of data. What do you think?
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply


Messages In This Thread
softDelete and database indexing - by MGatner - 08-21-2019, 11:23 AM
RE: softDelete and database indexing - by includebeer - 08-23-2019, 05:58 AM
RE: softDelete and database indexing - by MGatner - 08-24-2019, 06:32 AM
RE: softDelete and database indexing - by MGatner - 08-25-2019, 03:56 AM
RE: softDelete and database indexing - by MGatner - 08-25-2019, 04:58 PM



Theme © iAndrew 2016 - Forum software by © MyBB