The neverending discussion about pasta, olive oil and just putting enough water... 10g salt, 100g pasta, at least 1L water e basta così ! No oil or you ruin the pasta/sauce synergy. 😃
This shouldn't happen unless you overcook your pasta. When the water starts boiling, toss in some salt and then the pasta. Wait for length of time on the pasta package. Then remove from heat and drain. If it still gets sticky, buy a better quality pasta.