Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How can I reduce datastore and segmentstore in repository?

Avatar

Avatar
Validate 10
Level 3
chung_yonge1684
Level 3

Likes

16 likes

Total Posts

91 posts

Correct Reply

3 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile

Avatar
Validate 10
Level 3
chung_yonge1684
Level 3

Likes

16 likes

Total Posts

91 posts

Correct Reply

3 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile
chung_yonge1684
Level 3

07-11-2018

Hello Everyone,

I have a question.

How can I reduce datas in C:\Adobe\AEM\Author\crx-quickstart\repository\datastore?

1617305_pastedImage_1.png

How can I reduce datas in C:\Adobe\AEM\Author\crx-quickstart\repository\segmentstore?

1617306_pastedImage_2.png

That's because my hdd disk space is full  now.

I have already tried with the below urls.

Running Data Store Garbage Collection via the Operations Dashboard

https://helpx.adobe.com/experience-manager/6-3/sites/administering/using/data-store-garbage-collecti...

1617307_pastedImage_3.png

How to Run Online Revision Cleanup

https://helpx.adobe.com/ca/experience-manager/6-3/sites/deploying/using/revision-cleanup.html#HowtoR...

1617308_pastedImage_4.png

But I have just reduced 1G of 34G  in datastore and segmentstore on Author with this solutions.

I want to reduce more in datastore and segmentstore.

Regards

Chung Yong

Replies

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

08-11-2018

See this document to help you maintain the AEM repository -- Storage Elements in AEM 6.3

Avatar

Avatar
Validate 10
Level 3
chung_yonge1684
Level 3

Likes

16 likes

Total Posts

91 posts

Correct Reply

3 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile

Avatar
Validate 10
Level 3
chung_yonge1684
Level 3

Likes

16 likes

Total Posts

91 posts

Correct Reply

3 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile
chung_yonge1684
Level 3

12-11-2018

Hello Macdonald,

As you recommended me, I referenced Storage Elements in AEM 6.3

But I have just reduced 0.1G of 34G  in datastore and segmentstore on Author with this solutions.

I want to reduce more in datastore and segmentstore.

 

Regards

Chung Yong

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

12-11-2018

I recommend that you watch this GEMS session. It may help you: Managing AEM DataStore

Avatar

Avatar
Give Back 5
Level 4
aneeta45259594
Level 4

Likes

46 likes

Total Posts

67 posts

Correct Reply

27 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 5
View profile

Avatar
Give Back 5
Level 4
aneeta45259594
Level 4

Likes

46 likes

Total Posts

67 posts

Correct Reply

27 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 5
View profile
aneeta45259594
Level 4

12-11-2018

Hello Chung,

Firstly, please confirm that you're on AEM 6.3.

Your best bet would be to perform Offline Revision cleanup and then run Datastore Garbage Collection.

Perform offline compaction using steps below

- Go to /system/console/bundles and note down the version of org.apache.jackrabbit.oak-core bundle

- Download the oak-run version matching the version of oak core collected in step above. You can download the oak-run tool from [1]

- Run this command to collect checkpoints and remove unreferences checkpoints -> java -jar oak-run-1.x.x.jar checkpoints <AEM install-folder>/crx-quickstart/repository/segmentstore rm-unreferenced

- Run this command to perform offline compaction -> java -jar oak-run-1.x.x.jar compact <AEM install-folder>/crx-quickstart/repository/segmentstore

Best Regards,

Aneet Arora

[1] Maven Repository: org.apache.jackrabbit » oak-run