10-09-2010
We don't own the database either its a 3rd party database .
What we want is to query it fast as possible , we need to sort the networking side out.
i have been searching for while and haven't found anything apart from the MTU.
i have performed a trace route the latency happens after the packet pass the firewall, i think they have load balancing in place.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi!.
I have problems installing my network card under
ther redhat kernel.
First i tryed my integrated intel pro set 10/100
then my d-link 530tx Pci but none of them seems to
be found.
also i huse my network card to connect to the net
trough PPPOE where i need to type my username and... (3 Replies)
Discussion started by: Gibbler
3 Replies
2. Shell Programming and Scripting
I am executing a SQL query in Unix Server:
select status,location from user_information where request_id='DS-43720'
In shell script I am writing this query in the below manner:
echo "select status,location from user_information where request_id='DS-43720' ;" >> $directory/info.sql
... (3 Replies)
Discussion started by: debu
3 Replies
3. Shell Programming and Scripting
Hi friends,
I have written a script which retrieves one value from the database.
It takes time for the sql query to get the desired output. So the query runs fine from TOAD or from UNIX console.
However if I put this in a script it doesn't work. The script is as below.
#! /bin/ksh... (2 Replies)
Discussion started by: vivek_damodaran
2 Replies
4. Shell Programming and Scripting
Hi,
Am using informix database. When i give "isqlrf <database name> - " from the command prompt , i get connected to the database and i can run sql queries..
I am moving to freeBSD and when i give the same command at the prompt i get an error : Index already exists on column
Why is this... (0 Replies)
Discussion started by: jisha
0 Replies
5. Shell Programming and Scripting
Hi all,
I would want to spool file for a database query, however by using crontab, the file is not spooled. Below shows my script:
ORACLE_HOME="/u01/oraprod/perpdb/10.1.0/db_1"
OUTFILE="/tmp/invalid.out"
FILE="$HOME/admin/scripts"
$ORACLE_HOME/bin/sqlplus -s "/as sysdba"... (0 Replies)
Discussion started by: *Jess*
0 Replies
6. Solaris
i have a router from my isp provider 02. my internet works fine in windows but i am unable to use internet in solaris. when i tried ifconfig command
i was able to see the lo0 which is my laoopback adapter. pls can someone advice. (7 Replies)
Discussion started by: seyiisq
7 Replies
7. IP Networking
Hi! :D
I'm new here, and I will appreciate all the help you can give.
This is the problem we are trying to solve at my office.
At office 1 we have SCO UNIX 5.0.can't remember last number. On it runs database software on which we input/read/modify data throughout terminal software, on remote... (1 Reply)
Discussion started by: PNemesis
1 Replies
8. Programming
How can i modify the below to search for the things i'm looking for during a certain time frame?
select Node, NodeAlias, Summary, Tally, AlertKey, AlertGroup, Manager, Agent from mrtg_alerts where LastOccurrence > '5-Dec-2010' order by Manager desc;
In this particular case, this query is... (3 Replies)
Discussion started by: SkySmart
3 Replies
9. Shell Programming and Scripting
Thank you for taking the time to read my issue. I need to set up a script to run from a wagon wheel type toplogy where 1 server needs to query about 10 to 15 remote servers for duplicate values in a database table. If a duplicate value is found, send an email to me( or wall command to console).... (5 Replies)
Discussion started by: lutador72
5 Replies
10. Programming
I am getting an error function in date formate while importing the date ccolumn in oracle sql developer tool
My date format in table is 6-Nov-14 and while importing its converted to 6/11/14 eventhough the format is as 6-Nov-14 in excel.
could you please let help me out what I need to change... (6 Replies)
Discussion started by: ramkumar15
6 Replies
LEARN ABOUT REDHAT
dropdb
DROPDB(1) PostgreSQL Client Applications DROPDB(1)
NAME
dropdb - remove a PostgreSQL database
SYNOPSIS
dropdb [ options... ] dbname
DESCRIPTION
dropdb destroys an existing PostgreSQL database. The user who executes this command must be a database superuser or the owner of the data-
base.
dropdb is a shell script wrapper around the SQL command DROP DATABASE [drop_database(7)] via the PostgreSQL interactive terminal psql(1).
Thus, there is nothing special about dropping databases via this or other methods. This means that the psql must be found by the script and
that a database server is running at the targeted host. Also, any default settings and environment variables available to psql and the
libpq front-end library do apply.
OPTIONS
dropdb accepts the following command-line arguments:
dbname Specifies the name of the database to be removed. The database must be one of the existing PostgreSQL databases in this installa-
tion.
-e
--echo Echo the queries that dropdb generates and sends to the server.
-i
--interactive
Issues a verification prompt before doing anything destructive.
-q
--quiet
Do not display a response.
createdb also accepts the following command-line arguments for connection parameters:
-h host
--host host
Specifies the host name of the machine on which the server is running. If host begins with a slash, it is used as the directory for
the Unix domain socket.
-p port
--port port
Specifies the Internet TCP/IP port or local Unix domain socket file extension on which the server is listening for connections.
-U username
--username username
User name to connect as
-W
--password
Force password prompt.
DIAGNOSTICS
DROP DATABASE
The database was successfully removed.
dropdb: Database removal failed.
Something didn't work out.
If there is an error condition, the backend error message will be displayed. See DROP DATABASE [drop_database(7)] and psql(1) for possi-
bilities.
ENVIRONMENT
PGHOST
PGPORT
PGUSER Default connection parameters
EXAMPLES
To destroy the database demo on the default database server:
$ dropdb demo
DROP DATABASE
To destroy the database demo using the server on host eden, port 5000, with verification and a peek at the underlying query:
$ dropdb -p 5000 -h eden -i -e demo
Database "demo" will be permanently deleted.
Are you sure? (y/n) y
DROP DATABASE "demo"
DROP DATABASE
SEE ALSO
createdb(1), DROP DATABASE [drop_database(7)]
Application 2002-11-22 DROPDB(1)