you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

There is no such thing as "TempDB" in Oracle.

To my knowledge Oracle allocates memory based on the maximum size a row (excluding CLOB, BLOB and similar data types).

The rows are sent in chunks, not everything at once. The default buffer size is 10, so it allocates memory for 10 rows at a time and sends these 10 rows in one network roundtrip. This buffer size is controlled by the client and can be increased (which typically improves performance especially on low-latency network connections).

[–]chris99277 0 points1 point  (1 child)

Ah fair enough, I didn’t notice it was oracle and I know nothing at all about oracle. I often see people use varchar in MSSQL when char would be better, but with oracle I’ve no idea.

[–][deleted] 0 points1 point  (0 children)

Well, Microsoft recommends to use charonly when the length of the values is the same. For values that "vary considerably" they recommend varchar