Creating mining structure as dimension using existing Database
i have a requirement to create data mining structure as dimension using Analysis services database as the source.
Kindly share me the steps?
user12953093 wrote:
I'm trying to create a template using DBCA. When I start it and choosing Welcome > Manage Templates > Create a database template [select From an existing database (structure as well as data)] this option is grey and not possible to choose. the others are available
Anyone that ca tell me why and what to do to make it available ?
Thanks
Magnus JohanssonDo you have an existing database from which to create a template?
Do you have an entry for said existing database in your oratab file?
Similar Messages
-
Hi,
I am planning to install oem grid control 10.2.0.1 using existing database 10.2.0.3 for storing repository on HP_UX 64 bit PARISC.
Can it be possible, If not whats the reason and what issues it may arise.
If it possibel can anyone explain me the correct steps and is it compulsory to take full backup(we cant take ful backup bcoz space issues)Yes, you must download and install the 10.2.0.1 version and then patch it up to the 10.2.0.4 version.
http://www.oracle.com/technology/obe/obe10gem/install/index.html
The above link shows you the install routine when using a new database, the steps for the existing database are only slightly different, all you need are the connection details for that existing database and you should be ok.
As for taking full backups of the Grid Control repository, I know many choose not to, space is always a big concern, but this depends on how critical your repository is to you. If you need it for the auditors, well then I'd suggest acquiring some more hard disks to up your space. -
Install: using existing database vs creating new database
Which one do you recommend?
Hans has done a good job pointing out the pros and
cons but I reject some of his reasons for using the
default database:I also reject some of the reasons I state - but I state them as they need to be presented before they can be rejected. <g>
My point is simple - you gather all the reasons first and then accept or reject based on your specific environment. What works for me may not work for you.
>
- potentially tuned to EM needs;
==> Read the install notes for oracle recommended settings...not hardHow many people read any install manual? Especially these days ...
People will probably skim the internet to determine that it's possible to install on a separate database, and will often target a database that has sufficient space.
I doubt if 1 in 10 would even consider that the OMR will put a load on the CPU or would think to change the DBs settings based on a compination of "what si best for the applications in the DB" and "what is best for the OMR"
>
- on the same machine as OMS;
==> an existing database can also be on the same
machineIf the OMS load pushes the machine to require another CPU and that forces the purchase another CPU license, then I would consider getting the OMS the h*^l off the machine on to a separate server.
AFAIK, you pay for the DB license, but there is no per-cpu charge for the OMS. So, like any client, you can install the OMS anywhere you want. I'd appreciate any documentation to the contrary.
>
- specific DB version selected (that is known to work
woth OMR);
==> you should check metalink for the latest versions
and what is supported ANYWAY...Again - you assume person reads. <g>
/Hans -
Creating Template in DBCA shuts down existing database
Found a feature in the Database Configuration Assistant under Manage Templates. It allows you to create a template of an existing database including the structure, meaning datafiles. I thought this would be great to create a test database on a different server.
When I went to create the template, it did not warn me that it would shut down the database I was creating the template of. Not thinking it would need to, still don't understand why it would need to, I proceeded on my merry way until I was informed my production database was down. A quick review of the alert log showed the alter database shutdown command.
So a warning to others not to do this, and a reminder to self to never trust an application to perform the way you think it should, but test, test, test before trying on production.
I would love to hear if this is a bug or a undocumented feature of this utility. I also would like to know why it had to shut the database down.
Thanks.There is a documented BUG 4393252 on 9i 9.2.0.6.0 which may relate to your problem.
It indicates that DBCA issues a Shutdown Immediate without warning when you choose to create a Template "From an existing database (structure as well as data)".
Have a look at it. -
Create web application in powershell using existing app pool
Hi all,
I am trying to create a web application with this script:
https://gallery.technet.microsoft.com/office/Create-SharePoint-2013-1d7c3337
The problem is that I want to use an existing app pool, but when I do I get this error:
Aborting: Application Pool SharePoint - Applications already exists on the server and is not a SharePoint Application Pool
Obviously this is wrong, since I use this app pool for most of my web apps.
So how does one go about creating a web app in powershell with an already existing app pool?
-Michael
mictry these links:
http://sharepoint.stackexchange.com/questions/81297/creating-a-webapp-via-powershell-is-mapping-the-site-to-wrong-apppool
http://blogs.technet.com/b/fromthefield/archive/2014/03/26/create-a-sharepoint-application-pool-using-powershell.aspx
http://blogs.msdn.com/b/rcormier/archive/2012/09/01/how-to-create-sharepoint-web-applications-with-powershell.aspx
Please mark answer as correct if it is correct else vote for it if you find it useful Happy SharePointing -
Can I create ASP user validated website using existing MD5 passwords from SQL table?
I'm attempting to build a user authenticated site in Dreamweaver CS5 using an existing USERS table from another site. The password field in the existing SQL table appears to be MD5 encoded. How can I MD5 encode the form field (or the SQL query) so that it verifies MD5 to MD5?
Currently, it's comparing the form's plain text field to the MD5 encrypted password field in SQL.
I've built a simple login form using the following:
<form id="form1" name="form1" method="POST" action="<%=MM_LoginAction%>">
<input name="username" type="text" id="username" accesskey="u" tabindex="1" /><input name="password" type="password" id="password" accesskey="p" tabindex="2" /><input name="submit" type="submit" value="submit" />
</form>
With the stock Dreamweaver Log In User Server Behavior as follows:
<%
' *** Validate request to log in to this site.
MM_LoginAction = Request.ServerVariables("URL")
If Request.QueryString <> "" Then MM_LoginAction = MM_LoginAction + "?" + Server.HTMLEncode(Request.QueryString)
MM_valUsername = CStr(Request.Form("username"))
If MM_valUsername <> "" Then
Dim MM_fldUserAuthorization
Dim MM_redirectLoginSuccess
Dim MM_redirectLoginFailed
Dim MM_loginSQL
Dim MM_rsUser
Dim MM_rsUser_cmd
MM_fldUserAuthorization = ""
MM_redirectLoginSuccess = "results.asp"
MM_redirectLoginFailed = "error.html"
MM_loginSQL = "SELECT user_name, password"
If MM_fldUserAuthorization <> "" Then MM_loginSQL = MM_loginSQL & "," & MM_fldUserAuthorization
MM_loginSQL = MM_loginSQL & " FROM dbo.users WHERE user_name = ? AND password = ?"
Set MM_rsUser_cmd = Server.CreateObject ("ADODB.Command")
MM_rsUser_cmd.ActiveConnection = MM_ADSX_STRING
MM_rsUser_cmd.CommandText = MM_loginSQL
MM_rsUser_cmd.Parameters.Append MM_rsUser_cmd.CreateParameter("param1", 200, 1, 32, MM_valUsername) ' adVarChar
MM_rsUser_cmd.Parameters.Append MM_rsUser_cmd.CreateParameter("param2", 200, 1, 32, Request.Form("password")) ' adVarChar
MM_rsUser_cmd.Prepared = true
Set MM_rsUser = MM_rsUser_cmd.Execute
If Not MM_rsUser.EOF Or Not MM_rsUser.BOF Then
' username and password match - this is a valid user
Session("MM_Username") = MM_valUsername
If (MM_fldUserAuthorization <> "") Then
Session("MM_UserAuthorization") = CStr(MM_rsUser.Fields.Item(MM_fldUserAuthorization).Value)
Else
Session("MM_UserAuthorization") = ""
End If
if CStr(Request.QueryString("accessdenied")) <> "" And false Then
MM_redirectLoginSuccess = Request.QueryString("accessdenied")
End If
MM_rsUser.Close
Response.Redirect(MM_redirectLoginSuccess)
End If
MM_rsUser.Close
Response.Redirect(MM_redirectLoginFailed)
End If
%>
Please help!unfortunately classic asp does not have a built in function for md5. what we used for our legacy sites is a javascript that hashes a string to MD5. here's the code we've used in the past http://pajhome.org.uk/crypt/md5/md5.html
your asp should have something like this...
<script language="jscript" src="path_to_js_file/md5.js" runat="server"></script>
<%
'hash the password
Dim md5password ' md5password variable will hold the hashed text from form variable txtPassword
md5password = hex_md5(""&Request("txtPassword")&"")
' based on the code you posted...
MM_rsUser_cmd.Parameters.Append MM_rsUser_cmd.CreateParameter("param2", 200, 1, 32, md5password) ' adVarChar
%> -
Creating a new database vs. Using the existing database
Hi,
I have to build a new desktop application over an existing oracle database -
Current database is around 300 gb
Has 1500+ tables
Tables are in denormalized form and has ungrouped table columns
High level of nesting is done in the triggers.
Now before I take decision to use existing database I want to know
1. what factors to consider while choosing between the existing db or a new db?
Thanks in advance.Some of the things I would consider before including the two desktop applications together:
Would you mind impacting one or the other application (downtime) if you needed to bounce the database for any reason, or if there were issues with the database. Keeping them separate would prevent having to bring down both applications if the database went down for any reason (planned or otherwise).
Would the type of activity in both databases be so similar that all global optimizer and other parameter settings be perfect for both cases?
Would the SLA be the same for both databases? Would your customers agree to impacts of one application data if you had to roll back the database for the other application?
By having the two applications in the same database, you are also stuck with having to wait for both application vendors to certify their product with the next patch level or version for upgrades. Keeping them separate eliminates this problem.
Is there any compelling reason to keep them together?
Personally, I would keep them separate for all of the above reasons, and many more which I did not bother to write. -
Creating dimensions using MaxL commands
Is there anyway to create one or more dimensions using MaxL commands?
Also setting their parameters like "Accounts/Time", "Label Only" and "Dense/Sparse"?Here's a sample from the documentation:
import database sample.basic dimensions
from data_file '/data/calcdat.txt'
using rules_file '/data/rulesfile.rul'
on error append to '/logs/dimbuild.log';
Check: import dimensions in the MaxL part of the technical reference you will find more examples. -
Tool to create Java Object classes using the Database Tables
Hi,
Is their any tools or utility available to create the Java Object Classes using the Database Tables as input.
Lets Say I am having the Employee, Employee_Salary tables in the Database.The utility has to create the Java Object classes with the relation.
Please Help...
Thx..Hm, for generating regular Java classes I wouldn't know one from memory. But I suggest you start searching in for example the Eclipse marketspace for a third party plugin that can do it. If all fail, you could always use Hibernate Tools from the Jboss Tools Eclipse plugin set to generate Hibernate/JPA entities and then strip the annotations from them to turn them into regular POJO classes.
How many tables are we talking about anyway? It might be less effort to just create the classes with properties and then use an IDE to generate getters and setters for them. -
Steps for creating structural authorization profile using trans. OOSP
Dears,
Could someone please guide to the steps for creating a structural authorization profile using transaction OOSP, to authorize on the HR Payroll Area.
Thanks.
RedaHi,
There are comprehensive guidelines on help.sap.com for creation of structural authorizations: http://help.sap.com/saphelp_erp2004/helpdata/en/34/49ba3b3bf00152e10000000a114084/content.htm
However, please bear in mind that you cannot limit access to certain payroll area with structural authorization. For that you should use standard PA authorization object (you can use field organizational key to store Payroll Area VDSK1 in IT0001):
P_ORGIN http://help.sap.com/erp2005_ehp_02/helpdata/en/3e/b8b83b5b831f3be10000000a114084/content.htm
Cheers -
Hidden Database Items - Using Non-database Items
I am making my first form. It is based on a table having three columns, two are IDs (primary keys) for other tables ( org_organization_definitions and po_vendors ), and one is an enabled_flag containing either Y or N. In my form I need to hide the IDs of the underlying table, but display the organization_code and vendor_name from the IDs of the records from their respective home tables, and be able to query records by organization_code and vendor_name.
I have tried two methods:
In the first I created a block from the table with the ID and enabled_flag columns, and manually created text items for organization_code and vendor_name that are not database items and manually fill them in the post-query trigger of the block. The problem I ran into with this method was that I did not know how to use the manual text items for searching, and I could not get the LOVs to behave as expected as with database items.
In the second method, I created a view with all of the data that I needed to display, and based the block on that. Of course I cannot update or insert into the view, so I wanted to handle the updates and inserts manually with my own DML statements. With this method I have two problems, I don’t know how to bypass the form runtime not wanting to let me update values, and once I do, I am not sure how to manually go through each record to check to see if it has been changed or not.
I am not sure if either of my methods are the only two options or the best ways. Any help you can provide me with in this matter is appreciated.
Thank You,
Ryanhi,
I have a requirement where I have to use existing database(OLTP) as my source to the SSAS cubes and then to build the reports.
Where for Cubes and Reports I uses SQL Server BI edition. But my existing source data will be in non BI database.
My questions are
1) Can I create Fact and Dimension Model in Non BI Db and connect the same to SSAS and SSRS? What you suggest?
2) Can I use cubes and reports without modifying the existing OLTP DB structure to fact and Dimension?
Thanks
Naveen
1. Yes. you can
It doesnt necessary need to set up a OLAP system. However making design inline with OLAP would be easier to implement in SSAS
2. Again yes
But using OLTP designed tables in SSAS/SSRS would require some additional overheads at querying level like referenced lookups in SSAS vs lots of joins in backend queries in SSRS.
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
Installation type new/existing database
Hi
By accident, when we were doing an install of 10g r2 Oracle Enterprise
Manager on AIX 5.2, mistakenly chose 'create new database' instead of
'use existing database during the install. does anyone know how to
change this to 'use existing database' without reinstalling?
ThanksYou could try export/import and then change the connection parameters in the emd.properties file to point to the existing database.
-
Installation issue in BOBJ XI 4.0 while specifing existing DATABASE for CMS
Hi SDN users,
we are in the process of installating SAP BOBJ XI 4.0 on windows 2003 and SQL 2008. We have created new datasource ( CMS and Audit database) and performed the necessary settings in system DSN in ODBC Data Source Administration.
Test datasource connection was successful.
During the installation, we have used the option use existing database ( microsoft SQL server using ODBC). the database which we have created are not populating to specify in the screen. we are not able to proceed.
Could anyone let us know why the database are not apearing.
Thanks & Regards,
RanadhirNot via a forum post.
You may wish to open a support case with SAP.
Note that the CMS database must be on the 64-bit, and not 32-bit, side with BI 4.x
Sincerely,
Ted Ueda -
Processing Mining Structure Error
I have a problem while processing mining structure...
This is my Mining Structure
CREATE MINING
STRUCTURE [QUESTION1] (
[ownerReviewID] LONG KEY,
[makeName] TEXT DISCRETE,
[modelName] TEXT DISCRETE,
[price] LONG CONTINUOUS,
[priceDisc] LONG DISCRETIZED(AUTOMATIC),
[seriesYear] LONG CONTINUOUS,
[seriesYearDisc] LONG DISCRETIZED(AUTOMATIC),
[ownerName] TEXT DISCRETE,
[ownedSinceNew] BOOLEAN DISCRETE,
[ownedPeriod] LONG DISCRETE,
[feature_ratings] TABLE (
[transID] LONG KEY,
[ownerReviewID]
LONG DISCRETE,
[feature] TEXT DISCRETE,
[rating] LONG CONTINUOUS,
[ratingDisc] LONG DISCRETIZED(AUTOMATIC)
) WITH HOLDOUT
(30 PERCENT OR 10000 CASES);
I've created a Mining Model with Naive Bayes:
ALTER MINING STRUCTURE [QUESTION1]
ADD MINING MODEL [PredictReBuy-NBayes]
[ownerReviewID],
[makeName],
[modelName],
[priceDisc] AS [price],
[seriesYearDisc] AS
[seriesYear],
[ownerName],
[ownedSinceNew],
feature_ratings(
transID,
feature,
[ratingDisc] AS
[rating] PREDICT )
USING Microsoft_Naive_Bayes
So far, the 2 codes above work fine, all executed.
The error shown at the bottom comes up when I try to execute the processing code. This is my processing code:
INSERT INTO MINING STRUCTURE [QUESTION1]
[ownerReviewID],[makeName],[modelName],[price],[seriesYear],[ownerName],[ownedSinceNew],[ownedPeriod], feature_ratings(SKIP, [transID])
SHAPE {
OPENQUERY([Car Rating],'SELECT ownerReviewID, makeName, modelName, price, seriesYear, ownerName, ownedSinceNew, ownedPeriod FROM dbo.owner_reviews ORDER BY ownerReviewID')}
APPEND
{OPENQUERY([Car Rating],'SELECT transID, ownerReviewID, feature, rating FROM
dbo.feature_ratings ORDER BY transID')
RELATE ownerReviewID to ownerReviewID
) AS [feature_ratings]
I'm currently receiving this error which I dont understand how to solve... any ideas? Thanks!!
Executing the query ...Error (Data mining): The count of the specified columns does not match the count of
the mining model columns or the input rowset columns.Execution completeHi, it seems that you have posted another thread at Stackoverflow forum:
http://stackoverflow.com/questions/23823448/dmx-processing-mining-structure-error
Nice to see you have got it resolved.
Regards, Leo -
Not getting any levels for mining structures in VS business intelligence studio
I am trying to do data mining with a data warehouse I created. I have the columns Chrome title, chrome window handle, date, time and chrome memory. I want memory to be predicted having the rest as input. But when I try to create mining structures,
i am getting only 1 level all the time. When I click on 'suggest' button in data mining wizard i am always getting a score of 98 time and thats all. Rest are showing 0. I tried with many tables in my ware house but all behaving this way. Please help.
mayooran99Thank you! Is this correct?
CREATE DATABASE AdventureWorksDW2008R2_data
ON
(FILENAME
=
'C:\SSIS Downloads\AdventureWorksDW2008R2_Data')
FOR
ATTACH_REBUILD_LOG
I tried this and it gives me a cannot find file specified error, but my file IS located at
C:\SSIS Downloads
error is:
Msg 5120, Level 16, State 101, Line 1
Unable to open the physical file "C:\SSIS Downloads\AdventureWorksDW2008R2_Data". Operating system error 2: "2(The system cannot find the file specified.)".
I will continue to play with it, thanks very much!
Try as below,
sp_attach_single_file_db 'AdventureWorksDW2008R2'
,'C:\SSIS Downloads\AdventureWorksDW2008R2_Data.mdf'
Note: If you get any security issue then refer this link
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/232e4aaf-73cf-4eb8-9f6c-6a4fc91a6036/i-cant-attach-mdf-operating-system-error5
Regards, RSingh
Maybe you are looking for
-
Deleting photo's when trying to add more
How can I add more photo's to ipod from computer without wiping existing photo's stored on ipod.
-
Sharepoint send to button not working with document mode 9
Hi All, We are using document mode 9 for HTML 5 in the master page but the SharePoint send to button is not working with ie 9. Can anyone help me to resolve this issue.
-
Hi Everyone, I've created a slideshow where SWFs load externally into the main file. When one SWF's animation is completed, next SWF gets loaded. Problem: If the animation in any particular SWF is created on Stage (ie. on main timeline) then we can e
-
Okay, long story but a windows update has royally messed up my laptop to the point where I'm going to have to reformat to day one according to the technicians I've talked too. I've already backed up all my music to my other computer but I was wonderi
-
Exchange (Outlook) meeting acceptances/declines don't sync
I have an iPhone4 and I sync to my office Outlook OTA. When I receive a calendar invite on my desktop and then accept it, the iPhone does not know that the meeting was accepted. I have to accept it a 2nd time on the iPhone. The same issue works the s