UPDATED: HOWTO: Extract Permissions from SAP Sybase IQ
Back in 2013 I posted a method of extracting the table/view permissions from SAP IQ. With later 15.4 patches and v16 the USER_NAME() function would fail on the grantee column of sys.systableperm. An...
View ArticleSAP Sybase IQ and ODBC (Linux/UNIX)
Connecting to SAP Sybase’s IQ server shouldn’t be scary but the documentation leaves a lot to be desired. Log on to your favorite Linux or Unix box and make sure you source the IQ.sh file wherever you...
View ArticleUPDATED: HOWTO: Extract Permissions from SAP Sybase IQ using the LIST() function
Back in August I provided an updated method to extract the permissions for tables in a SAP IQ server. This provided quite a few GRANT statements to execute. If you have thousands of tables and/or...
View ArticleSAP IQ: Error: server ‘iq_mpx_1’ was started on an incorrect host ‘myhost1’:...
Recently I built a SAP IQ Multiplex cluster and ran into a self inflicted issue. After I configured the secondary nodes I updated the coordinator node (primary node) with the private (interconnect) and...
View ArticleHOWTO: SAP Sybase IQ Loading Tables with AutoIncrement/Identity with Zero as...
If the source table has an identity or autoincrement field AND the value starts at zero “0” then load table either server -> server or from file will not work. IQ is hard coded to reject the rows...
View ArticleHOWTO: SAP IQ Drop Device File from DBSpace
Sometimes when we build an IQ Data Warehouse, our initial space/growth estimate is off significantly enough to warrant reducing the size of the dbspace(s). The process is quite easy put there are a few...
View ArticleSAP IQ: Uptime
At some point you will be asked how long your IQ server has been up. To determine when the IQ server was started issue: SELECT PROPERTY('StartTime') Output: 2015-08-14 18:04:53.918 For the number of...
View ArticleSAP IQ: iqinit error SQLCode: -1000338, SQLState: ‘QDD38’, Severity: 14:...
When you create a new IQ v16 instance, you need to use the iqinit program for initial creation of the database. iqinit -iqpath '/siq/devices/main001.iq' -iqpgsize 131072 -iqblksize 16384 -p 4096...
View ArticleIQ Error: The multiplex server ‘iq_node_3’ is not included in the multiplex –...
When you run SAP’s IQ Multiplex cluster for a while you start finding little gotchas that will just drive you to drink. If you don’t drink, you will wish you do. (Just like with any other cluster...
View ArticleHOWTO: Connect to SAP Sybase IQ Multiplex using JDBC and the SQL Anywhere...
SAP’s documentation, like other vendors, often sucks. In today’s wonderful documentation sucky-ness the examples from SAP to connect to IQ using a JDBC connection string like so:...
View ArticleHowTo: SAP IQ What is running right now (active transactions) hogging resources?
Every once in a while you need to determine what connections in SAP IQ are actively executing. In other words, list the open transactions along with connection information. This is handly to determine...
View ArticleSAP IQ and SQL Anywhere: Locking and blocking only for a maximum specified time
Usually in IQ, you will lock a table for a short time (dml operations) or longer when performing a data load, table/index maintenance or issuing a holdlock within your transaction. These locks can...
View ArticleSAP Sybase IQ: Do not use LF indexes in IQ v16
Really, there isn’t a good reason to use LF indexes in version 16 and higher of IQ. Use HG indexes instead. From Mark Mumy of SAP fame: Mumy, Mark mark.mumy at sap.com Mon Aug 17 11:31:37 MST 2015...
View ArticleConnect SAP IQ to SAP IQ using ODBC the easy way
The documentation on setting up a linked server is overly complex in SAP’s documentation and doesn’t actually tell you what you need to do. This is rather typical of SAP’s IQ documentation...
View ArticleSAP IQ and SQL Anywhere UnixODBC UserDSN and SystemDSN issues: WORKAROUND
SAP’s IQ / SQLAnywhere ODBC driver on Linux/*nix doesn’t work with a system that has both UserDSNs (~/.odbc.ini) and SystemDSNs (/etc/odbc.ini). Currently when the driver looks for a DSN (db instance),...
View ArticleHOWTO: SAP Sybase IQ, SQLAnywhere, ADO.net and Powershell
Connecting to IQ can be a rather pain in the tuckus. In the v16 IQ client for Microsoft Windows, the .net assembly changed to “Sap.Data.SQLAnywhere” from “iAnywhere.Data.SQLAnywhere”. Another annoyance...
View Article