i would suggest u to go through the information already available on the net (google it)
but in general, it goes like this -
u compile the file with -g switch in g++
i assume u r generating an executable (and not a daemon process).
start gdb with -
gdb <exe_name>
put the required breakpoint -
gdb> b <namespace>::<c lass_name>::<me thod_name>...
User Profile
Collapse
-
yes, i had tried truncate with space reuse.
anyways, the problem has been resolved. if you are interested, you can have a look at this thread on OTN -
Performance bottleneck in bulk updates-insertsLeave a comment:
-
Code:import string import sys if len(sys.argv) < 3: print "USAGE:", sys.argv[0], " <filename> <keyword>" sys.exit() else: filename = sys.argv[1] keyword = sys.argv[2] try: file = open(filename) except: print "File not found:", filename sys.exit() counter = 0
Leave a comment:
-
i tried a 'select * from dba_waiters' and 'select * from dba_blockers'; but the views returned no rows. so i suppose there are no blocking locks, correct me if i am wrong.
i also rechecked for commits after sessions, and found they were in place. in fact, this bottleneck occurs only when the table is truncated. that is for sure.
what i dont understand is what could oracle be doing differently in truncating the table and deleting...Leave a comment:
-
Performance bottleneck in bulk updates/inserts
I have been working on doing bulk updates and inserts through sqlapi++ using a bulk udpate extention library, developed, a long time ago, internally. The database is oracle. The bulk inserts/updates are done in batches of 50K. I am facing a very peculiar performance issue with regard to these bulk operations.
The initial batch of bulk insert (50K records) is finished within 3 seconds; while the next similar batch for bulk insert or... -
looks like u hv already bought one, but just in case, u might also consider learning python from o'reilly. i hv been using it for sometime now, and liked it a lot.
bulky, but very informative and good for both beginners as well as advanced users.
-
shreyasLeave a comment:
-
-
have you tried this -
>>os.system(r"P:\P_NS0\tools \tpprogV27k.exe ");
in case you missed the change, there is an extra 'r' (meaning raw), before specifying the string.
-
shreyasLeave a comment:
No activity results to display
Show More
Leave a comment: