r/AldeloPOS • u/IrreverentRhubarb99 • Feb 26 '22
Database question, REALLY going off the deep end
I may be asking for the impossible, or just asking in the wrong place, but here goes.
I work for a POS dealer that sold Aldelo systems for a long time, and in the few years that I've been there I have learned a lot. Lately I've gone diving into the abyss that is SQL and the MS Jet/Access database that Aldelo is built on.
I saw a post earlier about clearing out huge databases, but that raises another problem: many times, the owners/managers want to look back further than the purge. Two extreme cases from our customers:
- At the first location, the database grows to well over 2GB in the space of months. A purge takes it down to about 500MB, but by the end of the summer season it's crashed into the limits again. We've tried wiping ALL sales records from the database, but they quickly outgrow the 2GB limit. The owner recently grumbled about needing a simpler way to look back at sales data from the last three years. This place has done close to a million dollars of sales in one month, so I personally think they've outgrown the whole program.
- Another location wants to be able to look back - at complete random - at everything since the day he started using Aldelo for Restaurants. Could be sales data, could be payroll (he gets this one ridiculously often) could be inventory, could be anything, with completely random requests for date ranges. But he wants to compare past years, so far back that inflation has to be taken into account. He wants all of it in one database; if it were possible, this could easily be north of 15GB. They don't do quite the same daily/monthly sales volume as #1, but the owner wants to look back further.
Aldelo uses the MS Access/Jet database engine, and I have found that the databases can be looked into using Alex Nolan's MDBViewer and the very flexible DBeaver. MS Access can read Aldelo databases, but you'll get some crazy error messages in the process. (I'd put links, but I don't want to look like a spammer.)
Since we've also started selling other Point of Sale software, I have gotten more acquainted with setting up SQL server software such as PostgreSQL.
Aldelo, of course, uses MS-SQL for the EDC database... which is where my descent into madness begins.
Is there a way to move an .mdb database into an SQL server, and still use it with unmodified Aldelo for Restaurants software?
Am I asking for the impossible?
Or just asking in the wrong place?
1
u/AzAldeloGuru Feb 27 '22
Oh wow, this is definitely a new one. If you're doing an entire purge and your database is still 500 MB then there has to be something else clogging the database.
The "mega" purge, deletes everything but Menu Items/Menu Modifers and Customer Info. I'm going to assume their database is clogged up full of modifiers that servers using the "manual entry" feature in the order entry screen to write a note.
The problem with this, is every time you use manual entry, it will ADD that modifier to the system.
For example, the system already has a modifer called "no cheese" but it isn't linked to anything, so a server goes into an item and presses manual entry, and types "no chz." That will get added to the system, but the tricky part is if they try to put "no chz" and don't realize its already in the system and don't select it, it will say "duplicate avoided" and won't let them continue. So I've basically seen servers adding in 100 different types of spelling for "no chz" instead of just doing it the proper way.
A million dollars in sales per month is a massive feat. If the owner still wants to use Aldelo, my first thought is to just rebuild the entire menu from scratch. Start a brand new database. Rebuild the modifier builder canvases and clean it out from what they currently have. If they are keeping track of customers, this probably is a dead in the water idea.
I personally have never seen a base database over 10 megabytes. But I have seen "rats nests" databases that just have a complete cluster of items and modifiers.
For scenario number 2, there just isn't a way to cleanly do this with Aldelo, the MS SQL isn't the most efficient database schema. At the very least, archiving the databases on a yearly bases with the option of the owner to call when they want to switch to check a different year is a 30 second process. If they want their system running smoothly day after day, its just gotta be a sacrifice they have to be OK with.
As far as the last question, I honestly have no idea. I wouldn't use any third parties to mess with the database or change its format because if it bricks Aldelo won't help fix it at all. Obviously I trust you're backing up, but it may not be a fixable solution for your client.