05-17-2013
Locks and long transactions (45 sec) says naughty programming, queries or missing indexes (no valid plan). If inside a SP a transaction churns say 5 tables using well indexed plans for all where, you never get much past a second each.
Keeping the RDBMS together is one reason service queues were invented. More than N clients can reduce performance. Using well written SP to do one row churn saves compile/plan time. Having a server reuse the connection for N sequential operations beats N sequential connections, too. JAVA connection pools do this.
7 More Discussions You Might Find Interesting
1. Linux
Hello,thanks for your help.
I can't connect my MYSQLserver , the note from my Linux System is 'Error 1130 (00000): Host 'my ip address' is not allowed to connect to this MySQL server. What could I do on this?
Thanks again! (4 Replies)
Discussion started by: lancepanda
4 Replies
2. Shell Programming and Scripting
Hi everyone,
I have an urgent requirement to get some table data from Linux-MYSQL server from HP-UX with oracle database.Is there any way we can get
connected through Shell script from HP-UX and issue select on mysql to get some table data?
Please help me out. (7 Replies)
Discussion started by: kashik786
7 Replies
3. Shell Programming and Scripting
hi..
i need to optimize my select query ..
my situation is like this ..
i have 15 lac recors in my table..
the following query takes nine seconds to give the required output..
SELECT max(ah.AUC_AMT),
SUBSTRING_INDEX(GROUP_CONCAT(SUBSTRING_INDEX(ah.AUC_CUS_NAME,'@',1) order by AUC_AMT... (0 Replies)
Discussion started by: senkerth
0 Replies
4. UNIX for Advanced & Expert Users
hi..
i need to optimize my select query ..
my situation is like this ..
i have 15 lac recors in my table..
the following query takes nine seconds to give the required output..
SELECT max(ah.AUC_AMT),
SUBSTRING_INDEX(GROUP_CONCAT(SUBSTRING_INDEX(ah.AUC_CUS_NAME,'@',1) order by AUC_AMT... (1 Reply)
Discussion started by: senkerth
1 Replies
5. Web Development
Hi, we have some problem with mysql high cpu , would like some help with MySQL Tuning
here are the mysqltuner & tuning-primer details
mysqltuner:
# mysqltuner
>> MySQLTuner 1.1.1 - Major Hayden <major@mhtx.net>
>> Run with '--help' for additional options and output filtering
--------... (1 Reply)
Discussion started by: cataplexy
1 Replies
6. Linux
Hi,
I have installed mysql in linux box as mysql-5.0.77-4.el5_6.6..
I would like to start the server. But there is no mysql file in this location /etc/init.d/
Please advice how to start the server now !!
Thnaks,
Mani (5 Replies)
Discussion started by: Mani_apr08
5 Replies
7. UNIX and Linux Applications
Gd evening
I am trying to run my website made in php-mysql on a HP-UX system but dont know how to install and run services of Mysql.
Kindly provide appropriate solution.
thanks in advance. (1 Reply)
Discussion started by: kumar.ashishcs
1 Replies
LEARN ABOUT SUNOS
freeze-transaction-service
asadmin-freeze-transaction-service(1AS) User Commands asadmin-freeze-transaction-service(1AS)
NAME
asadmin-freeze-transaction-service, freeze-transaction-service - freezes the transaction subsystem
SYNOPSIS
freeze-transaction-service --user admin_user [--password admin_password][--host localhost] [--port 4848][--secure|-s] [--passwordfile file-
name] [--terse=false] [--echo=false] [--interactive=true]
Freezes the transaction subsystem during which time all the inflight transactions are suspended. Invoke this command before rolling back
any inflight transactions. Invoking this command on an already frozen transaction subsystem has no effect.
This command is supported in remote mode only.
OPTIONS
--user authorized domain application server administrative username.
--password password to administer the domain application server.
--host machine name where the domain application server is running.
--port port number of the domain application server listening for administration requests.
--secure if true, uses SSL/TLS to communicate with the domain application server.
--passwordfile file containing the domain application server password.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script. Default is false.
--echo setting to true will echo the command line statement on the standard output. Default is false.
--interactive if set to true (default), only the required password options are prompted.
Example 1: Using freeze-transaction-service
asadmin> freeze-transaction-service --user admin --password adminadmin
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-unfreeze-transaction-service(1AS), asadmin-rollback-transaction(1AS)
J2EE 1.4 SDK March 2004 asadmin-freeze-transaction-service(1AS)