Model KT database - tables and columns
HelloI m starting in Hyperic. I´d would like to know if anyone knows the model of database used by hyperic (tables, columns and descriptions of each object) or using query to select the availability of each resource (plataform, server, services) in the HQ database. My goal is to build a dashboard with real-time display. I m using HQ Oracle database.
Tanks.
Welcome, Carlos,
Here are a couple of discussions on the forums who have some details on
How the data are arranged:
http://communities.VMware.com/message/1916038#1916038
http://communities.VMware.com/message/1916609#1916609
Charles
Tags: VMware
Similar Questions
-
Comment of tables and columns are included in the Data Modeler
Hi all
I used Oracle SQL Developer Data Modeler (Version 3.0.0.665) and created a data model for my project. I sent an email a PDF version of the data model to our systems analyst. She asked if I could re - create the data model and include table and column comments. Is this possible and if so how this work is it?
Thank you for your comments,
SeyedSeyed salvation,
I used the Data Modeler and create a report. The report included 36 .csv files
What is the purpose of this 'report' task, because 36 files csv does not sound like report to me. Watch "files > reports" feature - you can generate reports for your model. -for any model, single table or tables belonging to specific subview. The report of the complete table contains additional details, so if you need these comments, then only you can create a template and select column comments appear only. So some general information table will be also included.
Philippe
-
Find the key referenced foreign Table and column
Can someone please refresh my memory?
How can I determine which table and column refers to a foreign key?
For example, with select * from ALL_constraints WHERE TABLE_NAME = 'my_table '; I can see forced CONSTRAINTA_FK and CONSTRAINTB_FK I guess reference another table and column because CONSTRAINT_TYPE = "R", but it isn't that I get. "
I would get all the way to the referenced table and the column I just don't remember how.
Thank you
LouHello
Example:
Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0 Connected as hr SQL> SQL> SELECT UC.TABLE_NAME, 2 UC.R_CONSTRAINT_NAME, 3 UCC.TABLE_NAME, 4 UCC.COLUMN_NAME 5 FROM USER_CONSTRAINTS UC, 6 USER_CONS_COLUMNS UCC 7 WHERE UC.R_CONSTRAINT_NAME = UCC.CONSTRAINT_NAME 8 AND uc.constraint_type = 'R' 9 ORDER BY UC.TABLE_NAME, 10 UC.R_CONSTRAINT_NAME, 11 UCC.TABLE_NAME, 12 UCC.COLUMN_NAME; TABLE_NAME R_CONSTRAINT_NAME TABLE_NAME COLUMN_NAME ------------------------------ ------------------------------ ------------------------------ -------------------------------------------------------------------------------- COUNTRIES REG_ID_PK REGIONS REGION_ID DEPARTMENTS EMP_EMP_ID_PK EMPLOYEES EMPLOYEE_ID DEPARTMENTS LOC_ID_PK LOCATIONS LOCATION_ID EMPLOYEES DEPT_ID_PK DEPARTMENTS DEPARTMENT_ID EMPLOYEES EMP_EMP_ID_PK EMPLOYEES EMPLOYEE_ID EMPLOYEES JOB_ID_PK JOBS JOB_ID JOB_HISTORY DEPT_ID_PK DEPARTMENTS DEPARTMENT_ID JOB_HISTORY EMP_EMP_ID_PK EMPLOYEES EMPLOYEE_ID JOB_HISTORY JOB_ID_PK JOBS JOB_ID LOCATIONS COUNTRY_C_ID_PK COUNTRIES COUNTRY_ID TEMP_LEAVE PK_CLIENT CLIENT CLIEND_ID VISITORS SYS_C004169 GROUPS GROUPID VLANGS SYS_C004170 VISITORS VISITORID 13 rows selected SQL>
In the output:
TABLE_NAME R_CONSTRAINT_NAME TABLE_NAME COLUMN_NAME ------------------------------ ------------------------------ ------------------------------ -------------------------------------------------------------------------------- COUNTRIES REG_ID_PK REGIONS REGION_ID
means that a COUNTRY table has a foreing key called REG_ID_PK that points to an array of AREAS. REGION_ID
Kind regardsPublished by: Walter Fernández on March 4, 2009 23:26 - adding explanation...
-
Rename tables and columns in sql running that accessing these columns in the table.
Hello
Using oracle 11.2.0.3
We want to rename columns, tables and work just a sql scripts for this.
If sqls who have access to those running long tables/columns for example reports what is happening
Existing sql running, will work perfectly in that picked up sql before table/colum rename or will they crash if tables/columns renamed during them.
scripts wil take a few seconds to run maximum
Thank you
The only other activity that would go on select is against these tables/columns. No etl isnert/update/delete etc wil, which happened during the name change.
Only possible activities are report instructions srunning select.
Tried to run a long selection and rename that select while that was going on and got no error on the test system.
This is because certain statements does not place locks on tables or lines, so even if a session is reading data, another session can make some ddl (or dml) manipulation.
In this situation (with only selects, no other dml queries), renaming can be done, but the question remains, what the application code?
If it refers to old column names after name change operation, is no good.
-
Alias table and column aliases
I'm new to the discoverer. I have some confusion.
1. If it is possible use different aliases for the same table during the creation of spreadsheet?
Need to produce different joins.
for example:
SELECT C1. Name, C2. Remarks
CLIENTS C1,.
C2 customers,
Ticket T,
Sale S
WHERE C1. Client_Id = T.Client_Id AND C2. Client_Id = S.Client_Id
2. How can I use the Alias column to show as a custom in the worksheet column heading?
for example:
SELECT Client_Default_Name AS name OF customers
Thanks in advance.
Hello
first question:
the sql worksheet is always structured according to the EUL (the end user layer). If you have used two customer tables and created a join of tables then the sql is generated according to your requirement. There is no way we can have discoverer create a sql like this. If you are interested with the sql. You can create a custom in the business district folder and paste the sql code and create a report on the top of the custom folder.
second question:
You can always change the topic in the discoverer more filing cabinets according to your requriement
hope this helps
-N.S.
-
How to get data from a database table and insert into a file
Hello
I'm new to soa, I want to create an xml with the data from database tables, I'll have the xsd please suggest me how to get the data in the tables and insert in a file
concerningin your bpel process, you can use the db adapter to communicate with the database.
with this type of adapter, you can use stored procedures, selects, etc to get the data from your database into your bpel workflow.When did it call in your bpel to the db adapter process it will return an output_variable with the contents of your table data, represented in a style of xml form.
After that, you can use the second card (a file synchronization adapter) to write to the content of this variable in output to the file system
-
data in multiple tables and columns
Hello
How to find if multiple tables are containing the same data?
Text of the 'Apple' is in three different tables and under three different column names.
Expected result fruits_one fruits_two fruits_three
Thank youSelect name, quantity from fruits_one; Apple 1 Orange 1 Pear 1 select flavour, desc from fruits_two; Red, Apple Blue, Berry select order,date,details from fruits_three; 101 11/11/2011 Grapes 102 12/01/2010 Apple
SandySQL> create table fruits_one (name varchar2(100), quantity number); Table created. SQL> insert into fruits_one 2 select 'Apple' name, 1 quantity from dual union all 3 select 'orange' name, 1 quantity from dual; 2 rows created. SQL> commit; Commit complete. SQL> create table fruits_two (flavour varchar2(100), des varchar2(100)); Table created. SQL> insert into fruits_two 2 select 'Red' flavour, 'Apple' des from dual union all 3 select 'blue' , 'berry' from dual ; 2 rows created. SQL> commit; Commit complete. SQL> set serveroutput on SQL> declare 2 l_search varchar2(10) := 'APPLE'; 3 l_cnt number := 0; 4 begin 5 6 for x in (select column_name, data_type, table_name from user_tab_cols where data_type in ('VAR CHAR2')) 7 loop 8 9 execute immediate 'select count(*) from "' || x.table_name ||'" where upper("' || x.column_n ame || '") like ''%' || l_search || '%''' into l_cnt; 10 11 if l_cnt > 0 then 12 dbms_output.put_line('table = "' || x.table_name ||'", column = "' || x.column_name ||'"'); 13 end if; 14 15 end loop; 16 17 end; 18 / table = "FRUITS_ONE", column = "NAME" table = "FRUITS_TWO", column = "DES" PL/SQL procedure successfully completed. SQL>
-
Flexible, set up including the tables and columns of text?
I need to set up tables (annual report) and some text between the two notes.
I would like to have frames as little as possible on every page - for InCopy workflow later.
If I paste the text of the regular column in the frames containing the tables anchored that I must apply the shift of different basis for each block of anchor text, text which is not a nice workflow.
Can you recommend a skillful means and flexible to set this place that will make the tables and text boxes flows if more lines or more text are added?
Best regards
Nina storm
For this test I did it manually, but I have no reason to think that it would behave differently as part of a style. As far as I know, ID will attempt to balance the two columns automatically. If there is not enough text to divide into two columns it will not appear to divide but always see you any extra spacing and add just enough text to be wider than the column width of Courland and your line will have a gap in it for the gutter of the column.
OK, I've just defined a style with the attribute of split, and Yes, it works in the same way. If you have a single paragraph, the paragraph is divided. If you have more than one, the block is divided, reading down by the first paragraph to the second (assuming that the linecounts work that way) in the first column before splitting into the second column. Paragraphs distributed individually. ID is to balance my columns automatically and will adjust the break if I edit, and if the number of rows is not divisible by 2 short column is on the right.
-
put the query iresults n tables and columns
Hello, I have this request and should display
but I need to be in cells as the rows and columns. just like an ecxel spread sheet but only in html.
Here's the code.
what I need to add to make this happen?
Thanks in adv
< name cfquery = "replace".
DataSource = "#request. MainDSN #">"
SELECT
CompanyID,
CompanyName,
Address,
City,
State,
Zip code
Comments
Of
Company
ORDER BY
CompanyName ASC
< / cfquery >
< html >
< head >
ColdFusion MX Bible < /title > < title >
< link rel = "stylesheet" href = "styles.css" >
< / head >
< body >
List of companies < h1 > < / h1 >
< table >
< b >
< td > < b > ID < /b > < table >
< td > < b > name < /b > < table >
< Td > < b > < /b > < table > address
City of < td > < b > < /b > < table >
< td > < b > status < /b > < table >
< td > < b > ZIP Code < /b > < table >
< td > < table >
< /tr >
< cfoutput query = "replace" >
< b >
< td > #CompanyID # < table >
< td > #CompanyName # < table >
< td > #Address # < table >
< td > #City # < table >
< td > #State # < table >
< td > #ZipCode # < table >
< td >
< a href = "EmployeeList.cfm? CompanyID = #CompanyID #"> employees < /a >"
< a href = "CompanyAddForm.cfm" > add < /a >
< a href = "CompanyEditForm.cfm? CompanyID = #CompanyID #"> edit < /a >"
< a href = "CompanyDeleteForm.cfm? CompanyID = #CompanyID #"> delete < /a >"
< table >
< /tr >
< / cfoutput >
< /table >
< / body >
< / html >
---
When displayed, it's like
List of companies
ID name address City State ZIP Code
27 555 k ddd ddd dd 90556 employees add edit delete
26 555 k ddd ddd dd 90556 employees add edit delete
31 dd dd dd dd 89995 employees add edit delete
23 ddd ddd ddd dd 90556 employees add edit delete
22 ddd ddd ddd dd 90556 employees add edit delete
24 ddd ddd ddd dd 90556 employees add edit delete
21 mama 252 los angeles ca 90056 employees add edit delete
5332 Courtland Court Abilene AL 29555 employees of 14 homemade pies my add edit delete
25 nknknk ddd ddd dd 90556 employees add edit delete
15 Normwelland and Drake Clothing Co. 1240 Pierpont Point Boston MA 02134 employees add edit delete
Pizza Palace 1548 16 Point culminating Freeway New York NY 00248 employees add edit delete
29 qqqq 888 laverne za 90000 employees add edit delete
30 qqqq 888 laverne za 90000 employees add edit delete
13 the very big Corporation of America 5806 Glenn Hollow Lane Norcross GA 30071 employees adds change remove
-----------------------
without the cells/folders >Take a HTML Manual, waiting to change
TO
for the grid around all
-
Database table and a location for the Group of resources and javatask
Hello
I want to check all the bundles of the resource and Javatasks for my ACF2 connector installed. Also, I want the DB table and directory where they placed after you download it.
Help, please!
Thank youYes check the table of resources
Select * resources where res_name as 'ACF2%.
-
Update of custom table and column based on the number of lines inserted in it.
Hello
I have a XX_TDP_DT custom table that has a column ID_processus.
User will be be download data in the XX_TDP_DT table, but they insert any value into ID_processus.
Say if the entered data are 1000 lines.
I need to process these 1000 rows in batches, so I want to have 1 for 1 to 200 rownum = ID_processus, ID_processus = 2 for rownum 201 to 400 and so on.
How can I achieve this, any suggestions?
Database: 10g
Thank you.You can also use NTILE to do this, see:
Re: Divide also extracted almost lines and assign a group
http://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:47910227585839 -
Logging in to the application using the credentials of the database table and not APEX default
Hello
I am new to this forum and also the APEX, I had a play around with APEX and liked what I saw.
I am currently trying to replace the current log on one of my apps default APEX of the Application to the get connection credentials of a table in my database schema,
Could someone tell me please in the right direction to find how to do this please. Tutorials or guides would be good. or even better if you can talk me through it that would be great :)
Thank you very much
JHello
If you install the demo application in your workspace, you can see how it can be done.
To install a demonstrative application:
Home > Application Builder > create
Select the Demo Applicationhttp://download.Oracle.com/docs/CD/E14373_01/AppDev.32/e11838/bldapp.htm#sthref751
BR, Jari -
Find out which parent table and column is referenced by FK
That is the problem. From user_constraints, you can get the foreign keys and the tables where they were defined, but I couldn't find the tables kinships, which reference foreign keys. Where can I get this information?Discover the R_OWNER and the R_CONSTRAINT_NAME from USER_CONSTRAINTS view.
You can do a self-join on these columns to USER_CONSTRAINTS for parent information.
Here's a post I made earlier that you can probably change to get all the information you need: {message identifier: = 3704338}
Published by: Centinul on November 19, 2009 09:27
-
you order your presentation tables and columns in response
Hi all
I have a product dimension that is structured as:
ProductDim
-------------
All the
-BA
name of BA
Number of BA
-RA
name of RA
Number of RA
In responses, the "whole" which is a column of presentation is displayed after BA and RA, which are presentation tables. Is there a way to change this order?
Concerning
AdilNo, unfortunately this is not possible. When you open a folder x, first, all underlying files are displayed, then the underlying columns (of the x folder). The only solution is to create a 'All' record, taking a column 'Column All'.
Kind regards
Stijn -
In SSMS, that means the space between an alias of the table and column name mean?
Sometimes I see this: "d.
PhaseKey" instead of this "d.PhaseKey". I'm sure this means something is wrong in the query or table - but this gives no indication of what is wrong?
I'm not sure on how to interpret it.
Hello
We have dedicated support for Microsoft SQL Server Management Studio Express forums. I would have you post your query in the MSDN Forums for assistance on this issue.
You can check the link to post your question:
http://social.msdn.Microsoft.com/forums/en-us/home
It will be useful.
Maybe you are looking for
-
I want home pages Firefox 3 separate and distinct for each of my 3 accounts to be open at the same time.
-
MY screen comes up on TV, but remote will not work. Are not disconnected from power, change batteries in the remote and still no luck
-
Can you check to see if this product key has been used (deleted)
-
I have windows 7(64bit) and my hp Advisor has stopped working
Hello I have windows7 (64-bit) .my hp Advisor and my hp support assistant has stopped working. I have hp pavilion dv6t-2100 CTO Thank you
-
Finally connected with wag120 using wre54g but no signal
Hello I am facing a problem that is my amplifier (wre54g) seems to be connected with "2 blue leds... And when I tried to check the signal in the range expansion chamber I find 2 or 3 signals and when I disable the expander control is the same thing!