User Profile

Collapse

Profile Sidebar

Collapse
shreyask
shreyask
Last Activity: Nov 5 '09, 05:43 AM
Joined: Sep 5 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • shreyask
    replied to Debugging C++ files through GDB
    in C
    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>...
    See more | Go to post

    Leave a comment:


  • 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-inserts
    See more | Go to post

    Leave 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
    ...
    See more | Go to post
    Last edited by shreyask; Sep 24 '08, 07:09 AM. Reason: bad formatting in original

    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...
    See more | Go to post

    Leave a comment:


  • shreyask
    started a topic Performance bottleneck in bulk updates/inserts

    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...
    See more | Go to post

  • shreyask
    replied to I Need A Good Python Book
    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.

    -
    shreyas
    See more | Go to post

    Leave a comment:


  • shreyask
    replied to What is your OS and Python Version
    python 2.3.4 in emacs on rhel 4
    See more | Go to post

    Leave a comment:


  • shreyask
    replied to os.system()
    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.

    -
    shreyas
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...