There is currently no way to shrink the index file and no plans to add
that. The index file generally grows and stabilizes with your use case
based on the max number of messages the broker will have stored at any
given time. There's not really any reason to need to worry about shrinking
the index
Hi, All,
In my activemq instance(5.15.4 or 5.15.9), I find that the kahadb index file
is larger than the journal file.
As far as I know, want to shrink it the only way right now is to *stop the
broker, delete the index* and restart so it does a replay and rebuilds the
index but the size would
> > > > 3.2Mdb.redo
> > > > 4.0Klock
> > > > root@host:~/run/apache-activemq-5.13.1/data/kahadb#
> > > >
> > > > Kind regards,
> > > > Scorpio
> > > >
> > > >
> > > >
> >
t; > Hi, All,
> > > > > >
> > > > > > In my activemq instance, I find that the kahadb index file is
> > larger
> > > > > than
> > > > > > t
index for the
> journal
> > > > file,
> > > > > which should means it is much smaller than the journal file.
> > > > However, it
> > > > > does not look like that. The index file seems to keep growing while
> > the
> > > > >
urnal file.
> > > However, it
> > > > does not look like that. The index file seems to keep growing while
> the
> > > > journal file is rotated. Do I miss something? Thanks.
> > > >
> > > > Log
le the
> > > journal file is rotated. Do I miss something? Thanks.
> > >
> > > Log attached:
> > > root@host:~/run/apache-activemq-5.13.1/data/kahadb# du * -sh
> > > 16M db-16.log
> > > 1.2Gdb.data
> > > 3.2Mdb.redo
> &
ng list archive at Nabble.com.
>
>
> ----
> If you reply to this email, your message will be added to the
> discussion below:
> http://activemq.2283324.n4.nabble.com/kahadb-index-file-larger-than-journal-file-tp4721
-sh
> 16M db-16.log
> 1.2Gdb.data
> 3.2Mdb.redo
> 4.0Klock
> root@host:~/run/apache-activemq-5.13.1/data/kahadb#
>
> Kind regards,
> Scorpio
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/kahadb-index-
--
View this message in context:
http://activemq.2283324.n4.nabble.com/kahadb-index-file-larger-than-journal-file-tp4721284.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
10 matches
Mail list logo