I'm using Netezza with following information:
Model: N3001-010
NPS Software version: 7.2.0.6-P1
When I try to query with simple statements such as:
select count(*) from table_name;
or
select * from table_name where date_col>='2015-12-01' and date_col<='2015-12-30' limit 1000;
the raised error is:
ERROR [HY000] ERROR: DISK_FPGA_ERROR : Status=0,0x4000
[COMPBADFIELDTYPE1] SPU=1010 Dev=31 Eng=11 LBA=32224515
This error does not occur systematically.
How can I fix this error?
This error can indicate a disk page corruption, or some other fundamental issue, and your administrator should immediately open a support ticket to investigate and resolve this. T
Related
I am quite new to access database and can't wrap my head around why a syntax error keeps popping up every time I try to run this query, I hope that you're able to help
SELECT Customer.forename, Customer.surname
FROM Customer, Booking
WHERE Booking.customerID=Customer.CustomerID AND Booking.childTicket=(SELECT
MAX(Booking.childTicket))
GROUP BY Customer.forename, Customer.surname;
The error says: Syntax error in query expression Booking.customerID=Customer.CustomerID AND Booking.childTicket=(SELECT MAX(Booking.childTicket)).
You must provide a complete subquery:
WHERE Booking.customerID=Customer.CustomerID AND Booking.childTicket=
(SELECT MAX(Booking.childTicket) FROM Booking)
I have a query that has been running for over a week with no issues.
CREATE or REPLACE VIEW VW_AF AS
select f.*
from VW_AFC f
inner join
(
SELECT Forecast, ROUTE_TO_MARKET, FORECASTCURRENCY,LEVEL,IMPORT , MAX(Version) AS maxVersion
FROM VW_AFC
GROUP BY Forecast, ROUTE_TO_MARKET, FORECASTCURRENCY,LEVEL,IMPORT
order by Forecast, ROUTE_TO_MARKET, FORECASTCURRENCY,LEVEL,IMPORT
)x
on x.Forecast = f.Forecast
and x.ROUTE_TO_MARKET = f.ROUTE_TO_MARKET
and x.FORECASTCURRENCY = f.FORECASTCURRENCY
and x.Level = f.level
and x.Import = f.Import
and x.maxversion = f.version;
Today i went to query this view and keep getting errors
--SQL execution internal error: Processing aborted due to error zz:yy; incident xx.--
I have no ideas, I know that for some reason the nested inner query is now failing but cant suss it.
Any experts have advice??
Thxs
According to your comments, I think you already found the correct approach to this error.
Whenever you see "SQL execution internal error" message, you should submit a support ticket to Snowflake. The numbers you see on the error message, can only be interpreted by Snowflake (they point an incident record). Snowflake Support will access to the incident record, see the underlying error message, and provide a workaround or a fix.
When I execute a stroed procedure it works. But specifically when I run the select statement I get the following error
Synonym 'syn.Syn_NEO_DB_tGradeAliases' refers to an invalid object.
SELECT
aa.CompanyId [LegCompanyId],
aa.ProductId AS [LegGradeId],
aa.GradeAliasId [LegGradeAliasId],
aa.ProductName AS [LobGradeText],
aa.[Alias] [GradeAlias],
aa.PhraseKey [PhraseKey],
GETUTCDATE() AS 'TimeStamp'
FROM syn.Syn_AAA aa
I haven't done any database change/permission change.
How can I overcome this?
I ran following query and it shows the base_object_name correctly linked to my table.
SELECT * FROM sys.synonyms WHERE name = 'Syn_AAA'
I overcame by replacing synonym with [LINKED_SERVER].[DB_NAME].[SCHEMA_NAME].[OBJECT_NAME].
Very often we are unable to use Partitioned reads in Netezza connector.
Example
When partitioned read = Yes and Generated SQL at Runtime = Yes this works:
SELECT "Firma", "KundeNr", "ArtikkelNr"," LagerstedNr"
FROM dwhusr."TI_FT_Salg"
When Generated SQL at Runtime = No and the query is Autogenerated by DataStage (or we write it our selves) the query looks like this:
SELECT "Firma", "KundeNr", "ArtikkelNr"," LagerstedNr"
FROM dwhusr."TI_FT_Salg"
WHERE mod(datasliceid,[[node-count]])=[[node-number]]
It will then throw an error:
DB_TI_FT_Salg: Unexpected ODBC error occurred. Reason: [SQLCODE=42000][Native=27] ERROR: 'SELECT "Firma", "KundeNr", "ArtikkelNr"," LagerstedNr" FROM dwhusr."TI_FT_Salg" where mod(datasliceid,[[node-count]])=[[node-number]] limit 0'
error ^ found "[" (at char 102) expecting an identifier found a keyword (CC_NZMetadataHelper::describeResultSet, file CC_NZMetadataHelper.cpp, line 5 622)
Please help!
I'am get the follow error when try access apps or categories apps under plesk 12:
Search results could not be loaded at the moment. Retry
I have look at the follow article: http://kb.sp.parallels.com/en/121173
And get: ERROR 1146 (42S02): Table 'psa.smb_apspackages' doesn't exist
Under my
/usr/local/psa/admin/logs
I do not have error logs for
php_error.log
How to can I fix the error?
Looks like psa database was not correctly upgraded. Try to fix it with bootstrapper repair procedure.
Solved please check the follow post at plesk:
http://forum.sp.parallels.com/threads/search-results-could-not-be-loaded-at-the-moment-retry.324794/#post-763196
Use the command:
select count(*) from psa.smb_apsPackages where registryUid not in (select uid from apsc.aps_registry_object);
the article at plesk are current, reason for not work as:
select count(*) from psa.smb_apspackages where registryUid not in (select uid from apsc.aps_registry_object);
the p from apspackages need to be apsPackages
Thank you #IgorG for let me know