A compressor comprising: a case having a discharge outlet through which a refrigerant is discharged, and an oil storage space where oil is stored; a driving unit coupled to an inner circumferential surface of the case; a rotary shaft rotatably coupled to the driving unit and configured to supply the oil; and a compression unit coupled to the rotary shaft and configured to compress the refrigerant, wherein the compression unit is lubricated with the oil, wherein the compression unit includes: an orbiting scroll coupled to the rotary shaft and configured to orbit when the rotary shaft rotates; a fixed scroll provided to be engaged with the orbiting scroll, and configured to compress and discharge the refrigerant; a main frame mounted on the fixed scroll to accommodate the orbiting scroll, wherein the rotary shaft passes through the main frame; a delivery path provided in the main frame to allow the oil supplied from the rotary shaft to move therethrough; and a fixed path provided in the fixed scroll to be communicated with the delivery path. supplying the oil between the orbiting scroll and the fixed scroll; characterized in that the compression unit further includes a regulate portion provided in at least one of the delivery path and the fixed path, wherein the regulate portion is configured to control an opening of the delivery path or the fixed path, or selectively shield the delivery path or the fixed path. a case having a discharge outlet through which a refrigerant is discharged, and an oil storage space where oil is stored; a driving unit coupled to an inner circumferential surface of the case; a rotary shaft rotatably coupled to the driving unit and configured to supply the oil; and a compression unit coupled to the rotary shaft and configured to compress the refrigerant, wherein the compression unit is lubricated with the oil, wherein the compression unit includes: an orbiting scroll coupled to the rotary shaft and configured to orbit when the rotary shaft rotates; a fixed scroll provided to be engaged with the orbiting scroll, and configured to compress and discharge the refrigerant; a main frame mounted on the fixed scroll to accommodate the orbiting scroll, wherein the rotary shaft passes through the main frame; a delivery path provided in the main frame to allow the oil supplied from the rotary shaft to move therethrough; and a fixed path provided in the fixed scroll to be communicated with the delivery path. supplying the oil between the orbiting scroll and the fixed scroll; characterized in that the compression unit further includes a regulate portion provided in at least one of the delivery path and the fixed path, wherein the regulate portion is configured to control an opening of the delivery path or the fixed path, or selectively shield the delivery path or the fixed path. an orbiting scroll coupled to the rotary shaft and configured to orbit when the rotary shaft rotates; a fixed scroll provided to be engaged with the orbiting scroll, and configured to compress and discharge the refrigerant; a main frame mounted on the fixed scroll to accommodate the orbiting scroll, wherein the rotary shaft passes through the main frame; a delivery path provided in the main frame to allow the oil supplied from the rotary shaft to move therethrough; and a fixed path provided in the fixed scroll to be communicated with the delivery path. supplying the oil between the orbiting scroll and the fixed scroll; characterized in that the compression unit further includes a regulate portion provided in at least one of the delivery path and the fixed path, wherein the regulate portion is configured to control an opening of the delivery path or the fixed path, or selectively shield the delivery path or the fixed path.