Create Table with Compress for OLTP and error ORA-14464
Hello,
i have a Oracle-DB 11.2 and want to use Advanced Compression.
I want to create a table:
CREATE TABLE TD_GE_1990
( "name_id" NUMBER(1,0),
"name_txt" VARCHAR2(100 BYTE)
) COMPRESS FOR OLTP;
But i get:
SQL-Fehler: ORA-14464: Kompressionstyp nicht angegeben
The "compatible"-Parameter is set to 11.1:
SELECT value
FROM gv$parameter
WHERE name LIKE '%compatible%';
11.1.0.0.0
Do i have to change something in the database?
Best regards
Heidi
14464, 00000, "Compression Type not specified"
// *Cause: Compression Type was not specified in the Compression Clause.
// *Action: specify Compression Type in the Compression Clause.
Similar Messages
-
Compress for OLTP and ORA-14464
Hello,
i have a Oracle-DB 11.2 and want to use Advanced Compression.
I want to create a table:
CREATE TABLE TD_GE_1990
( "name_id" NUMBER(1,0),
"name_txt" VARCHAR2(100 BYTE)
) COMPRESS FOR OLTP;
But i get:
SQL-Fehler: ORA-14464: Kompressionstyp nicht angegeben
The "compatible"-Parameter is set to 11.1:
SELECT value
FROM gv$parameter
WHERE name LIKE '%compatible%';
11.1.0.0.0
Do i have to change something in the database?
Best regards
HeidiThis post is related to following thread and got resolved by changing compatible parameter to 11.2.0:
http://translate.google.co.in/translate?hl=en&sl=ko&u=http://kr.forums.oracle.com/forums/thread.jspa%3FthreadID%3D1594232%26tstart%3D345&ei=_u7QTKCwKIOfcbqxqdgL&sa=X&oi=translate&ct=result&resnum=2&ved=0CCMQ7gEwAQ&prev=/search%3Fq%3DORA-14464:%2BKompressionstyp%2Bnicht%2Bangegeben%26hl%3Den%26client%3Dsafari%26rls%3Den -
Create table with sqlstudio for sapdb
Hi all,
I try to use a created table in sapdb in my webdynpro, but when I run my application I the following error: contains the semantics error[s]: table "BE_DEPARTMENT" unknown. When I create the table by using NWDS then I the error is solved.
In sqlstudio I used CREATE TABLE. What must I do after this statement so that I can use the created table in my NWDS
I use a JDBC connection in my Webdynpro
Regards,
RichardPlease have a look at these
/people/kathirvel.balakrishnan2/blog/2005/04/16/how-to-manipulate-a-maxdb-database-using-jdbc--part-1
/people/kathirvel.balakrishnan2/blog/2005/04/22/how-to-manipulate-a-maxdb-database-using-jdbc--part-2
https://pwdf1209.dmzwdf.sap.corp/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how to create tables in maxdb using sql studio.pdf
Cheers
Kathir -
IDCS6 - How do I create tables with large whole numbers and small fractions?
I have a lot of engineering data, dimensions, etc, to enter into an existing IDCS6 Table. I need whole numbers to display full size, but fractions to be small size. I know I can use Open Type and select the Fractions option for each individual fraction, but that would take forever and give me a roaring headache.
How do I create a style (or whatever) that will allow me to just type in the numbers and have them automatically apply small formatting to the fraction portion of the number whenever it sees a "/"?
Along a similar line, I was trying to copy table data from a PDF document from Acrobat X Pro and paste that into an IDCS6 table, so each cell is populated by the appropriate cell data from the PDF file, but didn't have any success. That would really save me a lot of time, because I have many complete tables in PDF format. The data is not protected in the PDF, but I'm having a hard time figuring out how to bring it over to IDCS6.
On a Mac, OSX 10.8.5.
Thanks,
LouThere are a number of ways to do it, but I make fractions using Dan Rodney's excellent (and free) Proper Fraction script. After it's installed; assign it a keyboard shortcut. Then type your numerator/denominator, select it, and invoke the script. With just a couple keystrokes, you've got a perfectly formatted fraction.
As for the PDF tables, I'd try exporting the host file to RTF and copy/pasting from there. In case you're unaware, to paste values into InDesign table cells, the number of (pre-existing), cells/rows/columns in InDesign must match those copied (from) exactly, and must be pre-selected when the Paste command is executed. So...
1. Set up empty destination table in InDesign which matches the source structure.
2. Select source cells and Copy.
3. In Indesign, select exact same (x, y, qty), range of destination cells and Paste. -
Advanced Table Compression Create Table with LOBs
Hi,
I need some help with the Advanced Table Compression when creating a table especially when they contain a LOB.
Here are 3 examples:
Exp#1
CREATE TABLE emp (
emp_id NUMBER,
first_name VARCHAR2(128),
last_name VARCHAR2(128)
) COMPRESS FOR OLTP;
This one is ok - all elements are compressed.
Exp#2
CREATE TABLE photos (
photo_id NUMBER,
photo BLOB)
LOB(photo) STORE AS SECUREFILE (COMPRESS LOW);
This one I am confused - is it just the LOB(photo) that is compressed or the whole table. If it is just the LOB then what syntax do I need for the whole table?
I also assume that the LOB is being stored in the default tablespace associated with this table - correct me if I am wrong!
Exp#3
CREATE TABLE images (
image_id NUMBER,
image BLOB)
LOB(image) STORE AS SECUREFILE (TABLESPACE lob_tbs COMPRESS);
This one I am confused - I think it is telling me that LOB(image) is being compresses and stored in tablespace lob_tbs and the other elements are being stored uncompressed in the default tablespace.
Again if it is just the LOB then what syntax do I need for the whole table?
Thanks & regards
-AWelcome to the forums !
Pl post details of OS, database and EBS versions. Pl be aware that Advanced Compression is a separately licensed product. Pl see if these links help
http://blogs.oracle.com/stevenChan/2008/10/using_advanced_compression_with_e-business_suite.html
http://blogs.oracle.com/stevenChan/2008/11/early_benchmarks_using_advanced_compression_with_ebs.html
http://blogs.oracle.com/stevenChan/2010/05/new_whitepaper_advanced_compression_11gr1_benchmar.html
HTH
Srini -
Is it possible to create table with partition in compress mode
Hi All,
I want to create a table in compress option, with partitions. When i create with partitions the compression isnt enabled, but with noramal table creation the compression option is enables.
My question is:
cant we create a table with partition/subpartition in compress mode..? Please help.
Below is the code that i have used for table creation.
CREATE TABLE temp
TRADE_ID NUMBER,
SRC_SYSTEM_ID VARCHAR2(60 BYTE),
SRC_TRADE_ID VARCHAR2(60 BYTE),
SRC_TRADE_VERSION VARCHAR2(60 BYTE),
ORIG_SRC_SYSTEM_ID VARCHAR2(30 BYTE),
TRADE_STATUS VARCHAR2(60 BYTE),
TRADE_TYPE VARCHAR2(60 BYTE),
SECURITY_TYPE VARCHAR2(60 BYTE),
VOLUME NUMBER,
ENTRY_DATE DATE,
REASON VARCHAR2(255 BYTE),
TABLESPACE data
PCTUSED 0
PCTFREE 10
INITRANS 1
MAXTRANS 255
NOLOGGING
COMPRESS
NOCACHE
PARALLEL (DEGREE 6 INSTANCES 1)
MONITORING
PARTITION BY RANGE (TRADE_DATE)
SUBPARTITION BY LIST (SRC_SYSTEM_ID)
SUBPARTITION TEMPLATE
(SUBPARTITION SALES VALUES ('sales'),
SUBPARTITION MAG VALUES ('MAG'),
SUBPARTITION SPI VALUES ('SPI', 'SPIM', 'SPIIA'),
SUBPARTITION FIS VALUES ('FIS'),
SUBPARTITION GD VALUES ('GS'),
SUBPARTITION ST VALUES ('ST'),
SUBPARTITION KOR VALUES ('KOR'),
SUBPARTITION BLR VALUES ('BLR'),
SUBPARTITION SUT VALUES ('SUT'),
SUBPARTITION RM VALUES ('RM'),
SUBPARTITION DEFAULT VALUES (default)
PARTITION RMS_TRADE_DLY_MAX VALUES LESS THAN (MAXVALUE)
LOGGING
TABLESPACE data
( SUBPARTITION TS_MAX_SALES VALUES ('SALES') TABLESPACE data,
SUBPARTITION TS_MAX_MAG VALUES ('MAG') TABLESPACE data,
SUBPARTITION TS_MAX_SPI VALUES ('SPI', 'SPIM', 'SPIIA') TABLESPACE data,
SUBPARTITION TS_MAX_FIS VALUES ('FIS') TABLESPACE data,
SUBPARTITION TS_MAX_GS VALUES ('GS') TABLESPACE data,
SUBPARTITION TS_MAX_ST VALUES ('ST') TABLESPACE data,
SUBPARTITION TS_MAX_KOR VALUES ('KOR') TABLESPACE data,
SUBPARTITION TS_MAX_BLR VALUES ('BLR') TABLESPACE data,
SUBPARTITION TS_MAX_SUT VALUES ('SUT') TABLESPACE data,
SUBPARTITION TS_MAX_RM VALUES ('RM') TABLESPACE data,
SUBPARTITION TS_MAX_DEFAULT VALUES (default) TABLESPACE data)); Edited by: user11942774 on 8 Dec, 2011 5:17 AMuser11942774 wrote:
I want to create a table in compress option, with partitions. When i create with partitions the compression isnt enabled, but with noramal table creation the compression option is enables. First of all your CREATE TABLE statement is full of syntax errors. Next time test it before posting - we don't want to spend time on fixing things not related to your question.
Now, I bet you check COMPRESSION value of partitioned table same way you do it for a non-partitioned table - in USER_TABLES - and therefore get wrong results. Since compreesion can be enabled on individual partition level you need to check COMPRESSION in USER_TAB_PARTITIONS:
SQL> CREATE TABLE temp
2 (
3 TRADE_ID NUMBER,
4 SRC_SYSTEM_ID VARCHAR2(60 BYTE),
5 SRC_TRADE_ID VARCHAR2(60 BYTE),
6 SRC_TRADE_VERSION VARCHAR2(60 BYTE),
7 ORIG_SRC_SYSTEM_ID VARCHAR2(30 BYTE),
8 TRADE_STATUS VARCHAR2(60 BYTE),
9 TRADE_TYPE VARCHAR2(60 BYTE),
10 SECURITY_TYPE VARCHAR2(60 BYTE),
11 VOLUME NUMBER,
12 ENTRY_DATE DATE,
13 REASON VARCHAR2(255 BYTE),
14 TRADE_DATE DATE
15 )
16 TABLESPACE users
17 PCTUSED 0
18 PCTFREE 10
19 INITRANS 1
20 MAXTRANS 255
21 NOLOGGING
22 COMPRESS
23 NOCACHE
24 PARALLEL (DEGREE 6 INSTANCES 1)
25 MONITORING
26 PARTITION BY RANGE (TRADE_DATE)
27 SUBPARTITION BY LIST (SRC_SYSTEM_ID)
28 SUBPARTITION TEMPLATE
29 (SUBPARTITION SALES VALUES ('sales'),
30 SUBPARTITION MAG VALUES ('MAG'),
31 SUBPARTITION SPI VALUES ('SPI', 'SPIM', 'SPIIA'),
32 SUBPARTITION FIS VALUES ('FIS'),
33 SUBPARTITION GD VALUES ('GS'),
34 SUBPARTITION ST VALUES ('ST'),
35 SUBPARTITION KOR VALUES ('KOR'),
36 SUBPARTITION BLR VALUES ('BLR'),
37 SUBPARTITION SUT VALUES ('SUT'),
38 SUBPARTITION RM VALUES ('RM'),
39 SUBPARTITION DEFAULT_SUB VALUES (default)
40 )
41 (
42 PARTITION RMS_TRADE_DLY_MAX VALUES LESS THAN (MAXVALUE)
43 LOGGING
44 TABLESPACE users
45 ( SUBPARTITION TS_MAX_SALES VALUES ('SALES') TABLESPACE users,
46 SUBPARTITION TS_MAX_MAG VALUES ('MAG') TABLESPACE users,
47 SUBPARTITION TS_MAX_SPI VALUES ('SPI', 'SPIM', 'SPIIA') TABLESPACE users,
48 SUBPARTITION TS_MAX_FIS VALUES ('FIS') TABLESPACE users,
49 SUBPARTITION TS_MAX_GS VALUES ('GS') TABLESPACE users,
50 SUBPARTITION TS_MAX_ST VALUES ('ST') TABLESPACE users,
51 SUBPARTITION TS_MAX_KOR VALUES ('KOR') TABLESPACE users,
52 SUBPARTITION TS_MAX_BLR VALUES ('BLR') TABLESPACE users,
53 SUBPARTITION TS_MAX_SUT VALUES ('SUT') TABLESPACE users,
54 SUBPARTITION TS_MAX_RM VALUES ('RM') TABLESPACE users,
55 SUBPARTITION TS_MAX_DEFAULT VALUES (default) TABLESPACE users));
Table created.
SQL>
SQL>
SQL> SELECT PARTITION_NAME,
2 COMPRESSION
3 FROM USER_TAB_PARTITIONS
4 WHERE TABLE_NAME = 'TEMP'
5 /
PARTITION_NAME COMPRESS
RMS_TRADE_DLY_MAX ENABLED
SQL> SELECT COMPRESSION
2 FROM USER_TABLES
3 WHERE TABLE_NAME = 'TEMP'
4 /
COMPRESS
SQL> SY. -
Oracle compress with option FOR OLTP
Hi
I'm trying out compression on oracle but for unknown reason i cant use option "for oltp" (se below)
any ideas ?
SQL> create table ct(x int) compr for oltp
2 ;
create table ct(x int) compr for oltp
ERROR at line 1:
ORA-00922: missing or invalid option
SQL> create table ct(x int) compress;
Table created.
SQL> drop table ct
2 ;
Table dropped.There is no compr keyword, it's compress
SQL> create table ct(x int) compr for oltp;
create table ct(x int) compr for oltp
ERROR at line 1:
ORA-00922: missing or invalid option
SQL> create table ct(x int) compress for oltp;
Table created.
Cheers Michael -
Difference between " COMPRESS FOR ALL OPERATIONS" and "COMPRESS FOR OLTP"?
I was looking through Oracle's OLTP Table Compression (11g onwards) documentation as well as online resources to find the syntax and came across two different versions:
COMPRESS FOR ALL OPERATIONS
and
COMPRESS FOR OLTP
The documentation I looked through didn't mention any alternative syntax, so i was wondering if anyone here might know the difference.
Thank you!Table Compression Enhancements in Oracle Database 11G Rel1 as as follows:
The compression clause can be specified at the tablespace, table or partition level with the following options:
•NOCOMPRESS - The table or partition is not compressed. This is the default action when no compression clause is specified.
•COMPRESS - This option is considered suitable for data warehouse systems. Compression is enabled on the table or partition during direct-path inserts only.
•COMPRESS FOR DIRECT_LOAD OPERATIONS - This option has the same affect as the simple COMPRESS keyword.
•COMPRESS FOR ALL OPERATIONS - This option is considered suitable for OLTP systems. As the name implies, this option enables compression for all operations, including regular DML statements. This option requires the COMPATIBLE initialization parameter to be set to 11.1.0 or higher. -
How to specify COMPRESS FOR OLTP on a table in physical model?
Hi,
we have licensed Oracle's Advanced Compression and want to use the OLTP compression on some tables. I am looking for a way to specify COMPRESS FOR OLTP on a table in the physical model. So far, I can only set "Data Compression" to YES or NO.
Are you going to add the "new" compression modes in the next release?
Thanks,
Frank
Version of SQL Developer Data Modeler is 3.1.3.709Hi Frank,
Are you going to add the "new" compression modes in the next release?There is support for compression type (including OLTP) in DM 3.3 EA and you can download it from OTN.
Philip -
What index is suitable for a table with no unique columns and no primary key
alpha
beta
gamma
col1
col2
col3
100
1
-1
a
b
c
100
1
-2
d
e
f
101
1
-2
t
t
y
102
2
1
j
k
l
Sample data above and below is the dataype for each one of them
alpha datatype- string
beta datatype-integer
gamma datatype-integer
col1,col2,col3 are all string datatypes.
Note:columns are not unique and we would be using alpha,beta,gamma to uniquely identify a record .Now as you see my sample data this is in a table which doesnt have index .I would like to have a index created covering these columns (alpha,beta,gamma) .I
beleive that creating clustered index having covering columns will be better.
What would you recommend the index type should be here in this case.Say data volume is 1 milion records and we always use the alpha,beta,gamma columns when we filiter or query records
what index is suitable for a table with no unique columns and primary key?
col1
col2
col3
MudassarMany thanks for your explanation .
When I tried querying using the below query on my heap table the sql server suggested to create NON CLUSTERED INDEX INCLUDING columns ,[beta],[gamma] ,[col1]
,[col2] ,[col3]
SELECT [alpha]
,[beta]
,[gamma]
,[col1]
,[col2]
,[col3]
FROM [TEST].[dbo].[Test]
where [alpha]='10100'
My question is why it didn't suggest Clustered INDEX and chose NON clustered index ?
Mudassar -
Hi...
3....how to create table maintanence generator for a z table and how to use that for transfering a selected records to one server to another server.
thanks and regards,
k.swaminath reddyHi,
Table maintanance Generator is used to manually
input values using transaction sm30.The Table Maintenance Generator is used to create table maintenance program to add, modify or delete records in the database table. This can be accessed using transaction SE54 or in SE11 using the menu Utilities->Table Maintenance Generator
<b>
Follow below steps</b>
go to se11 check table maintanance check box under
attributes tab
utilities-table maintanance Generator->
create function group and assign it under
function group input box.
also assign authorization group default &NC& .
select standard recording routine radio in table
table mainitainence generator to move table
contents to quality and production by assigning
it to request.
select maintaience type as single step.
maintainence screen as system generated numbers
this dialog box appears when you click on create
button
save and activate table
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm
One step, two step in Table Maintenance Generator
Single step: Only overview screen is created i.e. the Table Maintenance Program will have only one screen where you can add, delete or edit records.
Two step: Two screens namely the overview screen and Single screen are created. The user can see the key fields in the first screen and can further go on to edit further details.
please check the link for getting information about table maintenance generator !
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=use%20of%20table%20maintenance%20generator&cat=sdn_all
http://www.sapdevelopment.co.uk/tips/tips_tabmaint_tcode.htm
http://www.sap-img.com/abap/create-a-table-maintance-program-for-a-z-table.htm
Regards,
Priyanka. -
Unable to create table with column default value with date interval
Please help to create table with calculated date defaullt value:
CREATE TABLE emp (
birth_date DATE DEFAULT sysdate + interval '3' day NOT NULL
or
CREATE TABLE emp (
some_date DATE,
birth_date DATE DEFAULT some_date NOT NULL
or
CREATE TABLE emp (
some_date DATE,
birth_date DATE DEFAULT some_date + interval '3' day NOT NULL
below syntax error:
TT1001: Syntax error in SQL statement before or at: "+"I'm afraid this is not possible; as per the SQL Reference, TimesTen only supports 'constant expressions' for the DEFAULT clause and none of these are constant expressions.
Chris -
Problem CREATE TABLE with PRIMARY KEY Still in Trouble ! Please Help!
Hi there !
I use the orcle 8i, and i don't know why i can't create table with any primary key EXample:
SQL> CREATE TABLE O_caisses
2 (No_caisse NUMBER(3) constraint caisses_pk PRIMARY KEY,
3 NB_BILLETS NUMBER(5)
4 )
5 /
CREATE TABLE O_caisses
ERROR at line 1:
ORA-18008: cannot find OUTLN schema
***********some Debuger show me this way: *********************
Well there r certain point u got to notice when creating a table with constraints.
1) U can create table with COLUMN level constraint.
2) U can create table with TABLE level constraint.
3) In COLUMN level constraint u can't give a constraint a name
but only mention the type of constraint.
4) In TABLE level constraint u can give a name to constraint.
Following are the examples of both
--COLUMN LEVEL
CREATE TABLE O_caisses
(No_caisse NUMBER(3) PRIMARY KEY,
NB_BILLETS NUMBER(5));
--TABLE LEVEL
CREATE TABLE O_caisses
(No_caisse NUMBER(3),
NB_BILLETS NUMBER(5),
constraint pk_caisse primary key (No_caisse));
********************And this is another one:*****************
SQL>grant create any outline to username;
BUT the problem is still present, i don't know what to do now !
Please could some body help me !
Thanks alot!
Luong.The clue is in the error message: the OUTLN schema is missing.
This is something Oracle 8i introduced to help manage the CBO (or soemthing equally geeky and internal). For some reason your database no longer has this user. It ought to be created automatically during installation (or upgrade) but catproct may not have completed probably or some over zealous admin type has dropped it.
Solution is to re-install (or re-upgrade) as you cannot create this user on their own. Alas.
HTH, APC -
Problem creating table with foreign key in SQL Workshop
Application Express version 2.2.1.00.04
Get error message "Number of referencing columns/data types must match referenced columns"
Master table SLS_SUPPLIERS has primary key SLS_ID NUMBER(8,0) and when creating table SLS_PRODUCTS with FK SLS_SLP_ID NUMBER(8,0) using the create table wizard I get the above error.
The name of the FK is SLP_SLS_FK, key column is SLP_SLS_ID, referenced table is SLS_SUPPLIERS and referenced column is SLS_ID.
Any help is much appreciated.
James Edey
I should add that if I create the table without the foreign key constraint and then create the constraint separately in SQL Workshop then it creates OK. It only fails in the create table wizard dialog.
Message was edited by:
edeyje
Obviously no-one interested in this - just thought it may be a bug in v2.2 that the development team would find useful.
James
Message was edited by:
edeyjeI replied to the other thread on this too -
there is a bug on that page when you click Next. If you define more than one fk but then navigate using the links on the process chart on the left (Constraints, Confirm, etc), the page works fine. We do have a bug on this now and I just added the notes I will need to get this fixed in 3.1 (I have already assigned it to me - must have some rogue validation that fires on next).
Sorry it took so long for this to get noticed - I am glad I checked the forum this morning -
-- Sharon -
OID users ( EUS) problem with grant create table with admin
Hi,
We activated enterprise users in the OID.
There is a role APP_ADMIN that has the following grants:
create user
drop user
create table with admin option
this is for an application that creates BI schemas, so it needs to be able to create other users.
I have granted these to a local role, and the user has access to the local role, thanks to the OID setup.
The create and drop user work.
however, the grant create table to another user does not work.
Is there an issue with 'with admin option' grants in Enterprise user security?
Regards,
PeterIf I grant
grant create table to test_role with admin option;
it does not work
if I grant
GRANT GRANT ANY PRIVILEGE to test_role WITH ADMIN OPTION;
it does work.
The test command as user with test_role is:
grant create table to test_usr;
very strange!
If the user is a standard user and I create role test_role
and grant create table to test_role with admin option it works.
but if I convert the user to an EUS user and the same privilege is given to the role ( role is granted to a global role to an enterprise role)
it doesnt work
Edited by: Peter on Dec 7, 2012 2:36 PM
Maybe you are looking for
-
Need help with 8350i! Doesn't charge+ other problems
Hello everyone, First of I do not have much Blackberry experience, so all help is appriciated. So a little over two weeks ago I got me the 8350i, phone worked fine other than the well known issues (sms/mms, echo). Then on Jan 31st, when Sprint/Nextel
-
Error while trying to change the user password on OSX Lion
Hello, I am trying to change the user password ( no admin user ) using the webinterface. I enabled the functionality in webservices on the server. I can loginto the three line password changing form. After I enter the old and two times the new passwo
-
Should i install adobe flash player on macbook pro with OSX
Just purchased my first macbook pro, I am thinking of installing Adobe Flash Player but wasnt sure if this is good idea or not. Any suggestions?
-
Connecting to an access database
I am trying to connect to an access database using asp.net vb. I am getting a "unidentified error". Any suggestions?
-
Hello: I'm working with excel 2007 and Essbase 9.3.1 Add-in. I've an excel 2007 sheet that, when I try to retrieve data (already connected or not), the following message appears: "Essbase has encountered an internal excel error. Your sheet will not b