XiaoA 2 Posted July 26, 2014 Share Posted July 26, 2014 I need to delete a huge number of notes permanently from my account. I've been using Evernote for 2 years as a premium user, and last year I start to use IFTTT to forward rss feed contents to my account, without the knowledge that for individual users there are 100000 limits of the number of notes. At mid July this year, I hit the limit with exactly 100000 notes in my account, and all functions don't work except editing/deleting existing notes. I decide to delete about 97000 notes from my account, That where the tragedy begin. What is different when you empty trash with more than 100 notes? As we all know, notes are not deleted (i.e., expunged) directly from notebook (i.e., notestore), but are moved to trash, the those notes are then called inactive notes. As trash will also sync with your client on windows/IOS, to speed up sync and for some other purpose (like avoid errors, use trash as another notebook), we can delete those inactive notes permanently. Most user don't think there're any problem since they often delete notes in trash, or empty the trash. That's because the amount of inactive notes deleted seldom exceed 100. If you try to delete 50000 inactive notes in trash by right-click on the trash and click empty trash, you will see the problem I've experienced. "Sync failed due to unexpected problem at server side". I found from my experience that evernote server deletes inactive notes with batch size of 100. In another word, evernote only delete at most 100 notes for one operation, and as documented in its API reference (expunge inactive notes), the process is expected to be slow if you have a huge amount of inactive notes in the trash. For my case, it cost about 7 minutes to delete 100 inactive notes. And during the 7 minutes, activity like deleting more inactive notes, add notes to server, webclipping will not work. If you are using client, the client will pop a notice that there are "unexpected problem at server side", or "Could not connect to Evernote service". why? At the beginning, I deleted all the 97000+ notes from the windows client, and then sync seems to not work as it pop the "unexpected problem at server side" or ""Could not connect to Evernote service" notice every time I ask the client to sync since then, and no change is observed on the client interface. However, I prove later that it is actually working, if you use web interface, and within a few minutes after you push the sync button, the number of inactive notes in trash will reduced by 100. That suggest all the inactive notes to be deleted are split into batches with 100 notes each, and every time you sync, the client only ask the server to deleted one batch (100 inactive notes). During the process when the server is deleting those notes, most other operation on the account will be refused by the server, so there will be a notice on the client that there are "unexpected problem at server side"/"Could not connect to Evernote service". Some comment here. When you delete more than a few hundred of inactive notes in the trash, you will definitely see notice of "unexpected problem at server side" or "Could not connect to Evernote service". Don't take it for granted that the problem is on the client (actually I had thought it's the problem of the client, and waste a lot lot lot lot of time on reinstall/downgrade/upgrade the windows client and resync the notes). It is actually indeed the problem on the server, the server is busy deleting inactive notes! You need to wait for the processing of the server, and after a few minutes, press sync button again, and do this over and over again, until all the inactive notes are deleted from the server. To see whether the server are deleting notes, use web interface to see whether the amount of trash is reduced by 100 after a few minutes (if more than 50000 trash notes, then wait at least 5 ) when you press the delete button on the client. Question: if there are 97000+ inactive notes to be deleted, and if deleting 100 notes will cost 7 minutes, then one had to sync 970 times and it will cost at least 113 hours if one can press the sync button with the interval of exactly 7 minutes, that's painful!!Answer: Yes, that's painful!!! Question: Since you are premium user, why not as for the support to help you?Answer: Yes, I did ask for the support. But don't suppose premium user to have more priority over free users. The ticket on this issue have been opened for 3 days, and every time I ask for the progress on the issue, I only received a automatic email with exactly the same contents telling me that "You have been copied on Ticket # XXXXXX", I haven't heard from any "senior agent " promised in the chat/email by Evernote. I must say, I'M VERY DISAPPOINTED! I think I must rely on myself! Question: Can you use API to empty the trash?Answer: No. There actually is a command provided in EDAM to empty the trash is called "ExpungeInactiveNotes". However, that command is not available to third party app, you can only use official client/app or web interface to empty the trash. Question: Is there anything you can do to automatic the process?Answer: What I'm doing is: 1. On another computer which can work 24/7:(1) install the latest evernote windows client and do a full sync without emptying the trash. (2) From the client, manually delete 2000 notes from the trash, every a few hours.(3) Use Windows task scheduler or or DOS command "for", which can executed a command at regular intervals, to run a command line "evernote.exe /Task:SyncDatabase" provide by the official windows client, and automatic the sync of the client every 7 minutes.2. Use evernote as usual on other computer client/app, except that when you add new/delete local notes, or perform webclipping, there will be "unexpected problem at server side" error or "crashed webclipping" error if you don't stop the process on another computer which is doing the "emptying trash" process. For users with more than 50000 trashed notes to be deleted, I highly recommend you to do so. To summize(总结): When you delete more than 100 notes in the trash can, don't be misled by the notice "Sync failed due to unexpected problem at server side" or "Could not connect to Evernote service", just wait a few minutes and if it stop with the notifications of some error, just resync (or wait for the client to automatic resync), until the sync is completed.（当你从废纸篓中删除超过100条笔记时，不要被“同步失败，原因是服务器端出现意外问题”或"Could not connect to Evernote service"所误导，你需要做的是等同步停止，如果见到出错信息，那么再重新同步，直至同步完成。）Don't excessively trust the so called "Technical support" of Evernote, even you are a premium user, most time they will not appear when you are in need of help. （不要过度信任Evernote提供的服务支持，即使你是高级付费用户，在你需要帮助的多数时候，他们都不会出现。）Be careful when combining IFTTT and Evernote, don't add to much note to your account if most of them are supposed to be delete in the future.（在使用IFTTT和Evernote时要谨慎，因为你只有100000条笔记的限制，在未来删除这些笔记时，这个过程会非常痛苦。）It's better to know that some of the command line provided by the official evernote windows client, like "/Task:SyncDatabase", sometimes they might help. (了解Evernote客户端提供的dos命令行工具，有时是有帮助的，例如 "/Task:SyncDatabase"）。 Link to comment
This topic is now archived and is closed to further replies.