Big Performance Problems With Oracle DataReader in .Net

前端 未结 3 1531
清酒与你
清酒与你 2021-01-25 10:43

I have a few Oracle procedures that generate/return a large amount of data that I need to write out to a file. I\'m currently trying to accomplish with a data-reader. It seems

3条回答
  •  青春惊慌失措
    2021-01-25 11:17

    Just a couple of general comments, for the original version of your question:

    If you're using the Microsoft .NET Framework's builtin System.Data.OracleClient provider classes, you might get better performance from Oracle's own updated .NET Provider.

    If the time shifts around each run, maybe the .NET garbage collector is kicking in on some of the memory usage that's not seen in your example (i.e. if many objects are being instantiated and thrown away).

提交回复
热议问题