[ 
https://issues.apache.org/jira/browse/GEODE-292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16058233#comment-16058233
 ] 

ASF GitHub Bot commented on GEODE-292:
--------------------------------------

Github user PurelyApplied closed the pull request at:

    https://github.com/apache/geode/pull/576


> Optimize speed of backup/ restore cache snapshots
> -------------------------------------------------
>
>                 Key: GEODE-292
>                 URL: https://issues.apache.org/jira/browse/GEODE-292
>             Project: Geode
>          Issue Type: Improvement
>          Components: persistence
>    Affects Versions: 1.0.0-incubating
>            Reporter: Wes Williams
>            Assignee: Wes Williams
>              Labels: backups, performance
>   Original Estimate: 120h
>  Remaining Estimate: 120h
>
> Backup/ restore using snapshots takes a very, very long time when:
> 1) There are a lot of PDXTypes, and
> 2) There are a lot of regions.
> Specifically, it takes 35 minutes to restore only 50MB of unstructured JSON 
> from snapshots. In contrast, it takes only 3 minutes to reload all the data 
> from scratch.
> PROBLEM
> CacheSnapshot loops all regions and saves all cache PDXTypes in every 
> region.gfd. On restore, it reloads all cache PDXTypes again for every region 
> where they only need to be loaded once.  
> SOLUTION
> This JIRA issue will create an option to save PDXTypes only once and reload 
> them once and store only data in the region snapshots. Existing functionality 
> will remain for those who want it.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to