Previous | Table of Contents | Next |
This product is the center of what Oracle offers. It provides the ability to store media objects, such as video or sound, and to organize them in a database structure. The Oracle Media Server is just a database server with the special function of handling media objects instead of simple character and numeric data.
Oracle has renamed many of its traditional database structures so the components of the video server are full of completely different names. But the components of the media server are only a special case of the components of a traditional RDBMS. Look at the different components of the video server and their functions:
mdschecksum | This is a simple utility used to make sure video data is not corrupted over time. When new video data is registered in the MDS, a checksum can be run to generate a unique number for that data. If you run the mdschecksum on this same file a month later and the number is different, you have a problem. This is a very important tool for video storage because the volume and the interdependence of the data is usually more emphasized than in a traditional database. |
mdsconcat | This low-level function is more like an editing tool. Just like the strcat function in the C language, mdsconcat concatenates two video files together. This is helpful if you are presenting media as a series of shorter video clips in a given sequence. |
Many times you might be given 100 video files that you need to place in a certain sequence. This function will concatenate these 100 files into one file that is in the correct order. This function thus helps to make the media creation environment easier to manage. | |
mdscopy | This is a very valuable function that I wish were available with a traditional relational database. It allows the user to move or copy MDS files to another MDS volume or to a directory on the Media Server. The MDS counterpart in the RDBMS is the tablespace, and to move a tablespace is a much more complicated effort than one straightforward command like this. |
mdscreate | This is similar to the create tablespace command in that it creates a file in a specified MDS volume. This file can now be used to store video data. One note of caution though: This utility simple allocates space for the file on disk, and does not wipe out any old data; therefore dont assume your old data is destroyed if you run an mdscreate on the same data volume. |
mdsdelete | Again, this would be similar to a drop tablespace command. This command simply removes a file or files from an MDS volume. |
mdsdir | This command is simply used to list file information and general information regarding an MDS volume. |
mdsdiskmode | This allows the user to place a disk in rebuild mode if there is ever a need to rebuild an MDS volume. |
mdsdump | This low-level function is probably the last thing you want to use; it dumps a file in an MDS volume into hexadecimal data. It really is designed for only low-level debugging of bad MDS files. |
mdslock | This is an important utility that locks a file in an MDS volume for read-only activity. This comes in handy if you have just spent 3 days working on a media file and dont want anyone else to change it. With the lock on, any number of users can still read the file and enjoy the video output. |
mdsrebuild | This command rebuilds MDS data on a disk after a disk failure. Be advised to consult the latest Oracle documentation before using this function and to have a failure strategy in place. This command currently works only with RAID storage because RAID gives Oracle potential copies of the same data. |
mdsrename | This command allows you to rename a file on an MDS volume. |
mdstar | This command allows you to perform backups from an MDS volume to tape or from tape to an MDS volume. |
mdstruncate | Use this command to truncate an existing file in an MDS volume; many files fill up with useless space and this is a good way to reclaim the space. |
mdsundelete | This command will allow you to undelete a file removed using the mdsdelete function. |
mdsunlock | This command will unlock a file put in read-only mode in an MDS volume. |
mdsvolinit | This command is crucial. Once you have defined your data storage for MDS volumes using the voltab file, you need to run this command to actually create the definition of the MDS volume to each of the volumes disks. |
mdsvstat | This is a primitive monitoring and administration tool that gives you information on an MDS volume and general statistics. |
svcstart mypump
Figure 32.4. Oracle has re-designed its RDBMS components for media.
Previous | Table of Contents | Next |