\w

Hi -

?

The?“Q for Mortals”?pdf on the kx website describes the output of \w as four integer values:

-? number of bytes currently used

-? total number of bytes currently allocated to kdb+

-? maximum TBA used

-? size of mapped file space

?

I have kdb+ 2.4? running on an Athlon dual core for which \w?on startup results in

??? 110896? 67634176? 0? 0j

?

I have kdb+ 2.7?running on a?Phenom dual core for which \w on startup results in

??? 110768 ?67108864? 67108864? 0? 0? 4022005760j

?

Two questions:

1)? In kdb+ 2.7,?what?are the?additional 2 long integers for?

2)? What is TBA?

?

Tom?

Tom,

there’s no “Q for Mortals” pdf on the Kx website.

the latest version of that text is on the code.kx.com wiki, in the tutorials section.

http://code.kx.com/wiki/JB:QforMortals2/contents

.Q.w gives you a more readable display of \w, see:

http://code.kx.com/wiki/DotQ/DotQDotw

and the link on that page to describe \w 

(I’ve just updated all of these to reflect the latest definition, together with help.q)