Preheat your oven to 350°F (175°C). Spread the chopped pecans on a baking sheet and toast for 5–7 minutes until fragrant. Set aside to cool.
In a large bowl, cream the softened butter, granulated sugar, and brown sugar together until light and fluffy. Add eggs one at a time, beating well after each. Mix in vanilla extract.
In a separate bowl, whisk together the flour, baking powder, and salt. Gradually add the dry ingredients to the wet mixture, alternating with sour cream. Mix just until combined—don’t overmix.
Stir in the toasted pecans until evenly distributed throughout the batter.
Grease and flour a bundt pan or tube pan. Pour in the batter and smooth the top. Bake for 1 hour to 1 hour 10 minutes, or until a toothpick inserted into the center comes out clean.
Allow the cake to cool in the pan for 15 minutes, then turn it out onto a wire rack to cool completely. If using glaze, whisk together the powdered sugar, milk, and vanilla. Drizzle over the cooled cake before serving.