I have a large SQL database running on SQL Server. I have to perform arithmetic operations on large volumes of data and I'm looking to improve performance. I currently store amounts using the FLOAT data type and I have been reading about numeric data types to see if another data type would improve speed.
I read this question that recommended using DECIMAL() when possible. I implemented DECIMAL(18, 6) as I need 6 digits after the decimal point. However I noticed a small decline on queries speed.
Is there a faster data type I can use instead of float? How can I improve arithmetic performance in my DB?