awkdb has not been updated since 2000. It has some limitations as well according to the web site. If you are using gawk, and looked at its man page reference, you can see some options, like --profile, --optimize, --dump-variables etc. you can try those options. Another option is to use pgawk as indicated in the man page as well.
Generally, if you script is slow in execution, either you have a REALLY large file, or your algorithm is causing the problem. You should at least show the code that you think is hogging up the CPU. Some of the things you should avoid doing if possible, eg
calling the big file a 2nd (or more files)
awk '{}' file file
iterating a file with a while
loop as you iterate a file
awk '{while(( getline line<"file2") >0 ) {} )}' file
storing values into arrays for a
big file takes up memory. Try to
clear some of the elements (or
delete the array) if not in use
anymore