Transparent data encryption and Performance

We started a project to encrypt our SAP database using the transparent data encryption.  The project is currently mandated by corporate policy, so there is not much choice involved.  The indications are:

The server O/s: HP - UX 11.31

CPU: HP Itanium

Oracle Version: 11.2.0.3 (64-bit)

DB Dimensions: Approx. 5 TB

Core SAP: 7.x

Our leadership is very concerned about the impact on performance.  If you have encrypted your database, SAP or not, I am very interested in hearing if you the performance of your server data after encryption.  Good news, bad news, either.

TIA,

Mike

Dear Mike,

I can give you a few comments based on direct experience, since we recently migrated from an unencrypted Oracle (11g Enterprise Edition Release 11.2.0.3.0) server to a new server with encryption TDE (same version db).

Our application is a warehouse of data with massive volumes of data (terabytes) and a few very large tables.

After having migrated to the new server, which was much more powerful than the former, we were surprised to discover that the performance was much worse (about two times slower, on average, measured on our typical user queries).

A study on the causes of degradation in performance shows that transparent data encryption are the source of the problem, causing a saturation of the individual CPU (do not look at the aggregate average load on the CPU, which is misleading).

Basically, we have been deceived by the official Oracle documentation that estimates the impact on the performance of the transparent data encryption in the order of 5 to 8%. Further investigation showed that this low impact may be true of operations that involve a small amount of data. With the full picture of the analyses on large tables however, the truth is that the performance may be (5 - 10 times) slower order that without transparent encryption of data.

If you want more information, take a look at this excellent article (in two parts):

https://communities.Intel.com/community/datastack/blog/2012/03/23/real-world-database-encryption-performance-with-Intel-AES-NI-PT-1

Best,

Andrea

Tags: Database

Similar Questions

  • Error using Transparent data encryption

    Hi all
    I try to activate the transparent data encryption by performing the following steps:
    1. Add the following clause in sqlnet.ora
    ENCRYPTION_WALLET_LOCATION = (SOURCE =
    (METHOD = FILE)
    (METHOD_DATA =
    (DIRECTORY =
    /usr/oracle/wallets/)))
    2. open wallet set
    SQL> alter system set encryption wallet open identified by foo;
    
    System altered.
    3 but I got the following error when you set the encryption key:
    SQL> alter system set encryption key identified by foo;
    alter system set encryption key identified by manga2
    *
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [ztsmsmkh:set basic key failed], [18446744073709551615],
    [], [], [], [], [], [], [], [], [], []
    What has gone wrong?

    Best regards
    Val

    Published by: Valerie good-natured October 6, 2011 04:24

    Ora-00600 errors must be triggered through Support of Oracle. They have a corrector of error ora-00600 there, but it does not mean that there's something gone wrong internally and is not likely to be something that someone here can help with, unless they go to Oracle Support themselves and look it up.

  • After TDE (Transparent Data Encryption) data are always considered as is

    Hello

    I encrypted column in the table by using TDE (Transparent Data Encryption), but the data in the column is always displayed as it is. How can I verify that the data has been encrypted. What is the use if tha data are visible even after encryption.

    SELECT * from user_encrypted_columns where table_name = 'OA_TRAN_STOCK ';

    TABLE_NAME COLUMN_NAME ENCRYPTION_ALG SALT INTEGRITY_ALG

    OA_TRAN_STOCK RDPK_KEY AES 128-bit key no. SHA-1
    OA_TRAN_STOCK RDPK_BIN_FILE AES 128-bit key no. SHA-1

    Select rdpk_key, RDPK_BIN_FILE from OA_TRAN_STOCK;

    RDPK_KEY RDPK_BIN_FILE(Hexadecimal value as inserted in table)

    11111 22222-33333-44444-55555 1000011ABCDAAACCC0011110CCBADEF
    11111 21222-33333-44444-55556 1000011ABCDAAACCC0011110CCBADEE

    Help, please.

    583003 wrote:
    Tubby thanks for the info.

    But the data is stored as it is in the table. How can I check/confirm that the data is encrypted with proof. Shoding only the metadata that the column was perhaps not enough for the customer.

    Where exactly in the database, I can get this info or how to prove to the client that the data is encrypted, because he sees data as it is in the database.

    http://docs.Oracle.com/CD/E11882_01/network.112/e10746/asotrans.htm#BABEBFBA

    Obviously not something you want to run on a production system, but something that you can easily run in a test/development to demonstrate to your customers environment.

    If they worry about someone in your database hacking and questioning, steal data in this way, then this isn't the solution that you want to implement (or he is not the only solution you would need to implement). As noted in the links I posted before, TDE is designed to protect you against someone steal your support (data files).

    See you soon,.

  • Configuration of transparent data encryption

    Hello

    I want to configure Transparent data encryption on a database that is protected with database Vault.
    Is there a document that talks about the integration of vault of the database with Transparent data encryption.
    I want to create an administrator user (other than users of sys/system) common security for Transparent data encryption configuration.
    If I create a new Director of Enterprise Manager console I get the following error:
    SQL error ORA-47401: Violation domain privilege system grant on SELECT no matter WHAT DICTIONARY. ORA-06512: at "SYSMAN.". MGMT_USER', line 9316 ORA-06512

    How to avoid this error.
    Pointers on this is appreciated.

    Thank you and best regards,
    Srikanth

    Please see if link below will help you:

    http://www.Oracle.com/technology/deploy/security/database-security/database-Vault/dbv_faq.html#A11062

    Concerning
    Rajesh

  • Transparent data encryption are supported with Oracle Advanced Replication?

    Which version of DB, TDE supported with Oracle Advanced Replication?

    user939188 wrote:
    Which version of DB, TDE supported with Oracle Advanced Replication?

    "Materialized views do not support columns that have been encrypted by using transparent data encryption."

    Source - http://oracle.su/docs/11g/server.112/e10706/repmview.htm

  • Transparent data encryption

    Hello

    How can I migrate my no tablespace for tablespace encriptación encriptación data?

    user011232 wrote:
    without data can pump including metod I use?

    my no tablespace have 50 GB of data, and I have to migrate data to new encryption tablespace.

    50 GB is a very tiny data volume. Please use the Datapump parallel option to speed up the process, if you think that its slow.

    Aman...

  • TDE - Transparent data encryption

    Hi all

    I have an EMP table with encrypted column CREDIT_CARD_NO.

    This encrypted table resides on PROD.

    Then I export using the EXP of EMP table that resides on DEV server and it is not encrypted.

    Can I import (imp) this dumpfile prod that is encrypted?

    I tried, but I got error

    H/h = emp file tables IMP = expdat.dmp ignore = yes

    Import: Release 11.2.0.3.0 - Production on Thu Aug 15 18:42:53 2013

    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

    IMP-00058: ORACLE error 1031

    ORA-01031: insufficient privileges

    I have already given HR a dba role privileges EXP/IMP.

    Correction: I have only granted privileges DPPUMP, which is the equivalent for EXP/IMP?

    Thank you very much

    zxy

    Post edited by: yxes2013

    Hello

    My knowledge of database vault is that theoretical - I've never really used. As far as I know that same SYS cannot bypass the security of vault database - that explain the error you get with SYS. I think the error with HR is misleading (unless there no DBA) - try to remove the fromuser/touser completely you have not needed - does work?

    Users who access was granted to the Kingdom of database vault? You can import one of these users (temporarily give them s/n?)

    Can give you Kingdom access to HR through the vault db gui tool (see the example here for 12 c - Although it should be the same in previous versions http://docs.oracle.com/cd/E16655_01/server.121/e17609/tdpsg_dv.htm)

    You might have more luck this announcement in a database vault forum - I guess there's a?

    See you soon,.

    Harry

    http://dbaharrison.blogspot.com

  • Develop the encryption Transparent data with Oracle 10 g XE

    Currently I develop an application that will require encrypted in some tables columns, I will recommended to the customer buying an Oracle database for the application and that you have installed Oracle 10 g XE to begin development, I found that I can't create tables with columns TDE tho I can't create a portfolio. I searched the forums and found that a portfolio manager is not available with Oracle XE.

    My plan was to develop the application and then provide scripts for creating the DBA of the customer so that they can create data tables in their Oracle database... Can I develop the application without transparent data encryption and then say s/n, which must be implemented in the version of the application? The application needs to know the password of portfolio/TDE to encrypt/decrypt the columns!

    Any ideas how I could go on the development of the customer Oracle XE database without access to CDW?

    The T in TDE is transparent, so that your application should need not even be aware that all columns or storage are encrypted. Transparent data encryption are generally implemented in systems that were never designed to encrypt data, so in theory it should be 'perfectly safe' to develop not encrypted and have the client encrypt the columns during installation.

    Of course, when marketing people start talking about things that are 'perfectly safe', it is always a sign of coming danger. Although I have never heard of a case where encrypt a column caused a problem for an application, I would be very doubtful to the development in an environment different from that of production. This includes the exact version of the database (I guess that the customer has installed the last patchsets, so they run 10.2.0.4, for example) as well as editing. If you decide to rely on the fact that everything should go smoothly when you promote to a different version of a different edition of the database with a different schema definition, even if it would normally, you virtually guarantee that you will end up with a problem that will be difficult to solve.

    In your case, I would use XE to the development. It would be much safer to develop against the personal edition. It's not free, but it's the database licensed Enterprise edition to run on developer machines. It is not free, but it is much less than an enterprise edition license.

    Justin

  • Encryption and data interference

    We will have our colon examined for a compliance audit of the type PCI, and I have a question about the data file obfuscation and encryption. We have an oracle RAC, the two nodes running 10.2.0.2, and we don't use transparent encryption data. I was asked, and I could not answer, whether the data are hidden by another method. We use the DSO, and I can't find a way to browse the file system ASM to access files outside of the database. ASM offers any kind of compression or obfuscation that would make it difficult to read the files?

    You can even get to the data files in an ASM instance?

    Thanks in advance...

    Dan

    Hi Dan,.

    ASM does nothing but manage disks. Thus, the data files are not visible in a file system, it is true. But you can run ASMCMD and copy files on the file system. In addition, you can always run dd on raw devices themselves and access the data.

    ASM offers a very light, very low obfuscation, layer at best.

    If you want that data to be secure, you must implement the transparent data encryption.

    Hope that helps,

    -Mark

  • How to reset the Master encryption key in the encryption Transparent data...

    Hello

    I use Transparent data encryption in Oracle Database 11g Release 2.

    After having specified an Oracle Wallet location in the sqlnet.ora file as shown below:


    ENCRYPTION_WALLET_LOCATION =

    (SOURCE =

    (METHOD = FILE)

    (METHOD_DATA =

    (DIRECTORY = D:\Oracle\enc\admin\tde\wallet)

    )

    )

    Created the master encryption key using the statement

    SQL > ALTER the ENCRYPTION KEY SET of SYSTEM IDENTIFIED BY 'Abc123def456 ';

    Modified system.

    When I reset the master Encryption Key by using the statement get an error as shown below:


    SQL > ALTER the ENCRYPTION KEY SET of SYSTEM IDENTIFIED BY 'Easy2rem ';

    ERROR on line 1:

    ORA-28353: cannot open portfolio

    Please help me how to reset the master encryption key.

    Kind regards

    Kalashnikoff.

    Hi currently,

    you need to reset the master encryption key by using the exact same statement:

    CHANGE the ENCRYPTION KEY SET of SYSTEM IDENTIFIED BY 'Abc123def456 ';


    The passworsd you provide is only the password of the portfolio, the MK is not derived from this, but

    using a secure random number generator, the Wallet password can be changed separately

    using owm or orapki.


    Greetings,


    Damage

  • Error DBMS_CRYPTO in encrypt and decrypt

    Hello

    CREATE or REPLACE PACKAGE enc_dec
    AS
    FUNCTION encrypt (p_plainText VARCHAR2) RETURN RAW DETERMINISTIC;
    FUNCTION decrypt (p_encryptedText RAW) RETURN VARCHAR2 DETERMINISTIC;
    END;
    /

    CREATE or REPLACE PACKAGE enc_dec BODY
    AS
    encryption_type PLS_INTEGER: = DBMS_CRYPTO. ENCRYPT_DES
    + DBMS_CRYPTO. CHAIN_CBC
    + DBMS_CRYPTO. PAD_PKCS5;
    encryption_key RAW (32): = UTL_RAW.cast_to_raw ('MyEncryptionKey');
    FUNCTION encrypt (p_plainText VARCHAR2) RETURN RAW DETERMINISTIC
    IS
    encrypted_raw RAW (2000);
    BEGIN
    encrypted_raw: = DBMS_CRYPTO. ENCRYPT
    (
    SRC = > UTL_RAW. CAST_TO_RAW (p_plainText),
    Typ = > encryption_type,.
    key = > encryption_key
    );
    RETURN encrypted_raw;
    END encrypt;
    FUNCTION decrypt (p_encryptedText RAW) RETURN VARCHAR2 DETERMINISTIC
    IS
    decrypted_raw RAW (2000);
    BEGIN
    decrypted_raw: = DBMS_CRYPTO. DECRYPT
    (
    SRC = > p_encryptedText,
    Typ = > encryption_type,.
    key = > encryption_key
    );
    RETURN (UTL_RAW. CAST_TO_VARCHAR2 (decrypted_raw));
    END decrypt;
    END;
    /

    I used the script above to encrypt a column of data. But I get the error below

    ERROR on line 1:
    ORA-12899: value too large for column
    "TEST1". «TESTS ".» "" SECURE_ID "(real: 32,)
    maximum: 12)

    The column data type is NOT NULL VARCHAR2 (12 CHAR). Where I have to change my script to encrypt this column.

    Kind regards
    007

    >
    Where I have to change my script to encrypt this column.
    >
    Oracle knows nothing about your data is encrypted. So like all other columns, the column must be defined with a length that will contain the largest value that it must take. Redefine the column to make it longer.

    Have you considered using the Oracle Transparent data encryption?

    For examples, see this AskTom blog
    http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:44742967463133

    And the Doc for the characteristics
    http://docs.Oracle.com/CD/B19306_01/network.102/b14268/asotrans.htm

  • Oracle encryption vs servers - dba access to unencrypted data encryption

    Hi guys,.
    I have an application that consists of about 20 java servers and batch programs connect to an instance of oracle 11g. Some of the columns in the database are enrypted. This is achieved via PvE (keys stored in HSM, you can configure the columns of database specified etc.).
    I'd use the encryption of the Oracle instead, but I understand there was a requirement of the customer that DBA could not simply get access to unencrypted data.

    Is there a way to circumvent this requirement?

    Rgds
    Peter

    Hello

    ... There was a requirement of the customer that DBA could not simply get access to unencrypted data.

    Is there a way to circumvent this requirement?

    I'm not sure I understand, as far as I know, in 11g, you have the option to encrypt the data (Transparent data encryption) to the level of the Table or Tablespace level as well.

    For this, Oracle uses a master encryption key. It is true that the master key is stored outside the database (for example, by using an Oracle Wallet) so that the responsibility of the security administrator can be separated from the database one administrator.

    So, later, depends on who has the safety requirement. Access to the master key is a key issue:

    "+ Security is improved because the portfolio password may be unknown to the database administrator, security administrator provide the password. + »

    You will have much more information on the link below:

    http://download.Oracle.com/docs/CD/E11882_01/network.112/e10746/asotrans.htm#g1011122

    Hope this helps.
    Best regards
    Jean Valentine

  • Universal Clipboard is encrypted and how the data is stored in iCloud

    Hello

    You need a deep understanding of the works of the new, universal Clipboard feature safety? The feature is nice, but do you copy your password by company store system administrator password... This password is moving all over the world and also through Apple servers... Don't make me happy.

    Who can guarantee that the communication is encrypted and the data stored in iCloud are not used for other purpose?

    Thanks and greetings

    Security and privacy - Apple Support Overview iCloud

    Although not listed here, all data transmitted to the Apple servers is encrypted in transit and on the server.

    I can't offer any advice on the question of whether your transmissions could be intercepted and decoded.

    They say they also unequivocally that they never provide encryption keys to any third party. Which has been further strengthened with their recent dealings with the FBI.

    You'll have to decide for yourself if you agree with what Apple says.

  • request to help build a vi to acquire a signal of pc6251 for the acquisition of data and perform fft it can u people please help me? Thanks in advance

    Hi all... I learn LabVIEW since few days.i want to acquire a signal of pc6251 of acquisition of data and perform fft it can u people please help me? Thanks in advance

    If you do only use LabVIEW for a few days, you should get familiar with it first by looking at some of the resources available here. After that, you can watch heredata acquisition.

    After reviewing these documents, you can post back with any specific questions.

  • Use to encrypt and decrypt in Scenerio

    Hello
    I'm new to ODI Env.I just need to clarify a thing of ODI Scenerio is that what is the use of Encrypt and decrypt when we right click on the generated Scenrio recently? If I encrypt also I can able to run and remove the scenario and what ever.please suggest me and so I have can use this concept in my Production.

    Hello

    Encrypt a script/procedure/KM helps protect the valuable code.

    An encrypted script or KM or a procedure cannot be read or modified if it is not decrypted. Orders generated in the newspaper by a scenario Encrypted KM or procedure are unreadable.

    Oracle Data Integrator uses a personal encryption key-based encryption algorithm. This key can be saved in a file and reused to perform encryption or decryption operations.

    P.S:there is impossible to decipher a procedure without the encryption key or encrypted KM. Therefore, it is strongly recommended to keep this key in a safe place. It is also advisable to use a unique key for all developments.

    Thank you
    Guru

Maybe you are looking for

  • I need LAN for a6419fr (VISTA)

    Hi there and goodday, I'm looking for anyone can get the driver LAN for a6419 fr, with Win Vista. I had flying SP47479 it is for XP and does not support Vista, thank you.

  • The runtime version & Copyright Information

    Is there a simple way to ask my request which Version number, Copyright, etc. information statement, it was built with? Or I have to go back to Win32 calls? I want to add a tab on a tab on a touchscreen computer control. Thank you

  • Check that a string contains data only numbers

    Hello I'm trying to find an elegant way to test an input string "serial number" format A00000000 (where A can be any letter and 0 can be a number any).  My first thought was to check the following features: (1) total string length = 9. (2) using the

  • Problems with outlook express, do not receive or send,

    Problem 1: receive error host 'pop.gmail.com' messages could not be found. Check the name of the server. server pop.gmail.com protocol POP3, port 995, secure Yes (SSL), socket error 11001 error # ox 800CCCoD and smtp.gmail.com, port 465 SMTP Protocol

  • Smartphones blackBerry for pc data synchronization

    If you synchronize your data from your blackberry to your computer (using windows 7), it will replace the data already on your pc, or it will add to it?  (I don't want to lose the data on my pc!