CHAPTER 9File Storage

You have two main choices when it comes to storing files or documents that are used with your application: store them on a file system somewhere or store them within the database itself. Both approaches have advantages and disadvantages. As you'll learn in this chapter, the decision really depends on your application requirements.

Quite a few myths surround storing files and images in the database. In this chapter, we will show you that storing the files directly in the database is a lot easier and requires much less application maintenance than you might have first thought.

Database or File System?

Suppose you have an application that displays a lot of images, such as a photo album. You could decide to have the user copy ...

Get Pro Oracle Application Express now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.