手順: 詳細
このタスクについて
GDPR ユーティリティーは、Interact をインストールしている場合に使用できます。これは /tools にあり、ここで Interact_Home は Interact のインストール・パスです。
手順
- gdpr_purge ユーティリティーを実行する前に gdpr.properties を設定する:
ユーザーは、Interact アプリケーションのすべてのオーディエンスについて、下にリストされているすべての情報を入力する必要があります:
共通構成は更新する必要があります:
################ global settings ######################## # The type of the run time system database. It must be one of the following: DB2, Oracle, # MSSQL Interact.RunTime.Db.Type=DB2 # The schema of the run time system tables, as configured under # Affinium|interact|general|systemTablesDataSource:schema # It should be left blank unless the generated SQL script will be executed under a different # schema Interact.RunTime.Db.Schema= # The type of the production profile database. It must be one of the following: DB2, Oracle, # MSSQL Interact.Profile.Db.Type=DB2 # The schema of the production profile tables, as configured under # Affinium|interact|general|prodUserDataSource:schema # It should be left blank unless the generated SQL script will be executed under a different # schema Interact.Profile.Db.Schema= # The type of the contact and response history database. It must be one of the following: DB2, # Oracle, MSSQL Interact.CHRH.Db.Type=DB2 # The schema of the contact and response history tables, as configured under # Affinium|interact|general|contactAndResponseHistoryDataSource:schema # It should be left blank unless the generated SQL script will be executed under a # different schema Interact.CHRH.Db.Schema= # Query separator character to be used for separating the queries. QuerySeparator=; # Nationalized string prefix to be used while generating the DB queries. # If your audience name or value specified in csv file has non-English characters # then N prefix should be used for MSSQL. NLS.String.Prefix=N
デフォルトのオーディエンス・レベル - 顧客の場合:
以下の構成はオーディエンス数値型用であり、ユーザーはそれを String データ型用に変更できます。各構成の説明に従って、要件に応じてそれらを更新します。
# Name of the audience. # This is case sensitive. Interact.Audience.Name=Customer # Staging contact history table mapped in interact for the audience level Customer. # This table exists in the run time system data source # Name of this property should have the audience name. # Format used here is Interact.<Audience>.CHStagingTable Interact.Customer.CHStagingTable=UACI_CHStaging # Staging response history table mapped in interact for the audience level Customer # This table exists in the run time system data source # Name of this property should have the audience name. # Format used here is Interact.<Audience>.RHStagingTable Interact.Customer.RHStagingTable=UACI_RHStaging # Staging table for contact history attributes, mapped in interact for the audience # level Customer # This table exists in the run time system data source # Name of this property should have the audience name. # Format used here is Interact.<Audience>.CHAttributeTable Interact.Customer.CHAttributeTable=UACI_CHOfferAttrib # Event pattern state table mapped in interact for the audience level Customer # This table exists in the run time system data source # Name of this property should have the audience name. # Format used here is Interact.<Audience>.EventPatternStateTable Interact.Customer.EventPatternStateTable=UACI_EventPatternState # User event activity table mapped in interact for the audience level Customer # This table exists in the run time system data source # Name of this property should have the audience name. # Format used here is Interact.<Audience>.UserEventActivityTable Interact.Customer.UserEventActivityTable=UACI_UserEventActivity # Cross session response table mapped in interact for the audience level Customer # This table exists in the contact and response history data source # Name of this property should have the audience name. # Format used here is Interact.<Audience>.XSessResponseTable Interact.Customer.XSessResponseTable=UACI_XSessResponse # Score override table mapped in interact for the audience level Customer # This table exists in the profile data source # Name of this property should have the audience name. # Format used here is Interact.<Audience>.ScoreOverrideTable Interact.Customer.ScoreOverrideTable=UACI_ScoreOverride # Black list table mapped in interact for the audience level Customer # This table exists in the profile data source # Name of this property should have the audience name. # Format used here is Interact.<Audience>.BlackListTable Interact.Customer.BlackListTable=UACI_BlackList # Fields mapped in interact table mapping for the audience level Customer. # Name of this property should have the audience name. # Format used here is Interact.<Audience>.Field # If composite key is present define multiple fields. Interact.Customer.Field=CustomerId # Data type for the fields mapped in interact table mapping for the audience level Customer. # Name of this property should have the audience name and field name. # Format used here is Interact.<Audience>.<FieldName>.Datatype # If composite key is present define multiple field data types. # Valid values for these properties are number/string. Interact.Customer.CustomerId.Datatype=number # Absolute path to the input CSV file which has values for different columns defined for # audience level Customer. # Name of this property should have the audience name. # Format used here is Interact.<Audience>.csv # For the path separator in Windows, users should use either "\\" or "/", instead of "\" Interact.Customer.csv=<GDPR_Home>/sample/Customer.csv # Absolute path to the output SQL file which will be generated by GDPR tool for # audience level Customer. # Name of this property should have the audience name. # Format used here is Interact.<Audience>.output # For the path separator in Windows, users should use either "\\" or "/", instead of "\" Interact.Customer.output=<GDPR_Home>/tools/GDPR/sample/Customer # Maximum size of the output file in megabytes. If value of this property is nonzero # then output files will be split if file size is going beyond the below given limit. # Output file could be bit larger than the size specified by below property. # Name of this property should have the audience name. # Format used here is Interact.<Audience>.Output.FileSizeLimit # Only positive values are supported. Interact.Customer.Output.FileSizeLimit=10
複数のフィールドを持つオーディエンス・レベルの場合:
注: 複数のフィールドを持つオーディエンス・レベルの場合、例えば、複合オーディエンス・レベルの場合、Interact ユーザーは自身の Interact アプリケーションのフィールド名およびデータ型に合わせて値をオーディエンス・レベルに使用する名前に置き換える必要があり、各構成のストリング CompositeAudience を新しいオーディエンス名に置き換える必要があります。
################ settings for audience level CompositeAudience ######################## # Name of the audience. # This is case sensitive. Interact.Audience.Name=CompositeAudience # Staging contact history table mapped in interact for the audience level CompositeAudience. # This table exists in the run time system data source # Name of this property should have the audience name. # Format used here is Interact.<Audience>.CHStagingTable Interact.CompositeAudience.CHStagingTable=UACI_CHStaging_CompositeAudience # Staging response history table mapped in interact for the audience level CompositeAudience # This table exists in the run time system data source # Name of this property should have the audience name. # Format used here is Interact.<Audience>.RHStagingTable Interact.CompositeAudience.RHStagingTable=UACI_RHStaging_CompositeAudience # Staging table for contact history attributes, mapped in interact for the audience level # CompositeAudience # This table exists in the run time system data source # Name of this property should have the audience name. # Format used here is Interact.<Audience>.CHAttributeTable Interact.CompositeAudience.CHAttributeTable=UACI_CHOfferAttrib_CompositeAudience # Event pattern state table mapped in interact for the audience level CompositeAudience # This table exists in the run time system data source # Name of this property should have the audience name. # Format used here is Interact.<Audience>.EventPatternStateTable Interact.CompositeAudience.EventPatternStateTable=UACI_EventPatternState_CompositeAudience # User event activity table mapped in interact for the audience level CompositeAudience # This table exists in the run time system data source # Name of this property should have the audience name. # Format used here is Interact.<Audience>.UserEventActivityTable Interact.CompositeAudience.UserEventActivityTable=UACI_UserEventActivity_CompositeAudience # Cross session response table mapped in interact for the audience level CompositeAudience # This table exists in the contact and response history data source # Name of this property should have the audience name. # Format used here is Interact.<Audience>.XSessResponseTable Interact.CompositeAudience.XSessResponseTable= #Interact.CompositeAudience.XSessResponseTable=UACI_XSessResponse_CompositeAudience # Score override table mapped in interact for the audience level CompositeAudience # This table exists in the profile data source # Name of this property should have the audience name. # Format used here is Interact.<Audience>.ScoreOverrideTable Interact.CompositeAudience.ScoreOverrideTable=UACI_ScoreOverride_CompositeAudience # Black list table mapped in interact for the audience level CompositeAudience # This table exists in the profile data source # Name of this property should have the audience name. # Format used here is Interact.<Audience>.BlackListTable Interact.CompositeAudience.BlackListTable=UACI_BlackList_CompositeAudience # Fields mapped in interact table mapping for the audience level CompositeAudience # Name of this property should have the audience name. # Format used here is Interact.<Audience>.Field # If composite key is present define multiple fields. Interact.CompositeAudience.Field=Field1PK Interact.CompositeAudience.Field=Field2PK Interact.CompositeAudience.Field=Field3PK # Data type for the fields mapped in interact table mapping for the audience # level CompositeAudience # Name of this property should have the audience name and field name. # Format used here is Interact.<Audience>.<FieldName>.Datatype # If composite key is present define multiple field data types. # Valid values for these properties are number/string. Interact.CompositeAudience.Field1PK.Datatype=number Interact.CompositeAudience.Field2PK.Datatype=string Interact.CompositeAudience.Field3PK.Datatype=string # Absolute path to the input CSV file which has values for different columns defined for # audience level CompositeAudience # Name of this property should have the audience name. # Format used here is Interact.<Audience>.csv # For the path separator in Windows, users should use either "\\" or "/", instead of "\" Interact.CompositeAudience.csv=<GDPR_Home>/sample/CompositeAudience.csv # Absolute path to the output SQL file which will be generated by GDPR tool for # audience level CompositeAudience # Name of this property should have the audience name. # Format used here is Interact.<Audience>.output # For the path separator in Windows, users should use either "\\" or "/", instead of "\" Interact.CompositeAudience.output=<GDPR_Home>/sample/CompositeAudience # Maximum size of the output file in megabytes. If value of this property is nonzero # then output files will be split if file size is going beyond the below given limit. # Output file could be bit larger than the size specified by below property. # Name of this property should have the audience name. # Format used here is Interact.<Audience>.Output.FileSizeLimit # Only positive values are supported. Interact.CompositeAudience.Output.FileSizeLimit=10
- システム・テーブルから削除する CustomerID で CSV を更新します:
- <GDPR_Home>/sample には、2 つのサンプル CSV ファイルが用意されています。単一フィールドのオーディエンス用 (Customer.csv) と複数フィールドのオーディエンス用 (CompositeAudience.csv) です。
- Interact ユーザーは、これらの CSV ファイルの先頭行をコンマで区切ったオーディエンス・フィールド名で更新する必要があります。
- CustomerID をそれぞれ新しい行に追加します。String データ型 CustomerID は二重引用符で囲む必要があります。
- gdpr_purge ユーティリティの実行:
- コマンド・プロンプトを起動し、<GDPR_Home> に移動します。
- gdpr_purge.bat/sh を実行します。
- エラーは、<GDPR_Home>/logs にある gdpr.log ファイルに書き込まれます。
- SQL のレビューおよび実行:
Interact ユーザーおよびInteract DBA は、Interact システム・テーブルが存在するデータベースに Interact GDPR ユーティリティーによって生成されたステートメントをレビューし、手動で実行する必要があります。
消去する顧客に削除対象のレコードが多数含まれている場合は、Interact GDPR ユーティリティーが複数のファイルを生成する可能性があります。その数は、delete ステートメントのプロパティー・ファイル Interact.CompositeAudience.Output.FileSizeLimit に指定されている出力ファイル・サイズによって異なります。Interact ユーザー/Interact DBA は、それぞれのデータベースでこれらのすべてのファイルを実行する必要があります。
注記
Campaign の UACI_XSessResponse テーブルと、Interact の UACI_RHStaging テーブルおよび UACI_CHStaging テーブルで GDPR ユーティリティーを実行したにもかかわらず、顧客データが再挿入される場合があります。このデータは、前述の Campaign と Interact のテーブルに到達したインバウンド・チャネルからの応答です。このような場合、ユーザーはテーブルに再挿入されるようになったオーディエンス ID に対して再度 GDPR ユーティリティーを実行することになります。そのため、自身のデータが再挿入されないように、GDPR ユーティリティーを既に実行したインバウンド・チャネルに対して顧客をブロックすることをお勧めします。