Circuit switching, which is set up at the physical layer, sends the entire message through the dedicated channel. This type of switching isn’t ideal for data transmission because data is sent and received in streams, meaning the line would remain idle in between transmission spurts which would result in a waste of bandwidth.
Instead of circuit switching, packet switching would be better.