Replication not Copying Data

Post Reply
Kingsley
Posts: 21
Joined: Tue Sep 10, 2013 3:34 pm
OLAP Product: TM1
Version: PA 2.0
Excel Version: 2016

Replication not Copying Data

Post by Kingsley »

I have a cube that has 7 dimensions and all its dimension are flat and carries only children elements. The cube carries quite some data and sizes to about 3.8GB (3,800,000 KB). I have 2 instances setup on the same server. One is the main, the other is fresh and has replication linked to the main.

When I create a replication of the cube, no data is copied over (Cube, views, rule, subsets did copy). The replication process does do its thing and takes over 5 minutes to complete, but once it is done, cube contains no data (.Cub file is 61KB). I seem to have no problem with any other cubes. I even created an identical cube with the same dimensions with less data and it worked fine. The only conclusion I came to was because my cube is too large. Is this a known limitation to the replication feature? Or perhaps a bug that needs to be addressed?

Any input is appreciated.

TM1 version 10.1.1 FP02
User avatar
jim wood
Site Admin
Posts: 3958
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: Replication not Copying Data

Post by jim wood »

My personal opinion of replication is that should be avoided like the plague!! I wouldn't however just take my word for it. I would search on here for replication, I know there have been lots of post covering it,

Jim.
Struggling through the quagmire of life to reach the other side of who knows where.
Shop at Amazon
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
Alan Kirk
Site Admin
Posts: 6647
Joined: Sun May 11, 2008 2:30 am
OLAP Product: TM1
Version: PA2.0.9.18 Classic NO PAW!
Excel Version: 2013 and Office 365
Location: Sydney, Australia
Contact:

Re: Replication not Copying Data

Post by Alan Kirk »

Kingsley wrote:I have a cube that has 7 dimensions and all its dimension are flat and carries only children elements. The cube carries quite some data and sizes to about 3.8GB (3,800,000 KB). I have 2 instances setup on the same server. One is the main, the other is fresh and has replication linked to the main.

When I create a replication of the cube, no data is copied over (Cube, views, rule, subsets did copy). The replication process does do its thing and takes over 5 minutes to complete, but once it is done, cube contains no data (.Cub file is 61KB). I seem to have no problem with any other cubes. I even created an identical cube with the same dimensions with less data and it worked fine. The only conclusion I came to was because my cube is too large. Is this a known limitation to the replication feature? Or perhaps a bug that needs to be addressed?
While I agree with Jim (not to the extent that Matt Goff agrees with Jim on this subject; he's both President and general secretary of the "We Hate Replication's Guts Society"), one thing that I would suggest you check is this:
Operation Guide wrote:•Transaction Logging - If you are performing a synchronization process, transaction logging must be enabled for the mirror cubes on the target server that are part of the replication and synchronization process. If you are performing a bi-directional synchronization, transaction logging must be enabled for all the related cubes on both the source and target servers.

TM1 uses these log files to keep track of the changes made to the source and mirror cubes. To verify that transaction logging is enabled, see Enabling and Disabling Transaction Logging in the IBM® Cognos® TM1® Operation Guide.
Check what your logging status is for the cubes.

Also there should be a replication log in your data directory. Check it to see whether there are any error messages recorded.
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
User avatar
macsir
MVP
Posts: 785
Joined: Wed May 30, 2012 6:50 am
OLAP Product: TM1
Version: PAL 2.0.9
Excel Version: Office 365
Contact:

Re: Replication not Copying Data

Post by macsir »

I have similar problem problem before. As our huge cubes have been turned off logging, replication doesn't work for us. I just create process to export and import. That is also not slow.
In TM1,the answer is always yes though sometimes with a but....
http://tm1sir.blogspot.com.au/
buncikp
Posts: 16
Joined: Tue Feb 12, 2013 7:31 am
OLAP Product: TM1+Cognos Express
Version: 9.5.2+10.1+10.2
Excel Version: 2007+2010
Location: Prague

Re: Replication not Copying Data

Post by buncikp »

Cube logging must be switched on if you want the replication to be working. Cube logging switched off will simply end-up in not copying the data by replication. Replication relies completely on cube logs and timestamps of changes. I won't agree with avoiding replication, but I agree it has some pitfalls. For me the most annoying part is that automating replication can be done just through scheduling a chore. There is no way how to call replication from TI script as far as I know.
Post Reply