If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Decrypt cause 100 % CPU usage?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-01-04, 02:48
zkajfez zkajfez is offline
Registered User
 
Join Date: Jan 2002
Posts: 161
Decrypt cause 100 % CPU usage?

We have to use encryption of data.One by month,there is batch reporting data in non-ecrypted format.
Our experience:
When we use function DECRYPT_CHAR report is ended in 10 hours.All time,CPU usage is 100 %.

Without decryption,report is ended in one hour,with CPU usage 10 %.
Our environment is Windows 2000,UDB 7.2 with fiks pack 6.

Is it really normal?What can i do to speed it?Im i really need much stronger machine for decryption (report is going only once a month,without batch cpu usage is 1 %)

TIA,Zvonimir
Reply With Quote
  #2 (permalink)  
Old 06-01-04, 09:18
J Petruk J Petruk is offline
Registered User
 
Join Date: Mar 2004
Location: Toronto, ON, Canada
Posts: 513
Quote:
Originally Posted by zkajfez
We have to use encryption of data.One by month,there is batch reporting data in non-ecrypted format.
Our experience:
When we use function DECRYPT_CHAR report is ended in 10 hours.All time,CPU usage is 100 %.

Without decryption,report is ended in one hour,with CPU usage 10 %.
Our environment is Windows 2000,UDB 7.2 with fiks pack 6.

Is it really normal?What can i do to speed it?Im i really need much stronger machine for decryption (report is going only once a month,without batch cpu usage is 1 %)

TIA,Zvonimir
Decryption is very heavy on CPU, much heavier than normal database operations... I figure this is probably quite normal.

You might want to double check the access plan to make sure db2 is making a good estimates on the column. Functions can throw these things off.
__________________
--
Jonathan Petruk
DB2 Database Consultant
Reply With Quote
  #3 (permalink)  
Old 06-01-04, 18:01
zkajfez zkajfez is offline
Registered User
 
Join Date: Jan 2002
Posts: 161
Thanks

a lot .
Zvonimir
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On