03-21-2008
a SID is also an instance of a database - a separate standalone database, one among many.
6 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
if any one understand what does this mean :
SID=${ORACLE_SID:?"$TWO_TASK"}
I have it in a shell script.
Many thanks in advance. (2 Replies)
Discussion started by: big123456
2 Replies
2. Shell Programming and Scripting
Hello
I have multiple accounts that running application that uses unique port number
I want to generate this port from some sid number that stays constant for every user account , is there any place in the system
that generate number that is unique to the account ?
thanks (0 Replies)
Discussion started by: umen
0 Replies
3. UNIX for Dummies Questions & Answers
Hi,
i am working on Tru64 os...
When i try to connect to an Oracle instance, the usual method i follow is
chsxsora1:oracle:PRD1 > . oraenv
ORACLE_SID = ? PRD1
But for one Instance it was not working,
chsxsora2:oracle:TST2 > . oraenv
ORACLE_SID =*= ? TST2
i... (0 Replies)
Discussion started by: saharookiedba
0 Replies
4. Shell Programming and Scripting
Dear All
I am trying to write one shell which will be running through Cron which contain one SQL query. But I want to draw/fetch the Username password and Instance name (required to loging to the database) from one single file to run that SQL query . Also this file contain details of multiple... (2 Replies)
Discussion started by: jhon
2 Replies
5. Shell Programming and Scripting
I was going write a script from following site.
Unix Shell Script to Execute Oracle SQL Query (link removed)
My configuration setting for oracle XE.
export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
export PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_SID=XE
but after... (4 Replies)
Discussion started by: pinga123
4 Replies
6. UNIX and Linux Applications
Hi all,
I don't know how many times I've setup samba shares, but... It's been a while since the last time. The SID UID maps used to always seem random. I.E. if I had to move the data to another box, I'd have to note all of the SID / UID relations and write scripts to convert them on the new... (0 Replies)
Discussion started by: mph
0 Replies
LEARN ABOUT SUSE
cleanup_digikamdb
cleanup_digikamdb(1) cleanup_digikamdb(1)
NAME
cleanup_digikamdb - Cleanup the digiKam databases to reduce their sizes and increase access speed
SYNOPSIS
cleanup_digikamdb [-t] [-T] [-p] [-h]
OPTIONS
-t Include thumbnail databases.
-T Only cleanup thumbnail databases.
-p path
Specify a different database path. If the specified path is invalid, the entry from the configuration file will be used.
-h Show command line options.
DESCRIPTION
cleanup_digikamdb will cleanup and optimize the digiKam database file. This will, in most cases, lead to a smaller database file size and
an increased access speed, because unneeded elements are removed from the database and data is optimized.
The program will make sure that no instance of digiKam is running, because it is more safe to have no database access during the optimiza-
tion process. It then will read the digiKam configuration file and determine the database location. In a final step the database will be
optimized by invoking the sqlite command 'VACUUM;' on it. If more then one database is found in this location, cleanup_digikamdb will op-
timize every database found in this path and below.
For further explanation, see the following description of the VACUUM command from the sqlite3 website:
When an object (table, index, or trigger) is dropped from the database, it leaves behind empty space. This empty space will be reused the
next time new information is added to the database. But in the meantime, the database file might be larger than strictly necessary. Also,
frequent inserts, updates, and deletes can cause the information in the database to become fragmented - scrattered out all across the data-
base file rather than clustered together in one place.
The VACUUM command cleans the main database by copying its contents to a temporary database file and reloading the original database file
from the copy. This eliminates free pages, aligns table data to be contiguous, and otherwise cleans up the database file structure.
AUTHOR
cleanup_digikamdb was written by Andi Clemens <andi dot clemens at gmx dot net>
cleanup_digikamdb 14 October 2009 cleanup_digikamdb(1)