Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

AMC LOG Table

Hi Team

 

i am using AMC log table Creation I have created my log table as per below schema

 

CREATE TABLE `amclogdata` (
  `moment` datetime DEFAULT NULL,
  `pid` varchar(20) DEFAULT NULL,
  `root_pid` varchar(20) DEFAULT NULL,
  `father_pid` varchar(20) DEFAULT NULL,
  `project` varchar(50) DEFAULT NULL,
  `job` varchar(255) DEFAULT NULL,
  `context` varchar(50) DEFAULT NULL,
  `priority` int(3) DEFAULT NULL,
  `type` varchar(255) DEFAULT NULL,
  `origin` varchar(255) DEFAULT NULL,
  `message` varchar(255) DEFAULT NULL,
  `code` int(3) DEFAULT NULL
);

 

But the  message is too large so that record is not inserting into the table and i am getting db truncation issue how to solve this.PLease suggest.

 

Thanks

Deepthi

Labels (2)
1 Reply
Anonymous
Not applicable
Author

Have you tried rebuilding your log table with the message column resized to something a bit larger? Also, are you sizing in chars or bytes? Are the characters you are using multi byte?