How best use a texture image to a large/long object
Since you're using an array of planks, you have another option.

Scale your UV map so it's only using a part of the texture (no worries, the rest won't be wasted)
Use the UV Offset in the Array modifier to avoid repeating between planks
Done.

Now you're using the whole texture and also avoid repeating.