---
title: "New DBA Series: 99 Ways to CRASH a Database"
description: The best way to avoid disasters is to learn from mistakes, preferably someone else’s. Memorize this series or polish your resume-writing skills!
image: https://blog.wss.com/hubfs/Imported_Blog_Media/wss-blog-sept20-2021.png
---

[![OpenEdge Experts - White Star Software](https://blog.wss.com/hs-fs/hubfs/logoWSS_H-2.png?width=600&height=225&name=logoWSS_H-2.png "OpenEdge Experts - White Star Software")](https://blog.wss.com/)

[High Availability](https://blog.wss.com/tag/high-availability) [Business Continuity](https://blog.wss.com/tag/business-continuity)

# New DBA Series: 99 Ways to CRASH a Database

![Paul Koufalis](https://blog.wss.com/hs-fs/hubfs/thumbnail_KOUFALIS_NB_900x800.jpg?width=45&name=thumbnail_KOUFALIS_NB_900x800.jpg) 

[Paul Koufalis](https://blog.wss.com/author/paul-koufalis)

[Share this blog post on Twitter](https://twitter.com/intent/tweet?text=I+found+this+interesting+blog+post&url=https://blog.wss.com/new-dba-series-99-ways-to-crash-a-database) [Share this blog post on Facebook](http://www.facebook.com/share.php?u=https://blog.wss.com/new-dba-series-99-ways-to-crash-a-database) [Share this blog post on LinkedIn](http://www.linkedin.com/shareArticle?mini=true&url=https://blog.wss.com/new-dba-series-99-ways-to-crash-a-database)

![](https://blog.wss.com/hubfs/Imported_Blog_Media/wss-blog-sept20-2021.png)

**The best way to avoid disasters is to learn from mistakes, preferably someone else’s. Memorize this series or polish your resume-writing skills!**

**Nectar Daloglou of [OmegaServe](https://omegaserve.com/) joins us this week to share some of the less-than-optimal events that he’s seen over his 20+ year career as a QAD technical expert and OpenEdge DBA. [Subscribe to our mailing list](https://wss.com/subscribe/) and keep an eye out for his follow-up blogs featuring more of these career-limiting blunders!** 

## Human Error:  Bob crashed the database.  Don’t be Bob.

Human error is defined as something being done that was “not intended by the actor; not desired by a set of rules or an external observer, or that led the task or system outside its acceptable limits”. In short, it is a deviation from intention, expectation, or desirability.

Blablabla…who are we kidding? Someone screwed up, and hopefully that someone wasn’t you! Maybe someone shut down a database (or a server) because they were looking at the wrong putty window or remote desktop connection. Or, perhaps, they wrote a cleanup script that really, I mean REALLY, cleaned things up…

## Delete delete delete your career…

Deleting or overwriting a critical file can be, depending on the file, an unrecoverable error. Get out your backup and your AI files. You do have AI enabled, don’t you?

### Pesky wild cards can ruin your day:

```
rm *.d*
```

deletes *dbname*.db, *dbname*.d1, etc.

```
rm * .d*
```

Notice the extra \[accidental\] space? This will return an error “.d\* not found” because the “rm \*” deleted everything in the current directory!

### Redirecting output might obliterate your data:

```
echo > dbname.db
```

is not the same as

```
echo dbname.db
```

The former will empty the file. Oops. On the plus side, you can recreate dbname.db from the structure file and the prostrct builddb command, assuming you have an up-to-date structure file. It is not so simple with other extent types. If you zero-out a data extent you will need to restore and roll-forward. Or fail-over to your OpenEdge Replication hot spare.

### Test first …

If you must delete, verify! List the files that will be deleted first:

```
ls filestodelete*
```

or

```
echo rm filestodelete*
```

**PRIVILEGED USERS ALWAYS PROCEED WITH CAUTION**: Reduce the likelihood of deleting/overwriting files by using root and other privileged user accounts (like the account that owns the database files) only when necessary, and even then, be careful.

## Don’t push the red button (unwittingly)!

An accidental server shutdown is a bad way to start the day. A “fat finger” can turn a “sign out” into a “shut down”.

## Communication breakdown

The project team (left hand) not knowing what the maintenance team (right hand) is doing, can lead to ”Unplanned” planned outages like a server decommission, point-and-click VM shut down, you name it. Yes, we have seen production VMs stopped and deleted.

## Monitor your status from a *different* server

If your alerts come from the production server and the production server is offline, then you won’t get any alerts…which is the expected behaviour when the system is running normally.

**Wait…what!?!**

If you rely on alerts generated from the same server as the one being monitored, then you are at risk of not getting any alerts at all. This happens all the time!

ProTop [generates a “no heartbeat” alert](https://help.wss.com/kb/v4_dash_overview) if it stops receiving data from a monitored server, alerting support staff to the interruption in data flow and monitoring. And our global network of ProTop web portals monitor each other, ensuring that each can send alerts to you and to us! We monitor the monitor \*and\* the monitors of the monitor.

## Proshut, bloody proshut

Please do not use the interactive proshut menu unless you actually really truly intend to shut down the database. Please. The “2” (Unconditional shutdown) is just a little to close to the “1” (Disconnect a user) for my liking. ![](https://blog.wss.com/hs-fs/hubfs/Imported_Blog_Media/proshut-1.png?width=816&height=235&name=proshut-1.png)

If you need to disconnect a user, use “proshut DB -C list” to get a list of connected users, then “proshut DB -C disconnect \<user#\>” to disconnect the user.

## To err is human …

You would do well to commit the cautions above to a place in your memory that rings a bell when you think to use any of these commands, especially in production.  They should give you pause BEFORE you are forced into exercising your disaster recovery plan… and finding out just how divinely forgiving your boss’s boss is.

 

![Paul Koufalis](https://blog.wss.com/hs-fs/hubfs/thumbnail_KOUFALIS_NB_900x800.jpg?width=150&name=thumbnail_KOUFALIS_NB_900x800.jpg)

#### Paul Koufalis

[Follow me on my website](https://blog.wss.com/wss.com) [Follow me on LinkedIn](https://www.linkedin.com/in/pkoufalis/)

Paul Koufalis is the President of White Star Software. He began his OpenEdge DBA career more than 25 years ago after completing a Computer Engineering Degree at McGill University. Today, he’s known for his pragmatic and ROI-centric approach when working with White Star’s global client base. When he’s not staring at his multiple immense computer screens (how much is too much?), you can probably find him speaking at a Progress event somewhere in the world or being roughed-up by his twin boys back home in Montreal.

### Leave a Comment

## Related Articles

[![](https://blog.wss.com/hubfs/wss-dba-part-2-02nov2021.jpg)](https://blog.wss.com/new-dba-series-dba-checklist-part-two)

[Article](https://blog.wss.com/tag/article) [Checklist](https://blog.wss.com/tag/checklist) [Startup](https://blog.wss.com/tag/startup)

### [New DBA Series: DBA Checklist – Part Two](https://blog.wss.com/new-dba-series-dba-checklist-part-two)

**In part one, we examined routine tasks scheduled for different times. In this post we’re going to look at special events and the checklists associated with them.**

![Paul Koufalis](https://blog.wss.com/hs-fs/hubfs/thumbnail_KOUFALIS_NB_900x800.jpg?width=45&name=thumbnail_KOUFALIS_NB_900x800.jpg) 

[Paul Koufalis](https://blog.wss.com/author/paul-koufalis) 

[Read More](https://blog.wss.com/new-dba-series-dba-checklist-part-two)

[![](https://blog.wss.com/hubfs/building-foundation-11.01.2022-1.png)](https://blog.wss.com/basics-db-storage-01)

[Article](https://blog.wss.com/tag/article) [Storage](https://blog.wss.com/tag/storage)

### [New DBA Series: Basics of Database Storage – Part One](https://blog.wss.com/basics-db-storage-01)

#### Why is storage so important in a world of 99.9% buffer hits?  I’m glad you asked!

![Paul Koufalis](https://blog.wss.com/hs-fs/hubfs/thumbnail_KOUFALIS_NB_900x800.jpg?width=45&name=thumbnail_KOUFALIS_NB_900x800.jpg) 

[Paul Koufalis](https://blog.wss.com/author/paul-koufalis) 

[Read More](https://blog.wss.com/basics-db-storage-01)

![logoWSS\_H (1)](https://blog.wss.com/hs-fs/hubfs/logoWSS_H%20(1).png?width=2240&height=840&name=logoWSS_H%20(1).png)

[![facebook](https://blog.wss.com/hubfs/Imported%20sitepage%20images/facebook.svg)](https://www.facebook.com/whitestarsoftware/) [![linkedin](https://blog.wss.com/hubfs/Imported%20sitepage%20images/linkedin.svg)](https://www.linkedin.com/company/white-star-software-llc/) [![twitter\_logo\_white\_background](https://blog.wss.com/hs-fs/hubfs/twitter_logo_white_background.png?width=24&height=24&name=twitter_logo_white_background.png)](https://twitter.com/oeDBA)

#### Quick links

- [About us](https://wss.com/about-us)
- [Our blog](https://blog.wss.com/)
- [Support](https://wss.com/progress-openedge-dba-support-with-dbappraise)
- [Consulting](https://wss.com/progress-openedge-consulting)
- [Our publications](https://wss.com/publications)
- [Privacy policy](https://www.iubenda.com/privacy-policy/71755427)
- [Cookie policy](https://www.iubenda.com/privacy-policy/71755427/cookie-policy)

#### Contact us

![](https://blog.wss.com/hs-fs/hubfs/%EF%A1%B9.png?width=18&height=18&name=%EF%A1%B9.png)- +1 833 4PROTOP
![](https://blog.wss.com/hs-fs/hubfs/%EF%83%A0.png?width=18&height=14&name=%EF%83%A0.png)- info@wss.com
![-1](https://blog.wss.com/hs-fs/hubfs/%EF%83%A0-1.png?width=18&height=14&name=%EF%83%A0-1.png)- Contact an expert

Copyright © 2026 White Star Software. All rights reserved - [Website by Falia](https://falia.co/en/)