Quantcast
Channel: SCN : All Content - SAP IQ
Viewing all 716 articles
Browse latest View live

[License] Which file is referenced by LT/PE value of sp_iqlmconfig?

$
0
0

Dear all,

 

As far as you know, a sp_iqlmconfig controls license management configuration, properties, and authorizations.

When we have a problem regarding license, we execute a sp_iqprocedure in order to get the more information.

 

Q. Which file is referenced by LT/PE value of sp_iqlmconfig?

 

A. A sp_iqlmconfig procedure reads value of LT/PE within dbname.lmp file.

 

Here are steps for reproduction.

 

- Env : IQ16 SP08.08 / SP08 PL20

 

1) change the value such as LT/PE  within dbname.lmp file.

 

    ex)

      - CP -> DT or DT to EV ...

      - EE -> AC ...

 

2) As soon as I changed the value of LT/PE within dbname.lmp, I can see the changed values after executing a sp_iqlmconfig.

 

A sp_iqlmconfig procedure reads value of LT/PE within dbname.lmp file.

 

HTH.

 

Thanks

Gi-Sung Jang


error message

$
0
0

Hi,

 

I am got this message in my iqmsg file.

 

what this message states?

 

Capture.PNG

 

Thanks in advance,

Santosh Negalur

Unable to activate data archiving process

$
0
0

Hi

 

I've a DSO which I am trying to archive data I am archiving this DSO on 0CALMONTH for 201102. The Near-Line Connection is OUTBOARD. And the selected profile for archiving is "Time Slice Archiving". Here is the error message that I am getting while activating the DAP.

 

Our client is using SybaseIQ for archiving.

 

Can anyone please help me here.

 

Exception  occurred in line 51 of include CL_SQL_STATEMENT==============CM002 (program CL_SQL_STATEMENT==============CP)

 

Exception  occurred in line 116 of include CL_RSDA_SYB_CONNECTION_IMPL===CM01T (program CL_RSDA_SYB_CONNECTION_IMPL===CP)

 

Error during creation of DDIC sources of Data Archiving Process DSOXYZ

 

Error when activating Data Archiving Process DSOXYZ

 

Could not activate data archiving process

 

Thank you.

 

Regards,

 

Pavan.

Could not load the store DLL "libiq16.so"

$
0
0

Hi
I installed SAP Sybase IQ 16 on a Centos 7 server.
Permissions are correct. Before IQ installation:

glibc.i686

tcsh.x86_64

libXext-devel.i686

libXtst-devel.i686
ulimit -u 32000


Installation went well:

Installation: Successful.

294 Successes

0 Warnings

0 NonFatalErrors

0 FatalErrors

 

Then as user sybase I "source /opt/sybase/IQ.sh" and the environment is present

But when starting I get:

I. 11/28 15:17:16. Running Linux 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 on X86_64

I. 11/28 15:17:16. Server built for X86_64 processor architecture

I. 11/28 15:17:16. 8296K of memory used for caching

I. 11/28 15:17:16. Minimum cache size: 8296K, maximum cache size: 262144K

I. 11/28 15:17:16. Using a maximum page size of 4096 bytes

I. 11/28 15:17:16. Multiprogramming level: 25

I. 11/28 15:17:16. Automatic tuning of multiprogramming level is disabled

E. 11/28 15:17:16. Could not load the store DLL "libiq16.so"

I. 11/28 15:17:16. Database server shutdown due to startup error

I. 11/28 15:17:16. Database server stopped at Fri Nov 28 2014 15:17

DBSPAWN ERROR:  -82

Unable to start specified database: autostarting database failed

 

Could not load the store DLL "libiq16.so"

Server failed to start

 

Any ideas why it is not loaded? The file is fine and present in /opt/sybase/IQ-16_0/lib64

Wanted: ability to export/import a schema

$
0
0

Currently there is no easy way to extract and restore objects, permissions, data, etc for a particular schema.

 

Say you needed to extract a schema to be restored on to multiple iq instances (prod -> regression and testing and development). Doing a backup/restore of the database is not practical as the schema may be only a few hundred megabytes while the database is terabytes in size plus there is the whole mess of adding removing users due to the different environment.

 

In Oracle, we can do this very easily with:

 

export schemas

expdp system/tiger@db11g schemas=SCOTT,USER1,USER2 directory=TEST_DIR dumpfile=schemas.dmp logfile=expdp.log

 

import only USER1 schema

impdp system/tiger@db11g schemas=USER1 directory=TEST_DIR dumpfile=schemas.dmp logfile=impdp.log

 

Surely the smart people in SAP Sybase can create such a feature without too much trouble.

 

Including link to datapump.  Oracle's had this for more than a decade:

http://www.oracle-base.com/articles/10g/oracle-data-pump-10g.php

Create table with alias dba

$
0
0

We can create table with another user

for example:

login in sap iq with user jose we can create:

 

CREATE TABLE "cesar"."tabla" (

        "id" BIGINT NOT NULL,

    PRIMARY KEY ( "id" ASC )

) IN "iq_main";

 

Is this possible?


Thanks in advance

Does IQ support Rhel 6.5?

$
0
0

Hi,

Does Sybase IQ support Rhel 6.5?

Migrating data using Linux or UNIX named pipe in IQ.

$
0
0

Folks: 

 

In ASE I have used named pipe to migrate data from one server to another in same hardware platform (same endian) running both UNIX or Linux  as below.

 

# create a named pipe

mknod pipe_name p

 

# bcp in data first to target table

bcp ... in -n -A4096

 

#Start bcp out from another session

bcp ... out -n -A4096

 

Can I use the similar named pipe technique to migrate data in IQ using 'load table in target server' & 'select * from source table'  instead of bcp?

 

Want to migrate from AIX to Linuxx86-64

 

Thanks,

Sid.


Accessing Sybase IQ 15.4 on Solaris 10 from Linux RHEL 6.5 ODBC Driver Information

$
0
0

Wondering if anyone has installed/ configured  the Sybase IQ ODBC Driver library on Red Hat Linux 6.5 to permit ODBC connections from R which is also on Linux to a target of  Sybase IQ 15.4 which is residing on a Solaris 10 server?

 

Is this even feasible with these versions (RHEL 6.5 and Sybase 15.4) ?  If our IQ components are licensed for Solaris (and  include windows clients as part of the package),  is the library for ODBC drivers for IQ on Linux (which I think come bundled with the Linux Client) downloadable and useable without additional cost? Are the ODBC library or libraries available to download unbundled and again, if so, without additonal cost?

 

Thanks.

Migrating data from Sybase IQ to another database technology

$
0
0

Hello All,

 

I'm a student and I'm working on sybase IQ as well as other database technologies and attempting to compare various functions and performances.

I want to able to also migrate between from Sybase IQ to DB2 BLU. So far I have extracted the Database structure (DDL's) and converted the datatypes in DB2 compatible format. Now I'm in a stage where I want to move the data from sybase IQ to DB2 BLU. There are no tools available for this and If i back up sysbase IQ then the back up will not be in format which can be read by DB2. So I want to know if there is anyway I can back up the data to flat file or any other way rather than just doing a select * from all the tables.

 

Please help me.

power designer error

$
0
0

Hi,

 

I wanted to extract table ddl in  Sybase IQ from Sybase power designer.

 

when I start to configure, the power designer repository was creating on Sybase iq.

 

when executing the sql statements I got this error "Tried to insert a duplicate values".


Is there any option to be set in Sybase IQ?

 

Thanks in Advance,

Santosh

Sybase-IQ : Query with join returns always 0 rows (but count(*) give rows)

$
0
0

Hello,

 

I have a very strange comportment on my sybase-iq database.

 

I have 2 tables :

Table A : 47 000 000 rows

Table B : 497 rows

 

If I make the following query :

select count(*)from A innerjoin B on A.ID = B.ID;

The result of the count is 5 661 188.

 

If I make the following query :

select*from A innerjoin B on A.ID = B.ID;

The result is 0 row !

 

If I make the following query :

select A.field1 from A innerjoin B on A.ID = B.ID;

The result is 5 661 188 rows.

select A.field2 from A innerjoin B on A.ID = B.ID

The result is 0 row !

 

I execute these queries with Interactive SQL (Sybase Central).

 

I've tried also to execute these same queries with the ETL Talend, and i got same results as above.

 

Any ideas why we have these very strange results ?

 

Thanks

Migration of Near Line Storage based on DB6 to SybaseIQ

$
0
0

Hi ,

 

I am looking at options to migrate our current DB6 based NLS to Sybase IQ .I asked uncle Google to find some answers, unfortunately didn't find anything relevant .If you guys can provide me some light to start with ,it will be helpful.

 

 

Cheers,

George

[Performance] How to enhance the performance of sql using "Not Exists".

$
0
0

Hi

 

I have a poor performance sql using "Not Exists" as follows.

 

1. Problems

 

When I executed a sql with not exists, It took a long time to be completed.

It took "5959.16" seconds to be completed.

 

[SQL]

 

SELECT COUNT(*) AS CNT      

FROM TBIA70D AS C LEFT OUTER JOIN

( SELECT A.MGT_ACCT_NO      

FROM TBIA59D A, TBIA70A B      

WHERE A.MGT_ACCT_NO = B.MGT_ACCT_NO

               AND A.B_ST_DT between '2010-04-01' and '2010-04-30'      

               AND A.D0_REG_CD IN ('01','02')      

) AS B      

ON B.MGT_ACCT_NO = C.MGT_ACCT_NO

WHERE C.B_ST_DT between '2010-04-01' and '2010-04-30'      

AND C.SEG_GB_BIT LIKE '00%'      

AND B.MGT_ACCT_NO IS NULL;  

 

2. Solution

 

IQ optimizer is hard to find the best query plan without indexes on join columns.
To gain the fastest processing of joins, All join columns should have indexes such as HG, LF.

Because the IQ optimizer may need metadata from the HG/LF index to produce an optimal query plan.


The Query took "12" seconds to be completed after creating below indexes.

 

Ex)

    create hg index TBIA59D_MGT_ACCT_NO_hg on TBIA59D(MGT_ACCT_NO);

    create hg index TBIA70A_MGT_ACCT_NO_hg on TBIA70A(MGT_ACCT_NO);

    create hg index TBIA70D_MGT_ACCT_NO_hg on TBIA70D(MGT_ACCT_NO);


** If you set the INDEX_ADVISOR option on your database, SAP Sybase IQ issues messages in the message log or query plan to suggest additional indexes that might improve performance.


And It might be sometimes more faster with left outer join not using "Not Exists".


[SQL]

       

        SELECT COUNT(*) AS CNT                                                                       

        FROM TBIA70D AS C LEFT OUTER JOIN                                                                         

             ( SELECT A.MGT_ACCT_NO                                                                       

                       FROM TBIA59D A, TBIA70A B                                                                 

                      WHERE A.MGT_ACCT_NO = B.MGT_ACCT_NO                                                                     

                         AND A.B_ST_DT between '2010-04-01' and '2010-04-30'                                                                

                         AND A.D0_REG_CD IN ('01','02')                                                                        

                     ) AS B                                                                

                 ON B.MGT_ACCT_NO = C.MGT_ACCT_NO                                                                     

              WHERE C.B_ST_DT between '2010-04-01' and '2010-04-30'                                                                

                 AND C.SEG_GB_BIT LIKE '00%'                                                                        

                   AND B.MGT_ACCT_NO IS NULL;


HTH.

Gi-Sung Jang     

how to escape quote in "load table"

$
0
0

Hi Forum,

  According to documentation, in "load table" statement, ESCAPES must be set to off. Then is there a way to handle the following pattern:

“apple \” orange \”” ?

  This can not be loaded since the inner quote(in red) is considered as the outer wrapping quote(in black).

  The outer quote is preferred to be there, since it is already there in the data source. Moreover, there might be delimiters in the quote:  “apple , \” orange \””, "next one"


Thanks and Regards,

Yang

 


error

$
0
0

Hi,

 

I created catalog DBSpace in Sybase IQ 16 and I taken full backup.

 

when I trying to restore, I am getting below error.

Capture.PNG

Thanks in advance,

Santosh

estimate size

$
0
0

Hi,

 

I have a table with 1 million rows. Now I want to extract the table data to flat file in binary format.

 

Can I estimate the size of the flat file before extracting table data?

 

Thanks in Advance,

Santosh

What is the default and max value for -gss server option for Linux 64bit ?

$
0
0

IQ version :

SAP IQ/16.0.0.807/141029/P/sp08.09/Enterprise Linux64 - x86_64 -2.6.18-194.el5/64bit/2014-10-29 17:09:29

Sybase IQ Stop at Server

$
0
0

Dear Sybase Gurus,

 

Our Sybase IQ stop at midnight , i found some logs.

Server : Windows Server 2008 R2

Sybase IQ 16.0

 

Windows Event Viewer ;

The description for Event ID 1 from source IQ 16.0 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

 

C:\ProgramData\SybaseIQ\logfiles;


I. 12/17 03:01:04. Sybase IQ

I. 12/17 03:01:04. Version 16.0

I. 12/17 03:01:04. (64bit mode)

I. 12/17 03:01:04. Copyright 1992-2013 by SAP AG or an SAP affiliate company. All rights reserved

I. 12/17 03:01:04. Copyright © 2013 SAP AG or an SAP affiliate company.

I. 12/17 03:01:04. All rights reserved.

I. 12/17 03:01:04. Use of this software is governed by the Sybase License Agreement.

I. 12/17 03:01:04. Refer to http://www.sybase.com/softwarelicenses.

I. 12/17 03:01:04. Processors detected: 4 (containing 32 logical processors)

I. 12/17 03:01:04. Maximum number of processors the server will use: 4 physical processor(s), 32 core(s)

I. 12/17 03:01:04. Running Windows 2008R2 Build 7601 Service Pack 1 on X86_64

I. 12/17 03:01:04. Server built for X86_64 processor architecture

I. 12/17 03:01:13. 131072K of memory used for caching

I. 12/17 03:01:13. Minimum cache size: 131072K, maximum cache size: 262144K

I. 12/17 03:01:13. Using a maximum page size of 4096 bytes

I. 12/17 03:01:14. Multiprogramming level: 105

I. 12/17 03:01:14. Automatic tuning of multiprogramming level is disabled

E. 12/17 03:01:15. Cannot access "C:\Sybase\ProdData\IntIQPrd.db": another process may be using the file

Database server shutdown due to startup error

Database server stopped

unable to open log file

$
0
0

Hi ,

 

I am getting the below error while restoring.

 

Can anyone help me.Capture.PNG

 

Regards,

Santosh

Viewing all 716 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>