How Long are Analyzed Games Stored

Sort:
Avatar of jw-burnside

I've been using the Analysis section a lot lately. Does anyone know if the unique urls ever expire after I save these analyses? I'd rather not lose them, so if they eventually expire I'll copy the pgns.

Avatar of notmtwain
jw-burnside wrote:

I've been using the Analysis section a lot lately. Does anyone know if the unique urls ever expire after I save these analyses? I'd rather not lose them, so if they eventually expire I'll copy the pgns.

Let us know.

Avatar of Martin_Stahl

I'm not 100% positive, but I think they are stored in the DB and as permanent as anything on the web is.

Avatar of notmtwain
Martin_Stahl wrote:

I'm not 100% positive, but I think they are stored in the DB and as permanent as anything on the web is.

Chess.com, like any website, moves things around and redesigns web pages.   I wouldn't put great reliance on any url working 5 years from now. 

I think there will be a database and it will store old games, but they have said they are working on letting people add their own games to the database and I am not sure the url given out when you analyze an outside game is the long term solution.

For example, I ran a game I had played and the url included the game id number. https://www.chess.com/live/game/4076071437

However, when I downloaded the game and analyzed it as if it were an outside game, it assigned a url of https://www.chess.com/a/33DWME2vA23xcr  which does not include anything recognizable as a game number.

Avatar of Martin_Stahl

My guess is the analysis is stored in the DB, has a unique identifier as the key that is also used that becomes part of the URL. So, when that URL is requested, it parses that ID from the URL, queries the DB for the analysis, and presents the page.

 

In that scenario, they can change things with the way they present URLs in the future, as long as they keep the code to parse the old format. Even if they change things to store them differently, they can easily use the old table data and still access it.

 

The usual caveats apply that anything can change and the site may decide to not store them forever, or something bad can happen. But ultimately, it's just text in the DB, it compresses and searches easily, so they just have to update the query and display code after any changes.