How to quickly view the database connected by the Oracle service name

Source: Internet
Author: User
Quickly view the information of the database connected to the Oracle service name: the specific operation command and result information are as follows :--------------------------------------------------

Quickly view the information of the database connected to the Oracle service name: the specific operation command and result information are as follows :--------------------------------------------------

Homepage → Database Technology

Background:

Read News

How to quickly view the database connected by the Oracle service name

[Date: 2012-05-23] Source: Linux community Author: lsxy117 [Font:]

Quick View of the database connected by the Oracle service name:

The specific operation command and result information are as follows:

------------------------------------------------------------------

C: \ Documents ents and Settings \ Administrator> tnsping lsxy

TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0-Production on 2012 16:11:54

Copyright (c) 1997,201 0, Oracle. All rights reserved.

Used parameter files:

D: \ app \ Administrator \ product \ 11.2.0 \ dbhome_1 \ network \ admin \ sqlnet. ora

-- Check the general location of the local Oracle configuration file

Alias resolved using TNSNAMES Adapter

Try to connect (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = xxx. x. x. xx) (PORT = 2261) (CONNECT_DATA = (SERVICE_NAME = lsxy )))

-- Check whether the service name is correct and the configured IP address and port number.

OK (10 ms)

C: \ Documents ents and Settings \ Administrator>

For more information about Oracle, see the Oracle topic page? Tid = 12

  • 0
  • Oracle synonym learning

    Oracle job learning

    Oracle tutorials

    Image Information

    View All comments in this article (0)

    Comments

    Latest Information

    Popular this week

    Introduction to Linux community-advertisement service-website map-help Info-contact us
    The articles published on this site (LinuxIDC) do not mean that they agree with the statement or description. They only provide more information and do not constitute any suggestions.


    Copyright©2006-2011 Linux community All rights reserved Zhejiang ICP backup No. 06018118

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.