Oracle RMS Test Data
Hi,
Is there any sample data available for Retail Merchandising System (RMS)?
if there is any sample data, please provide the Details regarding to it.
Appreciate the help in advance.
Regards,
Prasanthi
There is demo data for RMS, which can be inserted during install. You can also insert it later by manually running the demo data SQL*Plus scripts.
It might be in a different location in RMS13, but in RMS12, you can find the scripts which insert demo/seed data in the staging folder in /dbserverunix/data.
From there you can run rmsdemodata.sql.
However, there is only data for master data (options, udas, items, suppliers, etc), none for transactional data.
You would need to create your own.
One method would be to create your own transactional data in a text file run the migration scripts (in the staging folder under /dbserverunix/dataconversion
I do not know Retail Analytics so I am unsure how you would trigger this generated data to import into the Analytics module
Hope this helps
Edited by: Alan Lawlor on 17-Apr-2013 10:21
Similar Messages
-
How to generate test data for all the tables in oracle
I am planning to use plsql to generate the test data in all the tables in schema, schema name is given as input parameters, min records in master table, min records in child table. data should be consistent in the columns which are used for constraints i.e. using same column value..
planning to implement something like
execute sp_schema_data_gen (schemaname, minrecinmstrtbl, minrecsforchildtable);
schemaname = owner,
minrecinmstrtbl= minimum records to insert into each parent table,
minrecsforchildtable = minimum records to enter into each child table of a each master table;
all_tables where owner= schemaname;
all_tab_columns and all_constrains - where owner =schemaname;
using dbms_random pkg.
is anyone have better idea to do this.. is this functionality already there in oracle db?Ah, damorgan, data, test data, metadata and table-driven processes. Love the stuff!
There are two approaches you can take with this. I'll mention both and then ask which
one you think you would find most useful for your requirements.
One approach I would call the generic bottom-up approach which is the one I think you
are referring to.
This system is a generic test data generator. It isn't designed to generate data for any
particular existing table or application but is the general case solution.
Building on damorgan's advice define the basic hierarchy: table collection, tables, data; so start at the data level.
1. Identify/document the data types that you need to support. Start small (NUMBER, VARCHAR2, DATE) and add as you go along
2. For each data type identify the functionality and attributes that you need. For instance for VARCHAR2
a. min length - the minimum length to generate
b. max length - the maximum length
c. prefix - a prefix for the generated data; e.g. for an address field you might want a 'add1' prefix
d. suffix - a suffix for the generated data; see prefix
e. whether to generate NULLs
3. For NUMBER you will probably want at least precision and scale but might want minimum and maximum values or even min/max precision,
min/max scale.
4. store the attribute combinations in Oracle tables
5. build functionality for each data type that can create the range and type of data that you need. These functions should take parameters that can be used to control the attributes and the amount of data generated.
6. At the table level you will need business rules that control how the different columns of the table relate to each other. For example, for ADDRESS information your business rule might be that ADDRESS1, CITY, STATE, ZIP are required and ADDRESS2 is optional.
7. Add table-level processes, driven by the saved metadata, that can generate data at the record level by leveraging the data type functionality you have built previously.
8. Then add the metadata, business rules and functionality to control the TABLE-TO-TABLE relationships; that is, the data model. You need the same DETPNO values in the SCOTT.EMP table that exist in the SCOTT.DEPT table.
The second approach I have used more often. I would it call the top-down approach and I use
it when test data is needed for an existing system. The main use case here is to avoid
having to copy production data to QA, TEST or DEV environments.
QA people want to test with data that they are familiar with: names, companies, code values.
I've found they aren't often fond of random character strings for names of things.
The second approach I use for mature systems where there is already plenty of data to choose from.
It involves selecting subsets of data from each of the existing tables and saving that data in a
set of test tables. This data can then be used for regression testing and for automated unit testing of
existing functionality and functionality that is being developed.
QA can use data they are already familiar with and can test the application (GUI?) interface on that
data to see if they get the expected changes.
For each table to be tested (e.g. DEPT) I create two test system tables. A BEFORE table and an EXPECTED table.
1. DEPT_TEST_BEFORE
This table has all EMP table columns and a TEST_CASE column.
It holds EMP-image rows for each test case that show the row as it should look BEFORE the
test for that test case is performed.
CREATE TABLE DEPT_TEST_BEFORE
TESTCASE NUMBER,
DEPTNO NUMBER(2),
DNAME VARCHAR2(14 BYTE),
LOC VARCHAR2(13 BYTE)
2. DEPT_TEST_EXPECTED
This table also has all EMP table columns and a TEST_CASE column.
It holds EMP-image rows for each test case that show the row as it should look AFTER the
test for that test case is performed.
Each of these tables are a mirror image of the actual application table with one new column
added that contains a value representing the TESTCASE_NUMBER.
To create test case #3 identify or create the DEPT records you want to use for test case #3.
Insert these records into DEPT_TEST_BEFORE:
INSERT INTO DEPT_TEST_BEFORE
SELECT 3, D.* FROM DEPT D where DEPNO = 20
Insert records for test case #3 into DEPT_TEST_EXPECTED that show the rows as they should
look after test #3 is run. For example, if test #3 creates one new record add all the
records fro the BEFORE data set and add a new one for the new record.
When you want to run TESTCASE_ONE the process is basically (ignore for this illustration that
there is a foreign key betwee DEPT and EMP):
1. delete the records from SCOTT.DEPT that correspond to test case #3 DEPT records.
DELETE FROM DEPT
WHERE DEPTNO IN (SELECT DEPTNO FROM DEPT_TEST_BEFORE WHERE TESTCASE = 3);
2. insert the test data set records for SCOTT.DEPT for test case #3.
INSERT INTO DEPT
SELECT DEPTNO, DNAME, LOC FROM DEPT_TEST_BEFORE WHERE TESTCASE = 3;
3 perform the test.
4. compare the actual results with the expected results.
This is done by a function that compares the records in DEPT with the records
in DEPT_TEST_EXPECTED for test #3.
I usually store these results in yet another table or just report them out.
5. Report out the differences.
This second approach uses data the users (QA) are already familiar with, is scaleable and
is easy to add new data that meets business requirements.
It is also easy to automatically generate the necessary tables and test setup/breakdown
using a table-driven metadata approach. Adding a new test table is as easy as calling
a stored procedure; the procedure can generate the DDL or create the actual tables needed
for the BEFORE and AFTER snapshots.
The main disadvantage is that existing data will almost never cover the corner cases.
But you can add data for these. By corner cases I mean data that defines the limits
for a data type: a VARCHAR2(30) name field should have at least one test record that
has a name that is 30 characters long.
Which of these approaches makes the most sense for you? -
Oracle Receviables customer data collection test
Hi
Oracle Receviables customer data data collection test note:245256.1
how can i find which script(sql) i have to use to get this output
ThanksRun this test from "Oracle Diagnostics Tool" responsibility.
Note: 358831.1 - eBusiness Suite Diagnostics Execution Instructions
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=358831.1 -
Exporting test data from Oracle Test Manager
Hi,
I have created some test datas (req.s,tests etc) in my OTM.Suppose if iam reinstalling OATS,how can i get this test data in the new OTM.Can i export this test data to some .csv(windows) format,so that i can use by importing in to OTM.
Can anyone help me in this topic?
Alex,can you please?
Thanks,
Sandeep.Sandeep
All the data is stored on a database all you need to do during the upgrade is point to the old database instead of creating a new one.
if you are upgrading from a Microsoft based database to an Oracle database there is a data migration utility.
You don't need to do anything manually.
Once you have finished the upgrade you will need to login in the admin app http://localhsot:8088/admin with a user that has administrator rights, as this will take care of any DB upgraded that needs to be applied.
Regards
Alex -
Test Data generator for oracle?
Hi again,
I found a long list of "Test data generators" for oracle by google.Is there anybody there to use some specific product and have nice experience? I have limited time to test them.
-Your help will be so appreciated.The Oracle provided dbms_random package can be used to help generate test data.
I have found that most test data generation programs are not that useful for generation data in an rdbms environment.
HTH -- Mark D Powell -- -
Populating the test data in table of IDES ECC 5.0 in Oracle
Hi Guys,
I have installed IDES ECC 5.0 successfully without any errors. But I don't see the data in tables like PA0001 etc. Can some body give me the steps for populating the tables with test data. I was able to sign on using DDIC in client 000.
Thanks,you are using wrong client, login into client 800. check tcode SCC4 to check which client you want to log into.
-
Test data generator for Oracle database
Hello.
I'm a student of Computer Engeneering in Poland. I've recently written simple application that can help people to populate database with some simple test data (appliation works only on relational database).
this is link to website: http://testdatagenerator.jak.pl/
Requires: .NET Framework 2.0 and ODP.NET
Every feedback is welcome!Yes, I know about it...
In Firefox you can easily close the ad (in IE it's a little bit difficult).
Here is direct link to installer (if someone has a problem to handle with ads ):
http://metis.weia.po.opole.pl/~d51422/generatorOracle/setup_ml.exe
(both EN and PL version) -
Creating test data for a problem
Hi,
I've been using this forum for a few months and it has been extremely useful. The problem is that I actually have no idea how to create test data for a specific problem. I've tried googling but to no avail. I have had other users create test data for some of my problems using a 'WITH' statement but it would be great if someone could explain the logic behind it and how to approach a specific problem where in the query I use multiple tables.
I know it's probably a stupid question and I'm relatively new to sql but it would help a lot if I understood the process.
Banner:
Oracle Database 11g Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
"CORE 11.2.0.2.0 Production"
TNS for Linux: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - ProductionLook at the point 3 and 4. You can also follow other points too.
Please consider the following when you post a question. This would help us help you better
1. New features keep coming in every oracle version so please provide Your Oracle DB Version to get the best possible answer.
You can use the following query and do a copy past of the output.
select * from v$version 2. This forum has a very good Search Feature. Please use that before posting your question. Because for most of the questions
that are asked the answer is already there.
3. We dont know your DB structure or How your Data is. So you need to let us know. The best way would be to give some sample data like this.
I have the following table called sales
with sales
as
select 1 sales_id, 1 prod_id, 1001 inv_num, 120 qty from dual
union all
select 2 sales_id, 1 prod_id, 1002 inv_num, 25 qty from dual
select *
from sales 4. Rather than telling what you want in words its more easier when you give your expected output.
For example in the above sales table, I want to know the total quantity and number of invoice for each product.
The output should look like this
Prod_id sum_qty count_inv
1 145 2 5. When ever you get an error message post the entire error message. With the Error Number, The message and the Line number.
6. Next thing is a very important thing to remember. Please post only well formatted code. Unformatted code is very hard to read.
Your code format gets lost when you post it in the Oracle Forum. So in order to preserve it you need to
use the {noformat}{noformat} tags.
The usage of the tag is like this.
<place your code here>\
7. If you are posting a *Performance Related Question*. Please read
{thread:id=501834} and {thread:id=863295}.
Following those guide will be very helpful.
8. Please keep in mind that this is a public forum. Here No question is URGENT.
So use of words like *URGENT* or *ASAP* (As Soon As Possible) are considered to be rude. -
Debug Mode - Source tables not showing up in Test Data tab
I'm new at OWB, so pardon me if this isn't a great question...
I built a mapping based on four views that are stored in Oracle. When I tried to run the mapping it gave me some errors, so I initiated debug mode. After the debug mode is initialized, only the target table shows up on the Test Data tab, the four source views are not there. How can I get the sources to show up in the Test Data tab so that I can define what test data to use?
Thank you!
Doug Faust
Long Island UniversityThankyou Vetsrini.
I will try out custom log table approach.
I see that there is a way to test pl/sql scripts via the DBMS output
and for that we need some invoking program like SQL PLUS to get the
log out into a file.
However, we wanted to see if there is a way to set Pl/SQL log files
and get PL/SQL logs when the calling program is BI Publisher.
regards
Girija -
Debuging mapping - error : Could not find test data for target operators ?
Hello, Please help me.
I use Oracle Warehouse Builder 10gR2.
I created a cube with two dimensions.
I debugged the mappings of these two dimensions then viewed their data after deployment.
I tried to debug the mapping of the cube, and got the error: Could not find test data for all source and target operators.
For source objects exist test data but for the target operator (cube_out) logically we do not need test data !!!! .
But the error is here: Could not find test data for target operators. Why ??
How to configure or explain to owb that the target operator do not have test data ????
I need your help.
thank you in advance.Sorry, I can not understand your approach ?
I explain you in detail : I work in ROLAP.
I have two dimensions : DIM_1 and DIM_2 linked with the cube (Fact_table).
I have three mappings : MAP_DIM1, MAP_DIM2, MAP_CUBE.
For the MAP_CUBE, I have source operator : VIEW_IN and Target operator : CUBE_OUT.
I could see the data dimensions : DIM_1 and DIM_2 after debugging and Deployment in the OLAP schema.
I tried debugged the mapping: MAP_CUBE so I got the error: Could not find test data for all source and target operators.*
thank you for help. -
Need tools info. on SQL test data preparation
Hi,
I need to prepare large volume of data's for the testing's.
For example,
There is a need to insert some 500 numbers into a table.
Instead of writing the sql insert statements, procedures, using sql developers etc...
Is there any tools available for this to prepare the data's like this..
The tools has to be more generic for any type of the SQL statement requirements
for the testing.
Thanks,
Kar.Are you looking for a test data generator, or just a quick way to load data?
For test data generators, try this, for a quick way to load data use [SQLLoader |http://download.oracle.com/docs/cd/B28359_01/server.111/b28319/part_ldr.htm#i436326]. This is the 11g documentation, you should be able to find the 10g documentation easily enough.
Note that this forum is specifically for the SQLDeveloper tool. You may get better answers in the [Database General|http://forums.oracle.com/forums/forum.jspa?forumID=61] forum.
Edited by: Jim Smith on Oct 4, 2008 10:45 AM -
How to insert test data of 10,000 records into emp table
Hi I'm new to oracle can anyone please help me in writing a program so that i can insert test data into emp table
Hi,
user11202607 wrote:
thanks sanjay , frank . But how can i insert only 4 deptno's randomly and how can i insert only 10 managers randomly ,
Sorry to pull Your legs and thanks for bearing my question. I want to insert into emp table where it has the empno, ename, sal, job, hiredate, mgr and deptnoThis should give you some ideas:
INSERT INTO emp (empno, ename, sal, job, hiredate, mgr, deptno)
SELECT LEVEL -- empno
, dbms_random.string ('U', 4) -- ename
, ROUND ( dbms_random.value (100, 5000)
, -2
) -- sal
, CASE
WHEN LEVEL = 1 THEN 'PRESIDENT'
WHEN LEVEL <= 4 THEN 'MANAGER' -- Change to 11 after testing
WHEN dbms_random.value < .5 THEN 'ANALYST'
WHEN dbms_random.value < .5 THEN 'CLERK'
ELSE 'SALESMAN'
END -- job
, TRUNC ( SYSDATE
- dbms_random.value (0, 3650)
) -- hiredate
, CASE
WHEN LEVEL > 1
THEN TRUNC (dbms_random.value (1, LEVEL))
END -- mgr
, TRUNC (dbms_random.value (1, 5)) -- deptno
FROM dual
CONNECT BY LEVEL <= 10 -- Change to 10000 after testing
;The interesting part (to me, at least) is mgr. What I've done above is guarantee that the mgr-empno relationship reflects a tree, with the 'PRESIDENT' at its sole root. The tree can be any number of levels deep.
Sample results:
EMPNO ENAME SAL JOB HIREDATE MGR DEPTNO
1 GDMT 2800 PRESIDENT 30-AUG-04 2
2 CVQX 400 MANAGER 24-MAY-06 1 2
3 QXJD 1300 MANAGER 17-JUN-05 1 4
4 LWCK 4800 MANAGER 15-JUN-06 2 2
5 VDKI 3700 CLERK 08-SEP-01 4 2
6 FKZS 2600 CLERK 18-DEC-06 4 1
7 SAKB 700 ANALYST 30-JUN-00 5 4
8 DVYY 300 ANALYST 22-SEP-01 2 1
9 CLEO 2700 ANALYST 27-MAY-08 5 4
10 RDVQ 3400 ANALYST 14-DEC-08 5 4For details on the built-in packages (such as dbms_random) see the [Parckages and Types manual|http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_random.htm#i998925]. -
Using the Import Test Data Wizard
Using Oracle HTMLDB 1.6.0.00.87
Whenever we try to use the import test data wizard, even using a simple text file such as: "Forname","Surname"
Joe,Bloggs
the file does not import correctly. We are trying to import to a new table and uploading a txt file with the above content. What we get in the set table properties is something like: Column Names : rom_wwv_flow_file_objects
Data Type:VARCHAR2
Format:
Column Length: 30
Upload: Yes
Row 1: Where n
Any ideas? We tried the same test at the UK Oracle user group conference with success. Is there a set up problem on our server?
Cheers
TyProblem solved.
Ensure the correct character is set when importing. -
Mapping debbuging error:DBG1006: Error while initializing test data
Hi,
I have created a mapping in which I am trying to delete data from a table based on exisitence of rows in another table with a filter condtion in between them.When i try to run the debbugger, it throws following error:
============
Analyzing map for debug...
Retrieving Control Center connection info...
Connecting to Control Center schema...
Checking character set of Control Center schema...
Configuring sources and targets...
Mapping Debugger Error:
oracle.wh.service.sdk.mapping.debugger.WBMappingDebuggerException: DBG1006: Error while initializing test data for sources and targets:
oracle.wh.repos.sdk.CMPException: Trying to access invalid Object.
Element ID: 110138
Status: 4
Owning FCO: 98409
==================
Any idea what could be the possible cause?
Query which I am trying to simulate is of following type:
Delete from TableA t1
where exits(select 1 from TableB t2 where t1.col1 = t2.col1 and t2.col2 = 'delete')
Thanks
AJ.Oops..thats weird.
Tell me one thing...then how gud is the code generated in terms of working...if someone has to really test the code pre-hand for expected business logicWhy i am raising this concern is becoz there are many features for which OWB provides support in indirect way(workaround) like exists/not exists.
Do we need to deploy mapping each time and then test through a run from Control centre?
Other thing, As far i understand, the code generated is not in such a format that one can directly copy paste it in any sql/plsql editor and test it...
Regards
AJ. -
Migrating Oracle Internet Directory Data
We are trying to migrate oracle internet directory data from one of our test environments to the production environments. Both the environments are running on windows 2000 Operating Systems.
We are followiing the procedures mentioned in the Oracle Application Server 10g Administrator's Guide for the migration. But in one of the sections there is a command that uses unix shell script files - catalog.sh
This doesnt work in the windows environment, and only after completing this task I can proceed with the migration. Can anyone let us know if there is any windows equivalent file for this catalog.sh. How to proceed from here..Arnal,
Is this really a Portal thread?
Anyway... Maybe you have two options here (for example):-
1. Either use the CYGWIN.
2. Use the LDAPSEARC & LDAPADD to bring everything from Source to Target. In the middle change/substitue the necessary strings, ie, like for example domain.
I hope it helps...
Cheers,
Pedro.
Maybe you are looking for
-
pictue
-
Preview app: painfully slow with some .pdf files
I have consistently had troubles opening pdf files generated from spectrometers in my research lab. The files load slowly and Preview typically freezes to the point that it is not very useful. These files are .pdf and not large (100kb in size). My co
-
Hello, I'm working on OSX Version 10.9.4. Recently, I started using Time Warner Cable for internet. All other devices work fine with the Wi-Fi. iMac was originally connected to our wi-fi network and ran fine. Periodically, the wi-fi would loose a co
-
IPhone sync on Windows XP - SyncServer keeps running after disconnect
When connecting iPhone to sync, after disconnect process SyncServer.exe continues to run using more and more memory. Eventually, system is at 100%. Only way to stop it is to run AVG virus scan. Anyone else encountered this problem? Don't want to try
-
I have 2 seperate networks that were both built independantly with RV082 routers. These networks now have a physical connection between the two of them and i would like to bridge the networks. NETWORK1 WAN1: Static IP internet connect